This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Herû's profile picture

Change the menu button in edit

Started by Herû, 01 February 2013 - 08:53 PM
Herû #1
Posted 01 February 2013 - 09:53 PM
I have a suggestion: Change the button to open menu from ctrl to a button who we don't use in edit (for example alt). Because we use ctrl to get symbols like [, ], { and }.

Hope this is a good, little, suggestion.
Cranium #2
Posted 02 February 2013 - 06:18 AM
I assume you use a non-english keyboard? If so, you should be able to just use ctrl, then ctrl and your key to use the character you want
Zudo #3
Posted 02 February 2013 - 06:25 AM
Not hard to change tho :)/>
ChunLing #4
Posted 02 February 2013 - 10:15 AM
Use your other Ctrl key, for a simple fix.
diegodan1893 #5
Posted 02 February 2013 - 10:45 AM
In my keyboard (spanish) the problem is the menu opens if you press Ctrl, Alt, Alt Gr (to write { and }) and the other Ctrl
ChunLing #6
Posted 02 February 2013 - 11:39 AM
Ah, I suppose that the keyboard is designed to send a series of key codes to emulate things, and that ends up always using the L Ctrl key code.

Use a simple eventPull loop to figure out the vagaries of your keyboard, and edit the edit program so that it uses a key code you don't need a lot.
tesla1889 #7
Posted 03 February 2013 - 11:39 AM
actually, now that i think about it, non-standard keyboard support seems logical

in fact, maybe there should be a way to add foreign language support as well
ChunLing #8
Posted 03 February 2013 - 08:38 PM
The problem with supporting non-standard keyboards is that they tend to be…non-standard. Granted that they can often be non-standard in fairly standard ways, it is nonetheless a real barrier.

Anyway, users can currently change the edit button in the edit program if they so wish. It is not difficult…even without the several detailed tutorials that have been written.
tesla1889 #9
Posted 04 February 2013 - 06:49 PM
i heard rumors of extended unicode support

if that is true, foreign language support is the next logical step
Dlcruz129 #10
Posted 04 February 2013 - 06:53 PM
i heard rumors of extended unicode support

if that is true, foreign language support is the next logical step

I made a suggestion for this a while ago. Lua has trouble with Unicode characters. Go to a Lua emulator and type print("À"). It just outputs some weird gibberish.
tesla1889 #11
Posted 06 February 2013 - 04:49 PM
–snip–

the nice thing about Lua is that it's capabilities are limited only by the interpreter and the environment

if you rewrite the Lua installation (which im not pretending is an easy task in the slightest), extended unicode is possible



EDIT: try print("À") here

it actually works