jed-users mailing list

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

Re: jed/xjed launch script?


Bob Bernstein wrote:

Has anyone written a shell script that will query for the presence of
X, and if found launch xjed, else launch jed?

Sorry if this is a faq....

if [ -z $DISPLAY ] ; then jed; else xjed; fi

Later,
      Guido =8-)

--
Guido Gonzato, Ph.D. <guido dot gonzato at univr dot it> - Linux Sysadmin
Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN.
Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy)
Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri



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


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