mirror of
https://github.com/ksherlock/ample.git
synced 2025-12-26 09:24:07 +00:00
1
Bit Banger
ksherlock edited this page 2021-05-31 11:16:45 -04:00
When a serial port uses the null_modem device, the -bitbanger (-bitb) option is made available.
-bitbanger's argument may be:
file-- opens a filesocket.hostname.port-- Opens a tcp connection. This is raw connection; any protocol (telnet, ssh, etc) needs to be handled by the guest)./dev/pty(Apple) or/dev/pts(Unix) -- Attaches it to a new pseudo terminal (pty). I don't believe you can easily determine which pty it is, so usingptydevice directly is a better option.domain.pathname(Apple, Unix) -- Opens a UNIX domain socket.\\.\pipe\pipename(Win32) -- Opens/Creates a named pipe.
See also: