From owner-freebsd-questions Fri Jul 28 9:21:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id 7070237C259 for ; Fri, 28 Jul 2000 09:21:24 -0700 (PDT) (envelope-from khera@kciLink.com) Received: from onceler.kcilink.com (onceler.kciLink.com [204.117.82.2]) by kci.kciLink.com (Postfix) with ESMTP id C7432E8D2 for ; Fri, 28 Jul 2000 12:21:22 -0400 (EDT) Received: (from khera@localhost) by onceler.kcilink.com (8.9.3/8.9.3) id MAA14060; Fri, 28 Jul 2000 12:21:22 -0400 (EDT) (envelope-from khera@kci.kcilink.com) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14721.45826.622357.504546@onceler.kcilink.com> Date: Fri, 28 Jul 2000 12:21:22 -0400 (EDT) To: questions@FreeBSD.ORG Subject: Re: FreeBSD Console In-Reply-To: References: <20000728100018.A12519@edgemaster.zombie.org> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "DH" == Damon Hammis writes: DH> I have TERM=vt100 set in the .profiles of my remote machines for that same DH> problem. I run KDE on 4.0-STABLE and connect to Sun, HP, and IBM boxes DH> all day long. Setting the envrionment variable on the remote side at DH> login seems to work well for me, as I've had no problems with more, vi, or DH> any other programs since. If you're within X, then terminal type xterm should be recognized by HP, Sun, and IBM boxes. No need to fake it out with vt100. I haven't dealt with FreeBSD console remote logins, but I have for other systems. I have this mess in my .login file to deal with funkified terminal definitions. If I can't figure it out, I punt with some aliases to let me choose which term type I've got. # for dial-in logins. tcsh doesn't like type "modem" if ( $term == modem ) then set term = dumb stty 9600 # gross assumption, but needed for curses to work efficiently endif # linux term type not defined either if ( $term == linux ) then set term = vt100 endif # set up aliases to set terminal types only if it is not yet known. if ( $term == unknown || $term == network || $term == dumb ) then alias cons25 'set term=cons25;unterm' alias vt100 'set term=vt100;unterm' alias vt102 'set term=vt102;unterm' alias unterm 'unalias vt100 vt102 cons25 unterm' endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message