HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Arrow keys generate "%2;24r" string
Operating System - HP-UX
1833892
Members
2078
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 05:02 AM
12-01-2004 05:02 AM
Arrow keys generate "%2;24r" string
I'm still trying to get my Pine implementation to run properly. It loads, and I managed to get the IMAP configuration set up properly so I can now read mail in the ASCII text format in which it was always intended to be seen. :)
However, when I'm viewing a message, if I press an arrow key to scroll up or down, "%2;24r" appears on my screen and totally throws off the ncurses appearance. It doesn't do that in the folder index mode, nor does it do it on messages that are small enough to fit in the whole screen. It only seems to occur when I can actually scroll through long messages (in fact, along with the funny code it sends me, it does actually show the next line of message text, but the screen is so thrown off that ncurses displays it in the wrong place).
I'm using PuTTY to connect to a D310 running 11i. I do have to reset my terminal when I log in since PuTTY ssh connections default to "xterm," which Pine doesn't understand.
Also, I'm logging in through a rather laborious process that involves going through a number of administration servers to get to the Pine test box, all via ssh.
I am able to connect to the Pine test box directly from my laptop if I go plug into that network; I did that last night and I don't remember getting the weird %2;24r message, but it may simply have been that I wasn't viewing large, scrollable messages.
It seems like a weird terminal error, but it's a difficult string for which to search because of the special characters. Has anyone seen this before? I've tried changing every PuTTY terminal value, I've tried setting other TERM values when I log in, and I looked at the Pine configuration screen but couldn't find anything related to why my arrow keys act funky.
Thanks!!!!
However, when I'm viewing a message, if I press an arrow key to scroll up or down, "%2;24r" appears on my screen and totally throws off the ncurses appearance. It doesn't do that in the folder index mode, nor does it do it on messages that are small enough to fit in the whole screen. It only seems to occur when I can actually scroll through long messages (in fact, along with the funny code it sends me, it does actually show the next line of message text, but the screen is so thrown off that ncurses displays it in the wrong place).
I'm using PuTTY to connect to a D310 running 11i. I do have to reset my terminal when I log in since PuTTY ssh connections default to "xterm," which Pine doesn't understand.
Also, I'm logging in through a rather laborious process that involves going through a number of administration servers to get to the Pine test box, all via ssh.
I am able to connect to the Pine test box directly from my laptop if I go plug into that network; I did that last night and I don't remember getting the weird %2;24r message, but it may simply have been that I wasn't viewing large, scrollable messages.
It seems like a weird terminal error, but it's a difficult string for which to search because of the special characters. Has anyone seen this before? I've tried changing every PuTTY terminal value, I've tried setting other TERM values when I log in, and I looked at the Pine configuration screen but couldn't find anything related to why my arrow keys act funky.
Thanks!!!!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 05:12 AM
12-01-2004 05:12 AM
Re: Arrow keys generate "%2;24r" string
stty -a
Please post.
to deal with ptty funkiness you are going to have to do some custom stty statements. This is resolvable though I've never bothered to figure out the codes.
SEP
Please post.
to deal with ptty funkiness you are going to have to do some custom stty statements. This is resolvable though I've never bothered to figure out the codes.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 05:20 AM
12-01-2004 05:20 AM
Re: Arrow keys generate "%2;24r" string
/home/hearnmd> stty -a
speed 300 baud; line = 0;
rows = 24; columns = 80
min = 1; time = 1;
intr = ^C; quit; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2; swtch
stop; start = ^Q; susp ; dsusp
werase; lnext
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop
/home/hearnmd>
speed 300 baud; line = 0;
rows = 24; columns = 80
min = 1; time = 1;
intr = ^C; quit
eof = ^D; eol = ^@; eol2
stop
werase
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop
/home/hearnmd>
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP