From owner-freebsd-questions Tue Sep 28 17:17:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 1062114D40 for ; Tue, 28 Sep 1999 17:17:09 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11W7QJ-0005q1-00; Wed, 29 Sep 1999 02:16:43 +0200 From: Sheldon Hearn To: "Igor B. Bykhalo" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to set different terminal emulation? In-reply-to: Your message of "Tue, 28 Sep 1999 11:07:23 EST." <023901bf09cb$8cb2c380$fba3f9cf@megared.net.mx> Date: Wed, 29 Sep 1999 02:16:42 +0200 Message-ID: <22444.938564202@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I use cons25r terminal emulation for ttyv* consoles. But I'd like to > set emulation to something like VT100,102, etc. when connecting via > SSH or telnet (to match with client terminal emulatiom mode). If all the users on your box would like cons25r on console, the simplest solution is to edit /dev/ttys, replacing instances of cons25 with cons25r. If you can't be sure that everyone else shares your preferences, then you could place the following lines in your .profile: if tty | grep -q ttyv; then TERM=cons25r else TERM=${TERM:-vt100} fi export TERM Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message