JimK wrote:
> I have written a java applet to interact with bash in the background to let
> the applet user interact just like they were using bash itself.
> 
> But when the initial output from bash comes to my applet, it says "bash: no
> job control in this shell". 

In general, this happens when bash thinks it's interactive but can't
obtain a handle to the controlling terminal that allows it to manipulate
the controlling terminal's process group.  Since that's all job control
really is -- switching the terminal's process group between processes --
bash turns off job control if it's not available.

Other programs that attempt to put the terminal into "raw" mode usually
do it by trying to open "/dev/tty" (always the controlling terminal) and
change its attributes.  If that fails, they fall back to line-at-a-time
mode.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to