subshell prompt fix

Leonard den Ottolander leonard at den.ottolander.nl
Tue Nov 23 12:33:07 UTC 2004


On Thu, 2004-11-18 at 11:16, Jindrich Novy wrote:
> This version of the patches is #ifdef'd only for linux since it's tested
> there.

Not necessary. I think the fact pchel couldn't reproduce it is because
he uses the wrong terminal definition on his remote connection.

But it appears prompt_lastsize gets set in the wrong place, so the patch
doesn't work. The prompt line doesn't get cleared.

Attached patch removes the #ifdef which is most likely *not* necessary.
Stole the %c with ' ', and I clear the whole line. See attached patch.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-------------- next part --------------
A non-text attachment was scrubbed...
Name: prompt_fix.patch
Type: text/x-patch
Size: 416 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041123/88f56bb7/attachment.bin>


More information about the mc-devel mailing list