ports/107410: pdksh port does not implement count escape properly in edit.c "promptlen()" function
Bruce Becker
hostmaster at whois.gts.net
Mon Jan 1 21:20:15 UTC 2007
>Number: 107410
>Category: ports
>Synopsis: pdksh port does not implement count escape properly in edit.c "promptlen()" function
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 01 21:20:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Bruce Becker
>Release: 6.2-PRERELEASE
>Organization:
G.T.S.
>Environment:
FreeBSD server 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Wed Nov 1 21:39:21 EST 2006 root at server:/usr/obj/usr/src/sys/SERVER i386
>Description:
broken pdksh emulation of ksh hack which delimits ESC sequences so they are not included in column count
>How-To-Repeat:
PS1="^A^M^[]2;root at host:\$PWD^G^Aroot ! > "
where "^" above denotes a shell character
>Fix:
--- edit.c~ Thu May 13 13:04:33 1999
+++ edit.c Mon Jan 1 14:12:34 2007
@@ -344,6 +344,7 @@
*/
if (*cp && cp[1] == '\r') {
delimiter = *cp;
+ indelimit = !indelimit;
cp += 2;
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list