Does anyone know a portable way (portable across most terminals that
is, or maybe something which can be done with tput) to read the
terminal cursor x position without using curses or ncurses?

I'm asking because ksh93 has notorious problems with getting the
cursor position correct if PS1-PS4 contain unusual escape sequences or
characters which take more than one terminal cell (xterm256 color
sequences or the unicode '...' character) which makes the set -o
multiline mode unusable.

Dan
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to