orgMINT / MINT

MINT2 The latest version of MINT
GNU General Public License v3.0
16 stars 3 forks source link

control keys #19

Open SteveJustin1963 opened 2 weeks ago

SteveJustin1963 commented 2 weeks ago

^ caret means control key uppercase lettes cannot be entered with control key

issue 1 no of these can be entered from k/b both interactively nor in a file ^E edit a definition ^H backspace ^L list definitions ^R re-edit ^S print stack you cannot press ^ and shift and the letter, pressing caps lock does not work either suggest drop letters to lowercase

issue 2 - optional ^c (break) needs to be added so while testing code one gets into an infinite loop you can break out and keep your mint program still in memory. workaround presss reset button and enter fixed code

issue 3 pressing ^lowercase yields weird results eg press ^s get

=> 09FE 09FC 09FA 09F8 09F6 09F4 09F2 09F0 09EE 09EC 09EA 09E8 09E6 09E4 09E2 09E0 09DE 09DC

note ASCII code for the Ctrl key itself does not exist, as Ctrl is a modifier key, not a character. However, when used in combination with other characters, it modifies the ASCII code of the character being typed.

In ASCII, when you press Ctrl along with a letter (let's say P), it typically generates a control character by subtracting 64 from the ASCII value of the uppercase letter.