Re: FVWM: Starting xterms with -e

From: Brad Giaccio <bgiaccio_at_psrw.com>
Date: Tue, 6 Apr 1999 07:31:56 -0400

On Mon, Apr 05, 1999 at 11:08:37PM +0200, Dominik Vogt wrote:
> On Mon, Apr 05, 1999 at 02:22:09PM -0400, Jim Nicholson wrote:
> >
> > This is probably stupid, but I can't seem to figure out how to do this
> > inside of fvwm2. I'm running 2.2.
> >
> > >From inside an xterm, I can type
> >
> > xterm -bg black -fg green -e telnet foo.org
>
> I can't believe this works. At least it doesn't for me and it
> shouldn't. You have to quote the command after -e. Otherwise
> xterm tries to interpret foo.org as a parameter, fails, prints
> an error message and exits. The proper command line is:
>
> xterm -bg black -fg green -e 'telnet foo.org'
>

Well not to disagree but this works everytime for me
AddToMenu OtherPlat "cosmo" Exec xterm -geometry 80x50 -T COSMO -e telnet cosmo.marymount.edu &

xterm(1)
-e program [ arguments ... ]
             This option specifies the program (and its command
             line arguments) to be run in the xterm window. It
             also sets the window title and icon name to be the
             basename of the program being executed if neither -T
             nor -n are given on the command line. This must be
             the last option on the command line.

the reason it must be last is that the first arg after -e is the
executable and everything else is considered to be arguments for it.

My question would be what version of fvwm arge you using, I know this
works in 2.0.46, 2.2, and 2.3

-- 
--- There are two kinds of knowledge, you either know the answer or
			you know where to find it
		      -Kane, Johnson, and anonymous
--
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 Tue Apr 06 1999 - 06:32:51 BST

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