0

So this is a tricky one. After having run matlab in a linux terminal, somehow the echo of keyboard input is lost. That is for example if I type "ls", I don't see "ls" in the terminal but just the output from ls. So somehow I think the echoing of keyboard input has been redirected somewhere. Is there a way to manually reset or direct the keyboard echoing back to stdout?

Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105
Patrick Kwok
  • 42
  • 10

1 Answers1

0

There's a few options to get around the issue you currently have, first using the stty command with sane would be useful here. Because this command will Reset all terminal settings to sane values incase it has been changed by accident. Then I would use the command stty -echo to make sure to turn off the echoing of terminal input and re-enable the echoing of the terminal with stty echo.

Here's some documentation about the stty commands: https://www.computerhope.com/unix/ustty.htm

Jaynord
  • 1
  • 3