| delorie.com/archives/browse.cgi | search |
| 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 |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| 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" <sokhapkin AT LEAPSTONE DOT com> |
| To: | <fergus AT bonhard DOT uklinux DOT net>, <Robert DOT R DOT Koehler AT daimlerchrysler DOT com> |
| Cc: | <cygwin AT cygwin DOT com> |
| Note-from-DJ: | This may be spam |
| 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
<something>. Works fine. Response fills page. Navigates fine using arrow
keys.
Then type login <yourusername> at the $ prompt
followed again by man <something>. 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |