jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: XJed do not set XWINDOWS with -batch


Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>> Incidently, xjed does not "exec" jed when DISPLAY is not set. Rather,
>> xjed contains the same code as jed
>
>Why? Is it so few?

It was written to reuse as much code as possible.  As a result, Xjed =
jed + Xlib-specific code.  The Xlib-specific code is used only when
the DISPLAY variable is set.  In fact, if you have built and installed
Xjed, then the jed executable can probably be replaced by a shell script:

   #!/bin/sh
   unset DISPLAY
   exec /usr/bin/xjed $*

I have not tested this though.

--John
   

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]