jed-users mailing list

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

JEDINIT environment variable


I have just "invented" the environment variable JEDINIT, maybe it is
usefull for others:

Sometimes I want to execute special startup-code. So far, I have had to
use the -f option, but it is not very handy.

Therefore I have put in jed.rc into the function startup_hook() :

  eval(string(getenv("JEDINIT")));
  

With this I can use in my shell, for example:

export JEDINIT='mailmode();SAVE_STATE=0;'
jed testmail
jed testmail_2
...


-- 
Ullrich Horlacher              Informationssysteme und Serverbetrieb
Rechenzentrum                  E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/

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


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