[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redirection back to tty problem
From: |
Chris Elvidge |
Subject: |
Re: redirection back to tty problem |
Date: |
Sun, 27 Feb 2022 12:01:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4 |
On 27/02/2022 10:31, Alex fxmbsw7 Ratchev wrote:
i made by request of an user a script that intercepts whenever a --help cmd
is given, to open that output in vim ( nvim ) i guess to study, good thing
Try: (cp is just here to test command)
cp --help | view -c 'set ft=man nomod' -c 'set noeb vb t_vb=' -c 'map q
<Esc>:q!<cr>' -c 'map i <nop>' -
view is read-only, q to exit help.
gview to open help in GUI version.
--
Chris Elvidge
England