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
--
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/