Introduction
Introduction Statistics Contact Development Disclaimer Help
Officially break with the old binary protocol. - sam - An updated version of th…
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit 8cfd5730916941d0a11e24a3152898fc0e9b1091
parent 6aef2cc353e5ab781a6a36761fb8518f1296e163
Author: Rob King <[email protected]>
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(-)
---
diff --git a/README.rst b/README.rst
@@ -62,17 +62,28 @@ The `B` command adds a new file to a running instance of sa…
Running Remotely
--------------------
-Both the `sam` and `B` commands accept an '-r' argument, naming a remote machi…
+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 machi…
+If it is installed,
+the `B` command can be executed both locally (on the machine running `samterm`…
+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 def…
+Compatibility
+-------------
+
+Note that Deadpixi sam has extended the binary protocol spoken between sam and…
+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…
- Provided the implementation of the Cscrolldownline command and inspiration…
+ Provided initial implementations of the Cscroll{up,down}line commands.
Aram Hăvărneanu
Improved the handling of Makefile variables.
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 t…
#define DATASIZE (UTFmax*TBLOCKSIZE+30) /* ... including protocol head…
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:
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.