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 Date: Sun, 13 Mar 2005 16:47:43 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: overbored cc: cygwin AT cygwin DOT com Subject: Re: Man pages messed up when viewed over SSH In-Reply-To: <423400C7.60903@overbored.net> Message-ID: References: <423400C7 DOT 60903 AT overbored DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 13 Mar 2005, overbored wrote: > Hi all, whenever I ssh into a remote host (I've only tried Linux boxes), > man pages always get messed up. This has been an issue for me for a > while, but it's not specific to Cygwin. I've tried the cmd, rxvt, and > putty, all with similar results (only in putty, the corrupted characters > only take up 1 character space, whereas in cmd and rxvt, they become > two.) I tried setting the TERM on the remote host to vt100, vt102, rxvt, > and xterm, all to no avail. All other apps (vim, emacs, screen, etc.) > work just fine, but not man. I don't have a Linux box to try this on, > but does anybody know what's causing this? Thanks in advacne. Does "less" work properly? If not, make sure you have the right terminal settings (csh uses "term", not "TERM", BTW). If it does, man may use a special pager program that doesn't play well with the "cygwin" terminal type. Try running "PAGER='less -isrRe' man smth", and see if that helps. If so, check the man.conf file on the remote system. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/