I have a few questions. One, how would one determine the TTY a program uses, and then passing it as a argument to another program?
Also, I'm using the writevt program and i'm sending a string to a TTY device. It works fine, but doesn't use the carriage return i'm sending it with. So, my question is, how would I do this?
Thank you for your time.