Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: tymix!tardis!jms@ames.arc.nasa.gov (Joe Smith) Newsgroups: comp.sys.sun Subject: Re: Determining if /dev/console = /dev/fb and not /dev/ttya Keywords: SunOS Message-ID: <4234@kalliope.rice.edu> Date: 30 Jun 89 20:15:12 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 61, message 6 of 18 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@F74.TYMNET.COM or jms@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!"