On 2020-05-07 13:13:49 +0200, Gero Treuner wrote:
> I don't think that raw mode per se changes the terminal configuration.

It necessarily does at some point. I suppose that this is like
"stty raw", which is described as:

    raw    same as -ignbrk -brkint -ignpar -parmrk  -inpck  -istrip  -inlcr
           -igncr  -icrnl  -ixon  -ixoff -icanon -opost -isig -iuclc -ixany
           -imaxbel -xcase min 1 time 0

i.e. it does not change the bindings, it just ignores them. Note that
most "features" should already be disabled by default. The main things
are -icrnl -ixon -icanon -opost -isig, though I think that in addition
to the -icanon implied by cbreak, the only visible changes would be:
  -ixon (disable XON/XOFF flow control)
  -isig (disable interrupt, quit, and suspend special characters)

And note that cbreak is just:

    cbreak same as -icanon

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to