Switches, Hubs, and Modems
1753408 Members
7164 Online
108793 Solutions
New Discussion юеВ

Formatting Screen on 3500yl, 12.27 Code

 
joehenderson
Occasional Advisor

Formatting Screen on 3500yl, 12.27 Code

All,

I have a hp-j8693a-3500yl-48g-pwr, running 12.27.

I have noticed when i login or do a screen trace the screen get cuts in half.. I running a few telnet scripts with tcpdump. I get ALOT of formatting commands in the dump.. Is there a way to remove all formatting/paging from a HP telnet?

I have never had this issues from other vendors..

##### EX
< 0x00000: 1b 5b 32 34 3b 32 33 48 73 68 6f 77 20 63 6f 6e .[24;23Hshow con
< 0x00010: 66 69 1b 5b 32 34 3b 32 33 48 1b 5b 3f 32 35 68 fi.[24;23H.[?25h
< 0x00020: 1b 5b 32 34 3b 33 33 48 1b 5b 32 34 3b 33 33 48 .[24;33H.[24;33H
< 0x00030: 67 20 66 69 6c 65 73 1b 5b 32 34 3b 33 33 48 1b g files.[24;33H.
< 0x00040: 5b 3f 32 35 68 1b 5b 32 34 3b 34 30 48 1b 5b 32 [?25h.[24;40H.[2
< 0x00050: 34 3b 30 48 1b 45 1b 5b 32 34 3b 31 48 1b 5b 32 4;0H.E.[24;1H.[2
< 0x00060: 34 3b 34 30 48 1b 5b 32 34 3b 31 48 1b 5b 32 4b 4;40H.[24;1H.[2K
< 0x00070: 1b 5b 32 34 3b 31 48 1b 5b 3f 32 35 68 1b 5b 32 .[24;1H.[?25h.[2
< 0x00080: 34 3b 31 48 1b 5b 31 3b 32 34 72 1b 5b 32 34 3b 4;1H.[1;24r.[24;
< 0x00090: 31 48 0d 0a 43 6f 6e 66 69 67 75 72 61 74 69 6f 1H..Configuratio
< 0x000a0: 6e 20 66 69 6c 65 73 3a 0d 0a 0d 0a 20 69 64 20 n files:.... id
< 0x000b0: 7c 20 61 63 74 20 70 72 69 20 73 65 63 20 7c 20 | act pri sec |
####### EO..

Notice the "[1;24r." With other vendors these formatting do -not- show up..


Any ideas?

Joe
4 REPLIES 4
RicN
Valued Contributor

Re: Formatting Screen on 3500yl, 12.27 Code


I can offer you no clue for your specific problem, the only thing I noticed that you are running a relative old software image. The latest version for that product family is K.13.49.

If an update would in fact help you I do not know.. :)
Holger Hasenaug
Trusted Contributor

Re: Formatting Screen on 3500yl, 12.27 Code

Hi,

You may get better results if you use one of the following commands:

Change the terminal type permanent:

ProCurve Switch 3500yl-24G(config)#
console terminal none
CAUTION: This command will initiate a raw mode with all terminal escape sequences removed from the output and will take effect after saving configuration and reboot.

Change the terminal type for the session only:

ProCurve Switch 3500yl-24G(config)#
console local-terminal none
CAUTION: This command will initiate a raw mode with all terminal escape sequences removed from the output. To exit this mode, use the command "console local-terminal vt100".

Regards

Holger
joehenderson
Occasional Advisor

Re: Formatting Screen on 3500yl, 12.27 Code

Holger,

This is a good start, I gave you a few points..

The VT100 is what i was looking for, however
when i use ansi, the split screen is still present with the original formatting codes..

When i use none I lose bksp, arrow keys, all "shortcut" keys for inputting/editing the command line..

I wonder if there is a way to remove the formating (split screen) like terminal type "none" and keep the shortcut keys like "vt100"..

Joe
Holger Hasenaug
Trusted Contributor

Re: Formatting Screen on 3500yl, 12.27 Code

I don't think there is currently a way to disable the escape sequences and keep vt100. So basically you may instruct your script to login, excecute "console local-terminal none", excecute your commands you want to run, excecute "console local-terminal vt100" and exit.