B20 legacy branch

ConSize

A resizer for the console. Translation: a scrollbar for the command prompt window in Win9x.

Update 20 Oct 99: bugfixes, new features, yet another name change

Update 14 Oct 99: new version of Win95Cmd.exe from the latest win2k platform development kit.

Usage instructions:

Because "command.com" is a DOS program and not Win32 compliant, "consize" will not work with it. However, it does work with NT's cmd.exe and the Win95 port of cmd.exe (provided here). More importantly, it works with cygwin-bash.

I obtained Win95Cmd.exe from ftp://ftp.microsoft.com/developr/platformsdk/win2k_rc2/psdk-x86.8.cab The cab file is a 3MB download. Also, that site is very dynamic, so the exact path may change over time, and the exact cab filename in which Win95Cmd.exe is found may also change. Thanks to Dirk Fieldhouse for the tip.

To use, just start your favorite console program (not command.com) and type 'consize 2000'. That will give you a scrollbuffer 2000 lines long. For more options, type 'consize -h'.

Installation instructions:

  1. Download the package here.
  2. Unpack - it contains:
    consize.c
    Makefile.cygwin makefile for cygwin
    Makefile.mingw makefile for cygwin gcc, with -mno-cygwin. UNTESTED.
    Makefile.vc makefile for MSVC
    consize-cygwinb20.exe precompiled binary for cygwin B20.1
    consize-vc.exe precompiled binary using MSVC
    consize-mingw.txt placeholder for precompiled binary using gcc and -mno-cygwin
  3. rename one of the binaries (consize-vc.exe or consize-cygwinb20.exe) to consize.exe (or something shorter, such as recon.exe, if you like).
  4. put it somewhere in your path

There, that wasn't so hard.

Compilation instructions

Using cygwin (egcs)

  1. Unpack the tarball.
  2. make -f Makefile.cygwin
  3. strip consize.exe (optional)

Using mingw

  1. Unpack the tarball
  2. make -f Makefile.mingw
  3. strip consize.exe (optional)

Using MSVC

  1. Unpack the tarball.
  2. nmake -f Makefile.vc

B20 Home

Obsolete CygUtils Home


Last modified: Sat Feb 05 18:37:55 Eastern Standard Time 2000