Where does TERM get set for Telnet logins (NOT EXACTLY)
deraadt
deraadt at cpsc.ucalgary.ca
Sat Jan 5 03:03:06 AEST 1991
In article <DERAADT.91Jan4074542 at 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'?? :-) | deraadt at cpsc.ucalgary.ca
More information about the Comp.unix.internals
mailing list