-1

I am learning about being able to change terminal parameters on red hat Linux, what are some professional applications in which this could be useful? Is this a common thing to do?

I am considering functions found on man stty

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255

2 Answers2

0

I don´t have enough reputation points but may be this question can be helpful How to enable/disable stty settings?

  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – Peregrino69 Oct 01 '21 at 23:08
0

stty is used to set parameters for serial communication.

In the old, old days, every manufacturers' serial terminals could have different speeds ("Baud rate"), bits per character, parity, duplex, character encoding, ..., If you got any of these wrong, serial communication would not work.

It's easier to communicate with strange devices (GPS reciever, "dumb" sensors, etc) via serial interfaces, than by requiring networking.

stty helps.

GUI environments, running terminal emulators, don't use serial communication, and find stty less useful.

waltinator
  • 4,865