Beginners questions.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I think I've got Cygwin and XFree installed correctly on my Win98 SE box. I type "think" because I have no standard to go by. How can I tell when Cygwin is correctly installed? It currently runs and I can access info, man, sh, bc and most other good things that I know about. I'm in the same position with the X window stuff. I have no idea what I'm supposed to see. Since there are at least three ways of starting X detailed in the FAQ/User Manual, I'd like to try and tell you folks what I see when I try them and then you can tell me if this is normal or not, OK? First attempt was the startxwin.bat I get a full screen window with a bash window. When I left clicked the mouse and selected "exit" the bash window lost it's title. When I clicked the Windows Close button the Full Screen window went away and was replaced with another one. This one had no sub-windows and the mouse was not clickable but it did move. The next attempt was to start Cygwin and then type "startx" at the command prompt. Other than giving me a Xclock, unresponsive xterm and two bash windows this one behaved the same as the above. The last one was to start Cygwin and type: "sh /usr/X11R6/bin/startxwin.sh" (without the quotes) on the command prompt. This gave me a nice aquamarine (?) window with an Xclock and a bash window. Once again exit removes the windows titles, but this time close does close the window without a second one opening. OK, are these normal? If not, what is wrong with my install that is causing the problem and how do I go about fixing it? This is a totally fresh install, no files added. - -- Best regards, Magus -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQA/AwUBPj53lvqiG3YPjS8zEQLIjgCfQetZck0spAPWh/vxveyuqY55QEMAniy+ 7XfeNp4wZ5MEv4H5ni4Ooc9B =k9cU -END PGP SIGNATURE- __ Post your free ad now! http://personals.yahoo.ca
Re: Beginners questions.
> Subject: Beginners questions. > Date: Mon, 3 Feb 2003 08:07:05 -0600 > From: Magus <[EMAIL PROTECTED]> > To: Cygwin-XFree Mailing List <[EMAIL PROTECTED]> > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi All, > > I think I've got Cygwin and XFree installed correctly on my > Win98 SE box. I type "think" because I have no standard to go > by. How can I tell when Cygwin is correctly installed? It > currently runs and I can access info, man, sh, bc and most > other good things that I know about. > > I'm in the same position with the X window stuff. I have no > idea what I'm supposed to see. Since there are at least three > ways of starting X detailed in the FAQ/User Manual, I'd like to > try and tell you folks what I see when I try them and then you > can tell me if this is normal or not, OK?- -- > Best regards, > Magus Hey, Magus, I don't think there's a "normal" X window. It depends on what's in your ~/.xinitrc. I copied it from /etc/X11/xinit. This is one of the ways of starting up X, using the startx command. I found that I had to run startx from /usr/X11R6/bin. Simply putting the directory into my path didn't work. In ~/.xinitrc, twm starts the window manqager. You will see 3 commands to start xterms, and 1 to start a clock. That's what you should get on your desktop. The first thing I did was replace all that stuff with stuff I normally start up on the sun boxes (I use twm instead of the sun desktop). That varies from individual to individual. The capabilities of twm are in the man page, but it's kind of hard to read. I would search for a tutorial on the web. But a bit of experimenation reveals pretty all there is (it's a bare bones windows manager). Most of the functionality can be seen in the popup menus, which show up when you click the mouse on the desktop, away from any windows. Some xterm options menus can be seen by pressing control-mouse-button in the xterm. The good thing about twm is that it's easier than other window managers to customize, since everything is in the man page. It's not light reading, and requires experimentation, but probably way simpler than customizing, say, Sun's CDE. Good luck. And hope it's an interesting experience, exploring the vagaries of X, though it's admittedly not always straightforward. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6
Re: Beginners questions.
Sorry for the 2nd mailing. I forgot to change the subject line, as often happens. > Subject: Re[2]: Beginners questions. > Date: Tue, 4 Feb 2003 19:04:16 -0600 > From: Magus <[EMAIL PROTECTED]> > To: Shing-Fat Fred Ma <[EMAIL PROTECTED]> > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello Fred, > > Thanks for the reply, it eased my mind a _lot_. I think I have > a fairly workable install of Cygwin and Xfree on my machine. No problem. SFFM> command. I found that I had to run startx from /usr/X11R6/bin. SFFM> Simply putting the directory into my path didn't work. > Interesting you should mention that. I have absolutely no > problem here on Win98 SE. Do you, like me, have the latest > version of Cygwin1.dll? A few days old as of my posting date, same as on the web. "cygcheck -cvr" gives cygwin 1.3.19-1 Doesn't seem like a -cvr kind of problem, it complains that I have a badly formed file inquiry. I've seen that message with shell scripts that have and if(), where the shell mistook the "if" logical expression as a query for file existence, or something similar. It happens between the time startx calls xinit and the time when my .xiinitrc script *starts* to run. Since xinit is a binary executable, I can't see what's going on in there. > I notice that you are with or in the Dept. of Electronics at > Carleton. Interesting coincidence, I'm a C. Tech. in > Electronics. Unemployed right now while I await an operation, > but still a C. Tech. I don't know how you knew, but I'm glad > you did. Thanks once again for the help and a belated "Happy > New Year" of the sheep. > > Best regards, > Magus What's a C. Tech? Thanks for the wishes. Good luck in your job hunt. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6
Re[2]: Beginners questions.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Fred, Thanks for the reply, it eased my mind a _lot_. I think I have a fairly workable install of Cygwin and Xfree on my machine. I grabbed the same xinitrc file you mentioned and then took a look at the startxwin.sh file. A few cuts and pastes in Ultra Edit, a funnily formatted save as command (I'm not used to saving as ".xinitrc" i.e. extension only in Windows or hidden file in Unix, on my Windows box) and both startxwin.bat and running startx from the command prompt work the same and pretty much the way I want. I'll have a look at the man page for startx fairly soon to see if I can get a non full screen window like the startxwin.sh does. SFFM> I found that I had to run startx from /usr/X11R6/bin. SFFM> Simply putting the directory into my path didn't work. Interesting you should mention that. I have absolutely no problem here on Win98 SE. Do you, like me, have the latest version of Cygwin1.dll? The next step will be getting KDE 2 to run here. Once I have that then I will feel more confident that I can get the programming project I'm working on started in a real programming environment instead of on paper. I want this program to be a go in both UNIX derived and Windows environments. I notice that you are with or in the Dept. of Electronics at Carleton. Interesting coincidence, I'm a C. Tech. in Electronics. Unemployed right now while I await an operation, but still a C. Tech. I don't know how you knew, but I'm glad you did. Thanks once again for the help and a belated "Happy New Year" of the sheep. Best regards, Magus - -- Tuesday, February 4, 2003, 1:34:26 AM, you wrote: >> Subject: Beginners questions. >> Date: Mon, 3 Feb 2003 08:07:05 -0600 >> From: Magus <[EMAIL PROTECTED]> >> To: Cygwin-XFree Mailing List <[EMAIL PROTECTED]> >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi All, >> >> I think I've got Cygwin and XFree installed correctly on my >> Win98 SE box. I type "think" because I have no standard to go >> by. How can I tell when Cygwin is correctly installed? It >> currently runs and I can access info, man, sh, bc and most >> other good things that I know about. >> >> I'm in the same position with the X window stuff. I have no >> idea what I'm supposed to see. Since there are at least three >> ways of starting X detailed in the FAQ/User Manual, I'd like to >> try and tell you folks what I see when I try them and then you >> can tell me if this is normal or not, OK?- -- >> Best regards, >> Magus SFFM> Hey, Magus, SFFM> I don't think there's a "normal" X window. It depends SFFM> on what's in your ~/.xinitrc. I copied it from /etc/X11/xinit. SFFM> This is one of the ways of starting up X, using the startx SFFM> command. I found that I had to run startx from /usr/X11R6/bin. SFFM> Simply putting the directory into my path didn't work. SFFM> In ~/.xinitrc, twm starts the window manqager. You will see 3 SFFM> commands to start xterms, and 1 to start a clock. That's SFFM> what you should get on your desktop. The first thing I did SFFM> was replace all that stuff with stuff I normally start up on SFFM> the sun boxes (I use twm instead of the sun desktop). That SFFM> varies from individual to individual. SFFM> The capabilities of twm are in the man page, but it's kind of SFFM> hard to read. I would search for a tutorial on the web. But SFFM> a bit of experimenation reveals pretty all there is (it's a SFFM> bare bones windows manager). Most of the functionality SFFM> can be seen in the popup menus, which show up when you SFFM> click the mouse on the desktop, away from any windows. SFFM> Some xterm options menus can be seen by pressing SFFM> control-mouse-button in the xterm. SFFM> The good thing about twm is that it's easier than other SFFM> window managers to customize, since everything is in SFFM> the man page. It's not light reading, and requires SFFM> experimentation, but probably way simpler than SFFM> customizing, say, Sun's CDE. SFFM> Good luck. And hope it's an interesting experience, SFFM> exploring the vagaries of X, though it's admittedly not SFFM> always straightforward. SFFM> Fred SFFM> -- SFFM> Fred Ma, [EMAIL PROTECTED] SFFM> Carleton University, Dept. of Electronics SFFM> 1125 Colonel By Drive, Ottawa, Ontario SFFM> Canada, K1S 5B6 -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQA/AwUBPkBjHPqiG3YPjS8zEQKSwwCff3/Xfd71xrWMR/HagF9DdB2ejpQAnjdt leTyF7OSLVFHmlR+XJVukOL5 =fBjd -END PGP SIGNATURE- __ Post your free ad now! http://personals.yahoo.ca