diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-09-05 14:49:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-09-05 14:49:21 +0000 |
commit | ec17529a5bd62e044b53345c38f067d1451d619b (patch) | |
tree | 4db8b16a998a02869773fbb021ddbd2d11ca0d63 /sys/dev/systrace.h | |
parent | c818bfbdec899fc627d95f7d7149b9425f7f9188 (diff) |
Check the return value of all emulops in the emulation code, and abort
tty output as soon as we hit a failure.
Since the `output' of a character may cause several emulops to be called
(e.g. if it causes scrollup or if this is the end of an escape sequence),
all emulation code maintain a so-called `abort state', to be able to properly
recover when the character is tentatively output later, and not reissue
the emulops which did not fail the first time.
With help from mglocker@
Diffstat (limited to 'sys/dev/systrace.h')
0 files changed, 0 insertions, 0 deletions