From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: eh Newsgroups: gmane.emacs.bugs Subject: caps lock bug on HP-UX Date: Thu, 01 Jul 2004 22:05:51 -0400 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200407020205.i6225pOK020564@nerd-xing.mit.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1088733984 18767 80.91.224.253 (2 Jul 2004 02:06:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2004 02:06:24 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 02 04:06:14 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgDRO-0005Da-00 for ; Fri, 02 Jul 2004 04:06:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgDTB-0008QY-BY for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jul 2004 22:08:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BgDTA-0008QQ-AL for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2004 22:08:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BgDT8-0008Q2-MD for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2004 22:08:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgDT8-0008Ps-Kl for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2004 22:08:02 -0400 Original-Received: from [18.7.7.80] (helo=biscayne-one-station.mit.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BgDR2-0006Q6-Ji for bug-gnu-emacs@gnu.org; Thu, 01 Jul 2004 22:05:52 -0400 Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id i6225qRw023673 for ; Thu, 1 Jul 2004 22:05:52 -0400 (EDT) Original-Received: from nerd-xing.mit.edu (NERD-XING.MIT.EDU [18.7.16.74]) (authenticated bits=56) (User authenticated as stiaszny@ATHENA.MIT.EDU) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id i6225pOm015239 for ; Thu, 1 Jul 2004 22:05:52 -0400 (EDT) Original-Received: (from stiaszny@localhost) by nerd-xing.mit.edu (8.12.9) id i6225pOK020564; Thu, 1 Jul 2004 22:05:51 -0400 (EDT) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8331 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8331 The caps lock key does not work in Emacs when Emacs is run on a Hewlett-Packard machine but operated from another machine (i.e. displayed on a Mac running OSX and Apple's XFree86 or a intel PC running linux and XFree86, either via ssh X tunnel or simple xhosting). The caps lock does, however, work when one is sitting at an HP machine using the HP keyboard, either at the physical machine itself or ssh'ed from another HP machine. Using xev, the only difference I could find between what the other keyboards where sending (besides the keycode, which was correctly mapped to Caps_Lock in both cases, and Caps_Lock was mapped to the "lock" modifier) and what the HP keyboard was sending was that the HP keyboard only sent a KeyPress event the first time CapsLock was pressed and released, and a KeyRelease the second time CapsLock was pressed and released. The other keyboards sent a KeyPress and KeyRelease every time the key was pressed and released (as would be expected). However, in both cases, the state correctly transitioned to state 2 and the caps lock LED on the keyboard turned on, and all other programs (such as xterm, netscape, etc.) running on the HP machine correctly interpreted caps lock to be on and capitalized all letters typed, regardless from which display they were accessed. when uname -a is typed at shell on the HP machine, this is the output: HP-UX c3600 B.10.20 A 9000/785 2013955839 two-user license which agrees with M-x emacs-version: This is GNU Emacs 21.1.3 (hppa2.0-hp-hpux10.20) of 2002-11-26 on c3600 I downloaded the latest tarball of emacs and re-compiled it myself on the HP using no options to configure and the results with respect to caps lock were identical. M-x emacs-version on my new build gives this for output: GNU Emacs 21.3.1 (hppa2.0-hp-hpux10.20) of 2004-07-01 on c3600 please advise, - Martin Stiaszny (yes, I actually spent 8 hours today trying to make the caps lock key work. I can send you xev spew if that is at all useful.)