[net.emacs] Finding out the terminal type

brahms@spp3.UUCP (Bradley S. Brahms) (05/03/85)

[}{]
Is there a way to find out what type of terminal the user is using from
within emacs.  There does not appear to be any variable set that states
the terminal type.  Any help would be appreciated.  Thanx.

			-- Brad Brahms
			   usenet: {decvax,ucbvax,ihnp4}!trwrb!trwspp!brahms
			   arpa:   Brahms@usc-eclc

bobr@zeus.UUCP (Robert Reed) (05/07/85)

> Is there a way to find out what type of terminal the user is using from
> within emacs.  There does not appear to be any variable set that states
> the terminal type.  Any help would be appreciated.  Thanx.
> 
> 			-- Brad Brahms
> 			   usenet: {decvax,ucbvax,ihnp4}!trwrb!trwspp!brahms
> 			   arpa:   Brahms@usc-eclc

Try ESC-x getenv TERM  (or (getenv "TERM") inside mlisp).
-- 
Robert Reed, CAE Systems Division, tektronix!teklds!bobr