On Wed, 26 Jan 2011 13:21:10 +0100, Rudolf Sykora wrote: > in linux I often start programs from a terminal running bash like > this > ; (program &) > which somehow achieves to run the program in the background and the > program further survives the terminal's end.
It's called "double-fork", AFAIK. You can also use `disown` (as in `program & disown`) to achieve the same thing. > When I write the command I often forget to write the opening '('. So, > in 9term, I click at the line beginning, add the '(', click at the > line end, hit enter. And I see: > > bash: syntax error near unexpected token `)' > > although the line looks correct --- when I highlight it and 'send', > it works. bash/readline does not know what you click on -- it still thinks you are typing at the end of line. Enabling cooked mode (middle-click -> 'cook', probably along with `stty -echo`) can help -- it makes 9term only send an entire line at once -- but it may create some other problems. -- Mantas Mikulėnas (0xD24F6CB2C1B52632)