Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-06 Thread Connor Lane Smith
On 6 May 2015 at 15:28, Jason Woofenden wrote: > If you don't replace the terminal window, then you're just talking > about window management, which should perhaps be done with the > window manager. The XEMBED thing only works on a few clients. The > WM can meddle with just about all the clients.

Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-06 Thread Connor Lane Smith
On 6 May 2015 at 11:59, Connor Lane Smith wrote: > With that in mind, might 9embed (perhaps under another name) be > suitable to add to the tabbed distribution? Having had Christoph's approval, I've attached a patch which adds the utility (under the name of xembed) to tabbed. Thanks, cls 0001-

Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-06 Thread Raphaël Proust
On 6 May 2015 at 15:28, Jason Woofenden wrote: > This would be a little cleaner if you set your WM to stack new > windows just after the focused one. Assuming your window is stacked and not floating… More seriously, the behaviour 9embed provides is to have a window content being swapped whilst i

Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-06 Thread Jason Woofenden
> In fact, leaving that for tabbed to do could well be enough. If you > run surf so it opens in a new tab then you can switch back to the > terminal if you wish, which couldn't be done in Plan 9, but seems > reasonably useful. If you don't replace the terminal window, then you're just talking abou

Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-06 Thread Connor Lane Smith
On 6 May 2015 at 11:43, Connor Lane Smith wrote: > I've not found time to add the functionality into a terminal like st > yet, but I was happy to discover that tabbed already sets XEMBED, and > the wrapper works as expected: 'surf &' will open surf in a new > window, whereas 'surf' will open it in

Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-06 Thread Connor Lane Smith
On 4 May 2015 at 11:56, Roberto E. Vargas Caballero wrote: > 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. I've written a wrapper which ma

Re: [dev] Odds and ends (2/2): $XEMBED

2015-05-04 Thread Roberto E. Vargas Caballero
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.

[dev] Odds and ends (2/2): $XEMBED

2015-04-21 Thread Connor Lane Smith
Hi again, 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. Plan 9 Port do