🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #881

Re: "Philosophical" bug: Bash needs an "invisiblity" sequence inside PS1

#881
From: Dan R. Greening
Date: Tue, 08 Sep 1992 21:27
23 lines
1575 bytes
In article <9209060053.AA02428@arissoft.com> john@arissoft.COM writes:
>I use GNU Bash, version 1.12.9, and the terminal program I use is Stuart
>2.4 on a NeXT, which has title-bar-setting escape sequences that are a
>superset of those understood by Xterm.  A problem I was experiencing was
>that the Readline library used by Bash doesn't know what part of the prompt
>is actually visible.  So, if I have a big, nasty PS1 variable that puts
>lots of things in the title bar, Readline decides I've hit the 80th column
>and breaks the line way too early.
[ plus a patch ]

I have seen at least 3 complaints here about bash's behavior with
invisible character sequences.  My prompt is underlined, and I have
had similar problems.  The complaints have been ongoing since bash
version 1.05.

I will incorporate this code into my version of bash, and I humbly
request that the implementers of bash include it in their next release.

Please.
-- 
____
\  /Dan Greening    Software Transformation   1601 Saratoga-Sunnyvale Rd, #100
 \/dgreen@sti.com   (408) 973-8081 x313       Cupertino, CA 95014
Technical Details
Message-ID: <BuA3L8.26x@sti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sti.com!dgreen
References: <9209060053.AA02428@arissoft.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sti.com!dgreen
From: dgreen@sti.com (Dan R. Greening)
Subject: Re: "Philosophical" bug:  Bash needs an "invisiblity" sequence inside PS1
Message-ID: <BuA3L8.26x@sti.com>
Sender: gnulists@ai.mit.edu
Organization: Software Transformation, Inc.
References: <9209060053.AA02428@arissoft.com>
Distribution: gnu
Date: Tue, 8 Sep 1992 21:27:08 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 24