Linked by Thom Holwerda on Thu 16th Mar 2006 22:24 UTC, submitted by Valour
Thread beginning with comment 105267
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
Once you suspend a task with Ctrl-z, you can tell it to resume execution in the background with the 'bg' command. The equivalent 'fg' command resumes execution in the foreground.
You can also tell bg and fg to act on a particular job--e.g., 'fg %1' would bring job 1 to the foreground.
RE[3]: Re: RE[5]: hmm...
by hobgoblin on Fri 17th Mar 2006 11:21
in reply to "RE[2]: Re: RE[4]: hmm..."






Member since:
2005-07-06
thats why it would work best in combo with say the ability to take arguments after the fact (my firefox new tab example)...
all in all your problems are mostly one of communication, not between the app and the cli, but between the cli and the gui manager (alltho it can allso be between the app and the cli).
its all the same prosess, so if ever a window is drawn based on a started prosess, the gui manager tells the cli that it happens and the cli puts the prosess into the background.
alternativly the app tells the cli that it wants to run in the background. this signal can be sendt whenever a window is created...
well there is allso the ctrl+z combo, that will send any console hogging prosess to the background. problem is that it allso tells the prosess to suspend operation iirc.
but i was not realy looking at it from a unix standpoint but from a concept standpoint. as in something buildt from scratch to have this ability...
im starting to see the problems of X11, its basicly living its own life. still, i have allways loved the idea of the GUI being a prosess running on top of the kernel rather then being part of it like we see in windows. it allows so much flexibility...