On 2011-07-28 17:50:21 +0200, Jonathan Nieder wrote:
>  c. programs likely to be run through screen could implement some
>     specification for modifying the environment when reattached
>     or when launching X apps (for example by running a special
>     wrapper or linking to some special library).

This is what I do (using wrappers). This works well in practice.
My scripts are available via my Mutt page:

  http://www.vinc17.net/mutt/index.en.html#xscreen

But for instance, Mutt needs to be recompiled with some special
option --with-exec-shell=/path/to/sh.screen to run the /bin/sh
wrapper instead of /bin/sh directly.

> If I understand correctly, this bug is, roughly speaking, about (c).
> The specs in question would be the mailcap spec and the implementation
> of xdg-open.  It wouldn't help with programs that try to run
> x-terminal-emulator without a mailcap file to tell them how, but after
> looking at the alternatives, it does start to look nice by comparison.
> :)

IMHO the spec should be flexible enough to allow clean user
customization. Hardcoding the shell to /bin/sh is a bad idea.

> Cc-ing the screen maintainers in case they know a clean approach we've
> missed.

Concerning screen, it would be great if it supported hooks to allow
things done by my escreen wrapper

  http://www.vinc17.net/unix/xscreen/escreen

in a much cleaner way (my wrapper tries to guess what screen session
will be resumed).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to