From owner-freebsd-questions Thu Jun 6 17:33:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA26748 for questions-outgoing; Thu, 6 Jun 1996 17:33:22 -0700 (PDT) Received: from mistery.mcafee.com (jimd@mistery.mcafee.com [192.187.128.69]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA26743 for ; Thu, 6 Jun 1996 17:33:20 -0700 (PDT) Received: (from jimd@localhost) by mistery.mcafee.com (8.6.11/8.6.9) id RAA03882; Sun, 6 Jun 2010 17:30:15 -0700 From: Jim Dennis Message-Id: <201006070030.RAA03882@mistery.mcafee.com> Subject: Re: General problems To: dwhite@resnet.uoregon.edu Date: Sun, 6 Jun 110 17:30:15 -0700 (PDT) Cc: sandips@worldnet.att.net, questions@freebsd.org In-Reply-To: from "Doug White" at Jun 6, 96 05:11:53 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > On Thu, 6 Jun 1996, Sandip Srivastava wrote: > > > I recompiled the kernel so that it would recognize my ps/2 mouse. I also > > made the vt220 the default terminal in the kernel. But when the system > > comes up, why does it say Terminal type? [cons25] and not [vt220]? Also, > > now the backspace key and the delete doesn't erase the previous character. > > When I press the backspace key I get something like ^?, and when I press the > > delete key I get something like ^]]. What's gone wrong here? > > The message in the box comes from tset(1), which asks the terminal "what > type are you?" and it responds "cons25". If you want a vt220, then type > 'vt220' to the prompt. Now that you mention it... this is a small thorn in my side I use Linux as the OS on my desktop (Caldera specifically) and mistery is another Linux box (used just for e-mail and "playing"). All of my FreeBSD boxes (ftp servers and, now, my main mail gateway and primary DNS server) are back in a server room. For now I'm telnetting or rlogin' into them. Soon I'll be ssh'ing into them. What's the easiest, least painful, way to get these FreeBSD boxes to recognize my Linux console (termcap and terminfo) with full support for my function keys, full ncurses color support and the whole nine-yards? I tried cutting the linux termcap entry and pasting it into the FreeBSD /etc/termcap. I've resorted to just typing: setenv TERM cons25; reset; stty erase ^? every time. > Are you logging in as root? Root is the only one that asks me this > question. Don't run as root; make yourself an account and use 'su' to > get superuser access. Here's another pet peeve: Why does the system complain when I use 'su -' (to make sure that my PATH and other settings are established -- since they are a bit different from my user account settings)? > For the backspace problem, enter > > stty erase > That should beat it into shape. Yes, it does... but I'm tired of typing that. > Using cons25 will ensure the keyboard is mapped properly for the delete > key. On my box the delete and backspace keys do the same thing. > > For ref: > ^? = delete = keystroke Ctrl-Backspace > ^H = backspace = keystroke Backspace > > I installed the X-user distribution, but when when I type startx at the > > prompt I get the following: > > > > startx: Command not found. Luckily I don't run X on these systems -- they're just servers!