Re: [PLUG] Midnight Commander display borked

2020-12-29 Thread King Beowulf
On 12/28/20 10:33 AM, Nat Taylor wrote:
> Hmm...  Everything but LC_ALL is UTF-8
> mc -a does fix it
> But I have figured out that I was using xfce4-terminal instead of Konsole
> or QTerminal, and the problem is only there.
> 
> I guess the moral of the story is to use mc -a if you are using
> xfce4-terminal, or just use a different terminal for mc
> 
> I had installed pv and progress in attempts to get progress meters while
> transferring files to my new hard drive from the command line over the
> network, but then realized that mc already had progress meters and worked
> great.
> 
> I guess they weren't the culprits after all.
> 
> I guess I hadn't tried mc in the xfce4-terminal I had inadvertently
> launched.  Unless me installing advcpmv locally to test somehow borked it
> just for xfce4-terminal
> 
> 

I've used mc with xfce-terminal for years and ages.  versions 4.10, 4.12
had some issues with line drawing characters with some system fonts,
4.14 was better.  I'm on 4.16 now (xfce-terminal-0.8.10). spiffy!

in ~/.bashrc I have

# Set 256 color for XFCE terminal
if [ "$COLORTERM" == "xfce4-terminal" ] ; then
export TERM=xterm-256color

I also have xfce-terminal preferences set to use "Monospace Regular 12pt"

Note that, depending on xfce-terminal and mc versions, not all Options
-> Appearance work well in xfce-terminal. pick one that looks good.
With UTF-8  and mc46 should always work fine without the -a
option.  There are a number of styles that may work better with your
default system font.

If you like mc, check out krusader (part of KDE5)

btw, rsync also has a progress meter option (--progress and --info=progress)

All the GUI and CLI file managers have progress bars. I have no idea why
there are so may duplicate projects to add stuff to mv, cp etc, when
rsync works just fine when you RTFM.

Moral of the story: Don't blame xfce-terminal for PEBKAC.

-Ed



OpenPGP_signature
Description: OpenPGP digital signature
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Midnight Commander display borked

2020-12-28 Thread Nat Taylor
Hmm...  Everything but LC_ALL is UTF-8
mc -a does fix it
But I have figured out that I was using xfce4-terminal instead of Konsole
or QTerminal, and the problem is only there.

I guess the moral of the story is to use mc -a if you are using
xfce4-terminal, or just use a different terminal for mc

I had installed pv and progress in attempts to get progress meters while
transferring files to my new hard drive from the command line over the
network, but then realized that mc already had progress meters and worked
great.

I guess they weren't the culprits after all.

I guess I hadn't tried mc in the xfce4-terminal I had inadvertently
launched.  Unless me installing advcpmv locally to test somehow borked it
just for xfce4-terminal


On Mon, Dec 28, 2020 at 9:33 AM Paul Heinlein  wrote:

> On Mon, 28 Dec 2020, Nat Taylor wrote:
>
> > My midnight commander's output is all weird, it's framed with
> > diamonds with question marks in them, The file listings on the left
> > hand side have their beginnings obscured due to this. I recently
> > installed progress, pv, and rsync.  I uninstalled progress, thinking
> > that it may have had something to do to it, but to no avail.
>
> I suspect it's one of two things.
>
> First, your language settings may be off. What is the output of the
> "locale" utility in the terminal you're using to launch mc?
>
> If it's not set to a unicode variant (e.g., en_US.UTF-8), you'll want
> to do that:
>
> export LANG=en_US.UTF-8
>
> and try launching mc again.
>
> Second, if your LANG variable is set to a UTF-8 variant, then the
> problem may be that the terminal you're using is not
> unicode-compliant. Try "mc -a," which uses simpler glyphs.
>
> Finally, mc may be trying to use a typeface that doesn't exist on your
> system. I don't know Midnight Commander well enough to suggest a fix.
>
> --
> Paul Heinlein
> heinl...@madboa.com
> 45°38' N, 122°6' W___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Midnight Commander display borked

2020-12-28 Thread Paul Heinlein

On Mon, 28 Dec 2020, Nat Taylor wrote:

My midnight commander's output is all weird, it's framed with 
diamonds with question marks in them, The file listings on the left 
hand side have their beginnings obscured due to this. I recently 
installed progress, pv, and rsync.  I uninstalled progress, thinking 
that it may have had something to do to it, but to no avail.


I suspect it's one of two things.

First, your language settings may be off. What is the output of the 
"locale" utility in the terminal you're using to launch mc?


If it's not set to a unicode variant (e.g., en_US.UTF-8), you'll want 
to do that:


export LANG=en_US.UTF-8

and try launching mc again.

Second, if your LANG variable is set to a UTF-8 variant, then the 
problem may be that the terminal you're using is not 
unicode-compliant. Try "mc -a," which uses simpler glyphs.


Finally, mc may be trying to use a typeface that doesn't exist on your 
system. I don't know Midnight Commander well enough to suggest a fix.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Midnight Commander display borked

2020-12-28 Thread Nat Taylor
My midnight commander's output is all weird, it's framed with diamonds with
question marks in them,
The file listings on the left hand side have their beginnings obscured due
to this.
I recently installed progress, pv, and rsync.  I uninstalled progress,
thinking that it may have had something to do to it, but to no avail.
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug