Re: about X
samuel samuelan...@gmail.com wrote: Hi. I have just installed xinit on my vista laptop. When I typed in 'xinit' in the cygwin console, I got a BIG BIG annoying X window which occupied all the space of my desktop and cannot be resized. When I started other programs in xterm, the new program just covered up the space where xterm used to be and I couldn't switch back to the xterm windows. How can I get a clean and separate xterm window? Thank you. Samuel, some say this is off topic, but I find that xterm, emacs built for x11, and et al depend on X11. I am not an expert, so can only tell you of a kludge I found that fixes the problem. There must be an X or x something rc file that can be modified to give arguments, but there is a maze of them and the formats vary. I found no direct answer on the Cygwin/X faq, but I'll cc this to the list, though I'm not a member. Here is a simple work around I found that fixed the problem for me. I changed line #28 in /bin/startx to include two arguments, one for the clipboard and one for multiple windows (which is what you want). You probably also want the clipboard to work. line 28 in /bin/startx changed to the below: defaultserverargs=-clipboard -multiwindow Regards, Wynfield -- 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/
about X
Hi. I have just installed xinit on my vista laptop. When I typed in 'xinit' in the cygwin console, I got a BIG BIG annoying X window which occupied all the space of my desktop and cannot be resized. When I started other programs in xterm, the new program just covered up the space where xterm used to be and I couldn't switch back to the xterm windows. How can I get a clean and separate xterm window? Thank you. -- 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: about X
samuel wrote: Hi. I have just installed xinit on my vista laptop. When I typed in 'xinit' in the cygwin console, I got a BIG BIG annoying X window which occupied all the space of my desktop and cannot be resized. When I started other programs in xterm, the new program just covered up the space where xterm used to be and I couldn't switch back to the xterm windows. How can I get a clean and separate xterm window? Thank you. Use startxwin.[bat|sh], depending on your shell. If you're not familiar with how Cygwin-X works, you could benefit by taking a look at the documentation. There's a good walk-through of the install and basics for getting started. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 429-6305 - FAX Holliston, MA 01746 -- 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: Question about X-Windows and Perl
You need to install the Tk bundle which does not come with the cygwin perl distribution. You can get it from CPAN. This is not really on topic for cygwin-xfree as it is entirely a Perl issue. Cheers, Scott B. On Tue, 29 Mar 2005 18:23:37 -0500, Jason B [EMAIL PROTECTED] wrote: I am currently working on a program for school that I must write in Perl. The program is to code something that will create a new X-Windows application. Inorder to test my program I need to use an X-Windows environment, I installed CygwinX and when I run my perl code using the following command perl tkdemo.pl the following error appears Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at tkdemo.pl line 3. BEGIN failed--compilation aborted at tkdemo.pl line 3 I know for a fact the code is correct as it runs perfectly fine on the school Unix boxes. I however have a windows box, and cannot seem to get this work. Any and all help will be greatly appreciated. Thank you -- Scott Barkla Consulting Manager South Australia 203 Fullarton Road, Eastwood SA 5063 Phone: 08 8373 8500 Fax: 08 8373 8501 Mobile: 0411 742 908 E-mail: [EMAIL PROTECTED] Web: http://www.TechnologyOneCorp.com
Question about X-Windows and Perl
I am currently working on a program for school that I must write in Perl. The program is to code something that will create a new X-Windows application. Inorder to test my program I need to use an X-Windows environment, I installed CygwinX and when I run my perl code using the following command perl tkdemo.pl the following error appears Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at tkdemo.pl line 3. BEGIN failed--compilation aborted at tkdemo.pl line 3 I know for a fact the code is correct as it runs perfectly fine on the school Unix boxes. I however have a windows box, and cannot seem to get this work. Any and all help will be greatly appreciated. Thank you