[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users-jp 00073] Re: [ports-jp 2448] Re: Word wrapping



From: Jun-ichiro itojun Itoh <itojun@itojun.org>
Subject: [mgp-users-jp 00058] Re: [ports-jp 2448] Re: Word wrapping 
Date: Fri, 9 Jan 1998 09:50:10 +0900
Message-ID: <>
: 
: 	まだ欠けている機能なんかもありますが、「今日は雪で閉じ込
: 	められて暇だから(*)テストしたい」という方は連絡ください。

とりあえず SunOS 4.1.4 でテストしてみました.
色がうまくとれていない以外には次のような問題があり
ました.

 * missing/strsep で, NULL が undef だ, と怒られた.
   → stdio.h を include.
 * mgp.c で, atexit がない, と怒られた.
   → かわりに on_exit 使用.
 * 最後のページで SPACE を押すと segfault する.
   → 最後につけるようなパッチでとりあえず動かしてます.

--
櫻田英樹 <sakurada@kuis.kyoto-u.ac.jp>

*** draw.c.orig	Sat Jan 10 01:20:17 1998
--- draw.c	Sat Jan 10 01:11:45 1998
***************
*** 259,265 ****
  	assert(state);
  
  	/* initialize the state, if required. */
! 	if (!state->cp || state->phase == P_NONE) {
  		state_newpage(state);
  		state_init(state);
  	}
--- 259,265 ----
  	assert(state);
  
  	/* initialize the state, if required. */
! 	if (!state->cp && state->phase == P_NONE) {
  		state_newpage(state);
  		state_init(state);
  	}