Re: FVWM: Starting xterms with -e

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Wed, 7 Apr 1999 00:35:36 +0200

On Tue, Apr 06, 1999 at 07:31:56AM -0400, Brad Giaccio wrote:
> 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.

That's grey theory. On my system xterm requires the argument after
-e to be quoted, no matter if I run it from a shell or from my
config file. It complains about 'foo.org' not being understood
as a command line option to xterm. No matter what, it's not a
fvwm bug.

Bye

Dominik ^_^

--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 - 17:36:26 BST

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