Sortix 1.1dev nightly manual
This manual documents Sortix 1.1dev nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
|SF(1)||General Commands Manual||SF(1)|
|sf||[-i | -o] [device]|
0xF7 0xFF), most bytes represent themselves, an escape byte sequence (
0xF7 0xFD), and an end of messsage byte sequence (
0xF7 0xFE). UTF-8 encoded text will never need to be escaped. Data can be recursively framed. Exactly one of the -i and -o options must be set to control whether the program is in input or output mode. Input mode works by reading one byte at a time from stdin (or the device if given). It discards all read bytes until it finds a valid start of message byte sequence. It then decodes the body and writes the decoded bytes to stdout. Finally it finds an end of message byte sequence and exits. Output mode works by reading bytes from stdin until an end of file condition. It emits a start of message byte sequence to stdout (or to the device if given). It emits an encoded body with the contents of stdin. Finally it emits an end of message byte sequence. The device argument can be a device or the path of an existing unix socket. The options are as follows: sfnc(1), sfncd(1), serial-transfer(7)
|January 7, 2015||Debian|