From owner-freebsd-questions Thu Feb 5 00:33:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11135 for questions-outgoing; Thu, 5 Feb 1998 00:33:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zippy.dyn.ml.org (garbanzo@haiti-81.ppp.hooked.net [206.169.228.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA11123 for ; Thu, 5 Feb 1998 00:33:41 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.8/8.8.7) with SMTP id AAA06346; Thu, 5 Feb 1998 00:34:56 -0800 (PST) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Thu, 5 Feb 1998 00:34:56 -0800 (PST) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org Reply-To: Alex To: Greg Hormann cc: freebsd-questions@FreeBSD.ORG, Uncle Flatline Subject: Re: 7 questions/problems from a former Linux, new FreeBSD user In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Wed, 4 Feb 1998, Greg Hormann wrote: > > 4) When telnetting to my Linux host, the system correctly translates > > IP name to IP numeric address, tells me it's connected, and then > > immediately says "Connection closed by foreign host". > > I have run into this one before. This is because Linux doesn't now about > the cons25 term type. > > Solution: tell Linux about the cons25 term type. Another work around I use on my ISPs dumb shell host (BSDI 3.1) in .bashrc if [ "$TERM" = "cons25" ]; then export TERM=scoansi fi This gives better results than using VT100. Also, if you switch to the VT 2xx driver instead of the SCO driver, make sure you edit /etc/ttys. By default the local consoles are set to TERM=cons25. If you don't change both at the same time, you'll get the wrong escape codes. Linux: The Microsoft Windows(tm) of the Unix(tm) world. - alex