Bug 4055

Summary: hpd calls Runtime.getRuntime ().exec(cmd) aka system()
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Tim Moore <timoore>
Status: ASSIGNED ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Andrew Cagney 2007-02-15 19:07:33 UTC
The jline library creates a child process using Runtime.getRuntime().exec(cmd).
 This use of fork and SIGCHLD clashes with frys's control over the same components.
Comment 1 Andrew Cagney 2007-02-22 16:02:53 UTC
The fix here is to create a PtyTerminal that extend jline.Terminal.  That code
then uses frysk.sys.termios to set/clear the terminal settings.

This needs to be common code, perhaphs in frysk-core/frysk.util, so that fhpd,
and the corresponding GUI instance of fhpd can share it.

There is an existing PtyTerminal in frysk.vtecli, that can be eliminated.