[email protected]
[Top] [All Lists]

mc and svgalib

Subject: mc and svgalib
From: Reynir Stefansson
Date: Wed, 07 May 2008 16:38:17 +0000
Here's yet another mc-related curiosum which may or may not be related
to the trouble I've had with mc and the subshell. To clarify, Magrat
(the Linux box) doesn't have a mouse.

'zgv' is an image viewer based on svgalib.

I say 'zgv' in the log-in shell (GNU bash v3.1) on the console. On exit,
I get the expected 'Failed to initialize mouse' complaint from svgalib
and an immediate prompt.

I start mc, move to the album and tap onto an image, invoking zgv. I get
the complaint and a prompt.

I dive into the subshell (^O) and say 'zgv'. I get the complaint but no
immediate prompt.

I return to mc and start zgv from the command line. I get neither
complaint nor prompt.

In the two latter cases, hitting enter, running another command or
switching panes (if they point to different directories, thus forcing a
cd) will restore the prompt.

For what it's worth, zgv-sdl (zgv with SDL as backend instead of 
svgalib) does not show this behaviour. Weird. I'm sure I compiled SDL to 
use svgalib for image output.

Reynir H. Stefánsson ([email protected])
It's always five o'clock somewhere, especially if you go by the sun.

Mc mailing list

<Prev in Thread] Current Thread [Next in Thread>