public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Arrow Keys & Bash Shortcuts do not work
@ 2011-04-09 10:41 Ajay Jain
  2011-04-09 16:21 ` Christopher Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: Ajay Jain @ 2011-04-09 10:41 UTC (permalink / raw)
  To: cygwin-xfree

Hi,

I am in a fix. My arrow keys (left, right, up, down, Alt-F, Alt-B,
Ctrl-P, Ctrl-N ) do not work.

What should I do? I tried looking on the net, but there is no clear way out.

Then I opened cygiwn (c:\cygwin\cygwin.bat).

I did the following:

cygcheck -k

Left Arrow - Pressed  1x VK: 0x25 VS: 0x4b A: 0x00 CTRL: -- EK -- --
-- -- -- -- --
Released 1x VK: 0x25 VS: 0x4b A: 0x00 CTRL: -- EK -- -- -- -- -- -- --

Right Arrow - Pressed  1x VK: 0x27 VS: 0x4d A: 0x00 CTRL: -- EK -- --
-- -- -- -- --
Released 1x VK: 0x27 VS: 0x4d A: 0x00 CTRL: -- EK -- -- -- -- -- -- --

Up Arrow - Pressed  1x VK: 0x26 VS: 0x48 A: 0x00 CTRL: -- EK -- -- --
-- -- -- --
Released 1x VK: 0x26 VS: 0x48 A: 0x00 CTRL: -- EK -- -- -- -- -- -- --

Down Arrow - Pressed  1x VK: 0x28 VS: 0x50 A: 0x00 CTRL: -- EK -- --
-- -- -- -- --
Released 1x VK: 0x28 VS: 0x50 A: 0x00 CTRL: -- EK -- -- -- -- -- -- --

Then I pressed Ctrl-V Left Arrow, Ctrl-V Right Arrow, Ctrl-V Up Arrow,
Ctrl-V Bottom Arrow and I get:

^[[D^[[C^[[A^[[B

What should I do? I expect that the keys should work out of box.

Regards,
Ajay.



A

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Arrow Keys & Bash Shortcuts do not work
  2011-04-09 10:41 Arrow Keys & Bash Shortcuts do not work Ajay Jain
@ 2011-04-09 16:21 ` Christopher Faylor
  2011-04-09 17:08   ` Christopher Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Faylor @ 2011-04-09 16:21 UTC (permalink / raw)
  To: cygwin-xfree

On Sat, Apr 09, 2011 at 04:10:58PM +0530, Ajay Jain wrote:
>Hi,
>
>I am in a fix. My arrow keys (left, right, up, down, Alt-F, Alt-B,
>Ctrl-P, Ctrl-N ) do not work.
>
>What should I do? I tried looking on the net, but there is no clear way out.
>
>Then I opened cygiwn (c:\cygwin\cygwin.bat).
>
>I did the following:
>
>cygcheck -k
>
>Left Arrow - Pressed  1x VK: 0x25 VS: 0x4b A: 0x00 CTRL: -- EK -- --
>-- -- -- -- --
>Released 1x VK: 0x25 VS: 0x4b A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>
>Right Arrow - Pressed  1x VK: 0x27 VS: 0x4d A: 0x00 CTRL: -- EK -- --
>-- -- -- -- --
>Released 1x VK: 0x27 VS: 0x4d A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>
>Up Arrow - Pressed  1x VK: 0x26 VS: 0x48 A: 0x00 CTRL: -- EK -- -- --
>-- -- -- --
>Released 1x VK: 0x26 VS: 0x48 A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>
>Down Arrow - Pressed  1x VK: 0x28 VS: 0x50 A: 0x00 CTRL: -- EK -- --
>-- -- -- -- --
>Released 1x VK: 0x28 VS: 0x50 A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>
>Then I pressed Ctrl-V Left Arrow, Ctrl-V Right Arrow, Ctrl-V Up Arrow,
>Ctrl-V Bottom Arrow and I get:
>
>^[[D^[[C^[[A^[[B
>
>What should I do? I expect that the keys should work out of box.

Nothing above illustrates the arror keys not working.

Please follow the instructions here:

http://cygwin.com/problems.html

We will need cygcheck output but you also need to consider that we don't
know what you mean by "do not work".

As a wild guess, however, it sounds like you have improperly set your
TERM environment variable.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Arrow Keys & Bash Shortcuts do not work
  2011-04-09 16:21 ` Christopher Faylor
@ 2011-04-09 17:08   ` Christopher Faylor
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2011-04-09 17:08 UTC (permalink / raw)
  To: cygwin-xfree

On Sat, Apr 09, 2011 at 12:21:45PM -0400, Christopher Faylor wrote:
>On Sat, Apr 09, 2011 at 04:10:58PM +0530, Ajay Jain wrote:
>>Hi,
>>
>>I am in a fix. My arrow keys (left, right, up, down, Alt-F, Alt-B,
>>Ctrl-P, Ctrl-N ) do not work.
>>
>>What should I do? I tried looking on the net, but there is no clear way out.
>>
>>Then I opened cygiwn (c:\cygwin\cygwin.bat).
>>
>>I did the following:
>>
>>cygcheck -k
>>
>>Left Arrow - Pressed  1x VK: 0x25 VS: 0x4b A: 0x00 CTRL: -- EK -- --
>>-- -- -- -- --
>>Released 1x VK: 0x25 VS: 0x4b A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>>
>>Right Arrow - Pressed  1x VK: 0x27 VS: 0x4d A: 0x00 CTRL: -- EK -- --
>>-- -- -- -- --
>>Released 1x VK: 0x27 VS: 0x4d A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>>
>>Up Arrow - Pressed  1x VK: 0x26 VS: 0x48 A: 0x00 CTRL: -- EK -- -- --
>>-- -- -- --
>>Released 1x VK: 0x26 VS: 0x48 A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>>
>>Down Arrow - Pressed  1x VK: 0x28 VS: 0x50 A: 0x00 CTRL: -- EK -- --
>>-- -- -- -- --
>>Released 1x VK: 0x28 VS: 0x50 A: 0x00 CTRL: -- EK -- -- -- -- -- -- --
>>
>>Then I pressed Ctrl-V Left Arrow, Ctrl-V Right Arrow, Ctrl-V Up Arrow,
>>Ctrl-V Bottom Arrow and I get:
>>
>>^[[D^[[C^[[A^[[B
>>
>>What should I do? I expect that the keys should work out of box.
>
>Nothing above illustrates the arror keys not working.
                               arrow

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-09 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-09 10:41 Arrow Keys & Bash Shortcuts do not work Ajay Jain
2011-04-09 16:21 ` Christopher Faylor
2011-04-09 17:08   ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).