Re: How to multitask in X-windows?
On Wed, 1 Oct 1997, ImmortaL wrote: Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont What exact command did you use to start netscape or the second command? Will [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.cis.udel.edu/~lowe/ * Good Idea: Feeding Stray Cats in the Park. Bad Idea: Feeding Stray Cats in the park ... to a bear. * -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
On Wed, 1 Oct 1997, David B. Teague wrote: Will someone PLEASE explain why when I suspend Emacs in X with control z, and try to restart it with fg, emacs does not reappear. Key strokes When you suspend it, it should become an icon. To start using it again, double-click the icon. emacs. And tell me how to suspend and restart a program under X. Click the down arrow on the titlebar; it becomes an icon and then to start it again, double click the icon. Note the the program doesn't _stop_ running, but just waits around for you to un-iconize it. Am I supposed to open a window and start an application there, changing from window to window to do various things? Pretty much, unless the application has it's own X support. For example, to run a compile, I start and Xterm (rxvt, actually) and run it within the window. To run pine, I start an Xterm and run pine in the window. To run netscape, I can either open a window and type netscape or select netscape from my window menu. This requires that you have set up the menu right, of course :) Will [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.cis.udel.edu/~lowe/ * Good Idea: Feeding Stray Cats in the Park. Bad Idea: Feeding Stray Cats in the park ... to a bear. * -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
Dave Cinege wrote: On Tue, 30 Sep 1997 20:04:53 -0400, Jason Costomiris wrote: On Tue, Sep 30, 1997 at 07:36:02PM -0400, ImmortaL wrote: : I need to know if there a way in x-windows for example in the shell itself : i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is : there a way to do this in X? Uh, open another xterm. Think you missed him. Under X it's crtl-alt-Fx instead of just alt-Fx to switch Virtual Consoles. And Ctrl-alt-F7 to get back to the X session. (Think of X as running on VC 7). -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
How to multitask in X-windows?
Hi, I need to know if there a way in x-windows for example in the shell itself i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is there a way to do this in X? Thanks in advance [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
On Tue, Sep 30, 1997 at 07:36:02PM -0400, ImmortaL wrote: : I need to know if there a way in x-windows for example in the shell itself : i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is : there a way to do this in X? Uh, open another xterm. -- Jason Costomiris | VMS is about as secure as a poodle [EMAIL PROTECTED] | encased in a block of lucite http://www.jasons.org/~jcostom/ | about as useful, too. #include disclaimer.h | --some guy I read on Usenet -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
On Tue, 30 Sep 1997 20:04:53 -0400, Jason Costomiris wrote: On Tue, Sep 30, 1997 at 07:36:02PM -0400, ImmortaL wrote: : I need to know if there a way in x-windows for example in the shell itself : i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is : there a way to do this in X? Uh, open another xterm. Think you missed him. Under X it's crtl-alt-Fx instead of just alt-Fx - http://www.psychosis.com/emc/ Elite MicroComputers 908-541-4214 http://www.psychosis.com/linux-router/ Linux Router Project -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
On Tue, Sep 30, 1997 at 10:57:00PM -0500, Dave Cinege wrote: : On Tue, 30 Sep 1997 20:04:53 -0400, Jason Costomiris wrote: : : On Tue, Sep 30, 1997 at 07:36:02PM -0400, ImmortaL wrote: : : I need to know if there a way in x-windows for example in the shell itself : : i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is : : there a way to do this in X? : : Uh, open another xterm. : : Think you missed him. I dunno about that. He asked how to get another shell window under X. I told him how -- Jason Costomiris | VMS is about as secure as a poodle [EMAIL PROTECTED] | encased in a block of lucite http://www.jasons.org/~jcostom/ | about as useful, too. #include disclaimer.h | --some guy I read on Usenet -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont work? Thanks [EMAIL PROTECTED] Jason Costomiris [EMAIL PROTECTED] wrote in article [EMAIL PROTECTED]... On Tue, Sep 30, 1997 at 10:57:00PM -0500, Dave Cinege wrote: : On Tue, 30 Sep 1997 20:04:53 -0400, Jason Costomiris wrote: : : On Tue, Sep 30, 1997 at 07:36:02PM -0400, ImmortaL wrote: : : I need to know if there a way in x-windows for example in the shell itself : : i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is : : there a way to do this in X? : : Uh, open another xterm. : : Think you missed him. I dunno about that. He asked how to get another shell window under X. I told him how -- Jason Costomiris | VMS is about as secure as a poodle [EMAIL PROTECTED] | encased in a block of lucite http://www.jasons.org/~jcostom/ | about as useful, too. #include disclaimer.h | --some guy I read on Usenet -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
Hi ImmortaL: I have your problem with Netscape. I hope we both get an answer. I hope this helps part of your other window problem: It sounds a little like you have a 'focus' problem. I can click the mouse and create X windows that work if I move the mouse pointer into the window to get focus in that window. Notice the color changes when the mouse pointer is in a window or out of it. That's called having focus - (strange parlance, but what do you expect from computer types :) I can run stuff in the background and change windows if I have focus in that window. (X can be setup so you have to click a window to change focus, as in M$ LOSE 3.1 95) With regard to switching from text consoles back to X you use Control-Alt F1-6 to move to a virtual text console, and from one of them back to X you use Control-F7 (at least I do). MY PROBLEM is somewhat like ImmortaL's: Will someone PLEASE explain why when I suspend Emacs in X with control z, and try to restart it with fg, emacs does not reappear. Key strokes are echoed but no keystrokes are accepted by emacs. I wind up killing emacs. And tell me how to suspend and restart a program under X. Am I supposed to open a window and start an application there, changing from window to window to do various things? David - LINUX: the FREE 32 bit OS for [345]86 PC's available NOW! David B Teague | User interface copyrights software patents make [EMAIL PROTECTED] | programing a dangerous business. Ask me or [EMAIL PROTECTED] spy counter-intelligence wild porno sex gold bullion Soviet Bosnia clipper National Security Council explosion Treasury terrorist Delta Force bomb Iran Mossad data encryption munitions Serbian hydrazine ammonium nitrate fuel oil On Wed, 1 Oct 1997, ImmortaL wrote: Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont work? Thanks [EMAIL PROTECTED] Jason Costomiris [EMAIL PROTECTED] wrote in article [ useful stuff omitted ...] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
If you're starting a new xterm from the shell, type xterm instead of just xterm. This will run the new xterm in the background, so you will be able to execute more commands in that same window later. Many window managers allow you to start a new xterm from their menus, too. At 10:06 AM 10/1/97 -0400, ImmortaL wrote: Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont work? Thanks [EMAIL PROTECTED] Jason Costomiris [EMAIL PROTECTED] wrote in article [EMAIL PROTECTED]... On Tue, Sep 30, 1997 at 10:57:00PM -0500, Dave Cinege wrote: : On Tue, 30 Sep 1997 20:04:53 -0400, Jason Costomiris wrote: : : On Tue, Sep 30, 1997 at 07:36:02PM -0400, ImmortaL wrote: : : I need to know if there a way in x-windows for example in the shell itself : : i would press the alt key and the F1 F2 F3 F4 F5 F6 to open a new window is : : there a way to do this in X? : : Uh, open another xterm. : : Think you missed him. I dunno about that. He asked how to get another shell window under X. I told him how -- Jason Costomiris | VMS is about as secure as a poodle [EMAIL PROTECTED]| encased in a block of lucite http://www.jasons.org/~jcostom/ | about as useful, too. #include disclaimer.h | --some guy I read on Usenet -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
ImmortaL writes: Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the you need to put the application in the background by following the cammand with a . % netscape % xterm second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont work? If you started X from VC 2 for example that is were all the X output messages will go but with the default setup the actual X display will be on VC-7. So do a Ctrl-alt-F7 to get back to X. Brian -- Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
[Charset ISO-8859-1 unsupported, filtering to ASCII...] Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one. Solution 1: Start the programmes in the background, with an extra netscape xterm Solution 2: If you already started a programme on the forground (i.e. without ), you can make it go to the background by typing ^Z (Control_Z), and then bg (ENTER). Sample session: rulcmc:~$ xterm Press ^Z here: [1]+ Stopped xterm type bg ENTER: rulcmc:~$ bg [1]+ xterm Solution 3: (possibly need to install menu for this) Choose xterm or netscape from the menu, (in fvwm2, and most other window managers, click with the left mouse button to get the window's). Solution 4: Well, I'm trying to thing of other insane ways to do this. You _can_ also use screen: In the xterm, type screen (if the package is installed), and then, when you cannot type any more, (after you typed xterm without ), you can hit ^A-c (control-A c), to get a new screen session. Solution 5: Well, I don't want to bore you with even more solutions. There must be loads more (running two paralell X servers, more programmes like screen (splitvt for example), logging in remotely, and many I didn't think of. Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it. Ah, that's part of my solution 5, the not adviced one. You can type startx -- :1, and you will start a second X server. You can then switch between the X servers with Contr_Alt_Fx. But generally, you don't want this option. -- joost witteveen, [EMAIL PROTECTED] #!/usr/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
( Re: Message from ImmortaL ) Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont work? Thanks [EMAIL PROTECTED] One possibility which doesn't seem to have been mentioned, which would explain everything except your last item, is that your X windows are configured so that you have to left-button-click onto a window in order to change focus to it. There are several options for focus, the one I prefer being focus follows mouse plus autoraise, but it's also perfectly possible to have it set so that if the focus (i.e. the capability to receive input) is in one window then it stays there until you move the mouse over another window AND click on that window. Depending on the window-manager setup, it may be enough to click anywhere on the new window, or you may have to click on the top bar. Since, when you create a new xterm, the focus will automatically go to the new window, if that's how you're configured that's where will stay. However, your last point is more puzzling. From your description, the most likely thing is that when you first did Ctrl-Alt-F[x] out of X you ended up in a different terminal screen from the one you started X from (depending on the value of [x]); and then when you did Alt-F[y] to get back to X you chose the wrong value of [y] and ended up in the terminal screen you started X from, and not in the terminal on which X is running. If that's the case, since (usually) X is running in VT7 then Alt-F7 should get you back to X and all is well. You may start X from VT1, but X will run in VT7 (or whatever). If Alt-F7 doesn't work then try every possible Alt-F[y] and make a note of which one is the X terminal. (It won't be F7 if, in your /etc/inittab, you have it set to run gettys on /dev/tty[n] for [n] going up above 7 -- X runs in the first free VT, i.e. one with no getty on it). If it still doesn't work, then you might begin to think that your X installation is screwed. Hope this helps, Ted.([EMAIL PROTECTED]) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How to multitask in X-windows?
[EMAIL PROTECTED] wrote: Actually your both right because my question can go both ways it doesnt matter they both are helpful BUT,i tried both ways and they dont work for example if i enter X and start netscape and then go back to Xterm i cant enter any commands its locked until i kill netscape,i tried it only with Xterm i opened two Xterms but the first one didnt work after i opened the second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a new logon screen came on and then when i went back to X there was no X there was a shell screen and it showed all the usual commands when X starts and it was locked.and i cant do anything so i have to kill it.Do you have to be running XDM for it to work?Or do you have any idea why this wont work? Thanks [EMAIL PROTECTED] From your original xterm, add an to the end of your commands to put the new job in the background and still be able to use the original xterm. Example: kayak- xterm kayak- netscape kayak- The first command will open a new xterm and and return the prompt in the original xterm. The second command will start netscape and return the prompt. The prompt in this case is kayak- . I assume xdm is being started on virtual console 1. The X screen is on the screen one number above your highest virtual console. For example, on my system ctrl-alt-F1 thru F6 will switch to virtual consoles. ctrl-alt-f7 (or just alt-f7) will switch back to my X screen. You might want to get a beginner's book on unix/x. I think the Linux documentation project has a beginner's guide which covers issues like this. O'Reilly generally publishes good unix books as well. Lee Bradshaw [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .