context@uw-june.UUCP (Ronald Blanford) (09/17/87)
I would like to propose that the Minix cursor positioning escape sequence be changed from ESC x y to ESC y x. As far as I can tell, this would entail minimal changes in only two places: tty.c and the Mined editor. This change would make it possible to add support for ANSI escape sequences which begin with ESC [. As things now stand, that prefix is usurped by any move to screen column 61. I am perfectly willing to determine and post the diffs to implement this change, but won't do so unless there is general agreement that this is a desirable thing. I'll accumulate and post the responses. -- Ron
minow@decvax.UUCP (Martin Minow) (09/19/87)
Ronald Blanford (context@june.cs.washington.edu) suggests changing the Minix cursor positioning escape sequence to <ESC> y x. If any changes are made, I would *strongly* recommend using the ANSI/ISO sequences. These are now standard throughout the industry. The simplest are: <ESC> [ <line> ; <column> H where <ESC> is hex 1B, '[' and 'H' represent themselves, and <line> and <column> are ascii decimal strings, with the upper-left corner being 1,1. Note that this can be expanded to tall/wide displays without running out of bits. If you work in an eight-bit environment, <ESC> [ can be replaced by the <CSI> character (hex 9B). Martin Minow decvax!minow