| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
OK mpi@
|
|
|
|
|
|
|
|
|
| |
constants.
The consensus is that if both operands are constant, we don't need
mallocarray. Reminded by tedu@
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will now recognize xterm-compatible escape sequences ESC % G and ESC % @ to
enter and leave UTF-8 mode, respectively.
Not enabled on SMALL_KERNEL.
Most of this written during c2k7, completed during b2k13.
Note that the value of several international keysyms change, to switch from
ISO Latin-[257] values to the real Unicode values. Be sure to update your
includes and rebuild and install wsconsctl.
|
|
|
|
|
|
|
| |
of wscons (which usually get disabled for installation kernels, to save
space), instead of duplicating parts of it to too many places.
No functional change.
|
|
|
|
| |
Doesn't change anything, but silences a Clang warning; dhill@bitrig
|
|
|
|
|
|
| |
`ESC \', as supported by xterm; some third-party software such as
ncmpcpp rely upon this.
Noticed by dcoppa@, based on a draft diff by nicm@; ok deraadt@
|
|
|
|
|
|
|
|
|
|
| |
column and and clear VTFL_LASTCHAR if so.
This fixes the case where an escape sequence (originally noticed with
DECSTBM) moves the cursor and doesn't reset the flag - if it was set,
there would be a spurious line feed on the next input.
ok miod
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
check it in wsdisplaystart() to suspend output if not all characters have
been output; they will get reissued at the next tty rstrt_to timeout.
|
|
|
|
| |
upcoming changes. No functional change.
|
|
|
|
| |
sequence when they appear. Per VT100 manual via naddy@, ok naddy@
|
|
|
|
| |
routine. No functional change (har, har)
|
|
|
|
| |
way we do not get a phantom cursor image when X exits.
|
|
|
|
| |
prompted and "much better" by marco@, ok pyr@
|
|
|
|
| |
ok pyr@
|
|
|
|
| |
Suggested by miod@
|
|
|
|
|
|
|
|
|
|
|
|
| |
for the vt100 emulation to work well enough for most cases (i.e. alternate
character set tables, non-default tab settings, etc).
However, code did not always check if these elements had been successfully
allocated before trying to use them, or worse, would explicitely panic in
DIAGNOSTIC kernels.
Change this to work in a degraded mode (by ignoring related escape sequences)
instead.
|
| |
|
|
|
|
|
|
|
| |
in case autowrapping is on, and control characters other than BS, CR,
HT are encountered.
Righto! miod@, also verified by Paul Stoeber.
|
| |
|
|
|
|
| |
zaurus a lot, tested by many; ok deraadt@
|
| |
|
|
|
|
| |
From NetBSD (wsemul_vt100.c 1.24, wsemul_vt100var.h 1.7)
|
|
|
|
|
| |
When moving the cursor down, only scroll up if cursor is exactly at
bottom of scroll region; don't scroll if below scroll region.
|
| |
|
|
|
|
| |
Diff generated by Chris Kuethe.
|
| |
|
| |
|
|
|
|
| |
and ignore it; from NetBSD.
|
| |
|
| |
|
| |
|
|
art@ said it will make his life easier in alpha
rhands@ said it is not used in powerpc for now
bjc@ said that it would make vax port easier
mickey@ said other platforms can use it, and it's faster
|