Re: FVWM: Emacs does not print when started from FVWM-Buttons

From: <holeboy_at_lackluster.net>
Date: Tue, 13 May 1997 20:06:23 -0500 (CDT)

On Tue, 13 May 1997, Andreas Schumann wrote:

>in order to print from a C-Shell or a program started from a C-Shell.
>However, this setting is obviously not available for programs started from
>the button bar?
>

Create a shell script to run when you click the button rather than just
running emacs. Using sh, you could do something such as:

#!/bin/sh
export PRINTER=hp300
/usr/local/bin/emacs -display :0.0
exit


Change the path to emacs, whatever the path to emacs is on your
system, the display you're on, and your PRINTER variable, and you should
be set.
Then replace that entry for the button to run the shell script instead of
emacs.


Cheers,
Scott


>Andreas Schumann
>Department of Mechanical Engineering
>Queen's University
>Kingston, Ontario, Canada
>K7L 3N6
>e-mail: schumann_at_me.queensu.ca
>
>

---
Scott Smith, UNIX geek		      | 
				      |  Windows NT -- the real secret behind
holeboy_at_lackluster.net		      |  behind what happened at Chernobyl.
http://www.lackluster.net/~holeboy/   |
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue May 13 1997 - 20:03:56 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST