Hello mksh world.

I've just migrated to mksh, but I'm having trouble with getting the PS1 as I 
had set before.
My PS1 used to be PS1='\h@\w\$ '.
\h was the host name and \w was the current directory (with ~ instead of 
/home/user/).
But it looks that mksh doesn't accept this backslash escapes.
Is there another way to get this behavior back to me?

Another thing I miss is the way ^L works.
On my old shell, it would clear everything on screen expect for the current 
line.
On mksh is just redraws, but doesn't clear everything above.
I've thought the closer I could get was to make ^L behave like ^C+`clear`. But 
even then it's not perfect, because I'd lose the current line I'm typing. Has 
anyone a solution or idea to try for this? I really miss the behavior of my old 
shell in this respect.

Thanks everyone and good work on mksh.

Reply via email to