From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-users-return-23621-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 1fce75b2 for ; Wed, 12 Sep 2018 18:49:11 +0000 (UTC) Received: (qmail 6009 invoked by alias); 12 Sep 2018 18:48:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23621 Received: (qmail 17535 invoked by uid 1010); 12 Sep 2018 18:48:54 -0000 X-Qmail-Scanner-Diagnostics: from mailout2.lrz.de by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(129.187.255.136):SA:0(-4.2/5.0):. Processed in 2.412611 secs); 12 Sep 2018 18:48:54 -0000 X-Envelope-From: zsh.Andy@spiegl.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs66.srv.lrz.de Date: Wed, 12 Sep 2018 20:42:27 +0200 From: Andy Spiegl To: Zsh-Users List Subject: How can I debug lost keyboard input? Message-ID: <20180912184227.yahwsdnwfddtqv3m@spiegl.de> Mail-Followup-To: Zsh-Users List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-gpg-key: ID C2CB30F0, available on friendly keyservers near you X-gpg-fingerprint: 9051 50B9 13B0 57B9 10FD 48AC 4FA1 209B C2CB 30F0 X-Accepted-File-Formats: ASCII PDF Open/Free Formats - NO proprietory (e.g. Microsoft) files, please X-how-to-quote: http://quoting.is-easy.de/ X-how-to-ask-questions: http://www.catb.org/~esr/faqs/smart-questions.html X-stupid-disclaimers: http://goldmark.org/jeff/stupid-disclaimers/ X-angstklauseln: http://www.heise.de/artikel-archiv/ct/2014/08/136_Angstklauseln User-Agent: NeoMutt/20180622 Hi, my problem I tried to summarize in the subject line is: Since the recent OS upgrade to Ubuntu 18.04 my zsh (5.4.2) behaves strangely when typing keys together with Meta + Shift. The first time I type e.g. Meta+Shift+f nothing happens. The second time (and all following times) the bound function is executed and everything seems normal. I've bound finer-forward-word to Meta+Shift+f and finer-backward-word to Me= ta+Shift+b They are defined as follows: -------- finer-forward-word() { local WORDCHARS=3D$WORDCHARS_FINER zle forward-word } finer-backward-word() { local WORDCHARS=3D$WORDCHARS_FINER zle backward-word } -------- export WORDCHARS=3D'*?_-.[]~=3D/&;!%^(){}<>+:@' export WORDCHARS_FINER=3D'?~&!%' zle -N finer-forward-word zle -N finer-backward-word bindkey "=1BF" finer-forward-word bindkey "=1BB" finer-backward-word -------- All my other keybindings work normally. Just these two are crazy. BTW if I bind the functions to a different key the same thing happens. Uhm, as if the function would have to be loaded/initialized on the first tr= y? I know I should let you know about the rest of my zsh config but it has grown pretty large over the last decades. :-) But nothing except some aliases has changed during the last months so the problem must have to do with the upgrade. Any ideas how I can debug this? Thanks, Andy --=20 Experience is something you don't get until just after you need it. (Olivier)