On 11/9/15 7:53 PM, Dennis Williamson wrote: > > With editing off, I find that I must delimit variables with braces. Without > the braces, only the second escape sequence is output. The \] isn't > terminating the variable name when editing is off.
When line editing isn't enabled, the \[ and \] escapes have no meaning, so they're removed. In the example you give, removing them results in the variable name including `Hello'. If this is a problem for your prompt, you should delimit variable names with braces. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/