On Mon, 13 Nov 2023 at 04:33, <mike.junk...@att.net> wrote:

> I'm running bookworm on a RaspberryPi 4b.

> mike@rpi4b3:~> uname -a
> Linux MikesPI 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 
> (2023-10-05) aarch64 GNU/Linux

>     There are a couple of things I don't understand and am hoping one of
>     you out there can clue me in or at least suggest a direction to
>     explore.

>     MC loads for root in under a second but for user mike it takes 10
>     seconds to come up whether on the CL ir on the desktop.

>     On the CL my prompt is "mike@rpi4b3:~> " but in MC it is only "$"
>     while root's in MC is like mike's on the CL.

>     I've looked at the MC docs and all the MC config files I can find but
>     not found anything to suggest the differences in root's and mike's
>     usage of MC. The ~/.config/mc/ini files are identical.

>     When I run buster on a Pi I don't see these differences but realize
>     they are likely different versions of MC.

Hi Mike,

What you see as a command prompt in MC is controlled by the value of the
parameter PS1 in the environment that is externally provided to MC when it is
executed.

How to specify that value of PS1 is given will depend on from where you
start MC.
- perhaps in a virtual linux console
- perhaps in a terminal emulator program running under a GUI desktop

You can see and change the value of PS1 by doing this in MC:
- press control-O to have MC start a shell
- enter the command 'echo $PS1' (without the quotes)
- you can change the value of PS1 using a command like 'PS1=foo' (without
  the quotes)
- you can play with it because any changes you make will only affect the
  current instance of MC
- press control-O to toggle between the shell and MC

The content of PS1 is documented in 'man bash', search for PS1 and/or
PROMPTING.

That's all I have time to write. I have nothing to say about the delay,
that's a different issue.

If you want to ask how to set the value of PS1 before MC starts, you will
need to tell us exactly from where you start MC, as I mentioned above.

Reply via email to