[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(mgp-users 00004) Re: Time-based advance of mgp pages?
- To: mgp-users@mew.org mgp-users
- Subject: (mgp-users 00004) Re: Time-based advance of mgp pages?
- From: Jun-ichiro itojun Itoh <itojun@itojun.org>
- Date: Fri, 10 Jul 1998 09:02:14 +0900
- In-reply-to: harrisw's message of Fri, 10 Jul 1998 08:47:41 JST. <>
- Posted: Fri, 10 Jul 1998 09:02:13 +0900
- Reply-to: mgp-users@mew.org
>Is there any way for mgp to advance automatically through the various pages of
>a presentation? Or, it always necessary to press a key?
>I am trying to use mgp and Linux for an unattended presentation which must
>repeat automatically. Thus, mgp needs to advance through its slides without
>waiting for a key. "Demo" mode is much too fast.
for quickhack solution, how about adding "sleep(5)" in demo-mode page
flipping code? I'll be adding a option to do this. (such as -d5)
itojun
(this may not be applicable to 1.3a, but you can see what is necessary)
Index: mgp.c
===================================================================
RCS file: /home/wide/itojun/cvsroot/mgp/kit/mgp.c,v
retrieving revision 1.70
diff -c -r1.70 mgp.c
*** mgp.c 1998/07/06 02:41:36 1.70
--- mgp.c 1998/07/09 23:59:43
***************
*** 277,282 ****
--- 277,283 ----
state_goto(&state, start_page, 0);
draw_page(&state, NULL);
start_page++;
+ sleep(5); /*XXX*/
}
} else {
init_win3();