I’d be happy just to gain that last line in each script. Since there are 8 lines on the display, why not allow 7 lines of script? Does that empty line serve any purpose beyond a visual cue?
Changing SCRIPT_MAX_COMMANDS to 7 in state.h leads to…
LN teletype.elf
/avr32-tools/lib/gcc/avr32/4.4.7/../../../../avr32/bin/ld: address 0x80086610 of teletype.elf section `.flash_nvram' is not within region `FLASH'
/avr32-tools/lib/gcc/avr32/4.4.7/../../../../avr32/bin/ld: address 0x80086610 of teletype.elf section `.flash_nvram' is not within region `FLASH'
collect2: ld returned 1 exit status
../libavr32/asf/avr32/utils/make/Makefile.avr32.in:459: recipe for target 'teletype.elf' failed
make[1]: *** [teletype.elf] Error 1
make[1]: Leaving directory '/target/module'
Makefile:24: recipe for target 'teletype.zip' failed
make: *** [teletype.zip] Error 2
The libavr32 stuff is above my pay grade though.