Gentoo Archives: gentoo-user

From: Linux <linuxgn2@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: OT - Midnight Commander and hiding terminal output
Date: Thu, 31 Dec 2015 23:49:23
Message-Id: 5685BF06.70309@204EastSouth.com
In Reply to: [gentoo-user] Re: OT - Midnight Commander and hiding terminal output by Roman Dobosz
1 On 12/30/2015 10:32 AM, Roman Dobosz wrote:
2
3 snip
4
5 > Just redirect the standard end error output to the void, like:
6 >
7 > --- 8< ~/.config/mc/mc.ext ---
8 > include/video2
9 > Open=(mpv -vf-clr %f >/dev/null 2>&1 &)
10 > View=%view{ascii} midentify %f
11 > Edit=if [ -n "$DISPLAY" ]; then (avidemux3_qt4 %f 2>&1 >/dev/null &); fi
12 > --- >8 ----
13 >
14 > so opening the file (pressing enter on the file), or editing it (via
15 > pressing F4) I don;t see any output from neither mpv nor avidemux.
16 > Note, that both of the processes are instantly put to the background
17 > (amperand at the end of the command) so that mc is still operatable.
18 >
19 > Hope, that helps :)
20
21 This does help. Thank you very much. I'll be trying it out soon.
22 -Skippy

Replies

Subject Author
Re: [gentoo-user] Re: OT - Midnight Commander and hiding terminal output "Håkon Alstadheim" <hakon@×××××××××××××××.no>