Path: csiph.com!aioe.org!news.glorb.com!usenet.stanford.edu!not-for-mail From: Charles Daffern Newsgroups: gnu.bash.bug Subject: Re: Bash 4.2.53 cursor position bug Date: Sat, 4 Jul 2015 02:54:26 +0100 Lines: 49 Approved: bug-bash@gnu.org Message-ID: References: <5595FA97.30903@rahul.net> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RiSAEhiks8gEl2O1oCjUAtjJhuUgIEsVf" X-Trace: usenet.stanford.edu 1435974888 11752 208.118.235.17 (4 Jul 2015 01:54:48 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-type; bh=RUEKhznI6PWiNnEoQGy6ggHzq7WdLC82e2t80AoOsOA=; b=qA5C2znSwu6UIfUp8zNMQrsQN+/5Vfk1KV7/mcwpCF4uzjUILF4+7RNaNAxjOHtm5p bCrwuW38urBFQlJJWvGy1m6nXwpMXlY/06+4uqcKdKtAAU5C1j3/eHlJzUjrrxN6Oo2J 02WJvu5RJHlQb2QEVAFyfCmLJEOXVCGUyaHCC0J0lT0D8zsQoCfllQ53khDI3VxE+8cI 1c55qON+GCk6z+zhl61piFEj+++mpA6fBiFFZkAExw8G4Nlk6DHKqUYCuJ7b2cHfSImu qt2eJUcQPT/KjnqGBVihzqQLYXEJxqGKVlGonquRFh+R2OScXGhQ8ihm2phUsUzvm4y1 GWlQ== X-Received: by 10.180.103.194 with SMTP id fy2mr33636095wib.55.1435974880948; Fri, 03 Jul 2015 18:54:40 -0700 (PDT) Openpgp: id=AF6C170E59E8276568DD539A2B02A98D99BB3683; url=https://keybase.io/score_under X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: <5595FA97.30903@rahul.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::230 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: aioe.org gnu.bash.bug:11155 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RiSAEhiks8gEl2O1oCjUAtjJhuUgIEsVf Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/07/15 23:09, Chet Ramey wrote: > [...] the weird `/~' at the beginning of your prompt.=20 On 03/07/15 03:59, gam wrote: > PS1=3D"\W\$ " > 1. Type a short input line > /~$ just a line for illustration Maybe your $PROMPT_COMMAND is hiding something nasty. If it is printing that slash, then it needs to be changed. The behaviour you're seeing is consistent with what you'd see if something is printing a slash before PS1 is printed. If you only see that slash on the first line of the bash session, it could be something inside the rc/profile files giving output unexpectedly= =2E --RiSAEhiks8gEl2O1oCjUAtjJhuUgIEsVf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVlzzeAAoJECsCqY2ZuzaDyOoQAJtV3OlspRQ/BbOcR9p2hcxv wWdKxiARqQ/8Len4O//j8cdknoU9XzaA1NQPNXFjlpNAdCWdsGnln0escjJLVZsm jszPVSyFHUnL/qJfGodZekkl44bKh1827yTIkxziR8tWlaDGYf/TytHLI7dpLe1J bMkszFNpne0Mom+U1gEVjv5ePTK8nUhDYBW+r7QvRRAjR7GMhUFTc+nMUxkHsPPa RdzxO7cJFRBuuH0a3xQ4vvqZU9nRivmk//EKlQsRrpZYSlt3Rq4JHT5mF3x+vp38 vCpUt/jlBi7HzBSQc/BxjAGvjBfIwNjKt/qCdTOd8K9iF0bVgfnm2YKxUWGZGdnG v+dM5cKk/6Nigh6kTK3nniSRzUVIDMBTB62Cs5jFICFxCqQpBGmxJZwjyJ9qrjPq NiCd8JhBVjcL5chVc3U5ilJO8PUm6E9mPPAV7kMQ0g5S4BYtVzRdbOBrD+ACneVN kuj+Zi8gJA2DQrIvk7jCQxrNo233UXsZBTby2CzotpApBvBRjZltQmvUbvkguK7N AD8nEFEFhttusDNbxaQdqvQt9n4kEn7SNO4tQCysWs9O0tyGFvIpI9idY/jhy792 sAvklDxaBOJOCIj+Isl0uwT3G9RLNTF7nJbXNM8NyO3hPrERwSa0DeAscnjdLGB9 hIWrMEy8R4ZVME36v4Xy =/7xC -----END PGP SIGNATURE----- --RiSAEhiks8gEl2O1oCjUAtjJhuUgIEsVf--