Hello,
I have been attempting to find a solution to this problem for some time now. I have a Minecraft Server running within a terminal. I would like to send a command to this program.
Ive read about screen command and the stty command....such modes in tty are
"echo (-echo) Echo back (do not echo back) every character typed.
echoe (-echoe) Echo (do not echo) ERASE character as a backspace-space-backspace string. Note: This mode will erase the ERASEed character on many CRT terminals; however, it does not keep track of column position and, as a result, it may be confusing for escaped characters, tabs, and backspaces."
Not sure if I can use these to send a command to a particular terminal. Basically for a better idea of this problem I want to send two commands.
1. save-all command, this will save all the content.
2. say command, this is used to say something. As this is operating in a terminal, any way to echo the command to the terminal line would work but we are not on the regular command line.
Ive tested but nothing so far has worked.
Thank you for the look.