Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!amix!ag From: ag@amix.commodore.com (Keith Gabryelski) Newsgroups: comp.unix.amiga Subject: Re: Console Windows Message-ID: <1105@amix.commodore.com> Date: 14 Feb 91 19:14:34 GMT References: <1991Feb13.191725.19719@msuinfo.cl.msu.edu> Reply-To: ag@amix.commodore.com (Keith Gabryelski) Organization: Commodore-Amiga Unix Development Lines: 48 In article <1991Feb13.191725.19719@msuinfo.cl.msu.edu> jap@convex.cl.msu.edu (Joe Porkka) writes: >(1) To determine what your arrow keys are can be easy, if their not >mapped funny. In VI use the following keysequence > i ^v (arrowkey) There is a program called `octopus' in /usr/public/bin that will display key typed. Here is sample output: binary oct dec hex asc sym text 10011011 233 155 9b ~^[ Meta-Control-Open Square Bracket 01000001 101 65 41 A A Capital-Letter-A 10011011 233 155 9b ~^[ Meta-Control-Open Square Bracket 01000100 104 68 44 D D Capital-Letter-D 10011011 233 155 9b ~^[ Meta-Control-Open Square Bracket 01000010 102 66 42 B B Capital-Letter-B 10011011 233 155 9b ~^[ Meta-Control-Open Square Bracket 01000011 103 67 43 C C Capital-Letter-C 00000100 4 4 4 eot ^D End of Transmission Quit (y or n)? Yes. I typed the arrow keys in the following sequence UP, LEFT, DOWN, RIGHT. Octopus says that: UP 0x9B A DOWN 0x9B D LEFT 0x9B B RIGHT 0x9B C Amiga Unix has per screen keymaps that can be modified by the user. The format of these keymaps are not documented at this time (because they will change). Use `sioc' to get or set the current keymap. Some defaults are in /usr/amiga/lin/kmap. see ``man sioc'' and ``man kmap'' for more information. Pax, Keith I've never kissed a bear I've never kissed a goon but I can shake a chicken in the middle of the room -- ag@amix.commodore.com Keith Gabryelski ...!cbmvax!amix!ag