>>>>> "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
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
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgphkYnwSp1Em.pgp
Description: PGP signature

_______________________________________________
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