MailMan | 1 Sep 2005 13:30

Guidelines for LINUX5250 mailing list

Monthly posting of the guidelines for participation in the LINUX5250
Mailing List.

Answers to common questions, including installation issues for FreeBSD,
Linux and Windows are included in the documentation in the README file
in the source tarball, the manual included with the Windows installer,
and the other documentation found on our web site at
http://tn5250.sourceforge.net

Answers to other questions which may have already been asked are available in
the linux5250 email list archive, which is available at
http://archive.midrange.com/linux5250/

Keep to the subject.  The topic of the list is the Linux Tn5250
Emulation project.   (Though, the name "Linux" is a misnomer, since
the software will work in Microsoft Windows and any modern Unix or
Unix-like operating system)

When quoting messages, do not quote the entire message.  Just quote the
parts that are needed to make the appropriate references.

Flames are absolutely prohibited.  If you disagree with someone, feel
free to argue the facts, but no personal attacks will be tolerated.

The official language of the LINUX5250 Mailing List is English.

Do not post personal messages.  Please use direct E-Mail.  This list is
international in scope and personal messages just end up costing money.

Please do not use HTML to format messages ... not everyone has a HTML
(Continue reading)

Kurt Greiner | 9 Sep 2005 19:54
Picon
Favicon

tn5250 on SCO 5.04

Has anyone compiled tn5250 for SCO 5.04?

I have downloaded the source for tn5250-0.17.3. Made
sure i have installed automake, autoconf, libtool and
ncurses

I make the executables and when I run tn5250 I get the
following error message: getpwuid: Invalid argument

 How could I resolve this?
--

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

James Rich | 9 Sep 2005 20:18

Re: tn5250 on SCO 5.04

On Fri, 9 Sep 2005, Kurt Greiner wrote:

> Has anyone compiled tn5250 for SCO 5.04?

Not that I'm aware of (other than you).  But with SCO's open source 
packages (skunkware I think?) it should be quite possible.

> I have downloaded the source for tn5250-0.17.3. Made
> sure i have installed automake, autoconf, libtool and
> ncurses
>
> I make the executables and when I run tn5250 I get the
> following error message: getpwuid: Invalid argument
>
> How could I resolve this?

Perhaps the first page of the man page for getpwuid would be helpful. 
Apparently SCO has a non standard getpwuid() function.

James Rich

It's not the software that's free; it's you.
 	- billyskank on Groklaw
--

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

Carey Evans | 9 Sep 2005 23:13
Picon

Re: tn5250 on SCO 5.04

James Rich wrote:

> Perhaps the first page of the man page for getpwuid would be helpful.
> Apparently SCO has a non standard getpwuid() function.

Or a non-standard getuid() function, as noted at the bottom of the Linux
man page, where getuid() could be returning something like 257000
instead of 1000.  In this case, I think the best solution would be to
use the $HOME and $LOGNAME (or $USER) environment variables rather than
the password database.

-- 
Carey Evans

--

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

Carey Evans | 10 Sep 2005 10:06
Picon

Re: tn5250 on SCO 5.04

I wrote:
> In this case, I think the best solution would be to
> use the $HOME and $LOGNAME (or $USER) environment variables rather than
> the password database.

And here's a patch that does this:

Index: conf.c
===================================================================
RCS file: /cvsroot/tn5250/tn5250/src/conf.c,v
retrieving revision 1.13
diff -u -r1.13 conf.c
--- conf.c	8 Mar 2005 16:51:55 -0000	1.13
+++ conf.c	10 Sep 2005 07:56:58 -0000
 <at>  <at>  -415,7 +415,7  <at>  <at> 
 int
 tn5250_config_load_default (Tn5250Config * This)
 {
-  struct passwd *pwent;
+  const char *home;
   char *dir;
   int ec;

 <at>  <at>  -425,21 +425,21  <at>  <at> 
       return -1;
     }

-  pwent = getpwuid (getuid ());
-  if (pwent == NULL)
+  home = getenv ("HOME");
(Continue reading)

Debian User | 11 Sep 2005 15:03
Picon

how to setup telnet to communicate with tn5250 aka ibm-3477-fc terminal emulator

hi
i have got a windows ce thinclient.
it has sort of terminal emulator which is using ibm-3477-fc standart.
it is called tn5250 :)
i have following problem.
there is no terminfo in /usr/sahre/terminfo for this type of terminal.
it is fixated to ibm-3477-fc , same shows strace as TERM is set to that
value.

When i try to connect with client to my telnetd i see it starting the
session and asking for login. but i don't see anything on the
clientside.
then the session times out after 60 seconds.
is there any solution how to make telnetd and this terminal emualtor
communicate properly with each other?
(as/400 emulator or something ?? :D)

cheers .

what i tryed to do already is to install tn5250 packages. and then link
its terminfo files from /usr/sahre/terminfo/5/5250 to
/usr/share/terminfo/i/ibm-3477-fc but with no positive result.

I would be thankfull for any kind of suggestions .

Roman Glebov
--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
(Continue reading)

Holger Schurig | 12 Sep 2005 08:54
Picon
Favicon

Re: Re: tn5250 on SCO 5.04

> In this case, I think the best solution would be to
> use the $HOME and $LOGNAME (or $USER) environment variables rather than
> the password database.

Or to get rid of SCO altogether ...
--

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


Gmane