xterm: how to open a new xterm and run telnet
From: ajay (ajay_kumarsingh_at_yahoo.com)
Date: 01/30/04
- Next message: nospam55: "bash - quote removal question"
- Previous message: ajay: "Re: Making PS1 to appear bold in ksh"
- Next in thread: Stephane CHAZELAS: "Re: xterm: how to open a new xterm and run telnet"
- Reply: Stephane CHAZELAS: "Re: xterm: how to open a new xterm and run telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jan 2004 00:54:45 -0800
Hi All,
In my work i need to access many servers. Each time i use the
following alias to create a xterm window and then do telnet.
alias black='xterm -cr red -ms blue -ls -rw -sb -sk -sl 200000 -T
"SERVER1" -bg black -fg white -vb -fn courr14 -geometry 70x30 &'
I want execute telnet command with xterm so that i don't have to type
telnet xyz
in new window.
I googled and found something like this
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?
Tx
Ajay
- Next message: nospam55: "bash - quote removal question"
- Previous message: ajay: "Re: Making PS1 to appear bold in ksh"
- Next in thread: Stephane CHAZELAS: "Re: xterm: how to open a new xterm and run telnet"
- Reply: Stephane CHAZELAS: "Re: xterm: how to open a new xterm and run telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|