[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cursorpos and ^P



It wasn't really intended that you output your own ^P codes
for two reasons:
(1) If a new ^P code is invented, CURSORPOS should be upgraded.
(2) Outputting your own ^P codes on an ASCII TTY object will
probably screw up the CHARPOS and/or LINENUM counts, which is
why you want point (1) to happen.
ASCII mode output is intended to be relatively abstract and
portable.  If you go outputting your own ^P codes, it isn't
going to work on a TOPS-20 -- maybe not even on a LISP Machine.
So you're provided with the interface functions TYO and
CURSOROS, which can be implemented on many systems reasonably.

If you are willing to be non-portable, then use IMAGE or FIXNUM
mode.
--Guy