Thanks! I do have a question, though. I'm trying to run the startup.sh script below:
What this is supposed to do is to set the serial ports to 72 column width and set the iexten, iuclc, olcuc, icanon and xcase flags on to handle uppercase only terminals (ASR 33 and ADM-3 for example)
This works fine from the command line. When I run the script in autoexec, though, the width is set to 72 properly but none of the flags are set.
Any ideas?
Code:
#!/bin/bash# startup.sh - Initializes serial ports for uppercase only terminalssudo stty -F /dev/ttyAMA0 cols 72 iexten lcase icanon xcasesudo stty -F /dev/ttyAMA1 cols 72 iexten lcase icanon xcasesudo stty -F /dev/ttyAMA2 cols 72 iexten lcase icanon xcasesudo stty -F /dev/ttyAMA3 cols 72 iexten lcase icanon xcasesudo stty -F /dev/ttyAMA4 cols 72 iexten lcase icanon xcasesudo stty -F /dev/ttyAMA10 cols 72 iexten lcase icanon xcase
This works fine from the command line. When I run the script in autoexec, though, the width is set to 72 properly but none of the flags are set.
Any ideas?
Statistics: Posted by toml_12953 — Sun Feb 16, 2025 4:40 am