Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!ruuinf!praxis!edwin From: edwin@praxis.cs.ruu.nl (Edwin Kremer) Newsgroups: comp.sys.hp Subject: Re: Caps-Lock indicator on hp9000? Message-ID: <3723@ruuinf.cs.ruu.nl> Date: 30 Aug 90 10:03:47 GMT References: <316@esl.ESL.COM> Sender: news@ruuinf.cs.ruu.nl Lines: 44 In <316@esl.ESL.COM> jsd@esl.ESL.COM (Jeff Dalton) writes: | We're using HP 9000/360 with preconfigured hp-ux 7.0 with all the fancy | Motif window stuff. One draw back with this config. and HP workstations in | general is that there is no visual indication of current CAPS-LOCK key. | | So I'm asking: Is there a function of the XSession or the HPterm which will | visually indicate CAPS-LOCK is active? How 'bout some other way?-- "Some other way" is to disable or re-map the CAPS-LOCK key (that's what I do :-]) If you're running X11 you can use the "xmodmap" program to re-map the CAPS-LOCK key: I have it re-mapped to CTRL (the key directly to its right-hand side). This is what I put in my $HOME/.login file: xmodmap .keymap.km and this is the file "$HOME/.keymap.km": ! This file is input for xmodmap ! It removes the Caps key and the Enter key (left below) and ! changes them both into alternative Cntr keys. ! ! 15 = Break/Reset ! 55 = Caps ! 87 = Enter ! keycode 55 = Control_R keycode 87 = Control_R keycode 15 = Escape clear Lock add Control = Control_R hope this helps, --[ Edwin ]-- -- Edwin Kremer (SysAdm), Dept. of Computer Science, Utrecht University Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-534104 | UUCP: ...!uunet!mcsun!hp4nl!ruuinf!edwin Telefax : +31-30-513791 | Email: edwin@cs.ruu.nl [131.211.80.5]