Re: FVWM: Changing exported variables in an active fvwm2 session?

From: Dan Espen <dane_at_dane-2.cc.telcordia.com>
Date: Fri, 14 Dec 2001 11:35:28 -0500

Glen Lee Edwards <Glen_at_fcwm.org> writes:
> I use the following perl script, which reads from a directory and creates fvw
> m
> buttons for each file name:
>
> #!/usr/bin/perl
...
> The "$EDITOR" variable is a system variable defined in ~/.bash_profile that I
> 'd
> like to be able to change on the fly so I can from an xterm define which text
> editor is used to edit the files in the respective directory. Currently the
> only way I've been able to accomplish this is to quit the fvwm2 session and
> redefine $EDITOR from console. Is there a way I can do this while still in t
> he
> fvwm2 session? Doing a restart would be acceptable, but it would be nice to
> be
> able to just type in an xterm "$ "EDITOR=emacs" and have the change recognize
> d
> by fvwm.

Start the FvwmCommand server.

Do:

FvwmCommand "setenv EDITOR emacs"

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Dec 14 2001 - 10:36:04 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST