Determining if /dev/console = /dev/fb and not /dev/ttya

Joe Smith tymix!tardis!jms at ames.arc.nasa.gov
Sat Jul 1 06:15:12 AEST 1989


Thanks to all who responded.  I must have had a mental block because I was
already doing something along those lines in my .login file.  The relevant
lines in my .logout file are now:

	if ("`tty`" == /dev/console && "$TERM" == sun) then
		clear
		screenload ~/.logoutscreen
	endif

As to the other thing I hinted about:
	cat /dev/console /dev/ttya
	^D
does not cause a bus-error panic after upgrading to SunOS-4.0.3.
-- 
Joe Smith (408)922-6220 | SMTP: JMS at F74.TYMNET.COM or jms at tymix.tymnet.com
McDonnell Douglas FSCO  | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-D21    | PDP-10 support: My car's license plate is "POPJ P,"
San Jose, CA 95161-9019 | narrator.device: "I didn't say that, my Amiga did!"



More information about the Comp.sys.sun mailing list