Subject: mailing-list for TeXmacs Users
List archive
From : Tobia <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] How to have TeXmacs run only one instance ?
- Date: Fri, 8 Jun 2007 20:18:18 +0200
Robert Lamar wrote:
> One hack that might require minimal modification to TeXmacs would be
> to add a command line option which permits one to send scheme commands
> to a running instance of TeXmacs.
Or it can be done by sending keypresses directly to TeXmacs's window:
xvkbd -window TeXmacs -text "\\ex(open-file \"$1\")\\r"
(open-file "$1") is just an example, I don't know the exact command.
The command-line switch would probably be better though, as it would
work even when TeXmacs is in some particular input mode.
> This way, a shell script could be written which would check to see if
> TeXmacs was already running. If it were, it would send a command to
> open the file as Krzysztof suggests. Otherwise, it would simply start
> up TeXmacs and open the file as normal.
This I leave up to other TeXmacsers
Tobia
- How to have TeXmacs run only one instance ?, Nicolas Girard, 06/07/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Krzysztof Retel, 06/07/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Nicolas Girard, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Henri Lesourd, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Kamaraju S Kusumanchi, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Henri Lesourd, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Kamaraju S Kusumanchi, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Robert Lamar, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Tobia, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Henri Lesourd, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Nicolas Girard, 06/08/2007
- Re: [TeXmacs] How to have TeXmacs run only one instance ?, Krzysztof Retel, 06/07/2007
Archive powered by MHonArc 2.6.19.