Red Hat Bugzilla – Bug 198734
pdksh prompt skips to last newline in emacs mode
Last modified: 2007-11-30 17:07:26 EST
Description of problem:
pdksh no longer displays multi-line shell prompts in emacs mode
Version-Release number of selected component (if applicable):
Set PS1 to any string containing a newline and enable emacs mode.
Steps to Reproduce:
ksh -o emacs
Prompt looks like:
Should look like:
The emacsmode patch in 30.3 broke multi-line shell prompts. Though I'd never
use such a thing myself, some of our users have been for years, and they want
the old behavior back.
It looks easy enough to fix (patch attached).
Created attachment 132347 [details]
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.