Re: xterm: how to open a new xterm and run telnet
From: Stephane CHAZELAS (this.address_at_is.invalid)
Date: 01/30/04
- Next message: Jens Schweikhardt: "Re: Moving files to n machines"
- Previous message: Stephane CHAZELAS: "Re: Date function"
- In reply to: ajay: "xterm: how to open a new xterm and run telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 12:22:14 +0100
2004-01-30, 00:54(-08), ajay:
[...]
> xterm -e telnet SERVER2
>
> This works fine if i issue this command from the command line. But
> when i put into alias it doesn't work. Just for a moment new xterm
> window appears and then disappears.
>
> alias black='xterm -e telnet SERVER2 -cr red -ms blue -ls -rw -sb -sk
> -sl
> 200000 -T "SERVER1" -bg black -fg white -vb -fn courr14 -geometry
> 70x30 &'
>
> What's wrong with the above alias?
[...]
it runs telnet SERVER2 -cr red -ms ... in xterm.
Put the "-e" option last.
Note the "resource" mechanism in the xterm man page if you don't
want to issue all those options each time.
-- Stéphane ["Stephane.Chazelas" at "free.fr"]
- Next message: Jens Schweikhardt: "Re: Moving files to n machines"
- Previous message: Stephane CHAZELAS: "Re: Date function"
- In reply to: ajay: "xterm: how to open a new xterm and run telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|