Date: Mon, 1 Jan 2007 21:19:35 GMT From: Bruce Becker<hostmaster@whois.gts.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107410: pdksh port does not implement count escape properly in edit.c "promptlen()" function Message-ID: <200701012119.l01LJZXW007942@www.freebsd.org> Resent-Message-ID: <200701012120.l01LKE6C008383@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701012119.l01LJZXW007942>