This is a small utility that sits silently in the background and modifies the behavior of some keys in the BASIC editor. For example, pressing the Home or End key will now move the cursor to the start or end of the current line like on modern electronic computers, instead of the corner of the screen. It also allows you to use the mouse to place the text cursor anywhere on the screen.
Keyboard tweaks:
<Home>: Go to start of current line
<End>: Go to end of current line
<Page up>: move cursor to first screen line
<Page down>: move cursor to last screen line
<Ctrl+Left>: skip over word to the left
<Ctrl+Right> skip over word to the right
Mouse: click to place cursor
Option keys:
<Shift+F11>: Unload sanekeys
<Shift+F12>: Toggle sanekeys on/off
To move the cursor to the corner like in the olden times, press <Ctrl+Home/End> or <Alt+Home/End>.
#R41
sanekeys - keyboard tweaks for the BASIC programmer
sanekeys - keyboard tweaks for the BASIC programmer
- Attachments
-
- sanekeys.prg
- (809 Bytes) Downloaded 497 times
Last edited by grml on Sat Jan 28, 2023 7:45 am, edited 2 times in total.
Re: sanekeys - changes how the Home and End keys work
v0.2 breathes life into the PgUp and PgDn keys (and is 67 bytes smaller )
Re: sanekeys - changes how the Home and End keys work
Nice idea actually.
For the authentic retro feel I would not use this program, but if you need to do a lot of work with text, switching your mind between modern and old behaviour of keys might be hard, so this should help.
For the authentic retro feel I would not use this program, but if you need to do a lot of work with text, switching your mind between modern and old behaviour of keys might be hard, so this should help.
Re: sanekeys - changes how the Home and End keys work
For the authentic retro feel I would not use this new computer.
I made this because every time I have to use the BASIC editor, it's driving me nuts. It was kind of okay back then at 40x25, but nobody got time to navigate a 80x60 screen like a troglodyte who just doesn't know any better.
I made this because every time I have to use the BASIC editor, it's driving me nuts. It was kind of okay back then at 40x25, but nobody got time to navigate a 80x60 screen like a troglodyte who just doesn't know any better.
Re: sanekeys - keyboard tweaks for the BASIC programmer
The heresy continues: v0.3 lets you skip over words/tokens in either direction with <Ctrl+Cursor left/right>.
Re: sanekeys - keyboard tweaks for the BASIC programmer
New version v0.4: with the latest offensively modern feature you can now use your rolling-ball tank mouse to click and place the text cursor anywhere on your Commodore 1084 CRT screen. It's gross.
Slowly running out of "golden RAM" for code, but I think it's pretty much feature complete now.
Slowly running out of "golden RAM" for code, but I think it's pretty much feature complete now.
Re: sanekeys - keyboard tweaks for the BASIC programmer
Holy Scancodes, Bitman! This is terrible! (And by terrible, I mean great!)grml wrote: ↑Sat Jan 28, 2023 7:49 am New version v0.4: with the latest offensively modern feature you can now use your rolling-ball tank mouse to click and place the text cursor anywhere on your Commodore 1084 CRT screen. It's gross.
Slowly running out of "golden RAM" for code, but I think it's pretty much feature complete now.
Re: sanekeys - keyboard tweaks for the BASIC programmer
doest this work? bc it seems it doesn't
Re: sanekeys - keyboard tweaks for the BASIC programmer
Heh, I love me some detailled bug report.
You're probably doing it wrong, but it's hard to tell because you didn't give any useful information. Wrong emulator version maybe? What happens?
You're probably doing it wrong, but it's hard to tell because you didn't give any useful information. Wrong emulator version maybe? What happens?
Re: sanekeys - keyboard tweaks for the BASIC programmer
Not working for me on R44 emulator.
did LOAD "SANEKEYS.PRG
it says loaded from $0801 to $0B29
That's only about 40 bytes, but the PRG is over 800 bytes?
LIST didn't show anything, not even a SYS.
Didn't see any effect from PGUP/PGDN, or did MOUSE1 and didn't see responses from mouse.
Stock R44 seems to have the HOME/END (end going to last character on current line).
Still a neat idea and would like to see it work (and understand how it is working), but for this isn't working for me.
did LOAD "SANEKEYS.PRG
it says loaded from $0801 to $0B29
That's only about 40 bytes, but the PRG is over 800 bytes?
LIST didn't show anything, not even a SYS.
Didn't see any effect from PGUP/PGDN, or did MOUSE1 and didn't see responses from mouse.
Stock R44 seems to have the HOME/END (end going to last character on current line).
Still a neat idea and would like to see it work (and understand how it is working), but for this isn't working for me.