-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/05/2010 04:28 AM, Gilles Espinasse wrote:
> not a bug > I fixed the same mistake in our prompt 2 years ago > you have to escape with \[ \] the non printing characters Thank you Giles. Taken directly from info bash -> Shell Variables -> Bourne Shell Variables -> PS1 (for which I've probably skimmed over 20 times trying to figure out if something had changed): `\[' Begin a sequence of non-printing characters. This could be used to embed a terminal control sequence into the prompt. `\]' End a sequence of non-printing characters. I had thought about posting to support, then thought "No, this is an old bug." I'm not sure, maybe I've always just copied the previous version's profile items, but I've never noticed this. Anyway, completely documented and certainly not a bug. Thanks again. - -- DJ Lucas -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAEBAgAGBQJMCl+JAAoJEIUM+xKzBYsIu3IQAOTt/zZVcMasLXRKSL1lEOkq Bw4dDvSIqCERmBG9h+XTy9pi61VYmQx4jrG+2scheTOeknC6FqrVE4bsLyrioSl2 g5fRP8UK0M/V3LHm7tJbQZ2BKThZchRbnjKlU/TGTZ0G+LHSnG6F0jbDosnxyerL PJ/CKRThulwUYtmo/PhbWwnK8T9Pk4Dl0FZ8SLeFtDHtgtJ6mK39XHwyJ6TKPATM xqbEFn4umFCgHeE139AQkHa6QUYTt0Jn2z/ozkE1v6VpP2N/AJo/Fb2E7RWTwiVu bSmvSMzMdDe5DzfmAGptZpmh7YMcmK70sPb4SE0lvXxJFkjiS/LQ/HUNH6P1o45r UOGHFeXXLXsvozjSKSIyaS8h/3kihFwvu3ok4D9V1V99w+4IwXdRTaHOHu/iHKfq qB/qEn9O6TKWpTGmNTVrjvwrvoeSi9pIAKprjAR/ecGsHKSnC+nBCy0X9Vd5YQ8/ pwZX6EDaaCgQZ7d3vm3otEwtdEFj2ObhhSQU1h0LvmKVQbw2wdC7lgC+UwYNzzSY tZ/6CuMYMRBbCCgDC9F+MFVuovrrmRCz5kVR9tENpWtaOnG2dXeJ//WYWhe9ltda rJhkRpNz90NEqo7oWROfyVZCPrWF4/Or/4p1KJeDl9qaZH7/wggiVyeOWjpS/lkZ hOuiveHMCtn5PKjlT40F =wE+X -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page