On 12/16/2010 06:40 PM, David Kuehling wrote:
>>>>>> "Xiangfu" == Xiangfu Liu <[email protected]> writes:
> 
>> Hi I fight with this issue two days. but I just don't find a good
>> solution.
> 
>> any help will be great.
> 
> Ok, need to look at the gmenu2x sources to understand how program
> launching works.  I think it might do some redirection of stdin/stdout

here it is:
http://projects.qi-hardware.com/index.php/p/gmenu2x/source/tree/master/src/linkapp.cpp#L495


> for the programs it launches, using a /pipe/.  That would be wrong,
> gmenu2x needs to allocate a /pseudo-tty/ if it wants to pipe the tty
> output.  The easiest solution would be to directly connect stdin/stdout
> of the launched program to the foreground tty.
> 
> We might be able to workaround the issue for now by starting ash like:
> 
>  chvt 1; ash <> /dev/tty1
> 
> David


-- 
Best Regards
Xiangfu
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to