delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/24/06:59:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3CEE1BAA.10704@lapo.it>
Date: Fri, 24 May 2002 12:53:30 +0200
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.0.0+) Gecko/20020523
X-Accept-Language: it, en, fr, es
MIME-Version: 1.0
To: Mailing List: CygWin <cygwin AT cygwin DOT com>
Subject: ssh on FreeBSD <solved>
References: <3CB9A0AF DOT F97DD15A AT lapo DOT it> <3CEE009C DOT 3060600 AT lapo DOT it> <20020524115637 DOT E12995 AT cygbert DOT vinschen DOT de> <3CEE137D DOT 4060307 AT lapo DOT it>

> I solved the issue on many linux using termcap/c/cygwin... but FreeBSD 
> doesn't use terminfo AFAIK, only has a file with termcap, which 
> already has the following string:
>
> cygwin:\
>        :xn@:op=\E[39;49m:Km=\E[M:tc=linux:
>
> instead of
>
> cygwin:\
>        
> :xn@:op=\E[39;49m:Km=\E[M:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:tc=linux:
>
> But also changing it there is no real difference I can notice: CR 
> still "duplicates" lines, PagUp/PagDn still leave characters frompast 
> lines...
>
Well... I guess termcap is user by a library and terminfo by another 
library.. and vi/nano and others use the latter.
Problem is that under FreeBSD I didn't find the usuale 
/usr/share/termcap/c/ direcotry to put cygwin terminfo file.
A friend of mine found out that creating it in 
/usr/share/misc/terminfo/c/cygwin completely solves the problem.
I wonder why doesn't FreeBSD contains a bunch of terminfo examples 
(the /usr/share/misc/terminfo directory doesn't even exist in a standard 
install).
Whops the same friend just told me that terminfo database is to be 
included soon in FreeBSD base files.

Well anyhaw anyone reading this ML can be an happy remote freebsd user =)

-- 
Lapo 'Raist' Luchini
lapo AT lapo DOT it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019