bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Readline code


From: Mats Erik Andersson
Subject: Re: [bug-inetutils] Readline code
Date: Mon, 21 Nov 2011 14:48:17 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

måndag den 21 november 2011 klockan 02:47 skrev Alfred M. Szmidt detta:
>    > The new TELNET server is verified on GNU/OpenSolaris, but still
>    > shows the unrelated "TERM='TERM=linux'" error!
> 
>    That's probably due to the value of login_invocation in telnetd/telnetd.c.
> 
> Good catch.  Mats, what does login look like on solaris these days?

Right, the command line of login(1) has changed. The relevant part is now

    login [-t terminal] [-h host [terminal]] [-u user]

The culprit was with "-h host [terminal]", which with our call translated as

    /usr/sbin/login -h sol TERM=xterm

thus setting

    TERM="TERM=xterm"

I have now pushed a correction, which is in accordance with the manual
pages as delivered with SunOS 5.11 (2008) and SunOS 5.10 (2005).
The new interpreteation will use

    login -h host -t terminal -u user

which avoids the optional second argument for the switch "-h".
My thanks go to Guillem for expressing the inspiring key!

Regards,
  Mats



reply via email to

[Prev in Thread] Current Thread [Next in Thread]