use ^Z to pause the task at hand, then use 'fg ; next-command' to put the paused command back into the FG and add the new command to the end.The problem with that approach is that once you've entered 'fg ; command' you loose job control on that shell.
Check the bugs section of the man page - builtins like fg aren't supported elegantly by job control and you cant properly suspend the command. If you try, the next job in sequence is executed immediately even though it should wait on fg's termination.
While this won't effect the example given, it does criple the shell for future use until the sequence completes. It's totally a personal thing but really bugs me so I avoid doing it (do fg voodoo, forget I'm using a builtin, hit <ctrl>-z... oops!)
I think this is a very long standing bash issue and probably won't get fixed anytime soon.
Cheers
Bryn
-- [EMAIL PROTECTED] mailing list