From owner-freebsd-current Sat Mar 9 06:21:25 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA26383 for current-outgoing; Sat, 9 Mar 1996 06:21:25 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA26374 for ; Sat, 9 Mar 1996 06:21:20 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id PAA22242 for ; Sat, 9 Mar 1996 15:21:16 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id PAA27352 for freebsd-current@FreeBSD.org; Sat, 9 Mar 1996 15:21:15 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id OAA00930 for freebsd-current@FreeBSD.org; Sat, 9 Mar 1996 14:45:34 +0100 (MET) From: J Wunsch Message-Id: <199603091345.OAA00930@uriah.heep.sax.de> Subject: Re: changes to /etc/csh.* To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sat, 9 Mar 1996 14:45:34 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <4hq326$1s9@mordillo.physik.fu-berlin.de> from "Thomas Graichen" at Mar 8, 96 07:50:30 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: owner-current@FreeBSD.ORG Precedence: bulk As Thomas Graichen wrote: > how about also adding something like: > > if ( -x /usr/sbin/ispcvt ) then > if { /usr/sbin/ispcvt } then > setenv TERM vt220 > endif > endif > this way you'll automatically get the right TERM if you are using > syscons _or_ pcvt - just an idea - for me it works very nice This should go into /etc/ttys instead. (Though it's not automagic there.) -- 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. ;-)