Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 1996 22:42:51 -0700 (PDT)
From:      Doug White <dwhite@riley-net170-164.uoregon.edu>
To:        Jim Dennis <jimd@mistery.mcafee.com>
Cc:        sandips@worldnet.att.net, questions@freebsd.org
Subject:   Re: General problems
Message-ID:  <Pine.BSF.3.91.960606223121.7738A-100000@riley-net170-164.uoregon.edu>
In-Reply-To: <201006070030.RAA03882@mistery.mcafee.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You're getting a little over my head here, I'll do my best.  

On Sun, 6 Jun 110, Jim Dennis wrote:

> 	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?

Why would you want to get the function keys?  You have programs that use 
those in text mode?  I don't know of any UNIX programs that use them.  
(Probably Emacs)

Cons25 supports ANSI color; it should maintain it over a telnet 
connection.  I assume you want this to run colorls.  I'm not really sure 
though.  I use an xterm for the most part. 

I just tried telnetting to my other FreeBSD box, telnetted back to my box 
and ran colorls -G and got color.  

> 	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.

Put it in .login or .cshrc/.profile.  The reset will probe the terminal 
anyway, so why have the setenv TERM..?   (?)

> 	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)?

I don't know what you mean.  su - looks like it's equivalent to su -l.  
Unless you want to do full root logins all the time, try su -m; the login 
then inherits your environment, including the terminal.

> 	Luckily I don't run X on these systems -- they're just servers!

Hey, if you ran X on your Linux box and xdm on all the servers, you could
authorize your session on all of them and have windows from each one open
at once.  Your machine too loaded?  Run xdoom from a quiet server instead! 
:-)

If your servers were workstations, I'd feel sorry for the poor sucker at 
the console.  

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960606223121.7738A-100000>