Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 09:19:15 -0500
From:      Peter Elsner <peter@servplex.com>
To:        Alex Dupre <sysadmin@alexdupre.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: terminfo/termcap and cygwin
Message-ID:  <5.1.0.14.2.20020710091744.00a434e0@mail.servplex.com>
In-Reply-To: <55271305897.20020710154832@alexdupre.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=====================_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 <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
Content-Type: text/html; charset="us-ascii"

<html>
cd to /usr/ports/devel/ncurses<br>
and edit the Makefile.<br><br>
Comment out the following 3 lines:<br><br>
.if ${OSVERSION} &gt;= 400000<br>
FORBIDDEN=&nbsp; already is in the base system<br>
.endif<br><br>
Save the Makefile, and type: make &amp;&amp; make install &amp;&amp; make
clean<br><br>
Terminfo (including the db's) should now install fine...<br><br>
<br><br>
At 03:48 PM 7/10/2002 +0200, you wrote:<br>
<blockquote type=cite class=cite cite>In normal situation accessing to a
FreeBSD 4.x machine from cygwin is not<br>
very pleasant: editing files is quite a pain, there are many terminal
<br>
&quot;glitches&quot; like the cursor in the wrong position and garbage
text.<br>
A trick to resolve this issue is to copy the binary cygwin terminfo file
in <br>
/usr/share/misc/terminfo/c/<br>
Since FreeBSD 4.0 ncurses libs are included in the base system, but
terminfo <br>
db (and utils) are not installed (while the port for freebsd &lt; 4
installed <br>
them).<br>
I read that FreeBSD uses termcap rather than terminfo, but either the
<br>
included cygwin entry or the terminfo-generated one don't work correctly.
So <br>
the binary terminfo seems to be the only solution (and termcap seems to
be <br>
not so powerful).<br>
My question is: should terminfo database be installed (manually or by
<br>
make/installworld) or is there a better fix?<br><br>
-- <br>
Alex
Dupre&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
sysadmin@alexdupre.com<br>
<a href="http://www.alexdupre.com/%A0%A0%A0%A0%A0%A0%A0%A0%A0%A0%A0%A0%A0" eudora="autourl">http://www.alexdupre.com/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</a> alex@sm.FreeBSD.org<br><br>
<br>
To Unsubscribe: send mail to majordomo@FreeBSD.org<br>
with &quot;unsubscribe freebsd-hackers&quot; in the body of the
message</blockquote>
<x-sigsep><p></x-sigsep>
----------------------------------------------------------------------------------------------------------<br>
Peter Elsner &lt;peter@servplex.com&gt;<br>
Vice President Of Customer Service (And System Administrator)<br>
1835 S. Carrier Parkway<br>
Grand Prairie, Texas 75051<br>
(972) 263-2080 - Voice<br>
(972) 263-2082 - Fax<br>
(972) 489-4838 - Cell Phone<br>
(425) 988-8061 - eFax<br><br>
Unix <b>IS</b> user friendly... It's just selective about who its friends
are.<br>
System Administration - It's a dirty job, but somebody said I had to do
it.<br>
If you receive something that says 'Send this to everyone you know, 
<br>
pretend you don't know me. <br><br>
Standard $500/message proofreading fee applies for UCE. <br><br>
</html>

--=====================_4909644==_.ALT--


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




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