+ The parameter buf points to a MBCS string to be output. This is processed\r
+ and buffered one character at a time by IIO_WriteOne() which handles TAB\r
+ expansion, NEWLINE to CARRIAGE_RETURN + NEWLINE expansion, as well as\r
+ basic line editing functions. The number of characters actually written to\r
+ the output device will seldom equal the number of characters consumed from\r
+ buf.\r
+\r
+ In this implementation, all of the special characters processed by\r
+ IIO_WriteOne() are single-byte characters with values less than 128.\r
+ (7-bit ASCII or the single-byte UTF-8 characters)\r
+\r
+ Every byte that is not one of the recognized special characters is passed,\r
+ unchanged, to the Terminal device.\r
+\r