From owner-freebsd-questions Thu Jun 6 22:43:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA11177 for questions-outgoing; Thu, 6 Jun 1996 22:43:34 -0700 (PDT) Received: from riley-net170-164.uoregon.edu (riley-net170-164.uoregon.edu [128.223.170.164]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id WAA11172 for ; Thu, 6 Jun 1996 22:43:32 -0700 (PDT) Received: (from dwhite@localhost) by riley-net170-164.uoregon.edu (8.6.12/8.6.12) id WAA07828; Thu, 6 Jun 1996 22:42:51 -0700 Date: Thu, 6 Jun 1996 22:42:51 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Jim Dennis cc: sandips@worldnet.att.net, questions@freebsd.org Subject: Re: General problems In-Reply-To: <201006070030.RAA03882@mistery.mcafee.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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