From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: "stuck" meta key problem / NX-client / Mac / PC / Linux Date: Thu, 01 Apr 2010 19:35:02 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <4bb4e6ed$0$279$14726298@news.sunsite.dk> References: <4bb4c5a4$0$19419$c36e2926@unlimited.newshosting.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273002128 23680 80.91.229.12 (4 May 2010 19:42:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 19:42:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 21:42:07 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9O0M-0008Ep-VE for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 21:42:07 +0200 Original-Received: from localhost ([127.0.0.1]:58286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9O0M-0007SP-79 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 15:42:06 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) Original-Newsgroups: gnu.emacs.help In-Reply-To: <4bb4c5a4$0$19419$c36e2926@unlimited.newshosting.com> Original-Lines: 36 Original-NNTP-Posting-Host: 62.56.55.133 Original-X-Trace: news.sunsite.dk DXC=iU0\P3iW\f@I[NbmUoDmmGYSB=nbEKnkKT]PbJ^\L[dH5fdD?L8VmBHOOn[7LY1L_EQScK68eBi5G; QNS\SSPXnG=`B>8HMEIDHN]K9C41bZVOnXCVaQ`EY8C Original-X-Complaints-To: staff@sunsite.dk Original-Xref: usenet.stanford.edu gnu.emacs.help:177626 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73102 Archived-At: David Rogoff wrote: > Hi all. > > I've got a strange one thats messing me up and I'm not sure where to look. > > When I start a session/virtual desktop from home everything is fine. > However, when I disconnect and then reconnect to the session from work, > all my emacs windows think the meta key is being held down. For > example, when I hit the up arrow, I get the message "M-up is > undefined". It makes emacs unusable, requiring me to kill the editor > and start again, which sucks because I usually have a dozen buffers going. > > Any ideas? Is there some way to un-stick meta? > > Thanks much! > > David > David, Did you use Meta-TAB to leave the VNC? In this situation, I've seen VNC programs send the meta keydown event to all the apps running inside it, but not the meta keyup event. Try tapping the meta key after you restore the connection. Running xkeycaps inside the VNC will show which key X thinks is pressed. HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.