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: landing on exit from mc

2022-10-21 Thread solarflow99 via mc
Options -> panel options -> auto save panels setup

I use fedora and hate having to set this on every host, I had some
discussion going about this a while back.


On Fri, Oct 21, 2022, 12:33 AM 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.
> --
> 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: landing on exit from mc

2022-10-21 Thread Yury V. Zaytsev

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.


Distro maintainers decide, whether they activate shell wrapper scripts for 
their users or not. They might also patch mc to conform to their policies 
(e.g. annoying Debian editor patch).


--
Sincerely yours,
Yury V. Zaytsev
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc