Le vendredi 11 août 2017, 16:37:49 UTC Bastien ROUCARIES a écrit :
Hi,
I have implemented on salsa the sensible-x-terminal, but I need --wait flags in
order to wait...
Moreover sensible-utils will now support EDITOR as shell snippet like EDITOR='emacsclients -n -c -a ""'
Bastien
Hi,
I have done some work for sensible-utils but I am a little stuck due
to lack of documentation/policy.
I want first to create desktop file for sensible-editor/sensible-pager/sensible-browser in order to open from
firefox text file (fixing #780742).
The main problem is to exec this in a terminal or not depending of the context.
I propose first to solve #594942 and to implement sensible-x-terminal
first. This program will
exec $XTERMINAL if set, then if configured $SENSIBLE_XTERMINAL and
lastly choose the terminal according to desktop running (maybe using
xdg-open /proc/self/1 <<EOF heredesktopfile EOF) and fallback to sensible-x-terminal
Then nano for instance will provide sensible-editor-nano that will use library provided by sensible-utils in order to run nano under a
terminal if run under X.
What do you think ?
Bastien
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmMYZQYACgkQADoaLapB CF8dQw//SiheowM5hizGAkvMjbdd9+YTlgZMQH9xBYhkT8k0D7jijypH8ZfRCDsR ipmQZhHmq7Dgrjw0/8ZIqwRJdYuDUfx18MZgXovWq05ApqcVv5VoEPIqM8Azc2o4 eKX5qVGCQ1+qEBlPUbrW+BtTt9q/gVes/VYbBTf/Jje2FgiIktau60JTHzoeF11I EaFqjyS6uTq/DhczDFgqFskRu/7QGKForhiWs2b/gBcodsayCpUj6EPQ3S3U/L/e kE3kFIVAu2BCdeBgznVZQIyHh7pM8sjw4j3Nlo+AJxVmRaQYIyCpwT5DTf+6jCl8 I/CVx55f4QRFag3RU4JjZUGQASOCE1/yHnD99bvCA8uaJvubmC9eGBiBxxFProyt K+/3a9ahvQPbvCVBU3IHd6ofYoW/ZPVDX6FJcN5TvsnNdWKf9U8XTGUBTffKCr8x sFVyK9kqs/5q2sbhevti9N9mpFFx1S8R7c9+MlhEFOnx2crEjWqL6ULnZ1VvA88J TLhTGJFbEZO27Xb2UBLX/A8JNX0f/KkNVGZ/khNuS/t7UuZ7fOnedDNkEX8u6pqh NP33BsUtvabI0zVKOlubwmh1Z8oE8w9pCT3fgoznFoTo0JBbbegCpDZyWithHJyl trvn8mgp5AHgDGYWjQa7Rs8yotovWtR12tKKd/jCvAZJgZxPDJc=
=MhGF
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)