Re: pico and nano: number of lines displayed

2002-11-14 Thread Corinna Vinschen
On Wed, Nov 13, 2002 at 08:08:40AM -0500, Sergei Okhapkin wrote: > Here is a piece of login source code: > if (!hflag) { /* XXX */ > static struct winsize win = { 0, 0/*, 0, 0*/ }; > > (void)ioctl(0, TIOCSWINSZ, &win); >

Re: pico and nano: number of lines displayed

2002-11-13 Thread Don Sharp
[EMAIL PROTECTED] wrote: > > Actually there is something going on here. I reverted to an earlier version > of Cygwin and even in a non-fullscreen rxvt environment, any of nano, pico > and vim use the entire available depth of the window to display the text > file being edited (so that for instan

Re: pico and nano: number of lines displayed

2002-11-13 Thread Don Sharp
[EMAIL PROTECTED] wrote: > > Actually there is something going on here. I reverted to an earlier version > of Cygwin and even in a non-fullscreen rxvt environment, any of nano, pico > and vim use the entire available depth of the window to display the text > file being edited (so that for instan

RE: pico and nano: number of lines displayed

2002-11-13 Thread Sergei Okhapkin
x27;t ask me why:-) -Original Message- From: [EMAIL PROTECTED] [mailto:fergus@;bonhard.uklinux.net] Sent: Wednesday, November 13, 2002 7:53 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: pico and nano: number of lines displayed > Sorry, but it works

Re: pico and nano: number of lines displayed

2002-11-13 Thread fergus
> 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 -t

Re: pico and nano: number of lines displayed

2002-11-13 Thread fergus
Actually there is something going on here. I reverted to an earlier version of Cygwin and even in a non-fullscreen rxvt environment, any of nano, pico and vim use the entire available depth of the window to display the text file being edited (so that for instance in pico and nano the Help menu appe

Re: pico and nano: number of lines displayed

2002-11-12 Thread fergus
Sorry. Things still work as "previously" described after clicking to full screen. In a rxvt window, even with the rxvt geometry switch set to -geometry 80x58+0+0, all 3 of pico, nano and vim text editors display just 20 lines of text. (As expected, yes?) Apologies for taking your time with a false

pico and nano: number of lines displayed

2002-11-12 Thread fergus
Previously in Cygwin: Using rxvt, and when editing a long text file using pico or nano, the number of lines displayed filled the rxvt window. Now in Cygwin: Using rxvt, and when editing a long text file using pico or nano, the number of lines displayed is less than 20. (Sorry: hard to be specific