delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/07/11:55:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Sender: cwilson AT ee DOT gatech DOT edu
Message-ID: <370B7E3A.FEDA7F11@ece.gatech.edu>
Date: Wed, 07 Apr 1999 11:48:10 -0400
From: Charles Wilson <cwilson AT ee DOT gatech DOT edu>
X-Mailer: Mozilla 4.51 [en] (X11; I; HP-UX B.10.20 9000/777)
X-Accept-Language: en
MIME-Version: 1.0
To: Jan-Friedrich Mutter <jmutter AT bigfoot DOT de>, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: does bash provide scrolling ?
References: <370B7291 DOT DB9D6BB9 AT bigfoot DOT de>

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 AT sourceware DOT cygnus DOT com

- Raw text -


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