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

Inputting ° has strange side effects

Started by zacchi4k, 09 September 2016 - 01:54 PM
zacchi4k #1
Posted 09 September 2016 - 03:54 PM
° can't be inputted directly from the keyboard.
However, inputting it causes crashes and side effects.
If inputted while in the shell, it prints an error and shuts down the computer.
Spoiler
(screenshot taken just before shutdown)

If inputted while editing a program, it prints the error and returns to the shell. However, the screen is not cleared.
Spoiler
Edited on 09 September 2016 - 03:51 PM
KingofGamesYami #2
Posted 09 September 2016 - 05:29 PM
That symbol is not supported by all versions of computercraft. The behavior before a certain version would be to simply replace it with a '?'. However, when blit was added things got messed up. It's been fixed in later versions, IIRC.
TheRockettek #3
Posted 09 September 2016 - 07:27 PM
you can try using lua and doing "term.redirect(term.native()) shell.run("edit eprogram")" in the same cpmmand line and it will replace unknown characters with ?