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 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: pico and nano: number of lines displayed Date: Wed, 13 Nov 2002 08:08:40 -0500 Message-ID: <59A835EDCDDBEB46BC75402F4604D5528F74A6@elmer> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Sergei Okhapkin" To: , Cc: Note-from-DJ: This may be spam Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gADD7mm31421 Here is a piece of login source code: if (!hflag) { /* XXX */ static struct winsize win = { 0, 0/*, 0, 0*/ }; (void)ioctl(0, TIOCSWINSZ, &win); } Login resets the tty window size to 0 if -h option missed (don't ask me why:-) -----Original Message----- From: fergus AT bonhard DOT uklinux DOT net [mailto:fergus AT bonhard DOT uklinux DOT net] Sent: Wednesday, November 13, 2002 7:53 AM To: Robert DOT R DOT Koehler AT daimlerchrysler DOT com Cc: cygwin AT cygwin DOT com; fergus AT bonhard DOT uklinux DOT net Subject: Re: pico and nano: number of lines displayed > Sorry, but it works fine for me with pico/nano in an rxvt (2.7.2.14) window, > with cygwin 1.3.15.2. > > Can you describe your problem in any more detail? Thank you, Robert. I've done some more fiddling about. Please could you try starting up using C:\Cygwin\bin\rxvt.exe -geometry 80x58+0+0 -tn cygwin Do you get a $ prompt and find you are in /usr/bin? Now type man . Works fine. Response fills page. Navigates fine using arrow keys. Then type login at the $ prompt followed again by man . Now the response starts halfway down the page and navigation keys throw the user all over the place, with visible ESC sequences, etc. Either there's something "wrong" with login? or I need to re-construct my .bash_profile, .bashrc and .inputrc files? (But why?) Thank you too to other readers. I am very sorry if it turns out I am filling the list with what turns out to be a piece of daft local mismanagement. Fergus -- 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/ -- 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/