Re: Notifying about errors from user menu items?
skejg via mc <[email protected]> Mon, 26 Aug 2024 05:30:40 +0000
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat Aug 24, 2024 at 17:23 -0500, Guy Stalnaker <[email protected]> wrote: > Hello - I was intrigued by your post to the list, so I did some > experimenting about ways to get output from a command into a notification > dialog such as you show. Thanks for the email, Guy! I was also thinking about it and came to the same conclusions as you: it's possible with the help of an intermediate file. I just decided that for me personally it's not exactly worth the pain: in a case of an error I will <C-o> anyway, so I'll see the message there :) But, yeah, it was quite fun to play with streams, so thanks again for your letter, it certainly may be interesting for others. > I don't know if there is a Midnight-Commander way to pass command error > output into MC Probably, not. But it would be nice to have something like `mcdialog`, similar to `mcview` or `mcedit`, so that we could run it like: mcdialog --alert 'ERROR' 'Patch does not apply' ...to get notified "the MC way" and to avoid all that flickering :) -- skejg -- mc mailing list [email protected] https://lists.midnight-commander.org/mailman/listinfo/mc