[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jed/xjed launch script?



Frank v Waveren <fvw@xxxxxx> wrote:
>On Tue, Feb 17, 2004 at 06:53:52PM -0500, 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?
>Xjed falls back to using the tty if it can't XOpenDIsplay for me. It
>might be a debian thing, but I don't see anything obvious changing it
>in jed_0.99.16-3.1.diff (which is the patch changing regular jed to
>debian jed).

This feature has been available since 0.99-13:

30. If Xjed cannot open the display, it will revert to jed and use the
    terminal. (Thomas J. Moore <dark at mama,indstate,edu>).

Hence, simply using xjed should solve your problem.

--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>.