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

2008-04-08 Thread Siegfried Heintze (Aditi)


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

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

This seems to have no effect (affect?) either.

Can someone advise me as to what I am doing wrong?
Thanks,
Siegfried



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

2008-04-08 Thread Thomas Dickey

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/

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

2008-04-07 Thread Reid Thompson
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?
 Thanks,
 siegfried
 
 --
 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/
 

edit startxwin.sh/startxwin.bat




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



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

2008-04-07 Thread Crider, Joseph A
Or create a .Xresources file in your home directory that includes
Xterm.*.saveLines: 3000
Xterm.*.scrollbar: true


J. Allen Crider

-Original Message-
From: Reid Thompson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 07, 2008 2:27 PM
To: cygwin-xfree@cygwin.com
Subject: Re: FW: How to get scroll bars on initial xterm instance?

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?
 Thanks,
 siegfried
 
 --
 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/
 

edit startxwin.sh/startxwin.bat




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



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

2008-04-07 Thread Thomas Dickey

On Mon, 7 Apr 2008, Crider, Joseph A wrote:


Or create a .Xresources file in your home directory that includes
Xterm.*.saveLines: 3000
Xterm.*.scrollbar: true


perhaps you meant

XTerm*saveLines: 3000
XTerm*scrollbar: true

(the class name is XTerm, and the . is redundant when adjacent to *)

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