Another way to do it would be to edit the file normally in Vim and then pipe its contents through the Unix command `head` in order to strip off the final byte (i.e. the final newline). Since you're feeding it to /dev/ttyS0, you could do something like this:
head -c -1 </path/to/text/file >/dev/ttyS0 Personally, I'd prefer this approach over the 'binary' hack required to make Vim do what you want, since 'binary' has other (probably undesired) effects besides enabling you to omit the final newline. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php