• Re: Where does TERM get set for Telnet logins (NOT EXACTLY)

    From KP KP@21:1/5 to deraadt on Mon Aug 1 08:53:58 2022
    On Friday, January 4, 1991 at 8:03:06 AM UTC-8, deraadt wrote:
    In article <DERAADT.91...@fsa.cpsc.ucalgary.ca> I write:
    I thought that the original discussion was that login does not support the -h flag, and that a telnetd started with a $TERM set would result in login and telnetd providing telnetd's $TERM in the case when the correct $TERM could not be determined.
    Whoops. Mess up. I mean -p. Ie., when telnetd starts login, it is not
    to provide the -p flag, and the result is that login is supposed to
    discard the previous environment and build an environment completely
    anew.
    Getty, on the other hand, does supply -p, because getty builds part of
    the environment, and login is supposed to just suppliment it.
    Oh well. I think I'm getting religous about a BSDism in a system V group.
    I should run for cover.
    <tdr.
    --
    SunOS 4.0.3: /usr/include/vm/as.h, Line 44 | Theo de Raadt
    Is it a typo? Should the '_' be an 's'?? :-) | der...@cpsc.ucalgary.ca

    Too bad your gaund paatgaye

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)