git.y1.nz

mtm

Ncurses-based terminal multiplexer
download: https://git.y1.nz/archives/mtm.tar.gz
Files | Log | Refs

commit ca578d6e7a83978fa40f99436b6f8d9960ccb02e
parent cb6925e9947a2874c9e479c3ce8d105dbdc1b0b5
Author: Rob King <jking@deadpixi.com>
Date:   Sun, 28 Jul 2019 22:10:16 -0500

Documentation improvements.

Diffstat:
Mtablegen.c26++++++++++++++++++++++++++
Mvtparser.c6+-----
2 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/tablegen.c b/tablegen.c @@ -1,3 +1,29 @@ +/* Copyright (c) 2017-2019 Rob King + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the copyright holder nor the + * names of contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS, + * COPYRIGHT HOLDERS, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ #include <stdio.h> #include <stdlib.h> #include <wchar.h> diff --git a/vtparser.c b/vtparser.c @@ -160,9 +160,5 @@ vtwrite(VTPARSER *vp, const char *s, size_t n) } } -/**** STATE DEFINITIONS - * This was built by consulting the excellent state chart created by - * Paul Flo Williams: http://vt100.net/emu/dec_ansi_parser - * Please note that Williams does not (AFAIK) endorse this work. - */ +/* Include the generated state tables. */ #include "vttable.c"

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.