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