Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / pcvt / Misc / Doc / ChangeLog
1 ChangeLog                             last edit-date: [Thu Apr  6 10:52:50 1995]
2 ================================================================================
3
4 Changes 3.10 -> 3.20                                                  April 1995
5 --------------------------------------------------------------------------------
6
7 - bugfix from Thomas Eberhardt: the force 24 lines enable function key
8         label was not updated when changing force 24 lines mode with 
9         'scon -f on|off', this is now fixed.
10
11 - bugfix from John Kohl fixing divide by zero problem in pcvt_ext.c when
12         ringing the bell and pitch is 0: this avoids an integer divide
13         trap in supervisor mode.
14
15 - changed the default behaviour of keyboard controller delay from using
16         delay()/DELAY() to using dummy reads to port 0x84 because i got
17         keyboard hangs in X.
18
19 - bugfix: in pcvt_ext.c, MDA state restore when leaving X was lost, should
20         function now again.
21
22 - renamed PCVT_XSERVER to XSERVER in ispcvt.c
23
24 - bugfix in pcvt_vtf.c: renamed PCVT_USL_COMPAT to PCVT_USL_VT_COMPAT
25
26 - added '-d <device>' option to ispcvt and loadfont
27
28 - removed PCVT_NEEDPG
29
30 - almost completely removed support for 386BSD 0.1 with patchkit 0.2.4
31
32 - applied a patch from Joerg providing missing FreeBSD 2.1 functionality and
33         a some minor bugfixes and checks.
34
35 - provide a single place PCVT_KBD_DELAY in pcvt_hdr.h. made it configurable
36         via PCVT_PORTIO_DELAY to use either 6 dummy reads from port 0x84
37         or the delay/DELAY function of the operating system. Changed ispcvt
38         to report status of compile time switch.
39
40 - release beta 23 --------------------------------------------------------------
41
42 - removed some files for 386BSD as there is virtually noone outside
43         using it anymore
44
45 - make pcvt_ioctl.h accept "KERNEL" or "_KERNEL" for NetBSD-current
46
47 - configuration fix: patch from Rafal Boni for pcvt_vtf.c, he writes:
48         This patch lets one compile pcvt on a system that is lacking XSERVER
49         and UCONSOLE [or either?] in the config file.  I found this while 
50         trying to build a minimal floppy-based test kernel. The problem is
51         that roll_up and roll_down assume that PCVT_USL_COMPAT is 
52         unconditionally set, and hence muck with parts of the video structure
53         that are only there if PCVT_USL_COMPAT is set.
54         (generalized the patch a bit so that fastscroll functionality is
55          not lost in case of PCVT_USL_COMPAT not being defined. -hm)
56
57 - bugfix: pcvt_ext.c switch_screen() - when switching to a 25 line charset
58         pure VT emulation screen which has force 24 lines set, then we have
59         to clear the last line on screen (bugreport from Joerg).
60
61 - added define PCVT_NONRESP_KEYB_TRY for how many times to try to detect
62         a non-connected keyboard. This was previously set to 100 and
63         Joerg reports a 5+ minutes delay for a 386 booting without keyboard.
64         Set to 25 now in the definition. Also made shure the messages in
65         the corresponding loop display only once. [doreset() in pcvt_kbd.c]
66
67 - updated kbdio utility to include the 7 us delay and added a 'what' command
68         detect type of MCA motherboard keyboard controller according to
69         Frank van Gilluwe, "The Undocumented PC", Addison Wesley, pp 273
70
71 - "Gateway 2000" problem: after some discussion on the NetBSD port-i386
72         mailing list about hanging keyboards, Martin Husemann sent in a
73         patch where each inb(CONTROLLER_DATA) is now preceeded by a
74         delay(6). This fixed his keyboard problem, the same was reported
75         from Roland McGrath for his Gateway 2000 keyboard/machine.
76
77 - patch from John Kohl for usl_vt_ioctl() in file pcvt_ext.c, he writes:
78         This is probably a long standing bug.  tsleep() returns ERESTART
79         if it's interrupted.  ERESTART is -1, which means that the
80         VT_WAITACTIVE call returns from usl_vt_ioctl() with -1, 
81         meaning "not one of my ioctl's".
82
83 - patch from Matthieu Herrb for NetBSD-current (post 1.0) support
84
85 - patch from Joerg for FreeBSD pre-2.1 support
86
87 - added file ToDo in directory Doc
88
89 - fix for Util/Makefile.inc.NetBSD-c from Onno
90
91 - removing unnecessary Trident support code from pcvt_out.c
92
93 - fix from Onno for IST_EDGE in NetBSD-current
94
95 - patch from Thomas Eberhardt to fix the bell frequency and duration setting
96         for NetBSD
97
98 - some fixes from Onno van der Linden for NetBSD
99
100 - added patch for NetBSD-current from Rafal Boni and Lon Willett
101
102 - added another mega patch from Lon Willett fixing several bugs:
103
104         1 -- Misc porting changes to deal with NetBSD-current, including
105         a new Util/Makefile.inc.NetBSD-current.
106
107         2 -- The Control_R scancodes were being mapped to the Control_L
108         pcvt keynum.
109
110         3 -- FASTSCROLL/graphics-mode problem: there was a problem where
111         switching from a graphics screen to a text screen would corrupt
112         the text screen's content if it had been scrolling using the
113         FASTSCROLL code.  (The problem is the bcopy() from kernel to
114         video memory was using the vs[i].Memory pointer as the source,
115         instead of the vs[i].Crtat pointer).  This is fixed in the beta
116         21 release by just disabling the fast scroll code for screens
117         which aren't active.
118
119         The patch I'm sending you re-enables the fast scroll code on
120         inactive (i.e. in kernel memory) screens, saving a few cpu
121         cycles. 
122
123         4 -- This is a big one: running multiple X servers was not
124         really working.  The USL handshaking code was a mess (not very
125         well designed to begin with, but there's not much that can be
126         done about that).  I did manage to get it fairly functional, but
127         there's a lot of changes.
128
129 - changing example rc.local to take care of good old EGA's
130
131 - fixing support for EGA boards in vt_coldinit()
132
133 - removing vt100 font files from Util/fonts, updated Manifest
134
135 - fixing an obviously longstanding bug in roll_up() / roll_down() which was
136         triggered by Joergs "Crtat" cleanup mega patch.
137
138 - removing PCVT_FAKE_SYSCONS10
139
140 - removing duplicate names in termcap entries
141
142 - fixing vt_coldinit:   setting variable "color" for mda/hercules and cga
143                         initializing cursor position
144
145 - fixing roll_up() and roll_down() for mda/hercules: mda's have ALWAYS
146         just one page of memory, original hercules boards too so they
147         can NEVER use the fastscroll option. SOME hercules are somehow
148         enhanced in that they support 2 pages. pcvt now just supports
149         one page hercules/mda!
150
151 - made cleanups to 8x14 high and 8x8 high fonts: adjust the 5 scanline
152         characters to adjust with the corner characters from the low fonts
153
154 - applying patch from Joerg which fixes some bugs:
155
156         writing to a tty containing an X server resulted in some stange
157                 behaviour depending on the opsys and opsys version used
158
159         the init code preserving the screen contents and cursor shape
160                 can only be done on boards allowing the reading of
161                 several crtc registers
162
163 - removed bcopyb declaration from pcvt_hdr.h for FreeBSD 2.1
164
165 - another patch from Lon Willett (willett@math.utah.edu), he writes:
166
167         1 -- Very minor: One of my previous changes didn't get merged
168         into "pcvt_out.c"; the caclulation of ws_row doesn't account for
169         "force24" at one spot.  It's easier to just set it from
170         screen_rows anyway, unless there's something that I didn't
171         understand happening here.
172
173         2 -- Debugging stuff: I don't know if you care to add it, but I
174         found it useful, so I left it in.  I rearranged the
175         PCVT_SHOWKEYS code a little, and added a few lines to show
176         keyboard commands and responses, with special delimiters.
177         [file: pcvt_kbd.c]
178
179         3 -- "kcon" utility enhancement: I added a "-R" switch to kcon
180         to do a KBDRESET ioctl.  [file: Util/kcon/kcon.c]
181
182         4 -- KBDRESET-ioctl bug: the code was trying to read kbd
183         responses without an spltty(), so naturally it would fail, since
184         pcrint() was grabbing the ACKs.  [file: pcvt_kbd.c]
185
186         5 -- update_led() makes kbd hang: the problem here is that
187         update_led() makes the keyboard generate two KEYB_R_ACK
188         responses, and one of the interrupts sometimes gets lost when
189         there is a lot of other I/O happening.  See the comment in the
190         code.  My fix seems to work for me, but you may want to handle
191         it some other way.  It would probably be quite reasonable to
192         check for lost interrupts periodically anyway, whether
193         update_led() has been called or not.  [file: pcvt_kbd.c]
194
195         (NOTE: item 5 has been disabled because it causes older
196          FreeBSD's to panic because of the timer queue not being
197          initialized at the time called. -hm)
198
199 - partly rewrote doreset() in pcvt_kbd.c to enable boot procedure to proceed
200         if no (PC) keyboard is found. The current behaviour and implementation
201         is subject to change.
202
203 - patch from Thomas Gellekum to Util/keycap/keycap.src
204
205 - minor modification to main.c in Util/set2061
206
207 - patch from Onno and John Kohl to make pcvt beta 16 work on NetBSD current:
208         1. pcvt_conf.h
209            _real_ 1.0         ===> NetBSD1_0 == 1
210            current 1.0 (1.0A) ===> NetBSD1_0 == 2
211         2. pcvt_hdr.h
212            Put pcvt_conf.h before _all_ the #ifdef PCVT_*. This way
213            the #ifdef NetBSDx_y stuff can do its work.
214
215 - size of PCVT_BURST was still reported as 1 for FreeBSD 2.0, fixed
216
217 - made some adjustments for FreeBSD 2.0 in Util/vgaio
218
219 - Another patch from Joerg for FreeBSD 2.0
220
221 - included vgaio, kbdio and set2061 into the outer Makefile, this programs
222         are build and cleaned but don't install anything.
223         All program's in the Util dir should now cleanly make <anything> ...
224
225 - enable 132 column support for Trident TVGA8900CL, some NetBSDisms
226
227 - addend patch from Joerg for pcvt-320b7 to fix FreeBSD 2.0's ttymalloc's
228         encapsulation into #if's. Also new keycap.src entry.
229
230 - fixed keyboard status/LED not updated on soft reset emulator
231
232 - on 23rd of December i had some spare time, so i added some demos to the
233         Util/demo directory as well a a time-killer program (playvt) to view
234         some of the VT animations and a christmas animation i got from Joerg.
235
236 - added a new utility set2061 to program the clock generator on my S3 based
237         ELSA Winner VGA board. This eventually lets me use 132 columns on this
238         board, because i'm now able to program the clock to generate 40MHz
239         on clock output #2.
240
241 - debugged winsize patch on FreeBSD 1.1, line discipline open init's the 
242         queues, winsize initialization must happen after line disc. open!
243
244 - got a bunch of NetBSD PR's from J.T. Conklin:
245
246         PR #214: PCVT treats ctrl-shift exactly like shift for most characters.
247                  (fixed by Lon Willet's Mega Patch described below -hm)
248
249         PR #399: If you define PCVT_META_ESC when builting PCVT, Meta-Return
250                  sends 0x8d instead of ESC RET.
251                  (fixed by applying the patch from Bill Sommerfeld. -hm)
252
253         PR #400: pcvt sometimes gets confused about window size
254                  (fixed by applying the patch from Bill Sommerfeld. -hm)
255
256         PR #404: Meta-Control-Space broken with PCVT_META_ESC and PCVT_NULLCHARS
257                  (put into "BugList" file, no solution yet .. -hm)
258
259         PR #488: pcvt can loose keyboard control if you start an xserver from
260                  an xterm 
261                  (already fixed by a patch from John Kohl, see below -hm)
262
263         PR #580: NetBSD i386/pcvt bugs/enhancements; fixes included
264                  (already integrated the patch from Lon Willet, see below -hm)
265
266 - on coldinit, if FAT_CURSOR is defined, the old large blockcursor is used
267
268 - enhanced the vgaio output in an attempt to make 132 column mode work
269         for my S3 board ....
270
271 - applied patch from Thomas Gellekum: install instructions for FreeBSD 2.0,
272         patch to fontedit to compile under FreeBSD 2.0, an addition to
273         keycap.src and a fix for kbdio
274
275 - changed installation instructions to reflect recent changes, removed
276         instructions for FreeBSD 1.0 and added instructions for FreeBSD 2.0
277
278 - upgraded all utilities version strings to 3.20
279
280 - new example of rc.local
281
282 - changing timeout()/untimeout() function parameter type to TIMEOUT_FUNC_T
283         definition in pcvt_hdr.h
284
285 - changed install instructions to reference Etc dir instead of Doc dir for
286         several files which were moved from Doc to Etc.
287
288 - new parameter -d for the cursor utility, updated cursor manpage
289
290 - applying a patch from Lon Willett, willett@math.utah.edu which fixes
291         several bugs and provides some enhancements. Lon writes:
292
293         1 -- The displayed cursor is not updated during kernel I/O,
294         because async_update() doesn't get called.  This is merely ugly
295         while the system startup messages are being displayed, but it is
296         positively annoying when using the kernel debugger.
297
298         2 -- CONTROL-SHIFT-<KEY> is taken to be the same as SHIFT-<KEY>.
299         It should be interpretted as CONTROL-<KEY>, or even have its own
300         binding.  One of the lines below fixes it in the former way.
301         This is especially bad (i.e. clearly buggy) when I type
302         CONTROL-SHIFT-<6/^> to get a "Control-^", and instead get a "^".
303
304         3 -- The "special" region at the bottom of the screen, i.e.  the
305         function-key-labels/status-line in HPVT mode, and the blank line
306         in FORCE24LINES mode, do not get properly cleared/updated.
307
308         4 -- When switching screen sizes/modes, the FORCE24LINES setting
309         is not always handled.
310
311         5 -- The PCVT_VT220KEYB functions are missing some features.
312         The control key settings are bug fixes; they apply only if
313         system function key labels are on, and match the labels.  The
314         shift key definitions are enhancements.
315
316         The new keys (previously undefined) are:
317
318                 Control-F1 -- toggle 80/132 columns
319                 Control-F2 -- soft reset emulator
320                 Control-F3 -- toggle force 24 lines mode
321                 Control-F4 -- toggle keyboard debugging
322
323                 Shift-F1 -- select screen 4
324                 Shift-F2 -- select screen 5
325                 Shift-F3 -- select screen 6
326                 Shift-F4 -- select screen 7
327                 Shift-F5 -- select (current screen - 1)
328
329         6 -- [Enhancement] The initial startup screen is cleared, and
330         the screen gets cleared when changing modes/sizes.  I don't like
331         this.  I want a chance to see bootstrap loader messages, and I
332         also want the command "scon -d/dev/ttyv0 -H -s28" in my
333         rc.local, but then I lose various messages from daemons, etc
334         (which aren't always logged to syslog).  So I have fixed the
335         code so that it tries to preserve the contents of the screen
336         when starting up, and when changing modes/sizes.
337
338         7 -- [Enhancement?] I added code to preserve the initial cursor
339         shape at startup.  This isn't really necessary, since the
340         "cursor" command can be used to set it to your preference; but
341         it seems like this is the preferable policy to use for the
342         default.
343
344 - applying patches from Onno van der Linden and Martin Husemann: adding
345         support for post 1.0 NetBSD-current and adding PCVT_NO_LED_UPDATE
346
347 - patch from Joerg Wunsch: support for FreeBSD 2.0 and better support
348         for serial console coexistence
349
350 - bugreport from Michael Havemester regarding PCVT_NOFASTSCROLL: it was
351         not enabled in pcvt_vtf.c, fixed. 
352
353 - renamed pcvt_disable_intr and pcvt_enable_intr to PCVT_DISABLE_INTR and
354          PCVT_ENABLE_INTR (Joerg)
355
356 - attempt to automatically compile time configure in pcvt_conf.h, how
357         does FreeBSD do this ? should work for NetBSD (from Onno v.d. Linden)
358
359 - split off pcvt_kbd.h from pcvt_kbd.c, file > 100k
360
361 - split off pcvt_config.h from pcvt_hdr.h. All compile time configurations
362         should be put into pcvt_config.h now.
363
364 - moved version definitions to begin of file  in pcvt_ioctl.h and pcvt_hdr.h
365
366 - fixing NetBSD #ifdef in pcvt_drv.c
367
368 - fixed bug in scon. when doing "scon -c <num>" the destination screen was
369         cleared, this is fixed now by properly setting "force_24lines"
370
371 - added kbdio utility from Joerg into Util directory
372
373 - changed font dir from /usr/share/misc/vgafonts to /usr/share/misc/pcvtfonts
374
375 - Fix for Gateway 2000 keyboard problems from Brian Moore
376
377 - Starting to implement more keymoard mapping layers in pcvt_kbd.c. This
378         section is a building site, enclosed in NOT_YET_DEF ifdef's
379
380 - VT_SETMODE ioctl patch from John Kohl <jtk@kolvir.blrc.ma.us>, see text
381         from John in the source file pcvt_ext.c
382
383 - patch from Joerg for kbd_emulate_pc(), intro of timeout
384
385 - fixed bug in soft/hard reset and real system fkey labels
386
387 - added patch from Joerg for FreeBSD 1.1.5.1R
388
389 - fixed both SR and SF entries in termcap database file
390
391 - removed SR entry in termcap database file (bugreport from John Perry)
392
393 - bugfix in cirrus 132 column switching got from Onno/Charles
394
395 - french keycap database entry from Matthieu Herrb
396
397 - cleanup patch from Joerg for Util/demo/Makefile und Util/fonts/Makefile
398
399
400 Changes 3.00 -> 3.10                                                   June 1994
401 --------------------------------------------------------------------------------
402
403 - patch from Joerg correcting my assumed timeout/untimeout FreeBSD casts
404
405 - adjusted some #if's while validating NetBSD 0.9 and NetBSD-current
406
407 - rolled in Joerg's changes for a pre-1.1.5 (?) FreeBSD-current
408
409 - Util/fonts: install only the necessary fontfiles, vt100 not used anymore
410
411 - updated and commented Etc/rc.local and updated to more recent /etc/ttys files
412
413 - updated all installation instructions and changed their names
414
415 - documenting more PCVT_ options in pcvt_hdr.h
416
417 - adding CONF_ options to driver config ioctl and upgrading ispcvt
418
419 - commenting the source, housekeeping, step up to 3.10 beta 2
420
421 - casting timeout()/untimeout() for FreeBSD 1.1R :-(
422
423 - unprotecting vgapage() routine with #if !PCVT_KBD_FIFO
424
425 - adding Michael Havemester's keyboard fifo diffs to source tree
426
427 - pcvt_drv.c: made declaration of Crtat global for this file for NetBSD
428
429 - changing Util/fonts/Makefile and Util/demo/Makefile to run in all
430         supported environments
431
432 - moving inline from pcvt_vtf.h into pcvt_hdr.h, i still feel that this is
433         not the best solution, but i got annoyed by the 10 line pcvt_vtf.h
434
435 - bugfix, in hpmode, clear last 4 lines when 28 column mode and force
436         24 lines are true
437
438 - applying patch from Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>:
439         - discard escape sequences ESC space F and ESC space G
440         - discard escape sequences DECELR = enable locator report
441                 and DECSLE = select type of locator event
442         - disable scrolling when writing outside the scrolling region
443                 at an absolute position.
444
445         [ pcvt now seems to be "VAX resistant" :-) ]
446
447 - optional switch to screen 0 can be done on kernel/console output
448
449 - fixed kernel output cursor positioning
450
451 - removed PCVT_FORCE8BIT
452
453 - pcvt_ext.c, changed screen switching bcopyb's to bcopy's
454
455 - new patch from Onno to support all BIOS versions of the Cirrus chipset.
456
457 - pcvt_x_hook() has to care about fkey labels now
458
459 - updated Doc/NotesAndHints and Doc/BugList
460
461 - applied patch from Onno van der Linden for updated Cirrus chipset support
462
463 - updated Doc/Bibliography
464
465 - removed paranoid delay()/DELAY() from vga_test()
466
467 - added prototype ttrstrt() into pcvt_drv.c for NetBSD 0.9 
468
469 - made INSTALLATION.NetBSD and INSTALLATION.NetBSD.bundled from mycrofts base
470
471 - Charles Hannum took Michael Havemesters speedup modifications, made some
472         further enhancements and after adding support for pcvt, put it into
473         the NetBSD-current tree. THANK YOU, Charles !
474         The NetBSD version of May 20th '94 was taken as the base for 3.10.
475
476
477 Changes 2.20 -> 3.00                                                  March 1994
478 --------------------------------------------------------------------------------
479
480 - Release 3.00
481
482 - last minute patch from Joerg (pcvt_hdr.h, BugList, NotesAndHints)
483
484 - included speedup patch from Michael Havemester as Etc/LAST-MINUTE
485
486 - updated Doc/pcvt.4
487
488 - removed bug in Util/ispcvt/Makefile which caused ispcvt to be installed
489         into /usr/sbin and /usr/local/bin
490
491 - split ioctl VGAPCVTID into two: intro of ioctl VGAPCVTINFO for compile
492         time options only.
493         VGAPCVTID is now frozen for identification purposes (XFree86 3.0)
494         updated Util/ispcvt for the above mentioned changes
495
496 - issued patch to upgrade beta14 to beta16
497
498 - bugfix: when scrolling up (bcopy) is interrupted by a keystroke requesting
499         a change of the current screen, the "new" screen is scrolled up. Fixed
500         in pcvt_kbd.c and pcvt_out.c (check_scroll)
501
502 - fixed bug "Jumping through vt's with ALT-F12 does jump over vt0"
503
504 - PCVT_PCBURST intro, update of ioctl and Util/ispcvt
505
506 - NetBSD speedup patch from Michael Havemester (factor 6-10)
507
508 - issued patch to upgrade beta14 to beta15 (never officially announced)
509
510 - added patch for ttioctl parameters NetBSD-current 12 Feb 94 from Michael
511         Havemester in pcvt_drv.c
512
513 - INSTALLATION.xxx(x)BSD upgraded to reflect changes in Util and NetBSD-current
514
515 - struct pcvtid changed to hold the value of PCVT_xxx(x)BSD, ispcvt upgraded
516
517 - applied patch from Szabolcs Szigeti for 132 column operation  for Trident
518         TVGA 8900B and TVGA8900C based boards
519
520 - PCVT_NETBSD can/must now be 1 or 09 for Release 0.9 and > 09 for current
521
522 - applied patches from John Brezak and Szabolcs Szigeti for recent 
523         NetBSD-current changes (syscframe -> trapframe)
524
525 - in Util, removed Makefile.inc. Make Makefile.inc.FreeBSD and
526         Makefile.inc.NetBSD and added a check to the toplevel and every
527         other Makefile in this part of the tree. sigh ...
528
529 - patch from Joerg for pcvt.4 Makefile and Debugger in FreeBSD
530
531 - issued pcvt-beta14, code freeze for 3.00 release, just bugfixes now
532
533 - INSTALLATION.FreeBSD and a small cleanup patch from Joerg
534
535 - large patch from Joerg to get pcvt FreeBSD-current compliant
536
537 - permission/owner cleanup, files:664, dirs:775, user:root, group:wheel
538
539 - got rid of the verbose error message when installing in Util/fonts
540
541 - new make-method in Util/kcon to workaround make portability problems
542
543 - NetBSD-current detection workaroundaroundaround for NEW_AVERRUNNABLE in
544         pcvt_header.h
545
546 - MONO_BUF and COLOR_BUF now ifndef'ed
547
548 - fixed typo in pcvt_kbd.h in cfkey11() and cfkey12()
549
550 - machine/pio.h must be included in pcvt_hdr.h for recent NetBSD-current 
551
552 - protected every tsleep call with an "if(curproc)" otherwise there is
553         chance to panic the system (Joerg has an idea why ...)
554
555 - more fixes from Joerg: keyboard scansets fixed, X server is now aware
556         of redefined keys (ioctl implemented)
557
558 - patch from Heiko Rupp, configuration with XSERVER not defined didn't  compile
559
560 - new version of vgaio from Joerg installed
561
562 - large keyboard cleanup patch from Joerg merged in
563
564 - bugfixes from Joerg: fix crash on not-open vt, remove pcxint, add option
565   PCVT_INHIBIT_NUMLOCK (for notebook owners :-), support for EGA/VGA
566   fonts with up to 32 scanlines.
567
568 - included vgaio, a program to read/write vga register values from Joerg.
569
570 - included mcon, the keyboard mouse emulator control program from Joerg.
571
572 - applied averrunnable patch to satisfy the most recent NetBSD-current.
573
574 - fixing cursor not updated bug if usl/vt server is running on vt0
575
576 - polished some chars in Util/fonts/vt220l.810, fixed all permissions in
577         the uuencoded fontfiles.
578
579 - debugged the EGA/VGA curses based font editor 'fed' in Util/fed. It seems
580         it's working ok now now.
581
582 - updated copyright header files
583
584 - synchronize asynchronous cursor position update with having a valid
585         (new) cursor (row) position from sputc(). (Otherwise a cursor
586         would appear temporarily in the first position of the first
587         function key label in the HP mode)
588
589 - updated screeninfo ioctl and scon to report the monitor type
590
591 - added file Doc/Notes for random notes and hints for pcvt-users.
592
593 - enhanced the pcvtid-ioctl and the ispcvt(8) utility to print out the
594         values of all "PCVT_XXXXXX" compile time options.
595
596 - included work from Joerg to convert all ifdef's to if's, to be able
597         to compile various configurations of pcvt without changing
598         options in the header file.
599
600 - included (currently untested !) patch for a keyboard mouse emulator
601         from Joerg. (he got problems after he bought a notebook with
602         just one serial port, which he wanted to use for slip ...)
603
604 - screensaver reset is now also done asynchronously to get more speed. the
605         function average() was renamed to async_update().
606
607 - cursor position update and cursor position display in HP mode is now done
608         asynchronously in function average() in pcvt_sup.c. the function
609         update_cursor does no longer exist. this gave about 10..30% increase
610         in speed depending on the data cat'ed (termcap, kernel, 1Mb nulls)
611
612 - HP function key emulation processing debugged, this has to be rewritten
613         to use a stack and a new parser. elm -K now works a bit more, the
614         display is not garbled anymore, but fkey strings do not work.
615
616 - pcvt_vtf.c split off from pcvt_out.c, file got > 100k. Checked all
617         forward declarations in header and source files
618
619 - 132 column support for Cirrus Logic CL-GD542X chipsets written by
620         Onno van der Linden, c/o vdlinden@fwi.uva.nl
621
622 - keyboard scancode display     (#define PCVT_SHOWKEYS)
623
624 - printscreen keycode fix form Onno van der Linden
625
626 - Util/Makefile.inc added .depend dependency for make depend
627
628 - pcvt_ioctl.h is now installed into /usr/include/machine.
629
630 - keyboard scancode 1 is now used by default, perhaps it cures some problems
631
632 - support for keyboard scancodes sets 1 and 2 (compile time selectable via
633         PCVT_SCANSET), patch from Onno van der Linden, c/o vdlinden@fwi.uva.nl
634
635 - Util/fontedit.c updated to "#if defined (__386BSD__) || defined (__NetBSD__)"
636         (suggested by Mark Weaver, Mark_Weaver@brown.edu)
637
638 - 132 column support for S3 86c928 chipsets
639
640 - split off pcvt_ext.c from pcvt_sup.c, it was more than 100k ....
641
642 - intro of Doc/Manifest and Doc/TestedHardware, removed README.X-PATCH because
643         it was now really outdated
644
645 - superprobe compatibility patches from Joerg
646
647 - intro of file Doc/BugList
648
649 - another powerpatch from Joerg:
650         - some vgaioctl's are now available if in X mode (i.e. to scon to 
651                 another screen from within an xterm)
652         - removed bug in keyboardhandling, numlock'ed numkeys did send an
653                 additional null (0x00) char, this has been fixed now.
654         - SysRq key made functional
655
656 - made force 24 lines (see below) the default configuration to have a well
657         behaving vt220 emulator at startup.
658
659 - every vt now has a separate caps-lock, num-lock and scroll-lock flag and
660         a separate handling of these lock-keys.
661
662 - made sleeping in case of scroll lock working from an earlier patch from Joerg.
663
664 - large patch from Joerg:
665         - Doc/pcvt.4 updated to reflect recent changes
666         - struct winsize set ok when switching between HP/VT
667         - struct winsize pixels reflect real values now
668         - ioctl for switching between 80 and 132 cols
669         - 132 columns for generic VGA's 
670         - updated scon to provide access to ioctl 80/132 col switching 
671
672 - removed pcconcoftc and kbdsoftc structures from header files, removed
673         pcconsintr variable and introduced kbd polling synchronization
674         variable kbd_polling.
675
676 - merging Joerg's patch to support 132 columns on Tseng Labs ET3000
677
678 - moved  Util/uemacs/* --> Etc/uemacs.tar.Z.uu
679
680 - added patches from Joerg for new Makefiles in Util
681
682 - added keyboard security define's to the new X server code
683
684 - adding bugfixes from Joerg Wunsch for "old" (= non vt switching) X server
685
686 - Control-Alt-Functionkey(1...12) switches now virtual screens/terminals to
687         behave consistently with xfree 2.0, also the pages are now checked
688         against the real no. of terminals available ALL the time ...
689
690 - pcvt_hdr.h: changed "int pcstart();" to "void pcstart();" to avoid warning
691         message when compiling under NetBSD-current
692
693 - Doc dir split into Doc and Etc, Support renamed to Util
694
695 - adding NetBSD-current support for new X server support (syscframe changed 
696         to trapframe in NetBSD-current as of 11/11/93)
697
698 - adding Joergs changes for XFree86 2.0 multiple X server and/or terminal
699         session support
700
701 - adding entries from patchkit 0.2.4 codrv keymap to Support/keycap/keycap.src
702
703 - Keyboard security introduced into the XSERVER dependent part in pcvt_drv.c
704
705 - renamed device files from /dev/ttycXX to /dev/ttyvXX
706
707 - added file Doc/pcvt.el from Joerg Wunsch to distribution
708
709 - added HP-mode function key map from Gordon L. Burditt to description
710         in Doc/Keyboard.HP
711
712 - fixed bug in scon which prevents it from showing the correct status of
713         132 column support of chipset
714
715 - 132 column mode for Trident TVGA9000 works now, after 2 1/5 months of 
716         calling everybody i eventually got a tech ref manual from Trident .... 
717
718 - it is now possible to "force" pcvt into a 24 line mode when operating
719         in pure VT mode with 25 lines or in HP mode with 28 lines. This
720         is sometimes necessary when running software which assumes it runs
721         on a "real" VT220 which has just 24 lines.
722
723 - updated scon to support the 24 lines force mode (scon -f [ on | off ])
724
725 - soft reset fkey now positions cursor into left upper corner, update_cursor()
726         made global function
727
728 - updated scon (-l) to print out additional info about the vga chipset,
729         family and 132 column support if VGA detected.
730
731 - added additional fields to screeninfo structure in pcvt_ioctl.h to be
732         able to return information about current vga chipset.
733
734 - moved VGA type/family definitions from pcvt_hdr.h to pcvt_ioctl.h
735
736 - Terminfo and Termcap updated to support 132 columns
737
738 - fixed bug in kcon which outputs garbage for remapped keys in kcon -l.
739         (reported by Gordon L. Burditt, gordon@sneaky.lonestar.org)
740
741 - modified Makefile for Support/ispcvt to copy it for installation instead
742         of moving it ..
743
744 - renamed /usr/share/misc/keycap -> /usr/share/misc/keycap.pcvt to
745         avoid nameclash with same file for codrv (Gordon Burditt)
746
747 - security bit no longer ignored when initializing keyboard (see #define
748         PCVT_USEKBDSEC in pcvt_hdr.h, suggested by Terry Lambert)
749
750 - cpufunc.h include made only for NetBSD (Gordon Burditt)
751
752 - switch statement in pcvt_drv.c removed for 386BSD (Gordon Burditt)
753
754 - Trident cursor size bug removed
755
756 - keyboard initialization for ddb
757
758 - added support for cursor on/of switching, screensaver and DECTCEM
759
760 - removed explicit Hercules support, MDA = Hercules in this context now
761
762 - patchkit from Joerg Wunsch (kbd-overlay malloc, scroll_sleep, clip fix)
763
764 - ispcvt now installed into /usr/sbin
765
766 - removed PCVT_NETBSD08 and PCVT_NETBSDCU, intro of PCVT_NETBSD
767
768 - implemented 132 column operation for wd90c11 chipsets
769
770 - PCVT_PREPATCH022 renamed to PCVT_NEEDPG
771
772 - INSTALLATION.NetBSD written
773
774 - DEVICE in kcon makefile changed from /dev/console to /dev/ttyc0
775
776 - new keyboard code in pcvt_kbd.c from NetBSD current
777
778 - new /etc/rc.local script in INSTALLATION
779
780 - implemented 132 column operation for et4000 chipsets
781
782 - detection of super vga chipsets as a prerequisite for 132 col mode
783
784 - switched to memory mapped virtual screen operation, configurable no. of
785   virtual screens, virtual screens now also on MDA and Hercules boards
786
787
788 Changes 2.10 -> 2.20                                                   June 1993
789 --------------------------------------------------------------------------------
790
791 - added new option -a to scon to get the video adaptor in scripts
792
793 - support for NetBSD-current, define PCVT_NETBSDCU to enable it
794
795 - Support for NetBSD 0.8, define PCVT_NETBSD08 in pcvt_hdr.h to enable it.
796
797 - Change Support/Makefile to use <bsd.subdir.mk> instead of <bsd.prog.mk>
798
799 - Font editor for the EGA/VGA font-files added to support the design of new
800   fonts. One will need Zeyd M. Ben-Halim's ncurses library to compile it, see
801   file README.FIRST for information where to get it
802
803 - Doc/INSTALLATION upgraded
804
805 - Terminfo entry added to support Zeyd M. Ben-Halim's ncurses port
806
807 - ispcvt is now installed in /sbin to have it at boottime if /usr is not
808         yet mounted.
809
810 - applied a patch which prevents CAPS LOCK, SHIFT LOCK, and SCROLL LOCK
811         from being repeated (causing i.e a flashing CAPS LOCK led while
812         holding CAPS LOCK key down).
813         (diff from Gordon L. Burditt, gordon@sneaky.lonestar.org)
814
815 - merging patches to support the pccons-model of X11 server support
816         (diff from Joerg Wunsch, joerg_wunsch@uriah.sax.de)
817
818 - file pcvt_drv.c routine pg() enclosed in "#ifdef PCVT_PREPATCH022" to solve
819         multiple defined symbols beginning with patchkit 0.2.2
820         (reported by Marko Karppinen, dreamer@purkki.apu.fi)
821
822 - added british keycap entry into keycap source file
823         (from Andy Duplain, duplain@rtf.bt.co.uk)
824
825
826 Changes 2.00 -> 2.10                                                  March 1993
827 --------------------------------------------------------------------------------
828
829 - detecting the presence of video boards has been changed to ask the 
830   BIOS "equipment byte" in the RTC-CMOS ram what's installed. this caused
831   many discussions but solved also many problems ....
832
833 - driver name changed from "pc" to "vt" for multiple driver coexistence
834         (diff from Joerg Wunsch, joerg_wunsch@uriah.sax.de)
835
836 - new devicenames recommended for showup in utils like "ps"
837         (many people suggested that ..)
838
839 - new location for manual pcvt.0
840         (diff from Joerg Wunsch, joerg_wunsch@uriah.sax.de)
841
842 - new demo file "sgr.vt" to show available graphic renditions
843
844 - intro of Doc/ChangeLog (this file)
845
846 - fixed bug in Support/keycap/Makefile
847         (diff from Gordon L. Burditt, gordon@sneaky.lonestar.org)
848
849 - make vttest (main.c) compile after applying patchkit-beta2
850
851 - screensaver fixed by Joerg Wunsch
852
853 - screensaver now compiled in by default
854
855 - made recognition of CONTROL-ALT-DELETE an optional #ifdef'ed feature
856
857 - added sgr-conversion table for MDA adaptors
858
859 - fixed sgr-conversion table for VGA monochrome environments
860
861 - added support for using the kernel debugger
862         (diff from Bruce Evans, bde@runx.oz.au)
863
864 - fixed several bugs regarding monochrome environments in pcvt_sup.c
865
866 - fixed bug in scon preventing one from piping output though more
867         (reported by Gordon L. Burditt, gordon@sneaky.lonestar.org)
868
869 - display current screen number in HP-mode in the bottom right of screen
870
871 - changed names of all #define-able compile time options to start with
872   "PCVT_" for easy identification and installation into the kernel config file
873
874 - applied another pcvt_kbd.c patchkit from Bruce Evans, bde@runx.oz.au. he
875   writes:
876
877         These fixes are mainly related to ddb.  sgetc has a weird interface that
878         has caused some bugs, and it was too easy for ddb to reenter itself.
879         
880         1. Don't use char for keypad2num, char might be unsigned.  Space is not
881            important since the array is small.
882         
883         2. Don't use u_short for n.
884         
885         3. Change some 0's to NULLs.
886         
887         4. sgetc must not return NULL for the !noblock case.  Only callers with
888            noblock set check for the null pointer.  When the kernel follows a
889            null pointer, I think page 0 is sometimes mapped in so nothing bad
890            happens.  The kernel panics if the page is not mapped in.
891         
892         5. Reentrancy fix. The debugger really ought to check for reentrancy
893            itself, but the driver still needs to return early after the 
894            debugger returns, so that it doesn't return a junk ESC from
895            ctrl-alt-ESC.
896         
897         6. xlatkey2ascii may return NULL too.
898
899 --------------------------------------------------------------------------------