diff options
Diffstat (limited to 'Build/source/texk/web2c/window')
-rw-r--r-- | Build/source/texk/web2c/window/ChangeLog | 85 | ||||
-rw-r--r-- | Build/source/texk/web2c/window/Makefile.am | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/window/Makefile.in | 8 | ||||
-rw-r--r-- | Build/source/texk/web2c/window/mftalk.h | 43 |
4 files changed, 94 insertions, 45 deletions
diff --git a/Build/source/texk/web2c/window/ChangeLog b/Build/source/texk/web2c/window/ChangeLog index aa581f5b0f3..cc36fd55752 100644 --- a/Build/source/texk/web2c/window/ChangeLog +++ b/Build/source/texk/web2c/window/ChangeLog @@ -1,3 +1,8 @@ +2015-03-31 Peter Breitenlohner <peb@mppmu.mpg.de> + + * mftalk.h (new): Moved to here from ../mftalk.h. + * Makefile.am: Adapted. + 2014-01-02 Peter Breitenlohner <peb@mppmu.mpg.de> * x11-Xlib.c: Cast screenwidth, screendepth to 'unsigned int'. @@ -200,70 +205,70 @@ Fri Jul 26 15:47:50 1996 Karl Berry <karl@cs.umb.edu> Wed May 15 16:58:01 1996 Karl Berry <karl@cs.umb.edu> - * mftalk.c: Doc fix. + * mftalk.c: Doc fix. Tue Feb 13 16:10:54 1996 Karl Berry <karl@cs.umb.edu> - * x11-Xt.c: Missing close-comment. + * x11-Xt.c: Missing close-comment. - * Makefile.in: Include rdepend.make. + * Makefile.in: Include rdepend.make. Fri Dec 29 17:15:38 1995 Karl Berry <karl@cs.umb.edu> - * Makefile.in: misc.make is now clean.make. + * Makefile.in: misc.make is now clean.make. Sat Nov 18 17:11:26 1995 Karl Berry <karl@cs.umb.edu> - * Makefile.in (distclean): New target to remove x11.c. From Peter - Dyballa. + * Makefile.in (distclean): New target to remove x11.c. From Peter + Dyballa. Thu Nov 16 16:28:22 1995 Karl Berry <karl@cs.umb.edu> - * amiga.c: Replacement file. - * trap.c (EXTERN): Define as extern, just as with the rest of the - modules. From Andreas Scherer. + * amiga.c: Replacement file. + * trap.c (EXTERN): Define as extern, just as with the rest of the + modules. From Andreas Scherer. Mon Oct 9 16:51:17 1995 Karl Berry <karl@cs.umb.edu> - * Makefile.in (x11.c): Use $(srcdir). From Simon. + * Makefile.in (x11.c): Use $(srcdir). From Simon. Fri Jul 21 15:48:25 1995 Karl Berry <karl@cs.umb.edu> - * mftalk.c: The FSF has a new address. + * mftalk.c: The FSF has a new address. Tue Jul 18 15:16:15 1995 Karl Berry <karl@cs.umb.edu> - * mftalk.c (app_type): Don't just fail under Unix. + * mftalk.c (app_type): Don't just fail under Unix. Tue Jun 13 11:37:37 1995 Karl Berry <karl@cs.umb.edu> - * x11-Xt.c (mf_x11_paintrow): Use tvect, not tvect - 1. + * x11-Xt.c (mf_x11_paintrow): Use tvect, not tvect - 1. From: FUKUI Rei <fkr@tooyoo1.l.u-tokyo.ac.jp>. MFwindow: Fri Jul 29 11:50:19 1994 Karl Berry (karl@cs.umb.edu) - * x11-Xt.c: Make the default be to *not* foil X's wchar_t. + * x11-Xt.c: Make the default be to *not* foil X's wchar_t. Mon Feb 21 17:49:30 1994 Karl Berry (karl@cs.umb.edu) - * x11-Xt.c: Include systypes.h for still more wchar_t kludgery. + * x11-Xt.c: Include systypes.h for still more wchar_t kludgery. Wed Feb 2 11:01:09 1994 Karl Berry (karl@cs.umb.edu) - * Version 6.1. + * Version 6.1. Tue Feb 1 11:24:11 1994 Karl Berry (karl@cs.umb.edu) - * Makefile.in: Change ../../$(srcdir) to $(srcdir)/../.. throughout. + * Makefile.in: Change ../../$(srcdir) to $(srcdir)/../.. throughout. Mon Jan 24 07:28:00 1994 Karl Berry (karl@cs.umb.edu) - * Version 6.0. + * Version 6.0. Sun Jan 23 16:25:58 1994 Karl Berry (karl@cs.umb.edu) - * x11-Xt.c (wchar_t): No, remove that condition. + * x11-Xt.c (wchar_t): No, remove that condition. Fri Dec 24 13:15:07 1993 Karl Berry (karl@sorrel.hq.ileaf.com) @@ -271,12 +276,12 @@ Fri Dec 24 13:15:07 1993 Karl Berry (karl@sorrel.hq.ileaf.com) |Tue Dec 21 19:33:59 1993 Karl Berry (karl@cs.umb.edu) - * x11-Xt.c (X_WCHAR): Define. + * x11-Xt.c (X_WCHAR): Define. Sat Dec 18 14:55:59 1993 Karl Berry (karl@cs.umb.edu) - * x11.c (wchar_t): Define this to a nonsense symbol, to avoid - redefinitions. + * x11.c (wchar_t): Define this to a nonsense symbol, to avoid + redefinitions. Sat Dec 4 11:42:36 1993 Karl Berry (karl@cs.umb.edu) @@ -343,35 +348,35 @@ Sun Oct 18 13:48:49 1992 Karl Berry (karl@cs.umb.edu) Sun Jul 5 07:29:40 1992 Karl Berry (karl@hayley) - * sun-sunview.c: give return types to all fns. + * sun-sunview.c: give return types to all fns. - * sun-sunview.c (mf_sun_initscreen): avoid line >= 80 chars. - * uniterm.c (mf_uniterm_paintrow): likewise. - * sun-xview.c (mf_xview_updatescreen): likewise. + * sun-sunview.c (mf_sun_initscreen): avoid line >= 80 chars. + * uniterm.c (mf_uniterm_paintrow): likewise. + * sun-xview.c (mf_xview_updatescreen): likewise. Fri Jul 3 11:22:47 1992 Karl Berry (karl@hayley) - * Makefile (CFLAGS): define as -g. - (CPPFLAGS): new var. - (.c.o): use it. - (distclean): synonym for realclean. + * Makefile (CFLAGS): define as -g. + (CPPFLAGS): new var. + (.c.o): use it. + (distclean): synonym for realclean. - * sun-sunview.c: changes from Pierre (like the following). - * sun-gfx.c: rename from sun-suntools.c. - * sun-xview.c: new file. - * sun.c: remove and remake as a link to sun-sunview.c. + * sun-sunview.c: changes from Pierre (like the following). + * sun-gfx.c: rename from sun-suntools.c. + * sun-xview.c: new file. + * sun.c: remove and remake as a link to sun-sunview.c. Fri Mar 20 16:53:52 1992 Karl Berry (karl at hayley) - * Makefile (mostlyclean): new name for `clean'. - (clean): what `realclean' used to be. - (realclean): nothing to do anymore. - (install): install the program. + * Makefile (mostlyclean): new name for `clean'. + (clean): what `realclean' used to be. + (realclean): nothing to do anymore. + (install): install the program. Fri Jan 24 09:21:15 1992 Karl Berry (karl at hayley) - * Makefile (cflags): don't include -I../config. + * Makefile (cflags): don't include -I../config. Sun Jan 12 12:53:24 1992 Karl Berry (karl at hayley) - * Makefile (CFLAGS): include config, two levels up. + * Makefile (CFLAGS): include config, two levels up. diff --git a/Build/source/texk/web2c/window/Makefile.am b/Build/source/texk/web2c/window/Makefile.am index 39f45df5e0d..87f9665990c 100644 --- a/Build/source/texk/web2c/window/Makefile.am +++ b/Build/source/texk/web2c/window/Makefile.am @@ -1,6 +1,6 @@ ## Makefile.am for the TeX Live subdirectory texk/web2c/window/ ## -## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. ## AM_CPPFLAGS = -I$(top_srcdir) $(KPATHSEA_INCLUDES) $(X_CFLAGS) @@ -18,6 +18,7 @@ libwindow_a_SOURCES = \ hp2627.c \ mfdisplay.h \ mftalk.c \ + mftalk.h \ next.c \ regis.c \ suntools.c \ diff --git a/Build/source/texk/web2c/window/Makefile.in b/Build/source/texk/web2c/window/Makefile.in index d6ee810def4..0e9aaf6ef58 100644 --- a/Build/source/texk/web2c/window/Makefile.in +++ b/Build/source/texk/web2c/window/Makefile.in @@ -148,8 +148,8 @@ am__v_AR_1 = libwindow_a_AR = $(AR) $(ARFLAGS) libwindow_a_LIBADD = am__libwindow_a_SOURCES_DIST = amiga.c epsf.c hp2627.c mfdisplay.h \ - mftalk.c next.c regis.c suntools.c tek.c trap.c uniterm.c \ - win32.c x11-Xt.c x11-Xlib.c + mftalk.c mftalk.h next.c regis.c suntools.c tek.c trap.c \ + uniterm.c win32.c x11-Xt.c x11-Xlib.c @MFXT_TRUE@am__objects_1 = x11-Xt.$(OBJEXT) @MFXT_FALSE@am__objects_2 = x11-Xlib.$(OBJEXT) am_libwindow_a_OBJECTS = amiga.$(OBJEXT) epsf.$(OBJEXT) \ @@ -450,8 +450,8 @@ AM_CPPFLAGS = -I$(top_srcdir) $(KPATHSEA_INCLUDES) $(X_CFLAGS) AM_CFLAGS = $(WARNING_CFLAGS) EXTRA_LIBRARIES = libwindow.a libwindow_a_SOURCES = amiga.c epsf.c hp2627.c mfdisplay.h mftalk.c \ - next.c regis.c suntools.c tek.c trap.c uniterm.c win32.c \ - $(am__append_1) $(am__append_2) + mftalk.h next.c regis.c suntools.c tek.c trap.c uniterm.c \ + win32.c $(am__append_1) $(am__append_2) DISTCLEANFILES = libwindow.a all: all-am diff --git a/Build/source/texk/web2c/window/mftalk.h b/Build/source/texk/web2c/window/mftalk.h new file mode 100644 index 00000000000..0c0b8fe0603 --- /dev/null +++ b/Build/source/texk/web2c/window/mftalk.h @@ -0,0 +1,43 @@ +/* mftalk.h -- METAFONT server/client protocol (not as complex as + it sounds). + + Copyright (C) 1994 Ralph Schleicher */ + +/* This library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of + the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this library; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef MFTALK_H +#define MFTALK_H + +/* This is the server to client protocol: + + 'r' [0|1] <left> <bottom> <right> <top> Fill rectangle. + 'l' [0|1] <col> <row> <num> <col> ... Draw a line. + 'f' Update screen. + ^D End of transmission. + + And there is one client to server command: + + ^F Acknowledgment. */ + +#define MF_RECT ((int) 'r') +#define MF_LINE ((int) 'l') +#define MF_FLUSH ((int) 'f') +#define MF_EXIT ((int) ('D' - 64)) +#define MF_ACK ((int) ('F' - 64)) + +#define MF_WHITE 0 +#define MF_BLACK 1 + +#endif /* !MFTALK_H */ |