- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: arrow keys problem
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
06-28-2001 03:29 AM
06-28-2001 03:29 AM
arrow keys problem
i am facing a problem in vi editor.The arrow keys are not working in vi editor when we use windows based terminal emulators.in dos based emulators it is working fine.
i am facing this problem in two servers of Dclass type.
but in another 2 servers from the same windows emulators arrow keys are working on vi.
note:- the arrow keys is not working only on vi
waiting for ur reply
radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 03:41 AM
06-28-2001 03:41 AM
Re: arrow keys problem
using arrow keys in vi is very bad practice for exactly the reasons you are experiencing.
I believe your only "general-case" solution is to learn to use the H-J-K-L keys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 03:48 AM
06-28-2001 03:48 AM
Re: arrow keys problem
Windows telnet identifies as TERM "ansi" which should be reverse compatible with vt100.
May be your two boxes have no terminfo base for "ansi". I would check TERM and terminfo settings on the boxes that work and vice-versa.
HTH
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 04:38 AM
06-28-2001 04:38 AM
Re: arrow keys problem
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:24 AM
06-28-2001 05:24 AM
Re: arrow keys problem
set autoindent autowrite showmatch wrapmargin=0 report=1 ic ts=4 sw=4 nows
map ^W :set wrapmargin=8
map ^X {!}sort -b
map ^[h 1G
map ^[H 1G
map ^[F G
map ^[V ^B
map ^[U ^F
map ^[T ^Yk
map ^[S ^Ej
map ^[Q i
map ^[P x
map ^[L O
map ^[M dd
map ^[K D
map ^[J DjdG$
map! ^[A ^[ka
map! ^[D ^[ha
map! ^[C ^[la
map! ^[B ^[ja
map! ^[L ^M
map! ^[Q ^[
map! ^[R ^[
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:39 AM
06-28-2001 05:39 AM
Re: arrow keys problem
Hi Radha
It is nice to here from U. U are lucky because in DOS mode arrow keys are working..Right? Ask those users to use DOS mode emulator. Or ask them to use H,J,K,L.
Anyway U try to find out the solution meen while.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:40 AM
06-28-2001 05:40 AM
Re: arrow keys problem
Hi Radha
It is nice to here from U. U are lucky because in DOS mode arrow keys are working..Right? Ask those users to use DOS mode emulator. Or ask them to use H,J,K,L.
Anyway U try to find out the solution meen while.
Idukke point onnum venda...OK...
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2001 08:15 PM
06-29-2001 08:15 PM
Re: arrow keys problem
For ksh : export TERM=vt100
For csh : setenv TERM vt100
After setting the variable "TERM", issue commd "tset" to set the stty settings.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2001 10:15 PM
06-30-2001 10:15 PM
Re: arrow keys problem
thanks for ur reply. still i am facing the problem. the $TERM has been set maximumk possibiltes ttytype shows me clearly it is hp or vt100 but still i am facing problem only in vi editor. i couldn't understand what goes wrong the emulator works for one server and in another 2 it is giving the problem so i think there cannot be any problem in windows emulator.
but still only in windows emulators i am facing this problem.
hope any body will give solution
radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2001 02:11 PM
07-01-2001 02:11 PM
Re: arrow keys problem
Later, terminals were enhanced to allow switching from local execution to remote transmission, typically each arrow key will transmit an escape character plus two others. vi (using the curses library) will send the command to tell the terminal to start transmitting these keycodes when the arrow keys are pressed.
PCs are not terminals although they do have a keyboard and screen. So an emulator is needed. The Windows hyperterminal has historically been a poor emulation the DEC VT100 terminal, which requires adjustment of the terminal values to make it work correctly. Also, there are several versions of the Hyperterminal (or Windows terminal emualtion).
So the key is a combination of what value has been set for $TERM and what is contained in the $HOME/.exrc file. You'll need to edit .exrc to add (or change) arrow key interpretation.
Bill Hassell, sysadmin