From owner-freebsd-hackers Wed Jul 10 7:19:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 935C037B400 for ; Wed, 10 Jul 2002 07:19:22 -0700 (PDT) Received: from spxgate.servplex.com (66-105-58-82.customer.algx.net [66.105.58.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C5FA43E52 for ; Wed, 10 Jul 2002 07:19:21 -0700 (PDT) (envelope-from peter@servplex.com) Received: from peter.servplex.com ([192.168.0.61]) by spxgate.servplex.com (8.11.6/8.11.1) with ESMTP id g6AERwt56106; Wed, 10 Jul 2002 09:27:58 -0500 (CDT) (envelope-from peter@servplex.com) Message-Id: <5.1.0.14.2.20020710091744.00a434e0@mail.servplex.com> X-Sender: peter@mail.servplex.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 10 Jul 2002 09:19:15 -0500 To: Alex Dupre From: Peter Elsner Subject: Re: terminfo/termcap and cygwin Cc: freebsd-hackers@freebsd.org In-Reply-To: <55271305897.20020710154832@alexdupre.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_4909644==_.ALT" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=====================_4909644==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed cd to /usr/ports/devel/ncurses and edit the Makefile. Comment out the following 3 lines: .if ${OSVERSION} >= 400000 FORBIDDEN= already is in the base system .endif Save the Makefile, and type: make && make install && make clean Terminfo (including the db's) should now install fine... At 03:48 PM 7/10/2002 +0200, you wrote: >In normal situation accessing to a FreeBSD 4.x machine from cygwin is not >very pleasant: editing files is quite a pain, there are many terminal >"glitches" like the cursor in the wrong position and garbage text. >A trick to resolve this issue is to copy the binary cygwin terminfo file in >/usr/share/misc/terminfo/c/ >Since FreeBSD 4.0 ncurses libs are included in the base system, but terminfo >db (and utils) are not installed (while the port for freebsd < 4 installed >them). >I read that FreeBSD uses termcap rather than terminfo, but either the >included cygwin entry or the terminfo-generated one don't work correctly. So >the binary terminfo seems to be the only solution (and termcap seems to be >not so powerful). >My question is: should terminfo database be installed (manually or by >make/installworld) or is there a better fix? > >-- >Alex Dupre sysadmin@alexdupre.com >http://www.alexdupre.com/ alex@sm.FreeBSD.org > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message ---------------------------------------------------------------------------------------------------------- Peter Elsner Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. --=====================_4909644==_.ALT Content-Type: text/html; charset="us-ascii" cd to /usr/ports/devel/ncurses
and edit the Makefile.

Comment out the following 3 lines:

.if ${OSVERSION} >= 400000
FORBIDDEN=  already is in the base system
.endif

Save the Makefile, and type: make && make install && make clean

Terminfo (including the db's) should now install fine...



At 03:48 PM 7/10/2002 +0200, you wrote:
In normal situation accessing to a FreeBSD 4.x machine from cygwin is not
very pleasant: editing files is quite a pain, there are many terminal
"glitches" like the cursor in the wrong position and garbage text.
A trick to resolve this issue is to copy the binary cygwin terminfo file in
/usr/share/misc/terminfo/c/
Since FreeBSD 4.0 ncurses libs are included in the base system, but terminfo
db (and utils) are not installed (while the port for freebsd < 4 installed
them).
I read that FreeBSD uses termcap rather than terminfo, but either the
included cygwin entry or the terminfo-generated one don't work correctly. So
the binary terminfo seems to be the only solution (and termcap seems to be
not so powerful).
My question is: should terminfo database be installed (manually or by
make/installworld) or is there a better fix?

--
Alex Dupre                             sysadmin@alexdupre.com
http://www.alexdupre.com/             alex@sm.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

----------------------------------------------------------------------------------------------------------
Peter Elsner <peter@servplex.com>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax

Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.

Standard $500/message proofreading fee applies for UCE.

--=====================_4909644==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message