David Lee Todd David Lee Todd, Unknown Product Manager
People who love sausages and software should never watch either being made

20070817 Friday August 17, 2007

A little trick with FVWM

I was having a problem using the FVWM window manager that I had installed on OpenSolaris. Each time I opened a window from the command line, I had to open a new terminal window, because I was losing the shell prompt with each application I opened.  Thanks to Deborah and Eric Ray's Visual Quickstart Guide to UNIX, I've now figured out how to avoid this problem. For each new application you open from the command line, add an ampersand (&) after the name of the program, as in

bash 3.00$ firefox &

This runs the job in the background, at least as far as the command line is concerned, so it gives you another command prompt when the application opens. However, from the user's point of view, the "background" job can be interacted with in its own window like any application. I'm typing this blog entry in Firefox in its own window, and my command line is ready and waiting for any applications I care to request. I just have to remember to add the ampersand for each new one I open!

Posted by davidleetodd ( Aug 17 2007, 10:52:45 PM PDT ) Permalink Comments [1]

Comments:

If you forgot to add the &, you can still type CTRL+Z (interrupts the application) and then bg (resumes it in the background).

Posted by Marc on August 18, 2007 at 11:08 AM PDT #

Post a Comment:

Comments are closed for this entry.

Archives
Language
Links
Referrers