From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6035 invoked by alias); 7 Jun 2012 05:15:34 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30502 Received: (qmail 6778 invoked from network); 7 Jun 2012 05:15:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120606221500.ZM7127@torch.brasslantern.com> Date: Wed, 06 Jun 2012 22:15:00 -0700 In-reply-to: Comments: In reply to Mikael Magnusson "Re: Keybindings lost in Xterm after top exits" (Jun 7, 6:53am) References: <4FC5B2CB.6090701@gmail.com> <120530075824.ZM6547@torch.brasslantern.com> <4FCFA55E.4090606@gmail.com> <120606211954.ZM7057@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "zsh-workers@zsh.org" Subject: Re: Keybindings lost in Xterm after top exits MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jun 7, 6:53am, Mikael Magnusson wrote: } } > print -r "${terminfo[rmkx]}" } } You probably want to either add -n to the prints Er, right. Doesn't matter much in the case of the top wrapper, but it might for zle-line-init. } or just use echoti rmkx instead. (echotc for the $termcap ones). I don't know why I never think of those. Just don't do that much with terminal manipulation from the shell any more.