aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-21 03:00:07 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-21 03:00:07 -0400
commit5c2d15d1f204b007e90390db4ccda0fbaf5c58fb (patch)
treee46d405e2d12fd15107b57015be9584e8977c138
parent2f8babf83a0c3ed8d8b26fa9b13b540b6f54fd3f (diff)
downloadfujinet-chat-5c2d15d1f204b007e90390db4ccda0fbaf5c58fb.tar.gz
Disable Break key in both config and client.
-rw-r--r--TODO6
-rw-r--r--config/config.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/TODO b/TODO
index 0423e87..52a1e34 100644
--- a/TODO
+++ b/TODO
@@ -16,14 +16,8 @@ Other stuff:
- Make control + 1 through 7 switch windows (same as Start), because
the XEGS and 1200XL Start keys are hard to reach while typing (brad
and MarkG).
-- Also, make Escape a "start key toggle". Not only XEGS and 1200XL will
- benefit: I *still* catch myself trying to type Esc+Number or Esc+A
- because Irssi uses that.
- Filter out the rest of the keystrokes that causes cgetc() to block.
Includes ctrl-/, ctrl-8, ctrl-9, maybe others (The_Doctor__).
-- Disable the Break key. It doesn't seem to hurt anything when you
- press Break, but it makes the edit window disappear for a split
- second.
- Stop using ASCII translation on the FujiNet. It's turning a outgoing
~ into a ^H (since ATASCII's backspace is DEL in regular ASCII). In
theory IRC servers always send us \r\n, we can support non-conforming
diff --git a/config/config.c b/config/config.c
index 3e47685..4e13290 100644
--- a/config/config.c
+++ b/config/config.c
@@ -516,6 +516,10 @@ void set_default_config(void) {
void main(void) {
char bad;
+ /* disable Break key. don't have to do it again in the client! */
+ POKE(0x10, PEEK(0x10) & 0x7f);
+ POKE(0xd20e, PEEK(0x01));
+
/* loading1.xex left the original DL address at $fe */
POKEW(0x0230, PEEKW(0xfe));