xterm: how to open a new xterm and run telnet

From: ajay (ajay_kumarsingh_at_yahoo.com)
Date: 01/30/04


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



Relevant Pages

  • [SECURITY] [DSA-380-1] New xfree86 packages fix multiple vulnerabilities
    ... Four vulnerabilities have been discovered in XFree86. ... CAN-2003-0063 - xterm window title reporting escape sequence can deceive user ... Debian has resolved this problem by backporting an upstream fix ...
    (Bugtraq)
  • [Full-Disclosure] [SECURITY] [DSA-380-1] New xfree86 packages fix multiple vulnerabilities
    ... Four vulnerabilities have been discovered in XFree86. ... CAN-2003-0063 - xterm window title reporting escape sequence can deceive user ... Debian has resolved this problem by backporting an upstream fix ...
    (Full-Disclosure)
  • Re: Spontaneous closing
    ... Usually the "IRQ" error is actually "IRQL", and caused by a software driver which will usually be listed in the complete error message, along with the stop code. ... It happens when the telnet software is not active or online - I launch the window but before I connect to anything with telnet, so I don't think it's anything network-related. ... I don't think it's a spurious mouse click on the close button, since it also happens when I've started a VB script in the software that just waits for a time of day to launch the telnet connection - the script running then prevents the software from closing on a single click. ...
    (microsoft.public.windowsxp.general)
  • ssh and X11
    ... I have a problem opening an Xterm window on my Suse linux machine ... after I ssh to a remote machine. ... In fact I lose keyboard input capabilities in the window where I ...
    (comp.security.ssh)
  • Curses and resizing windows
    ... > I've been writing an application using curses, ... if running in xterm or similar. ... No matter how much I shrink the window, ... > derived from stdscr. ...
    (comp.lang.python)