setting TERM

cottrell at nbs-vms.ARPA cottrell at nbs-vms.ARPA
Tue Feb 26 08:32:23 AEST 1985


/*
> ...without having to do the horrible kluge of
> 
>	sleep 10000000 >/dev/ttyXX &
>
> to hold it open so that it doesn't reset its baud rate back to 300.

Thanks, Bill. I had a program that opened the tty, then slept! I'll do 
it your way from now on!

> I would also not mind seeing a TERM name stored in the terminal structure.
> I think that this makes more sense than storing it in the environment as
> a terminal type is logically more closely related to a tty port than it
> is to a process.  A process could theoritically be controlling more than
> one terminal of different types.
> -- 
> Bill Sebok			Princeton University, Astrophysics

Why not have init/getty/sh just come right out & ask "TERMINAL TYPE?"
Of course, .profile/.login can do this, and I do. Good points.

	jim
*/



More information about the Comp.unix.wizards mailing list