This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: does bash provide scrolling ?


Jan-Friedrich Mutter wrote:

> Hi,
>
> is it possible to configure the bash that it is able to scroll up in
> Win98 ?
>
> Thanks, Jan.
>

Scrolling is not a function of your shell, but of your terminal -- i.e.
cmd.exe/command.com (+ conagent.exe on Win95/98). So, you need to run
bash in a terminal that provides a scrollback buffer. If you have an
Xserver, you can run rxvt instead of cmd. Do this:

rxvt -sl 2000 -e bash

This will create an rxvt terminal with a scrollback buffer with 2000
lines, and start bash in that terminal. I've got a shortcut on my
desktop with the following command:

F:\cygnus\cygwin-b20\usr\local\bin\rxvt.exe -fn sabvga -bg
"rgbi:0/0/0.1" -fg "rgbi:1/1/0.9" -sl 2000 -e bash -login

This uses the sabvga font, dark blue background, pale yellow foregound,
and starts bash as a login shell. If you're using a precompiled version
of rxvt, you'll probably get a dummy dosbox on your screen, too. Fix
this by recompiling rxvt from the rxvt-2.6PRE2 sources (instructions in
the mail archives) or by downloading
ftp://belgarion.resnet.gatech.edu/pub/run/run-1.1.4.tar.gz and using run
to execute rxvt (it hides the dummy dosbox).

A good free xserver is XWin-32, available from http://www.starnet.com/
It has a two hour (renewable) time limit, though.

--Chuck




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