diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-08-19 03:39:40 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-08-19 03:39:40 +0000 |
| commit | db1ab08ec95ec977003c6334952223ff310f53ad (patch) | |
| tree | 1fed50bcb168256f5e22b8336c865752b683169c | |
| parent | 1d26c935feb1aa1c994c5dec330902fb621d335b (diff) | |
Notes
| -rw-r--r-- | sys/i386/isa/pcvt/pcvt_out.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_out.c b/sys/i386/isa/pcvt/pcvt_out.c index 85de05fa2297..09cc75c654ec 100644 --- a/sys/i386/isa/pcvt/pcvt_out.c +++ b/sys/i386/isa/pcvt/pcvt_out.c @@ -178,10 +178,10 @@ sput (u_char *s, U_char kernel, int len, int page) if(svsp->sevenbit) ch &= 0x7f; - if((ch <= 0x1f) && (svsp->transparent == 0)) + if(((ch <= 0x1f) || (ch == 0x7f)) && (svsp->transparent == 0)) { - /* always process control-chars in the range 0x00..0x1f !!! */ + /* always process control-chars in the range 0x00..0x1f, 0x7f !!! */ if(svsp->dis_fnc) { @@ -323,6 +323,7 @@ sput (u_char *s, U_char kernel, int len, int page) case 0x1d: /* GS */ case 0x1e: /* RS */ case 0x1f: /* US */ + case 0x7f: /* DEL */ break; } } @@ -330,7 +331,8 @@ sput (u_char *s, U_char kernel, int len, int page) else { - /* char range 0x20...0xff processing depends on current state */ + /* char range 0x20...0x73, 0x80...0xff processing */ + /* depends on current state */ switch(svsp->state) { @@ -1884,7 +1886,7 @@ clr_parms(struct video_state *svsp) * partial HP 2392 ANSI mode Emulator * ================================== * - * this part tooks over the emulation of some escape sequences + * this part takes over the emulation of some escape sequences * needed to handle the function key labels * * They are modeled after the corresponding escape sequences |
