Index: kit/ctlwords.pl diff -u kit/ctlwords.pl:1.2 kit/ctlwords.pl:removed --- kit/ctlwords.pl:1.2 Sat Sep 5 06:05:08 1998 +++ kit/ctlwords.pl Mon Mar 8 05:10:04 1999 @@ -1,12 +0,0 @@ -#! /usr/bin/perl -$counter = 0; # 0 origin -print "/* generated by ctlwords.awk. do not edit by hand. */\n"; - -while (<>) { - next if (!/^\/\*CTL\*\//); - next if ($_ !~ /(CTL_[A-Z0-9]+)/); - - $word = $1; - print "#define $word\t$counter\n"; - $counter++; -} Index: kit/draw.c diff -u kit/draw.c:1.136 kit/draw.c:1.137 --- kit/draw.c:1.136 Mon Feb 1 13:38:22 1999 +++ kit/draw.c Sun Mar 7 02:30:44 1999 @@ -26,7 +26,7 @@ * SUCH DAMAGE. */ /* - * $Id: draw.c,v 1.136 1999/02/01 04:38:22 onoe Exp $ + * $Id: draw.c,v 1.137 1999/03/06 17:30:44 nishida Exp $ */ #include "mgp.h" @@ -776,13 +776,19 @@ if (state->repaint) return; + if (!state->linewidth) + return; + sx = (0 < dir) ? 0 : state->width - state->linewidth; round = 20; /*XXX*/ #ifndef abs #define abs(a) (((a) < 0) ? -(a) : (a)) #endif - if (abs(lx - sx) < round) + if (abs(lx - sx) < round){ round = abs(lx - sx); + if (!round) round = 1; + } + step = (lx - sx) / round; cutinWin = XCreateSimpleWindow(display, state->target, Index: kit/keywords.pl diff -u kit/keywords.pl:1.1 kit/keywords.pl:removed --- kit/keywords.pl:1.1 Tue Nov 11 15:07:40 1997 +++ kit/keywords.pl Mon Mar 8 05:10:07 1999 @@ -1,14 +0,0 @@ -@keywords = (); - -die if (@ARGV != 1); -open(IN, "< $ARGV[0]") || die; -while () { - next if (! /^\/\*CTL\*\//); - next if (! /CTL_([A-Z0-9]+),/); - $t = $1; - $t =~ tr/A-Z/a-z/; - push(@keywords, $t); -} -close(IN); - -print join(' ', @keywords) . "\n"; Index: kit/mgp.c diff -u kit/mgp.c:1.93 kit/mgp.c:1.94 --- kit/mgp.c:1.93 Mon Dec 28 17:22:35 1998 +++ kit/mgp.c Sun Mar 7 02:30:46 1999 @@ -26,7 +26,7 @@ * SUCH DAMAGE. */ /* - * $Id: mgp.c,v 1.93 1998/12/28 08:22:35 itojun Exp $ + * $Id: mgp.c,v 1.94 1999/03/06 17:30:46 nishida Exp $ */ static char *mgp_version = "1.04a (980906)"; @@ -652,12 +652,12 @@ #if 0 /* be conservative about first page... */ draw_page(&state, NULL); +#endif if (pg_mode) { pg_on(); pg_draw(&state); XFlush(display); } -#endif #ifdef TTY_KEYINPUT if (!(mgp_flag & FL_NOSTDIN)) { Index: kit/plist.c diff -u kit/plist.c:1.19 kit/plist.c:1.20 --- kit/plist.c:1.19 Mon Dec 28 17:22:39 1998 +++ kit/plist.c Sun Mar 7 02:30:48 1999 @@ -26,7 +26,7 @@ * SUCH DAMAGE. */ /* - * $Id: plist.c,v 1.19 1998/12/28 08:22:39 itojun Exp $ + * $Id: plist.c,v 1.20 1999/03/06 17:30:48 nishida Exp $ */ #include "mgp.h" @@ -231,7 +231,11 @@ return; page = state->page; +#ifdef 0 if (page == pg_lastpage && state->cp == pg_lastcp) + return; +#endif + if (page == pg_lastpage) return; if (!state->cp) { Index: kit/sample/sample-fr.mgp diff -u kit/sample/sample-fr.mgp:1.1 kit/sample/sample-fr.mgp:1.2 --- kit/sample/sample-fr.mgp:1.1 Sat Feb 6 03:43:58 1999 +++ kit/sample/sample-fr.mgp Sun Mar 7 02:30:52 1999 @@ -35,9 +35,6 @@ %center %rcutin test message -%right -%rmcutin -test message %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %page .