From owner-freebsd-questions Mon Jun 17 17:56:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ntl.com (pc3-farn1-3-cust4.gfd.cable.ntl.com [213.107.74.4]) by hub.freebsd.org (Postfix) with ESMTP id 63C8337B40A for ; Mon, 17 Jun 2002 17:56:37 -0700 (PDT) Received: from bell.lan.palfreman.com (localhost [127.0.0.1]) by bell.lan.palfreman.com (8.12.3/8.12.3) with ESMTP id g5GFaOYY077715; Sun, 16 Jun 2002 16:36:24 +0100 (BST) (envelope-from william@palfreman.com) Received: from localhost (william@localhost) by bell.lan.palfreman.com (8.12.3/8.12.3/Submit) with ESMTP id g5GFaNsY077696; Sun, 16 Jun 2002 16:36:24 +0100 (BST) X-Authentication-Warning: bell.lan.palfreman.com: william owned process doing -bs Date: Sun, 16 Jun 2002 16:36:23 +0100 (BST) From: William Palfreman X-X-Sender: william@bell.lan.palfreman.com To: Ronan Lucio Cc: questions@FreeBSD.ORG Subject: Re: Error on Terminal In-Reply-To: <20020617195913.7a48c962.ronanl@melim.com.br> Message-ID: <20020616162038.E37028-100000@bell.lan.palfreman.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 17 Jun 2002, Ronan Lucio wrote: > Hello, > > A client of mine has the follow situation: > They have a AIX server with several terminals connected in it. > I don't know how speak it in english, in portuguese we call > donkey terminal... :-/, it's a terminal with just monitor and > keyboard (It has no CPU). donkey terminal = dumb terminal in English. Also a "serial console". > > Ok, when a user logs in, such terminal open a telnet section > on a FreeBSD Internet Server where the user execute the pine > program. Serial console -> AIX -> telnet Freebsd, right? > Until yesterday, they have a FreeBSD-3.2 box and everythink > worked fine. Now, I needed to upgrade it to FreeBSD-4.5-RELEASE > but, after I have installed it the user of the donkey terminal > stop accessing pine program. > > If I log in with telnet from a PC running windows, it works fine > but, from the donkey terminals it gives me the following errors: > > When I execute pine, it says: > "Can't open terminal capabilities database" > > When I execute vi, it says: > "No terminal database found" > > Does anyone knews what could it be? FreeBSD console oddness. I think FreeBSD expects the $TERM variable to be something different to what AIX says it is. If AIX uses sh (that is, bourne shell) try: $ TERM=cons25 $ export TERM $ telnet freebsd.host.name Disclaimer: I'm no expert on FreeBSD or other unix console settings. It is just that this seems like a possible answer in this case. > PS: I'm sorry for my poor english. > > Thank' a lot, > > Ronan -- W. Palfreman. http://www.palfreman.com/william/ Tel: 0771 355 0354 PGP ftp://ftp.palfreman.com/pub/wfpkey.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message