Re: landing on exit from mc

2022-10-21 Thread Adam Pribyl

On Fri, 21 Oct 2022, Felix Miata via mc wrote:


Some distros on exit I'm returned to the directory that was current at startup.
Some distros on exit I'm returned to $HOME directory.
Some distros on exit I remain.

What controls this? I'd really rather remain. I can't keep track of which 
distros
do what. It's really annoying.


$ which mc
alias mc='. /usr/libexec/mc/mc-wrapper.sh'

-> some distros do use a wrapper. Wrapper is responsible on what directory 
you end in after mc is finished.



--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc




___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Announcement: this mailing list will be retired by the end of Oct 2022

2022-10-21 Thread Adam Pribyl
I did not tested that, but as written by Andrea, discourse has a email 
interface:


https://discourse.gnome.org/t/interacting-with-discourse-via-email/46

On Fri, 21 Oct 2022, wwp via mc wrote:


Hello,

well, now users (us) will have to go search for services (forum) instead of
getting service delivered at home (ML), that's definitely a different
approach and no real way to customize the delivery of such service. I
don't clearly see the point in doing this, instead. of course, because
of trying to tie everyone into clicks and monetization, what the web has
now become. Emails are free and free of such monetization, the current
web cannot allow this to keep going (see what Google did to emails).
People I talked about this major turn around me are just disgusted and
don't really want to run into web forums and live in a web browser.
Prepare to see the audience being really different since now!

Regards,

--
wwp
https://useplaintext.email/




___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: entering zip archives since 4.8.22?

2021-02-10 Thread Adam Pribyl

Are you hitting this
https://midnight-commander.org/ticket/2965

maybe?

Adam Pribyl

On Wed, 10 Feb 2021, wwp wrote:


Hello Andrew,


On Wed, 10 Feb 2021 14:11:56 +0300 Andrew Borodin  wrote:


On Wed, 10 Feb 2021 11:48:42 +0100 wwp wrote:

is it just me or is it since mc 4.8.22 that entering a .zip archive
opens it up in desktop's file browser?

Here: CentOS7 with Mate, if I [enter] a zip file in mc 4.8.22, it opens
the desktop's defaut binding for zip files: engrampa.

My ~/.config/mc/mc.ext file contains:
# zip
shell/i/.zip
Open=%cd %p/uzip://
View=%view{ascii} /usr/local/libexec/mc/ext.d/archive.sh view zip

# zip
type/i/^zip\ archive
Open=%cd %p/uzip://
View=%view{ascii} /usr/local/libexec/mc/ext.d/archive.sh view zip

The previous (and expected) behaviour was to browse the archive inside
mc as a subfolder. I didn't notice a change of behaviour for other
archive types.


Please try update your local mc.ext:
https://midnight-commander.org/ticket/4180
https://midnight-commander.org/ticket/4183


Patching my mc.ext didn't fix it (Iapplied the fix from #4180), and
that sounded suspicious to me.

Then I've built the latest sources from git master, removed my 
~/.config/mc/mc.ext
and it still does not work (opens desktop's app for archives instead).

F3 doesn't work either:
identify: no decode delegate for this image format `ZIP' @ 
error/constitute.c/ReadImage/564.

Back to 2.8.25 and its mc.ext and everything works.


Regards,

--
wwp
https://useplaintext.email/




___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc start just shows black screen through putty

2020-03-04 Thread Adam Pribyl

mc has many options you may try, e.g. -a, -b, -s...

What you should definitely try is
strace mc
to find out where it is stuck.

To my experience, this may be related to DNS, NFS ... For 
whatever reason mc tries to resolve something (maybe localhost) at start 
and may get stuck there for a long time. Compare the env from putty and 
shell too..




On Wed, 4 Mar 2020, Chris wrote:


Hi,

I'm a long-time enthusiastic user of mc, using it on a number of virtual and 
bare metal machines. For one particular new machine with a fresh install of 
Ubuntu 18.04, I have now come across a strange issue:


When I open a console on the machine, I can start mc. However, via putty, 
starting mc just brings up a black screen with the standard upper right 
corner (one character) in the upper right and the "Hint: Want your plain 
shell? Press C-o, and get back to MC with C-o again." text at the bottom. 
That putty window is totally unresponsive.


I am using the same putty configuration that I am using with dozens of other 
machines (incl. Ubuntu 18.04) and that works just fine there. I have tried 
deleting ~/.config/mc, and I have also tried upgrading from the stock MC 
version provided by Ubuntu 18.04 to the newest release version. No change.


I also tried using the Bitvise SSH client and the ssh client built into 
Windows 10 instead of putty, but am running into the same problem. mc does 
show, however, in termius on iOS.


If anybody has a hint on what I might try to get MC running from remote on 
that particular machine, that would be great!


Thanks, Chris
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc




___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Mouse stopped working in MC

2020-02-02 Thread Adam Pribyl

On Sun, 2 Feb 2020, Frank McCormick wrote:




On 2/2/20 6:04 AM, Yury V. Zaytsev wrote:
I would be careful about assigning blame with xterm maintainer also 
reading this list ;-) Maybe we are doing something that gets xterm 
confused... do you have a way of consistenly reproducing the problem?


On Sun, 2 Feb 2020, Adam Pribyl wrote:

Is it reproducible? This happens from time to time, but is not mc 
fault but xterm. It shoul help to reset the term with "reset" command.


On Sat, 1 Feb 2020, Frank McCormick wrote:


 I am running Debian Sid fully updated. My mouse has stopped
 working in MC. Instead I get key codes on the MC command line.
 I normally run MC in an xterm.

 How do I go about resolving this.




On my machine, if I go into /usr/bin and run xterm directly, THEN run mc 
(or mc -x) the mouse works properly. However

if I pass any parameters to xterm, such as -g 150x40 -e mc
then the mouse stops working and I get keycodes on the
mc command line.

I should note that I get into /usr/bin by running this small
script.

cd ~
xterm -g 153x40+150+20 -fn 10x20

I do this because I run rox-filer to put icons on the desktop
with Icewm.

Since this problem started, I have changed running xterm to
running lxterm (for a unicode env) and the problem has
disappeared.


xterm should be also utf8 capable, if this is enabled during build 
(ctrl+right click should shoul utf8 stuff - if this is enough). I also use 
IceWm on Fedora and I am not able to reproduce it this way, but I know it 
happens from time to time...


The problem has been resolved but I don't understand what is happening 

or why.

Frank
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Mouse stopped working in MC

2020-02-01 Thread Adam Pribyl
Is it reproducible? This happens from time to time, but is not mc fault 
but xterm. It shoul help to reset the term with "reset" command.


On Sat, 1 Feb 2020, Frank McCormick wrote:


I am running Debian Sid fully updated. My mouse has stopped
working in MC. Instead I get key codes on the MC command line.
I normally run MC in an xterm.

How do I go about resolving this.

frank@franklin:~$ mc -V
GNU Midnight Commander 4.8.24
Built with GLib 2.62.4
Using the S-Lang library with terminfo database
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, 
fish

Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
frank@franklin:~$

Appreciate any help

Frank
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc




___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: use of graphics characters recently disabled in xterm

2017-09-09 Thread Adam Pribyl

On Fri, 8 Sep 2017, Theodore Kilgore wrote:



The only thing I can think of is that something in the options for xterm 
needs to be changed, but I have no clue about what that magic option might 
be. Or, it could possibly be some library which deals with graphics and is 
somehow broken on an AMD-based machine.


I am pretty much guessing, of course, but to fix the problem would be nice. 
Anyone have an idea?


Check your TERM (echo $TERM) variable in xterm. Most probably the 
slackware switched to xterm-256color or something. Also check the output 
of "locale" and check the Ctrl-right click menu in xterm for some font 
settings.




Theodore Kilgore



Adam Pribyl

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc Digest, Vol 151, Issue 2

2017-03-02 Thread Adam Pribyl

On Thu, 2 Mar 2017, chris glur wrote:


] Depends on what is wrong and what you want to change. I used to maintain
] my skin under /usr/share/mc/skins - you may find there examples.
---
Yes, that dir has: 95,749 bytes in 26 files !!
Apparently these are all just samples.


No, just select F9/Options/Appearence...

I'd like to point out one thing I found - using xterm-256color changes the 
look of the mc, switching back to TERM=xterm the bold works again...




I didn't find the WORKING file which matches the syntax of these samples.
I need bold-font: white chars on black background.
 Please!
That's why we can't afford to : you could spend the rest of
your life studying the manual.
--

This gmail garbage does NOT allow to change 
nor even see the current value, while composing.


] It allows, it is just in the pop down menu on the upper left.

No!! You don't want to scroll up to the top and lose your place.
While I'm editing this in mc, because gmail can't handle it:
mc shows me ALWAYS at the top like:
* the PATH/File, Size, Cursor position, time.

Gmail won't show you that, because they want to keep you
confused and stupid.

And I don't want to send a signal half-way around the world to
California, so that google can track my actions, by handing me
one item at a time, which I need to individually request.

In the 90's I had complete OSs eg. [ETHOberon] on 1M4 fd0:
could Cut/Paste multiple copies of multiple texts on same screen;
to keep the  always visible & editable.
Editable off-line. Accumulate all to-be-sent mail and send with
ONE artillery-shot.

How do you send 8 different mails to different destinations,
with a limited on-line access time, via gmail?

Google just wants to engage your attention, by treating you like
a suckling: handing you single items on demand, and having an
opportunity to interspers the dialog, with their commercialism.

Thanks: esc + 0 works, when F10 is blocked.
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Color: fg=white; bg=black

2017-02-28 Thread Adam Pribyl
Depends on what is wrong and what you want to change. I used to maintain 
my skin under /usr/share/mc/skins - you may find there examples.


On Tue, 28 Feb 2017, chris glur wrote:


This Debian7 laptop's mc is difficult to read.
`mc -b` is better;
but white against black-background would be better,
but I can't decode the "Color" section of the `man`.

Please give the appropriate command/syntax.
Also bold-font would be good, but I guess that's not mc's job?

== TIA.

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: UTF-8 problem with RHEL7/Fedora

2016-05-02 Thread Adam Pribyl

On Mon, 2 May 2016, solarflow99 wrote:


I don't know what you mean, the screenshot is how it looks by default,
before I change anything at all.  Did I not make that clear well enough?
No one else here uses Fedora?


Well, you have to be more specific. I do not see any issues with MC on 
Fedora 22 using xterm and UTF-8.


1. try different terminal
2. make sure the terminal font for UTF-8 is fine and has desired set of 
chars, try to change the font

3. try to change the TERM variable and watch the difference

Adam Pribyl


On May 2, 2016 1:09 AM, "Slava Zanko" <slavaza...@gmail.com> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Solarflow99,

Looks like you've shot your leg by yourself :)

Why you had removed the code page definition? It's very important for
getting know how to show special characters (like pseudographics chars).


- --
*From:* Solarflow99
*To:* Mc
*Subject:* UTF-8 problem with RHEL7/Fedora
*Sent:* 02.05.2016 11:01:57



02.05.2016 05:56, solarflow99 пишет:

Has anyone noticed strange characters when using mc?  Unless I
change /etc/locale.conf:

From: LANG="en_US.UTF-8"

To: LANG="en_US"


Here is a screenshot of the problem:
https://fedorapeople.org/~jzygmont/snapshot1.png



___ mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlcnCzQACgkQb3oGR6aVLpqZ8gCghFNwr/pe+qa5WpseVRWeeB+Q
x68Anj3oXL29HmhgjznueGdw/r4B39Y/
=x/ke
-END PGP SIGNATURE-
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc is over!? - post by Ilia Maslakov

2015-05-28 Thread Adam Pribyl
Well, this is second time, I do see mc to struggle with maintenance. There 
were even years, it was moving from one site to another, gnome triing to 
consume it etc.


This really is weird as it is one of most valuable tools for admins, even 
thou it is not installed by default on most systems nowadays.


What is a surprise for me is, that this tool, which is already perfect 
in most directions, needs such a maintenance effort..


Adam Pribyl
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Funny action on opening a pdf document

2013-02-15 Thread Adam Pribyl

I've just commited the ticket for this:

http://www.midnight-commander.org/ticket/2965

you may find it interesting as it explains also how xdg-open is working 
and tries to explain this all is illogical. I also ended up digging into 
this as suddenly everything was opening in a web browser (fallback for 
xdg-open).


Regards

Adam Pribyl
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc