diff options
Diffstat (limited to 'src/vt102.c')
-rw-r--r-- | src/vt102.c | 66 |
1 files changed, 38 insertions, 28 deletions
diff --git a/src/vt102.c b/src/vt102.c index 80b636c..eb365da 100644 --- a/src/vt102.c +++ b/src/vt102.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.2 2008/02/04 01:32:39 james + * *** empty log message *** + * * Revision 1.1 2008/02/03 23:36:41 james * *** empty log message *** * @@ -51,49 +54,54 @@ vt100+keypad|dec vt100 numeric keypad no fkeys:\ /* so the parser needs to be able to at least do +CTRL-G CTRL-H +CTRL-I +CTRL-J +CTRL-M +CTRL-N +CTRL-O + +ESC7 +ESC8 +ESCH +ESCM +ESC> + ESC[%dA ESC[%dB ESC[%dC ESC[%dD -ESC[?7l -ESC[?7h -CTRL-O -CTRL-N -CTRL-G -ESC[1K -ESC[J -ESC[K ESC[H +ESC[%d;%dH ESC[J -ESC[%d;%dh -CTRL-M -ESC[%d;%dr +ESC[K +ESC[1K +ESC[L +ESC[M +ESC[P + ESC[3g -CTRL-J -ESC(B -ESC)0 -ESC[5m +ESC[4h +ESC[4l +ESC[m ESC[1m -ESC[m CTRL-O +ESC[4m +ESC[5m ESC[7m -ESC8 -ESC> +ESC[%d;%dr + +ESC(B +ESC)0 + ESC[?3l ESC[?4l ESC[?5l ESC[?7h +ESC[?7h +ESC[?7l ESC[?8h -ESC7 -ESCM -ESCH -CTRL-I -ESC[4m -ESC[L -ESC[P -ESC[M -ESC[4l -ESC[4h + */ @@ -222,12 +230,14 @@ vt102_parse_char (VT102 * v, int c) /*HT*/ case 9: break; /*LF*/ case 10: + vt102_cursor_motion(v,0,1,0,1); break; /*VT*/ case 11: break; /*FF*/ case 12: break; /*CR*/ case 13: + v->pos.x=0; break; /*SO*/ case 14: /*SI*/ case 15: |