Mailing List Archive

Arrow keys
While entering a juniper router by the console port and using the root user,
I am able use the arrow keys to repeat the last command. But if I use the
console port with any of the other users - no matter the level of access
they have - or I use the telnet, I can't use the arrow keys.

Any idea why this happens, and how I can have the arrow keys always working?
Arrow keys [ In reply to ]
This is normal. The below URL should help you:

http://www.juniper.net/techpubs/software/junos/junos56/swcmdref56/html/cli-o
verview-cmdref9.html

Jonathan.


----- Original Message -----
From: "Luis Eduardo D?az Zazo" <lediaz@eurocomercial.es>
To: <juniper-nsp@puck.nether.net>
Sent: Monday, June 30, 2003 8:57 PM
Subject: [j-nsp] Arrow keys


> While entering a juniper router by the console port and using the root
user,
> I am able use the arrow keys to repeat the last command. But if I use the
> console port with any of the other users - no matter the level of access
> they have - or I use the telnet, I can't use the arrow keys.
>
> Any idea why this happens, and how I can have the arrow keys always
working?
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>
Arrow keys [ In reply to ]
Luis Eduardo,

Verify which terminal type you are using:

lab@asterix> show cli
CLI complete-on-space set to on
CLI idle-timeout disabled
CLI restart-on-upgrade set to on
CLI screen-length set to 51
CLI screen-width set to 140
CLI terminal is 'xterm' <========== !!
CLI is operating in enhanced mode
CLI working directory is '/var/home/lab'

And try to change it to a terminal type that match your
'telnet/terminal emulator'...

lab@asterix> set cli terminal ?
Possible completions:
ansi ANSI-compatible terminal
small-xterm Small (24 line) xterm window
vt100 VT100-compatible terminal
xterm Large (65 line) xterm window

If you want to set it up permanently for your console/auxiliary ports
you can use:

system {
ports {
console type <type>;
auxiliary type <type>;
}
:

You cannot set it for telnet/ssh, as they both send the terminal
type. In that case, depending on where you are sited (unix/windows),
there are diferent methods to preset the terminal type.

luis

On Mon, Jun 30, 2003 at 02:57:32PM +0200, Luis Eduardo Dmaz Zazo wrote:
> While entering a juniper router by the console port and using the root user,
> I am able use the arrow keys to repeat the last command. But if I use the
> console port with any of the other users - no matter the level of access
> they have - or I use the telnet, I can't use the arrow keys.
>
> Any idea why this happens, and how I can have the arrow keys always working?
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp

--
======================================================
Luis Palacios. Juniper Networks Spain & Portugal
Ribera del Loira, 46 - Edificio 2. 28042 Madrid, Spain
T: +34 915030496, F: +34 915030099, Mob: +34 620201119
Arrow keys [ In reply to ]
Luis Eduardo Dmaz Zazo writes:
>Any idea why this happens, and how I can have the arrow keys always working?

There's certainly code in the CLI to support arrow keys. Can
you give me some specifics about your desktop environment
(os, terminal emulator, etc) and the output of 'show cli'?
Probably best to do this via support@juniper.net.

Thanks,
Phil