delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/13/14:13:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 13 Oct 1999 21:11:00 +0300
From: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Mailer: The Bat! (v1.32) S/N 34D3AC61
Reply-To: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Priority: 3 (Normal)
Message-ID: <17882.991013@is.lg.ua>
To: fieldhouse AT logica DOT com (Dirk Fieldhouse)
CC: "Garrett Sylvester" <gsylvester AT gdats DOT com>, cygwin AT sourceware DOT cygnus DOT com
Subject: Re[2]: Scrollable DOS Box under Win95/98
In-reply-To: <199910131623.RAA12031@cav.logica.co.uk>
References: <199910131623 DOT RAA12031 AT cav DOT logica DOT co DOT uk>
Mime-Version: 1.0

Hello Dirk,

Dirk Fieldhouse <fieldhouse AT logica DOT 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 AT is DOT lg DOT ua



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019