*BSD News Article 75090


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!zombie.ncsc.mil!nntp.coast.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Determining Terminal Type
Date: 30 Jul 1996 21:30:53 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <4tluud$c0o@uriah.heep.sax.de>
References: <4tjv6q$rco@news.netusa.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

jw@usbbs.com (John Woodstock) wrote:

> Is there an easy way to have BSD query the terminal when someone
> telnets or dials into the system in order to see what type of terminal
> it is? I can see how to do it manually, just couldn't see any way to
> do it automagically..

Read the Unix Haters Handbook to learn about this misconception of
Unix. ;-)

Actually, telnet can forward the existing TERM variable.  There's null
chance for dialin, however.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)