Skip to content
A remote-procedure-call implementation of the Glk IF API
Branch: master
Clone or download
Andrew Plotkin Andrew Plotkin
Latest commit 5140cef May 23, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Have a gitignore file. Mar 26, 2012
LICENSE More copyright dates. Jan 5, 2017
Makefile Merge branch 'master' into debugger Jan 19, 2017
README.txt Version number bump. Feb 14, 2017
cgdate.c Import bug fixes from cheapglk cgdate. Oct 15, 2016
cgunicod.c Update cgunicod.c. Jan 20, 2017
cgunigen.c Initial commit Mar 26, 2012
docs.html Version number bump. Feb 14, 2017
gi_blorb.c Move declarations to start of block. Apr 26, 2017
gi_blorb.h Move declarations to start of block. Apr 26, 2017
gi_debug.c Make consistent with cheapglk's gi_debug code. Jan 22, 2017
gi_debug.h Make consistent with cheapglk's gi_debug code. Jan 22, 2017
gi_dispa.c Copyright dates on gi_dispa. Feb 13, 2017
gi_dispa.h Copyright dates on gi_dispa. Feb 13, 2017
glk.h Pull updated glk.h. Feb 13, 2017
glkstart.c Initial commit Mar 26, 2012
glkstart.h Initial commit Mar 26, 2012
jsonvalidate.py Fixed a window struct bug. Mar 30, 2012
main.c Glk spec version bump. Feb 13, 2017
remglk.h Version number bump. Feb 14, 2017
rgblorb.c Initial commit Mar 26, 2012
rgdata.c Get rid of the list_move_all function, which is silly. Jan 21, 2017
rgdata.h Get rid of the list_move_all function, which is silly. Jan 21, 2017
rgevent.c Set up debug_pause. Jan 21, 2017
rgfref.c Remove old, insecure tmpnam() call. Oct 15, 2016
rggestal.c I haven't added graphics character input yet. Feb 13, 2017
rgmisc.c Build error -- need a stub function for gidispatch_set_autorestore_re… May 23, 2017
rgschan.c Initial commit Mar 26, 2012
rgstream.c Fix a char signedness error. Feb 9, 2017
rgstyle.c Add an include. Dec 29, 2016
rgwin_blank.c A little saner with the metrics handling Mar 29, 2012
rgwin_blank.h A little saner with the metrics handling Mar 29, 2012
rgwin_buf.c Better logic for setting the clear property in buffer window updates. May 23, 2017
rgwin_buf.h
rgwin_graph.c Fix a bug where setcolor and clear (on a graphics window) in the same… Jan 30, 2017
rgwin_graph.h Only send new graphwin data. Jan 5, 2017
rgwin_grid.c Margin math was wrong. Dec 16, 2016
rgwin_grid.h Window implementation code for hyperlink data. Dec 4, 2016
rgwin_pair.c Forgot the graphwin split logic. Jan 4, 2017
rgwin_pair.h A little saner with the metrics handling Mar 29, 2012
rgwindow.c Rearrange debug output code to be less awful. Jan 21, 2017

README.txt

RemGlk: remote-procedure-call implementation of the Glk IF API

RemGlk Library: version 0.2.6.
Designed by Andrew Plotkin <erkyrath@eblong.com>
<http://eblong.com/zarf/glk/remglk/docs.html>

This is source code for an implementation of the Glk library which
supports structured input and output.

RemGlk does not provide a user interface. Instead, it wraps up the
application's output as a JSON data structure and sends it to stdout.
It then waits for input to arrive from stdin; the input data must also
be encoded as JSON.

RemGlk is therefore like CheapGlk, in that it works entirely through
input and output streams, and can easily be attached to a bot or web
service. However, unlike CheapGlk, RemGlk supports multiple Glk
windows and most Glk I/O features. Whatever it's attached to just has
to decode the structured output and display it appropriately.


* Permissions

The RemGlk library is copyright 2012-17 by Andrew Plotkin. The
GiDispa and GiBlorb libraries, as well as the glk.h header file, are
copyright 1998-2017 by Andrew Plotkin. The GiDebug library is copyright
2014-2017 by Andrew Plotkin. All are distributed under the MIT license;
see the "LICENSE" file.

The RemGlk documentation is licensed under a Creative Commons
Attribution-Noncommercial-Share Alike 3.0 Unported License.
See <http://creativecommons.org/licenses/by-nc-sa/3.0>

You can’t perform that action at this time.