RE: FW: How to create an icon to startx with no extra CMD.EXE window
>I use: >E:\cygwin\bin\bash.exe -c -l 'run bash -c -l "CYGWIN=server Xwin.exe :0 -query >192.168.11.1 -from 192.168.11.2 -once -dpi 120 &" ' >If you don't have cygserver running you should delete CYGWIN=server, if you >don't need larger fonts delete -dpi 120 Very interesting. Could you kindly point me to the documentation? I removed the -query and the -from and the "Cygwin=server" and it was not working correctly. Since I'm running DHCP, I was not sure what to put for those IP addresses you are using. 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/
RE: FW: How to create an icon to startx with no extra CMD.EXE window
>> But I have this ugly console hanging around. When I kill it, it kills X as >> well. Is there a way to have an icon that does not create a superfluous >> console window? > >You could start an application (including xterm) which is initially >iconified. That would move it out of sight. This should work: > >xterm -iconic > >The startxwin.sh script needs _something_ that is holding onto the shell >script, to prevent it from exiting. > I don't think I made myself clear! When I said "ugly console" I meant the cmd.exe console (possibly running bash). I think you are talking about the initial xterm. The initial xterm is not a problem. How can I start X without running cmd.exe? 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/
FW: How to create an icon to startx with no extra CMD.EXE window
Thank you for the responses regarding "-sb -sl 6000". I had a quick launch icon that would execute "startx" in bash but that does not seem to use the startxwin.sh or startxwin.bat files. So I change my icon in my quick launch bar to this: C:\cygwin\bin\bash.exe /usr/bin/X11/startxwin.sh So this starts the xterm with scroll bars and (I assume) 6000 lines of history. Hurray! Thanks! But I have this ugly console hanging around. When I kill it, it kills X as well. Is there a way to have an icon that does not create a superfluous console window? 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/
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? >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
FW: How to get scroll bars on initial xterm instance?
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/