term
term copied to clipboard
Package term manages POSIX terminals.
Not sure if this is the appropriate place for such a function, but it would be good to have this helper function included in this package. https://www.man7.org/linux/man-pages/man3/isatty.3.html
It does not build on Windows due to undefined open_pty_master and Ptsname.
As of torvalds/linux@1b8b20868a6d64cfe8174a21b25b74367bdf0560, unsupported ioctls now return ENOTTY instead of EINVAL. This change was also backported to the 5.10 stable branch, so it's a problem on the current release of...
# github.com/pkg/term/termios ..\..\..\..\..\..\..\pkg\term\termios\pty.go:20:14: undefined: open_pty_master ..\..\..\..\..\..\..\pkg\term\termios\pty.go:25:16: undefined: Ptsname ..\..\..\..\..\..\..\pkg\term\termios\pty.go:30:8: undefined: grantpt ..\..\..\..\..\..\..\pkg\term\termios\pty.go:35:8: undefined: unlockpt
This builds upon PR #45, but it could also be rebased ahead if desired. This adds a nice way for us to get the Window size, which is very useful...
Available() delegates to TIocinq, which is stubbed out as a no-op. https://github.com/pkg/term/blob/master/termios/termios_bsd.go#L81 Has anyone done evaluated what it would take to get it to work? Seems like you might at...
16b2e60 make `term/termios` a noop under windows, but the higher level `term` package is still POSIX specific. The plan is to add a new low level package for windows, `term/win32`...
Greetings, Not really an issue, but rather a question: I would like to use the Term package to talk to a piece of legacy equipment that only supports odd parity....
Currently, if I use the `github.com/pkg/term` package, there is no mechanism to allow a developer to modify arbitrary attributes of a terminal managed by a `Term` struct. This is unfortunate,...
We have an application which will open multiple serial ports ('real' serial ports like RS232 or USB CDC/ACM ones) simultaneously. It waits for the first arrival byte to decide which...