Hi Bart,

Unfortunately, I'm not familiar with Raspberry Pi at all. But, I can tell you that if you wanted to do auto sign-on in a Linux system, you'd create a config file (rc file.)

This could be a per-user file in $HOME/.tn5250rc

Or, it could be in the global location of /etc/tn5250rc or /usr/local/etc/tn5250rc (depending on whether your platform usually uses /etc or /usr/local/etc for it's config files)

In the file you'd do something like:

myprofile {
host = yoursystem.example.com
env.USER=YOUR-USERID
env.IBMSUBSPW=YOURPASSWORD
}

Then you'd invoke tn5250 like this:

tn5250 myprofile

And it will send the userid/password from that profile and automatically sign the user in. There are additional variables that can be sent along with that:

env.IBMCURLIB=yourlib
env.IBMIMENU=yourmenu
env.IBMPROGRAM=yourprogram

Of course, some system administrators will disable the ability to use these variables (on the server-side) for security purposes, so you'll have to find out if these are allowed.

To learn about more of the options available, you might want to take a look at the man page for tn5250 that should've been installed along with the emulator.

Hope that helps...


On 3/3/2015 1:45 PM, Bart Hoen wrote:
Hi Scott,
basically auto-signon is what I'm looking for right now, yes. While I'm at it I would like to explore other options as well though.
I'm running a raspbian (debian wheezy) on a raspberry pi
Bart


Date: Tue, 3 Mar 2015 13:25:04 -0600
From: tn5250@xxxxxxxxxxxxxxxx
To: linux5250@xxxxxxxxxxxx
Subject: Re: [LINUX5250] auto-signon

hi Bart,

Unfortunately, I don't have a copy of the HOWTO. Maybe James Rich has
one?

Are you just looking to auto-signon? This can be done easily by setting
up some appropriate settings in the RC file. What operating system are
you running tn5250 on?

-SK


On 3/3/2015 12:47 PM, Bart Hoen wrote:
Hello,
I am looking for a way to configure tn5250 to auto-signon on my RPi but cannot find a copy of the pdf file HOWTO ?
Is it possible to obtain a pdf copy by mail ?
Thanks,Bart

--
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.