Re: FVWM: Starting xterms with -e

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Mon, 5 Apr 1999 23:08:37 +0200

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'

> and it works, but
>
> AddToMenu "Terms" "Sessions" Title
> + "osiris" Exec /usr/X11R6/bin/xterm -e /usr/bin/telnet foo.org
>
> fails with no error. Or maybe one shows up, but it's inside the xterm
> which is closing too fast to see it.

 + osiris Exec /usr/X11R6/bin/xterm -e '/usr/bin/telnet foo.org'

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 - 04:08:39 BST

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