I use bash and have a custom prompt that includes some coloring (which includes non-printing characters, of course).
When in an xterm, I can always use ctrl-a (beginning-of-line) to return to the beginning of the line, and it always goes to the correct cursor position. When I start screen, if I have text that wraps onto more than one line, and I use ctrl-a, it backs up too far, into the middle of the prompt. If cursor forward, the prompt is overwritten by the text as if it was shifted left a few characters. Is there any way I can work around this, other than removing the non-printing characters from my prompt? Here's an example prompt you can try: PS1="\[\e[0;42m\u\e[0;49m\] " which is just your username in green followed by a space. Try typing a line that wraps, and then do beginning-of-line. I am using screen 4.0.2. Thanks for any help, Bob
_______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
