Officially break with the old binary protocol. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 8cfd5730916941d0a11e24a3152898fc0e9b1091
 (DIR) parent 6aef2cc353e5ab781a6a36761fb8518f1296e163
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Thu,  1 Sep 2016 22:15:28 -0500
       
       Officially break with the old binary protocol.
       
       Diffstat:
         README.rst                          |      17 ++++++++++++++---
         sam/mesg.h                          |       2 +-
         samterm/mesg.c                      |       2 ++
       
       3 files changed, 17 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/README.rst b/README.rst
       @@ -62,17 +62,28 @@ The `B` command adds a new file to a running instance of sam, or starts sam if i
        Running Remotely
        --------------------
        
       -Both the `sam` and `B` commands accept an '-r' argument, naming a remote machine or (assuming you're using `ssh(1)`, an SSH host entry).
       +Both the `sam` and `B` commands accept an '-r' argument,
       +naming a remote machine or
       +(assuming you're using `ssh(1)`, an SSH host entry).
        The remote machine needs to have both `sam` and `rsam` installed.
        
        The remote machine may also have the `B` command installed.
       -If it is installed, the `B` command can be executed both locally (on the machine running `samterm`) using the '-r' option, and remotely (on the machine running `sam`) without the '-r' option.
       +If it is installed,
       +the `B` command can be executed both locally (on the machine running `samterm`) using the '-r' option,
       +and remotely (on the machine running `sam`) without the '-r' option.
        
        Installation Paths
        -------------------
        
        By default, `sam`, `rsam`, `samterm`, and `B` all end up in '$(BINDIR)' as defined in config.mk.
        
       +Compatibility
       +-------------
       +
       +Note that Deadpixi sam has extended the binary protocol spoken between sam and samterm.
       +The Deadpixi samterm won't work with a non-Deadpixi sam,
       +nor will a Deadpixi sam work with a non-Deadpixi samterm.
       +
        New Features
        ============
        
       @@ -257,7 +268,7 @@ Rob King
        
        Chris Siebenmann
            Fixed various bugs in font rendering, and ported Mark H. Wilkinson's mouse chording code to this version of sam.
       -    Provided the implementation of the Cscrolldownline command and inspiration for that of the Cscrollupline command.
       +    Provided initial implementations of the Cscroll{up,down}line commands.
        
        Aram Hăvărneanu
            Improved the handling of Makefile variables.
 (DIR) diff --git a/sam/mesg.h b/sam/mesg.h
       @@ -1,5 +1,5 @@
        /* Copyright (c) 1998 Lucent Technologies - All rights reserved. */
       -#define        VERSION        0
       +#define        VERSION        16091
        
        #define        TBLOCKSIZE 512                  /* largest piece of text sent to terminal */
        #define        DATASIZE  (UTFmax*TBLOCKSIZE+30) /* ... including protocol header stuff */
 (DIR) diff --git a/samterm/mesg.c b/samterm/mesg.c
       @@ -111,6 +111,8 @@ inmesg(Hmesg type, int count)
        
                case Hversion:
                        hversion = m;
       +        if (hversion != VERSION)
       +            panic("host-terminal version mismatch");
                        break;
        
                case Hbindname: