On Thursday, 19 January 2006 at 23:53:06 -, Alan Gauld wrote:
> Assuming you are on a Unix style OS/terminal you can read the
> output of stty. Look at the rows value
>
> Here are a couple of runs of rows at different terminal sizes:
>
> $ stty -a | grep rows
> speed 38400 baud; rows 41; col
On Thursday, 19 January 2006 at 16:03:16 -0800, Terry Carroll wrote:
> On Thu, 19 Jan 2006, Vincent Zee wrote:
>
> > Any pointers to other curses howto's?
>
> There's http://heather.cs.ucdavis.edu/~matloff/Python/PyCurses.pdf ; but
> it's mostly a couple of example programs, without a lot of exp
On Thu, 19 Jan 2006, Vincent Zee wrote:
> Any pointers to other curses howto's?
There's http://heather.cs.ucdavis.edu/~matloff/Python/PyCurses.pdf ; but
it's mostly a couple of example programs, without a lot of explanation.
___
Tutor maillist - Tut
Assuming you are on a Unix style OS/terminal you can read the
output of stty. Look at the rows value
Here are a couple of runs of rows at different terminal sizes:
$ stty -a | grep rows
speed 38400 baud; rows 41; columns 80; line = 0;
$ stty -a | grep rows
speed 38400 baud; rows 26; columns 80;
On Thursday, 19 January 2006 at 12:37:38 -0800, Danny Yoo wrote:
>
>
> On Thu, 19 Jan 2006, Vincent Zee wrote:
>
> > say you want to write a more-like program. How do you know how many
> > lines the terminal window can display.
>
> Hi Vincent,
>
> It's possible that this information might alre
On Thu, 19 Jan 2006, Vincent Zee wrote:
> say you want to write a more-like program. How do you know how many
> lines the terminal window can display.
Hi Vincent,
It's possible that this information might already be in your environment.
If you're using the 'bash' shell, and if the 'checkwinsiz
On Thursday, 19 January 2006 at 11:29:29 -0800, Bill Campbell wrote:
> On Thu, Jan 19, 2006, Vincent Zee wrote:
> >Hi,
> >
> >say you want to write a more-like program.
> >How do you know how many lines the terminal window
> >can display.
>
> Use the curses library, and it will take care of this f
On Thu, Jan 19, 2006, Vincent Zee wrote:
>Hi,
>
>say you want to write a more-like program.
>How do you know how many lines the terminal window
>can display.
Use the curses library, and it will take care of this for you.
Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC
Hi,
say you want to write a more-like program.
How do you know how many lines the terminal window
can display.
/\
Vincent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor