Are you referring to the POSIX stty utility program?
The stty system call (the programmatic interface that another program would be expected to use to "print or change terminal characters") is not supported in Linux:
DESCRIPTION
These system calls are not implemented in the Linux kernel.
I'm not sure what exactly you want to change via stty, but check and see if those settings (whatever they are) are supported by the termios library functions (i.e. run 'man termios' and read up on them) and let me know which.
I'm looking at playing around with 7 and 8 data bits and even parity so things like CS7 CS8 PARENB and unsetting PARODD are what I would want to set so yes, if there's a way of passing parameters like those, that would work.
The stty command shows evenp is a cobination of cs7 parenb and -parodd
Ok got it. Is there a way in JS to display whatever the term settings are? Doesn't need to be as a formatted string, as long as I can figure it out some how.