Lynx in Xfree
Hello, How do I get Lynx to run in an xfree window instead of my current shell? Thanks
RE: Using Multiple X Windows
Tom: I think you need to set your DISPLAY environment variable to: ${HOST}:0 HOST contains your computer name, but for me it is already set when I run my shell
Re: Lynx in Xfree
Wilhelm , Thanks a lot, don't know why I couldn't find a solution to something like that searching the internet.
Using Multiple X Windows
Hello, I have a question which I could not find the answer to in searching the archives... I am trying to make window management in cygwin/xfree the same way I have it set up in exceed. I start up tcsh in exceed with my xterm command which opens up an x window with the tcsh prompt. From this prompt, every time I type emacs , it will bring up a new xwindow with the emacs program. I cannot figure out how to do this in cygwin/xfree. From my tcsh prompt, I type xwin to start the xfree window. Now, every time I type emacs , it opens up an emacs in the same xfree window. I am wondering how I can get it to open up a separate xfree window each time I type emacs as I can in exceed? I tried messing around with the xwin -screen option, but I could not come up with anything... Thanks
RE: Using Multiple X Windows
Harold: Sorry, I did not see your message when I replied to the other one... Yes, that is the solution I was looking for. Thanks a lot. Just a quick question, is there any way to hide the initial window that opens up after running XWin -multiwindow so that it does not show in my taskbar? Exceed has some feature that hides it from the taskbar and puts it as one of the small icons next to the clock, and so I'm just wondering if there is any way to do something similar with xwin. Nothing too important, but I thought I'd ask :) Thanks
looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin
Hello, I am having a problem with running cygwin emacs under windows 2000 pro at work, where I am concurrently running exceed (to connect to networked machines): when I initially run emacs it does not open up in a separate window so, I mimicked my xterm setup at work and did setenv DISPLAY xx:0.0 now, it opens up in a separate window like I wanted, but I have 2 questions: 1) the icon (in the upper left corner of my emacs window) is the blue X ie. the same icon I get when I open an xterm with exceed. This is confusing because I would like to distinguish between my local emacs windows and my emacs windows that are connected to the network. How can I change the icon when running emacs via cygwin so they are different? 2) why do I have to enter an IP address in the Display variable if I am using cygwin on my local machine? What would I do if I were not connected to a network? Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin
That does not work for some reason, here is what happens when I open up a tcsh shell (without my .tcshrc): [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY :0 [sgupta@sgupta /cygdrive/c]$ emacs emacs: Cannot connect to X server :0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [sgupta@sgupta /cygdrive/c]$ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:07 PM To: Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin I think Samir Gupta wrote: 2) why do I have to enter an IP address in the Display variable if I am using cygwin on my local machine? What would I do if I were not connected to a network? You can omit the address and the screen number -- i.e., set DISPLAY to :0 and this will be fine. The local machine is then understood. - Ernest Friedman-Hill Distributed Systems ResearchPhone: (925) 294-2154 Sandia National LabsFAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin
Why would exceed cause this problem? I have the problem even when I don't run exceed on this computer. I am also almost certain that this did not work when I tried it on a computer that did not have exceed on it at all. Is there anything else that could be wrong? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:41 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin Sounds like a problem with Exceed to me then. Larry Original Message: - From: Samir Gupta [EMAIL PROTECTED] Date: Tue, 11 Feb 2003 12:32:18 -0800 To: [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin That does not work for some reason, here is what happens when I open up a tcsh shell (without my .tcshrc): [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY :0 [sgupta@sgupta /cygdrive/c]$ emacs emacs: Cannot connect to X server :0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [sgupta@sgupta /cygdrive/c]$ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:07 PM To: Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin I think Samir Gupta wrote: 2) why do I have to enter an IP address in the Display variable if I am using cygwin on my local machine? What would I do if I were not connected to a network? You can omit the address and the screen number -- i.e., set DISPLAY to :0 and this will be fine. The local machine is then understood. - Ernest Friedman-Hill Distributed Systems ResearchPhone: (925) 294-2154 Sandia National LabsFAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin
Hello, Yes, that is what I am trying to do. However, I would like emacs to open up in a separate window from the prompt window. to open up my tcsh I am running: rxvt -e tcsh then, from the tcsh prompt: 1) If I type emacs I get the error I pasted below (if the enviornment variable DISPLAY is set). 2) If I type emacs and the environment variable DISPLAY is not set, then emacs opens up in the current window. 3) If I type emacs -nw, then regardless of whether or not DISPLAY is set, emacs opens up in the current window. But I can't get emacs to open up in its own window! -Original Message- From: Elfyn McBratney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 2:06 PM To: cygwin; Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin Why would exceed cause this problem? I have the problem even when I don't run exceed on this computer. I am also almost certain that this did not work when I tried it on a computer that did not have exceed on it at all. Are you trying to run plain-old emacs from a cygwin prompt and it keeps telling you about the X thing? If so just run `emacs -nw'. If not, then Sorry! :-) Regards, Elfyn McBratney [EMAIL PROTECTED] www.exposure.org.uk Is there anything else that could be wrong? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:41 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin Sounds like a problem with Exceed to me then. Larry Original Message: - From: Samir Gupta [EMAIL PROTECTED] Date: Tue, 11 Feb 2003 12:32:18 -0800 To: [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin That does not work for some reason, here is what happens when I open up a tcsh shell (without my .tcshrc): [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY :0 [sgupta@sgupta /cygdrive/c]$ emacs emacs: Cannot connect to X server :0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [sgupta@sgupta /cygdrive/c]$ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:07 PM To: Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin I think Samir Gupta wrote: 2) why do I have to enter an IP address in the Display variable if I am using cygwin on my local machine? What would I do if I were not connected to a network? You can omit the address and the screen number -- i.e., set DISPLAY to :0 and this will be fine. The local machine is then understood. - Ernest Friedman-Hill Distributed Systems ResearchPhone: (925) 294-2154 Sandia National LabsFAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin
Yes, something must have happened to my cygwin emacs, because, earlier today, I think it was interacting with my exceed program somehow. It was letting me run emacs in cygwin the same way I did it in exceed. So, if I typed, emacs any local file from my cygwin tcsh shell, it would open up my file in a separate window. Somehow it was opening it up in an exceed window. I reinstalled cygwin emacs, and now it functions normally. I wish I knew what happenned to make it work the other way. The cygstart command works, but I don't like using emacs in the dos window. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin OK, you're confused. You mingled the idea of using the X version with the idea of running a console version of emacs in a different Windows window. Try: cygstart emacs I didn't try it with emacs because I don't have it. Works with vim though. ;-) See man cygstart if you have questions about it. Larry Original Message: - From: Samir Gupta [EMAIL PROTECTED] Date: Tue, 11 Feb 2003 14:18:53 -0800 To: [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin Hello, Yes, that is what I am trying to do. However, I would like emacs to open up in a separate window from the prompt window. to open up my tcsh I am running: rxvt -e tcsh then, from the tcsh prompt: 1) If I type emacs I get the error I pasted below (if the enviornment variable DISPLAY is set). 2) If I type emacs and the environment variable DISPLAY is not set, then emacs opens up in the current window. 3) If I type emacs -nw, then regardless of whether or not DISPLAY is set, emacs opens up in the current window. But I can't get emacs to open up in its own window! -Original Message- From: Elfyn McBratney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 2:06 PM To: cygwin; Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin Why would exceed cause this problem? I have the problem even when I don't run exceed on this computer. I am also almost certain that this did not work when I tried it on a computer that did not have exceed on it at all. Are you trying to run plain-old emacs from a cygwin prompt and it keeps telling you about the X thing? If so just run `emacs -nw'. If not, then Sorry! :-) Regards, Elfyn McBratney [EMAIL PROTECTED] www.exposure.org.uk Is there anything else that could be wrong? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:41 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin Sounds like a problem with Exceed to me then. Larry Original Message: - From: Samir Gupta [EMAIL PROTECTED] Date: Tue, 11 Feb 2003 12:32:18 -0800 To: [EMAIL PROTECTED] Subject: RE: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin That does not work for some reason, here is what happens when I open up a tcsh shell (without my .tcshrc): [sgupta@sgupta /cygdrive/c]$ echo $DISPLAY :0 [sgupta@sgupta /cygdrive/c]$ emacs emacs: Cannot connect to X server :0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [sgupta@sgupta /cygdrive/c]$ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:07 PM To: Samir Gupta Subject: Re: looking for what is hopefully a simple answer for someone trying to use EMACS in cygwin I think Samir Gupta wrote: 2) why do I have to enter an IP address in the Display variable if I am using cygwin on my local machine? What would I do if I were not connected to a network? You can omit the address and the screen number -- i.e., set DISPLAY to :0 and this will be fine. The local machine is then understood. - Ernest Friedman-Hill Distributed Systems ResearchPhone: (925) 294-2154 Sandia National LabsFAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe
Cannot get ^Z to suspend a program
I am using cygwin under windows xp pro and under windows 2000 pro, and cannot get the ^Z to suspend a program that I have opened. note that I normally use tcsh, but I also experience the same problem using bash... ^C will kill the program without any problem if I type after a program name, then it is also successful in putting the program into the background I have tried the following to diagnose the problem, but have been unsuccessful: if I type stty -a I get: speed 38400 baud; rows 33; columns 90; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = undef; eol2 = undef; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -tostop echoctl echoke the following in the output of the 'bindkey' command: ^Z - tty-sigtsusp I have tried setting the environment variable CYGWIN to tty and also tty, but that doesn't seem to do anything -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cannot get ^Z to suspend a program
thanks for the reply: I was trying to use CTRL-Z after opening up a windows program (such as emacs -- the windows version or excel) Suspend will work if I perform it on the sleep command. 1 sleep 20 Suspended 2 Why won't it suspend If I type the following: 1 emacs [1] 1668 2 emacs The first command opens up my emacs (for windows) program and runs it in the background (so I can still use the prompt). So, I assume if this capability is there, then it should also be able to put it in the background after I have already opened it. However, when I type the second command, I can't use CTRL-Z to put it in the background. Do you know why this is? Can't duplicate it here. If I set CYGWIN=tty prior to starting bash and then type: c:\bash bash$ sleep 20 bash$ CTRL-Z it suspends the sleep. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/