Re: [dev] Odds and ends (2/2): $XEMBED
Hi,
>
> In Plan 9, when one executes a graphical program from a terminal
> window it will take over that window, so that running a graphical text
> editor like Sam from a terminal is not so different from running a
> line editor. This was one of my favourite things from the Plan 9 GUI.
Indeed.
> My suggestion is that we use an environment variable, say $XEMBED, to
> store the XID to which a spawned graphical process should make an
> embedding request. The program would check the environment, and
> whether it is a foreground process in its terminal (getpgrp() ==
> tcgetpgrp(STDOUT_FILENO)). If $XEMBED is set and it is a foreground
> process then it would make an X embed request.
The idea is good, but it means that you have to modify all the programs
to accept this new feature. If you want to experiment with this idea
you can try to add this variable in st and read it in surf.
Regards,
Received on Mon May 04 2015 - 12:56:23 CEST
This archive was generated by hypermail 2.3.0
: Mon May 04 2015 - 13:00:17 CEST