Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Subject: ssh on FreeBSD 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit > 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/