Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d7331f7
Now that UDKs are locked by default, we're fine to have Shift+F1...Sh…
davidrg Oct 26, 2026
fa5c10d
Fix DEC UDKs being reset on soft terminal reset when it should only o…
davidrg Oct 26, 2026
d718615
When UDKs are reset, reset the UDK lock to whatever the user set it to.
davidrg Oct 26, 2026
463e3f8
Map UDKF11...UDKF20 too
davidrg Oct 26, 2026
9a85bcc
Map PC F11...F20 to UDK11...20
davidrg Oct 28, 2026
c520e49
Fix potential buffer overflow when processing DECUDK with very long k…
davidrg Oct 30, 2026
504421d
Fix invalid parameters in DECUDK being ignored rather than canceling.
davidrg Oct 30, 2026
1c5672a
Fix the rest of the DECUDK sequence being dumped to the terminal when…
davidrg Oct 30, 2026
dff31c7
Ignore null key definitions in DECUDK as per DEC STD 070.
davidrg Oct 30, 2026
e646980
Comment - reminder for future work when VT420 and VT52x emulations ar…
davidrg Oct 30, 2026
49e7f4a
Fix the C1 control code SCI being interpreted as DECID
davidrg Nov 1, 2026
21d6915
Fix APC falling through to DCS causing the next received string to be…
davidrg Nov 1, 2026
2e55835
The VT220 doesn't support SOS, OSC, PM or APC. Receiving one of these…
davidrg Nov 1, 2026
7530a81
Add a new function for reading bytes from apcbuf discarding those byt…
davidrg Nov 1, 2026
ca3e7fc
Allow partial processing of DECUDK in the same way we allow it for DE…
davidrg Nov 1, 2026
e83c1f6
Fix missing hex digits resulting in garbage being placed in the key d…
davidrg Nov 1, 2026
f53d971
Treat 0xB0...0xB9, 0xC1...0xC6, and 0xE1...0xE6 as 0...9, A...F, and …
davidrg Nov 1, 2026
c5d6867
Update control sequences manual to describe current DECUDK implementa…
davidrg Nov 1, 2026
0ca1cfc
Update changes
davidrg Nov 1, 2026
9f2f3ea
Fix comment
davidrg Nov 1, 2026
95a1334
Fix another comment.
davidrg Nov 1, 2026
fec4d62
Fix handling of empty key definition
davidrg Nov 1, 2026
a339c9d
Fix an empty key definition not returning the UDK to sending DECFNK f…
davidrg Nov 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions doc/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,21 @@ as part of K95 at this time, the default terminal remains VT220 for now.
discarded and the remainder written to the terminal. While this behaviour was
intentional, it was incorrect and doesn't match any real terminal.
- Fixed rendering on large window sizes (this time for good I hope!)
- Fixed DEC UDKs being reset on soft terminal reset
- Fixed a potential buffer overflow in DECUDK processing
- Fixed DECUDK dumping the remainder of the DECUDK sequence to the terminal
when an odd number of hex digits was encountered. This behaviour was
inconsistent with the VT220, VT420 and VT520.
- Fixed null key definitions causing the remainder of a DECUDK sequence to be
dumped to the terminal. This behaviour was inconsistent with the VT220,
VT420, and VT520. Null key definitions are now ignored as per DEC STD 070.
- Fixed DECUDK not correctly ignoring certain bytes in the command string.
- Fixed DECUDK not correctly handling an empty key definition resulting in the
key being defined to garbage
- Fixed C1 control code SCI being interpreted as DECID
- Fixed APC causing all subsequent OSC, DCS and other string-type escape
sequences to be processed as APC (and so likely producing errors on the
command screen if APC is enabled) until terminal reset (K95 bug 845).

## Kermit 95 v3.0 beta 7 - 27 January 2025

Expand Down
530 changes: 513 additions & 17 deletions doc/ctlseqs.xml

Large diffs are not rendered by default.

60 changes: 20 additions & 40 deletions doc/keyb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1067,8 +1067,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F1</td>
<td>\880</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf1">\Kudkf1</a></td>
<td><tt>\{27}[1\{59}2P</tt></td>
<td colspan="6"><a href="#kverb_Kudkf1">\Kudkf1</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f01">\Ksni_s_f01</a></td>
<td colspan="3"><a href="#kverb_Kansif13">\Kansif13</a></td>
Expand All @@ -1080,8 +1079,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F2</td>
<td>\881</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf2">\Kudkf2</a></td>
<td><tt>\{27}[1\{59}2Q</tt></td>
<td colspan="6"><a href="#kverb_Kudkf2">\Kudkf2</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f02">\Ksni_s_f02</a></td>
<td colspan="3"><a href="#kverb_Kansif14">\Kansif14</a></td>
Expand All @@ -1093,8 +1091,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F3</td>
<td>\882</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf3">\Kudkf3</a></td>
<td><tt>\{27}[1\{59}2R</tt></td>
<td colspan="6"><a href="#kverb_Kudkf3">\Kudkf3</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f03">\Ksni_s_f03</a></td>
<td colspan="3"><a href="#kverb_Kansif15">\Kansif15</a></td>
Expand All @@ -1106,8 +1103,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F4</td>
<td>\883</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf4">\Kudkf4</a></td>
<td><tt>\{27}[1\{59}2S</tt></td>
<td colspan="6"><a href="#kverb_Kudkf4">\Kudkf4</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f04">\Ksni_s_f04</a></td>
<td colspan="3"><a href="#kverb_Kansif16">\Kansif16</a></td>
Expand All @@ -1119,8 +1115,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F5</td>
<td>\884</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf5">\Kudkf5</a></td>
<td><tt>\{27}[15\{59}2~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf5">\Kudkf5</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f05">\Ksni_s_f05</a></td>
<td colspan="3"><a href="#kverb_Kansif17">\Kansif17</a></td>
Expand All @@ -1132,8 +1127,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F6</td>
<td>\885</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf6">\Kudkf6</a></td>
<td><tt>\{27}[17\{59}2~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf6">\Kudkf6</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f06">\Ksni_s_f06</a></td>
<td colspan="3"><a href="#kverb_Kansif18">\Kansif18</a></td>
Expand All @@ -1145,8 +1139,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F7</td>
<td>\886</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf7">\Kudkf7</a></td>
<td><tt>\{27}[18\{59}2~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf7">\Kudkf7</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f07">\Ksni_s_f07</a></td>
<td colspan="3"><a href="#kverb_Kansif19">\Kansif19</a></td>
Expand All @@ -1158,8 +1151,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F8</td>
<td>\887</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf8">\Kudkf8</a></td>
<td><tt>\{27}[19\{59}2~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf8">\Kudkf8</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f08">\Ksni_s_f08</a></td>
<td colspan="3"><a href="#kverb_Kansif20">\Kansif20</a></td>
Expand All @@ -1171,8 +1163,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F9</td>
<td>\888</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf9">\Kudkf9</a></td>
<td><tt>\{27}[20\{59}2~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf9">\Kudkf9</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f09">\Ksni_s_f09</a></td>
<td colspan="3"><a href="#kverb_Kansif21">\Kansif21</a></td>
Expand All @@ -1184,8 +1175,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Shift-F10</td>
<td>\889</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf10">\Kudkf10</a></td>
<td><tt>\{27}[21\{59}2~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf10">\Kudkf10</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_s_f10">\Ksni_s_f10</a></td>
<td colspan="3"><a href="#kverb_Kansif22">\Kansif22</a></td>
Expand Down Expand Up @@ -2485,8 +2475,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F1</td>
<td>\2928</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf11">\Kudkf11</a></td>
<td><tt>\{27}[1\{59}4P</tt></td>
<td colspan="6"><a href="#kverb_Kudkf11">\Kudkf11</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f01">\Ksni_c_f01</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2497,8 +2486,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F2</td>
<td>\2929</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf12">\Kudkf12</a></td>
<td><tt>\{27}[1\{59}4Q</tt></td>
<td colspan="6"><a href="#kverb_Kudkf12">\Kudkf12</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f02">\Ksni_c_f02</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2509,8 +2497,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F3</td>
<td>\2930</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf13">\Kudkf13</a></td>
<td><tt>\{27}[1\{59}4R</tt></td>
<td colspan="6"><a href="#kverb_Kudkf13">\Kudkf13</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f03">\Ksni_c_f03</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2521,8 +2508,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F4</td>
<td>\2931</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf14">\Kudkf14</a></td>
<td><tt>\{27}[1\{59}4S</tt></td>
<td colspan="6"><a href="#kverb_Kudkf14">\Kudkf14</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f04">\Ksni_c_f04</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2533,8 +2519,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F5</td>
<td>\2932</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf15">\Kudkf15</a></td>
<td><tt>\{27}[15\{59}4~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf15">\Kudkf15</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f05">\Ksni_c_f05</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2545,8 +2530,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F6</td>
<td>\2933</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkdo">\Kudkdo</a></td>
<td><tt>\{27}[17\{59}4~</tt></td>
<td colspan="6"><a href="#kverb_Kudkdo">\Kudkdo</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f06">\Ksni_c_f06</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2557,8 +2541,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F7</td>
<td>\2934</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf17">\Kudkf17</a></td>
<td><tt>\{27}[18\{59}4~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf17">\Kudkf17</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f07">\Ksni_c_f07</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2569,8 +2552,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F8</td>
<td>\2935</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf18">\Kudkf18</a></td>
<td><tt>\{27}[19\{59}4~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf18">\Kudkf18</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f08">\Ksni_c_f08</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2581,8 +2563,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F9</td>
<td>\2936</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf19">\Kudkf19</a></td>
<td><tt>\{27}[20\{59}4~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf19">\Kudkf19</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f09">\Ksni_c_f09</a></td>
<td style="not-mapped" colspan="7"/>
Expand All @@ -2593,8 +2574,7 @@ this document to HTML isn't quite as strict, and the DTD is not comprehensive.
<td>Alt-Shift-F10</td>
<td>\2937</td>
<td style="not-mapped" colspan="4"/>
<td colspan="5"><a href="#kverb_Kudkf20">\Kudkf20</a></td>
<td><tt>\{27}[21\{59}4~</tt></td>
<td colspan="6"><a href="#kverb_Kudkf20">\Kudkf20</a></td>
<td style="not-mapped" colspan="2"/>
<td><a href="#kverb_Ksni_c_f10">\Ksni_c_f10</a></td>
<td style="not-mapped" colspan="7"/>
Expand Down
17 changes: 17 additions & 0 deletions doc/manual/k95bugs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,7 @@ <h2><a name="index">BUG LIST</h2>
<li><tt>[+] (K)</tt> <a href="#b842">842. Japanese-roman character set does not work</a>
<li><tt>[+] (K)</tt> <a href="#b843">843. SGR font attributes do not turn off if the reverse video attribute is set </a>
<li><tt>[+] (K)</tt> <a href="#b844">844. Cursor positioning on double-width lines in K95G</a>
<li><tt>[+] (K)</tt> <a href="#b845">845. APC causes subsequent string escape sequences (DCS, OSC, etc) to be interpreted as APC</a>
<!--
<li><tt>[ ] (K)</tt> <a href="#bxxx">xxx. </a>
-->
Expand Down Expand Up @@ -8231,6 +8232,22 @@ <h3><a name="b844">844. Cursor positioning on double-width lines in K95G</a></h3
<p>This is also logged as
<a href="https://github.com/davidrg/ckwin/issues/561">Issue #561 on Github</a>

<h3><a name="b845">845. APC causes subsequent string escape sequences (DCS, OSC, etc) to be interpreted as APC</a></h3>
<p>
When K95 receives an APC escape sequence it fails to clear the APC flag
whether or not the APC sequence is processed. This causes subsequent OSC,
DCS and other string-type control sequences to be interprted as APC instead
of their correct type until the terminal is reset. If APC is enabled, using
an OSC (like setting the title) or DCS (like setting user-defined keys) may
cause errors to appear on the command screen.
</p>
<p>
This affects all releases of Kermit 95 since at least 1.1.11 (February
1997). Older releases were not available for testing, but its possible the
bug may have been introduced as early as 1.1.7 (July 1996). It is fixed in
K95 3.0.0 beta 8.
</p>

<!--
<h3><a name="bxxx">xxx. </a></h3>
<p>
Expand Down
Loading
Loading