This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Scrollable DOS Box under Win95/98


I took this tip and made a small package out of it. I hope it will be
useful.

--Chuck


Paul Sokolovsky wrote:
> 
> Hello Dirk,
> 
> Dirk Fieldhouse <fieldhouse@logica.com> wrote:
> 
> DF> On Wed, 13 Oct 1999 10:12:06 -0400, "Garrett Sylvester" <gsylvester at gdats dot com> wrote:
> 
> >> Is it possible to get a scrollable screen (DOS box) whose buffer has more
> >> than 50 lines when I run the Cygnus BASH shell and utilities under WIn 95
> >> or 98? I've looked all over for some way to do this, but no joy. (I know
> >> you can do it with NT.)
> 
> DF> This is a limitation of the 'console subsystem', such as it is, in W9x (conagent, winoa386, etc), so even using the W95 version of cmd.exe doesn't help. You could possibly rewrite it - rather you
> DF> than me. However, search the archives for references to rxvt which might give you what you want for Cygwin purposes.
> 
> #include <windows.h>
> 
> main()
> {
>   COORD c={100,100};
>   SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE),c);
> }
> 
> works for both fullscreen shell I use (FAR) and cygwin's bash.
> 
>       It doesn't work for command.com but probably just because it's
> dos app, not win32.
> 
> Best regards,
>  Paul                            mailto:paul-ml@is.lg.ua
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]