Gentoo Archives: gentoo-user

From: "Håkon Alstadheim" <hakon@×××××××××××××××.no>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: OT - Midnight Commander and hiding terminal output
Date: Sat, 02 Jan 2016 07:38:51
Message-Id: 56877E63.4070200@alstadheim.priv.no
In Reply to: Re: [gentoo-user] Re: OT - Midnight Commander and hiding terminal output by Linux
1 Den 01. jan. 2016 00:49, skrev Linux:
2 > On 12/30/2015 10:32 AM, Roman Dobosz wrote:
3 >
4 > snip
5 >
6 >> Just redirect the standard end error output to the void, like:
7 >>
8 >> --- 8< ~/.config/mc/mc.ext ---
9 >> include/video2
10 >> Open=(mpv -vf-clr %f >/dev/null 2>&1 &)
11 >> View=%view{ascii} midentify %f
12 >> Edit=if [ -n "$DISPLAY" ]; then (avidemux3_qt4 %f 2>&1
13 >> >/dev/null &); fi
14 >> --- >8 ----
15 >>
16 >> so opening the file (pressing enter on the file), or editing it (via
17 >> pressing F4) I don;t see any output from neither mpv nor avidemux.
18 >> Note, that both of the processes are instantly put to the background
19 >> (amperand at the end of the command) so that mc is still operatable.
20 >>
21 >> Hope, that helps :)
22 >
23 > This does help. Thank you very much. I'll be trying it out soon.
24 > -Skippy
25 >
26 >
27 >
28 Should be as easy as hitting Ctrl-L when your screen is messed up,
29 should it not? Don't use MC, so haven't tried it. If it does not work,
30 look in manual for key-binding for "redraw" .

Replies

Subject Author
Re: [gentoo-user] Re: OT - Midnight Commander and hiding terminal output Skippy <linuxgn2@××××××××××××.com>