From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24975 invoked by alias); 13 Apr 2016 08:41:59 -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: X-Seq: 21442 Received: (qmail 25131 invoked from network); 13 Apr 2016 08:41:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-AuditID: cbfec7f5-f792a6d000001302-19-570e0651c440 Date: Wed, 13 Apr 2016 09:41:52 +0100 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: Calling interactive command inside widget Message-id: <20160413094152.660d42a9@pwslap01u.europe.root.pri> In-reply-to: References: Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsVy+t/xa7qBbHzhBld65Sx2nFzJ6MDoserg B6YAxigum5TUnMyy1CJ9uwSujIUXLzEX7GOpuHb+MGsD4x7mLkZODgkBE4lfK1cyQthiEhfu rWfrYuTiEBJYyihx/fwyRghnGpPE+aV32SGcc4wSjy82M0E4ZxklJuz+AdbPIqAq8aRlN5jN JmAoMXXTbDBbREBUYvmKzewgtrCAmcT/ZXtYQGxeAXuJi3dng93BKRAsMeP2TLAaIYEAiSlN H8Bq+AX0Ja7+/cQEcZ+9xMwrZxghegUlfky+B1bDLKAuMWneImYIW1viybsLrBBz1CVu3N3N PoFReBaSlllIWmYhaVnAyLyKUTS1NLmgOCk910ivODG3uDQvXS85P3cTIySgv+5gXHrM6hCj AAejEg+vxnrecCHWxLLiytxDjBIczEoivIp/gEK8KYmVValF+fFFpTmpxYcYpTlYlMR5Z+56 HyIkkJ5YkpqdmlqQWgSTZeLglGpgXNF4bNWUT7JbLjx9PWHdsefnu0+EVMUvi8l3/RFr1sGv W3Q8hfn35+XPpz10uZOTtyj/CfspH7Ozltf+PnA+sCB06v2tpy2WTuWfybBZX26+wv39s2bs 2/+JQ8L3QHa/uOeuBrkNwlEpWe5eM7j8ExeerpH4KDp/yYypzhybN3KuWs769cU0BQslluKM REMt5qLiRADexBlBZAIAAA== On Wed, 13 Apr 2016 00:58:04 +0300 Evgeny Zajcev wrote: > I'v created simple widget like: >=20 > just-run-man () { > man man > } > zle -N just-run-man > bindkey "=1B^[h" just-run-man >=20 > And also got >=20 > Missing filename ("less --help" for help) There's nothing much to go wrong in this ultra-simple example. I would suspect it's a problem not visible here, e.g. something associated with less like the LESSOPEN variable has gone haywire. To investigate, try setting PAGER=3Dmore and see if that works. pws