M
M
mortify2016-04-23 16:24:45
linux
mortify, 2016-04-23 16:24:45

Commands in the terminal, what to read?

Hello! I trained in writing native applications in ruby ​​and came across this:

begin
  system("stty raw -echo")
  mode = STDIN.getc
ensure
  system("stty -raw echo")
end

And specifically in all this I don’t understand
system("stty raw -echo")
What is it and where can I read about it? Google refused to help me :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alegzz, 2016-04-23
@mortify

man stty - first link in google https://www.opennet.ru/man.shtml?topic=stty&category=1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question