FW: How to get scroll bars on initial xterm instance?

Thomas Dickey dickey@his.com
Tue Apr 8 20:38:00 GMT 2008


On Tue, 8 Apr 2008, Siegfried Heintze (Aditi) wrote:

>>> On Mon, 2008-04-07 at 12:23 -0700, Siegfried Heintze (Aditi) wrote:
>>> When I run startx it creates an xterm for me. But this xterm does not have a scroll bar. I like to create xterms
>>> with "-sl 3000 -sb" so I get lots of history. How can I make startx create an xterm with these options?
>
>> edit startxwin.sh/startxwin.bat
> 
> OK, in c:/cygwin/usr/X11R6/bin/startxwin.sh Line 106 I have:
>
> xterm -e /usr/bin/bash -l -sb -sl 3000 &
>
> And in c:/cygwin/usr/X11R6/bin/startxwin.bat Line 151 I now have:
>
> %RUN% xterm -e /usr/bin/bash -l -sb -sl 6000

  %RUN% xterm  -sb -sl 6000 -e /usr/bin/bash -l

(xterm stops processing options on the "-e")

>
> Adding "-sb -sl 6000" did not seem to help.
>
> I also created the file c:\Documents and Settings\a-siehei\.Xresources with these contents on a different computer
>
> Xterm.*.saveLines: 3000
> Xterm.*.scrollbar: true

I already pointed out one problem with this.

However, ".Xresources" depends on how X is started - perhaps cygwin uses 
it...

(The ".Xdefaults" file tends to get more use).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


More information about the Cygwin-xfree mailing list