Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 110 17:30:15 -0700 (PDT)
From:      Jim Dennis <jimd@mistery.mcafee.com>
To:        dwhite@resnet.uoregon.edu
Cc:        sandips@worldnet.att.net, questions@freebsd.org
Subject:   Re: General problems
Message-ID:  <201006070030.RAA03882@mistery.mcafee.com>
In-Reply-To: <Pine.BSF.3.91.960606170528.5084C-100000@riley-net170-164.uoregon.edu> from "Doug White" at Jun 6, 96 05:11:53 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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 <press backspace>  
> 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006070030.RAA03882>