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

[1.74][SSP]BIOS crash when typing "type" into terminal.

Started by inverseOpposite, 10 November 2015 - 07:05 PM
inverseOpposite #1
Posted 10 November 2015 - 08:05 PM
Version: ComputerCraft 1.74

Description: BIOS crashes upon typing "type " into the main terminal prompt (crashes after the spacebar is pressed)

Expected result: Computer doesn't crash and continues to output the input type (file/dir) upon command completion

Reproduction:
Step 1: Use computer
Step 2: Type "type " into the terminal (the terminal crashes after the spacebar is pressed)

Screenshot:
http://imgur.com/G9L1VS2
Creator #2
Posted 10 November 2015 - 09:08 PM
Thanks for mentioning the issue, but I do believe it has been brought up before. Welcome to the forums!
gollark8 #3
Posted 11 November 2015 - 09:53 PM
I think it's due to a typo in the autocomplete function.
Wojbie #4
Posted 13 November 2015 - 09:54 AM
In meantime before this gets fixed you can fix it by yourself bu eather running or placing this piece of code in startup file:

shell.setCompletionFunction( "rom/programs/type", shell.getCompletionInfo()["rom/programs/delete"].fnComplete )
It resets the completion function to correct one instead of nilt it was cause of typo.
Wojbie #5
Posted 11 December 2015 - 01:16 AM
Fixed in 1.76pr2