home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume16 / lyap / part02 < prev    next >
Encoding:
Text File  |  1992-02-12  |  31.7 KB  |  1,049 lines

  1. Newsgroups: comp.sources.x
  2. Path: uunet!zaphod.mps.ohio-state.edu!mips!msi!dcmartin
  3. From: Renaldo Recuerdo <rr@sco.COM>
  4. Subject: v16i084: Lyapunov exponent calculator (MOTIF), Part02/02
  5. Message-ID: <1992Feb13.185106.9525@msi.com>
  6. Originator: dcmartin@fascet
  7. Sender: dcmartin@msi.com (David C. Martin - Moderator)
  8. Organization: Molecular Simulations, Inc.
  9. References: <csx-16i083-lyap@uunet.UU.NET>
  10. Date: Thu, 13 Feb 1992 18:51:06 GMT
  11. Approved: dcmartin@msi.com
  12.  
  13. Submitted-by: Renaldo Recuerdo <rr@sco.COM>
  14. Posting-number: Volume 16, Issue 84
  15. Archive-name: lyap/part02
  16.  
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # If this archive is complete, you will see the following message at the end:
  22. #        "End of archive 2 (of 2)."
  23. # Contents:  Imakefile Lyap Makefile.ODT Makefile.OSF hls2rgb.c lyap.h
  24. #   lyap.man params/asharpe.1 params/asharpe.2 params/asharpe.3
  25. #   params/asharpe.4 params/asharpe.5 params/asharpe.6
  26. #   params/asharpe.7 params/asharpe.8 params/asharpe.9
  27. #   params/circle-12 params/circle-2 params/circle-4 params/circle-8
  28. #   params/manray params/period-12 params/period-2 params/period-4
  29. #   params/period-8 params/skewed-12 params/skewed-2 params/skewed-4
  30. #   params/skewed-8
  31. # Wrapped by dcmartin@fascet on Fri Jan 24 08:41:37 1992
  32. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  33. if test -f 'Imakefile' -a "${1}" != "-c" ; then 
  34.   echo shar: Will not clobber existing file \"'Imakefile'\"
  35. else
  36. echo shar: Extracting \"'Imakefile'\" \(772 characters\)
  37. sed "s/^X//" >'Imakefile' <<'END_OF_FILE'
  38. X#
  39. X#    Imakefile for lyap, by Ron Record
  40. X#
  41. X        DEPLIBS = $(DEPXLIB)
  42. X#    Uncomment the following line if you have only 16 colors
  43. X#    COLORDEFINE = -DSIXTEEN_COLORS
  44. X#    Uncomment the following line if your system doesn't support prototypes 
  45. X#    PROTODEFINE = -D_NO_PROTO
  46. X#    -DMAPS includes code to support "Function forcing". See lyap.man (-F)
  47. X      MAPDEFINE = -DMAPS
  48. X        DEFINES = $(COLORDEFINE) $(MAPDEFINE) $(PROTODEFINE)
  49. X         CFLAGS = -O $(DEFINES) $(CDEBUGFLAGS)
  50. XLOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) 
  51. X  SYS_LIBRARIES = -lm
  52. X       INCLUDES = . -I$(TOP)/lib -I/usr/include/X11
  53. X           SRCS = lyap.c hls2rgb.c
  54. X           OBJS = lyap.o hls2rgb.o
  55. X
  56. XComplexProgramTarget(lyap)
  57. X
  58. XInstallProgram(lyap, /usr/games/X11)
  59. XInstallManPage(lyap, /usr/games/X11/doc)
  60. END_OF_FILE
  61. if test 772 -ne `wc -c <'Imakefile'`; then
  62.     echo shar: \"'Imakefile'\" unpacked with wrong size!
  63. fi
  64. # end of 'Imakefile'
  65. fi
  66. if test -f 'Lyap' -a "${1}" != "-c" ; then 
  67.   echo shar: Will not clobber existing file \"'Lyap'\"
  68. else
  69. echo shar: Extracting \"'Lyap'\" \(1220 characters\)
  70. sed "s/^X//" >'Lyap' <<'END_OF_FILE'
  71. X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  72. X! Lyap: class resource file for lyap
  73. X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  74. X!
  75. XLyap*resizable:    TRUE
  76. X! Lyap*framework*width:    450
  77. X! Lyap*framework*height:    350
  78. XLyap*background:    black
  79. XLyap*topAttachment:    ATTACH_POSITION
  80. XLyap*bottomAttachment:    ATTACH_POSITION
  81. XLyap*leftAttachment:    ATTACH_POSITION
  82. XLyap*rightAttachment:    ATTACH_POSITION
  83. XLyap*drawing_canvas*leftPosition:    01
  84. XLyap*drawing_canvas*rightPosition:    99
  85. XLyap*drawing_canvas*topPosition:    01
  86. XLyap*drawing_canvas*bottomPosition:    90
  87. XLyap*go_button*topPosition:    91
  88. XLyap*go_button*bottomPosition:    99
  89. XLyap*go_button*leftPosition:    01
  90. XLyap*go_button*rightPosition:    24
  91. XLyap*stop_button*topPosition:    91
  92. XLyap*stop_button*bottomPosition:    99
  93. XLyap*stop_button*leftPosition:    26
  94. XLyap*stop_button*rightPosition:    49
  95. XLyap*warp_button*topPosition:    91
  96. XLyap*warp_button*bottomPosition:    99
  97. XLyap*warp_button*leftPosition:    51
  98. XLyap*warp_button*rightPosition:    74
  99. XLyap*quit_button*topPosition:    91
  100. XLyap*quit_button*bottomPosition:    99
  101. XLyap*quit_button*leftPosition:    76
  102. XLyap*quit_button*rightPosition:    99
  103. XLyap*go_button*labelString:   GO
  104. XLyap*stop_button*labelString:   STOP
  105. XLyap*warp_button*labelString:   SPIN
  106. XLyap*quit_button*labelString:   QUIT
  107. END_OF_FILE
  108. if test 1220 -ne `wc -c <'Lyap'`; then
  109.     echo shar: \"'Lyap'\" unpacked with wrong size!
  110. fi
  111. # end of 'Lyap'
  112. fi
  113. if test -f 'Makefile.ODT' -a "${1}" != "-c" ; then 
  114.   echo shar: Will not clobber existing file \"'Makefile.ODT'\"
  115. else
  116. echo shar: Extracting \"'Makefile.ODT'\" \(1106 characters\)
  117. sed "s/^X//" >'Makefile.ODT' <<'END_OF_FILE'
  118. XCC = cc 
  119. X#DEBUG =  -g
  120. X##
  121. X## Compiler Defines
  122. X## 
  123. XDEFINES = -DSYSV -DSOCKETCONN -DTCPCONN -DTLICONN -DLAI_TCP \
  124. X       -DSTREAMWRITEMAX=4096 -DXSIGHT -DMOTIF -DSIXTEEN_COLORS -DMAPS
  125. X
  126. XCFLAGS = $(DEBUG) $(DEFINES)
  127. X##
  128. X## Libraries
  129. X## X11     X11 graphics library
  130. X##
  131. X##
  132. XLIBS     =     -lXm         \
  133. X               -lXt           \
  134. X               -lX11    \
  135. X        -lx        \
  136. X              -lsocket    \
  137. X        -lnsl_s    \
  138. X        -lPW    \
  139. X        -lm
  140. X
  141. X
  142. X.o:.c
  143. X
  144. Xall: lyap lyap.doc
  145. X
  146. Xcp install:    all
  147. X    -mkdir -p $(ROOT)/usr/games/X11
  148. X    cp lyap $(ROOT)/usr/games/X11/lyap
  149. X    -mkdir -p $(ROOT)/usr/games/X11/doc
  150. X    cp lyap.doc $(ROOT)/usr/games/X11/doc/lyap
  151. X    -mkdir -p $(ROOT)/usr/games/X11/lib/lyap
  152. X    cp params/* $(ROOT)/usr/games/X11/lib/lyap
  153. X    -mkdir -p $(ROOT)/usr/games/X11/lib/lyap/pics
  154. X    cp pics/* $(ROOT)/usr/games/X11/lib/lyap/pics
  155. X    -mkdir -p $(ROOT)/usr/lib/X11/app-defaults
  156. X    cp Lyap $(ROOT)/usr/lib/X11/app-defaults/Lyap
  157. X
  158. Xclean:
  159. X    rm -f *.o
  160. X
  161. Xclobber:    clean
  162. X    rm -f lyap
  163. X
  164. Xlyap : lyap.o hls2rgb.o
  165. X    $(CC) $(CFLAGS) -o $@ $@.o hls2rgb.o $(LIBS)
  166. X
  167. Xlyap.o: lyap.c hls2rgb.c lyap.h
  168. X
  169. Xlyap.doc:    lyap.man
  170. X    nroff -man lyap.man > lyap.doc
  171. X
  172. Xlyap.doc.mm:    lyap.man.mm
  173. X    nroff -cm -rN4 lyap.man.mm > lyap.doc.mm
  174. END_OF_FILE
  175. if test 1106 -ne `wc -c <'Makefile.ODT'`; then
  176.     echo shar: \"'Makefile.ODT'\" unpacked with wrong size!
  177. fi
  178. # end of 'Makefile.ODT'
  179. fi
  180. if test -f 'Makefile.OSF' -a "${1}" != "-c" ; then 
  181.   echo shar: Will not clobber existing file \"'Makefile.OSF'\"
  182. else
  183. echo shar: Extracting \"'Makefile.OSF'\" \(971 characters\)
  184. sed "s/^X//" >'Makefile.OSF' <<'END_OF_FILE'
  185. XCC = cc 
  186. X#DEBUG =  -g
  187. X##
  188. X## Compiler Defines
  189. X## 
  190. XDEFINES = -DMOTIF -DMAPS
  191. X
  192. XCFLAGS = $(DEBUG) $(DEFINES) -I/usr/include/X11
  193. X##
  194. X## Libraries
  195. X## X11     X11 graphics library
  196. X##
  197. X##
  198. XLIBS     =     -lXm         \
  199. X               -lXt           \
  200. X               -lX11    \
  201. X        -lm
  202. X
  203. X.o:.c
  204. X
  205. Xall: lyap lyap.doc
  206. X
  207. Xcp install:    all
  208. X    -mkdir -p $(ROOT)/usr/games/X11
  209. X    cp lyap $(ROOT)/usr/games/X11/lyap
  210. X    -mkdir -p $(ROOT)/usr/games/X11/doc
  211. X    cp lyap.doc $(ROOT)/usr/games/X11/doc/lyap
  212. X    -mkdir -p $(ROOT)/usr/games/X11/lib/lyap
  213. X    cp params/* $(ROOT)/usr/games/X11/lib/lyap
  214. X    -mkdir -p $(ROOT)/usr/games/X11/lib/lyap/pics
  215. X    cp pics/* $(ROOT)/usr/games/X11/lib/lyap/pics
  216. X    -mkdir -p $(ROOT)/usr/lib/X11/app-defaults
  217. X    cp Lyap $(ROOT)/usr/lib/X11/app-defaults/Lyap
  218. X
  219. Xclean:
  220. X    rm -f *.o
  221. X
  222. Xclobber:    clean
  223. X    rm -f lyap
  224. X
  225. Xlyap : lyap.o hls2rgb.o
  226. X    $(CC) $(CFLAGS) -o $@ $@.o hls2rgb.o $(LIBS)
  227. X
  228. Xlyap.o: lyap.c hls2rgb.c lyap.h
  229. X
  230. Xlyap.doc:    lyap.man
  231. X    nroff -man lyap.man > lyap.doc
  232. X
  233. Xlyap.doc.mm:    lyap.man.mm
  234. X    nroff -cm -rN4 lyap.man.mm > lyap.doc.mm
  235. END_OF_FILE
  236. if test 971 -ne `wc -c <'Makefile.OSF'`; then
  237.     echo shar: \"'Makefile.OSF'\" unpacked with wrong size!
  238. fi
  239. # end of 'Makefile.OSF'
  240. fi
  241. if test -f 'hls2rgb.c' -a "${1}" != "-c" ; then 
  242.   echo shar: Will not clobber existing file \"'hls2rgb.c'\"
  243. else
  244. echo shar: Extracting \"'hls2rgb.c'\" \(2282 characters\)
  245. sed "s/^X//" >'hls2rgb.c' <<'END_OF_FILE'
  246. X/* From colorwheel.c which is part of color3 by Hiram Clawson (hiramc@sco.com)*/
  247. X
  248. X#include    <X11/Xlib.h>
  249. X#include    <X11/Xutil.h>
  250. X
  251. X#ifdef _NO_PROTO
  252. Xstatic double hue_value();
  253. X#else
  254. Xstatic double hue_value( double, double, double );
  255. X#endif
  256. X
  257. X/***********************************************************************
  258. X * NAME: hls2rgb() from foley and van dam, fundamentals of interactive ...
  259. X *        page 619
  260. X *
  261. X * PURPOSE: Convert hls[0..3600][0..1000][0..1000] space to rgb space
  262. X *    That is the Hue, Lightness, Saturation color model.
  263. X *    Which is two cones, base to base, the bottom tip is black, the
  264. X *    top tip is white, the middle (bases) around the outside is a color
  265. X *    wheel.  The axis of this solid is Lightness.  Hue is the angular
  266. X *    measure around the cones, and the saturation is the radius from the
  267. X *    axis towards the surface of the cones.
  268. X ***********************************************************************/
  269. Xvoid hls2rgb( hue_light_sat, rgb )
  270. Xint hue_light_sat[3];
  271. Xint rgb[3];        /*    Each in range [0..65535]    */
  272. X{
  273. X    double r, g, b, h, l, s;
  274. X    double m1, m2;
  275. X
  276. X    h = (double) hue_light_sat[0] / 10.0;
  277. X    l = (double) hue_light_sat[1] / 1000.0;
  278. X    s = (double) hue_light_sat[2] / 1000.0;
  279. X
  280. X    if ( l < 0.5 )
  281. X    {
  282. X        m2 = l * ( 1.0 + s );
  283. X    }
  284. X    else
  285. X    {
  286. X        m2 = l + s - (l * s);
  287. X    }
  288. X    m1 = (2.0 * l) - m2;
  289. X    if ( (s + 1.0) == 1.0 )
  290. X    {
  291. X        if ( (h + 1.0) < 1.0 )
  292. X        {
  293. X            r = g = b = l;
  294. X        }
  295. X        else
  296. X        {
  297. X            r = g = b = 0.0;
  298. X        }
  299. X    }
  300. X    else
  301. X    {
  302. X        r = hue_value( m1, m2, h + 120.0 );
  303. X        g = hue_value( m1, m2, h );
  304. X        b = hue_value( m1, m2, h - 120.0 );
  305. X    }
  306. X    rgb[0] = 65535.0 * r;
  307. X    rgb[1] = 65535.0 * g;
  308. X    rgb[2] = 65535.0 * b;
  309. X    if ( rgb[0] > 65535 )
  310. X        rgb[0] = 65535;
  311. X    else if ( rgb[0] < 0 )
  312. X        rgb[0] = 0;
  313. X
  314. X    if ( rgb[1] > 65535 )
  315. X        rgb[1] = 65535;
  316. X    else if ( rgb[1] < 0 )
  317. X        rgb[1] = 0;
  318. X
  319. X    if ( rgb[2] > 65535 )
  320. X        rgb[2] = 65535;
  321. X    else if ( rgb[2] < 0 )
  322. X        rgb[2] = 0;
  323. X
  324. X    return;
  325. X}    /* end of void hls2rgb( hue_light_sat, rgb )    */
  326. X
  327. Xstatic double hue_value( n1, n2, hue )
  328. Xdouble n1;
  329. Xdouble n2;
  330. Xdouble hue;
  331. X{
  332. X    if ( hue > 360.0 )
  333. X        hue -= 360.0;
  334. X    if ( hue < 0.0 )
  335. X        hue += 360.0;
  336. X    if ( hue < 60.0 )
  337. X        return  ( n1 + ((n2 - n1)*hue/60.0));
  338. X    else if ( hue < 180.0 )
  339. X        return ( n2 );
  340. X    else if ( hue < 240.0 )
  341. X        return ( n1 + ((n2 - n1)*(240.0 - hue)/60.0));
  342. X    else
  343. X        return( n1 );
  344. X}    /* end of double hue_value( n1, n2, hue )    */
  345. END_OF_FILE
  346. if test 2282 -ne `wc -c <'hls2rgb.c'`; then
  347.     echo shar: \"'hls2rgb.c'\" unpacked with wrong size!
  348. fi
  349. # end of 'hls2rgb.c'
  350. fi
  351. if test -f 'lyap.h' -a "${1}" != "-c" ; then 
  352.   echo shar: Will not clobber existing file \"'lyap.h'\"
  353. else
  354. echo shar: Extracting \"'lyap.h'\" \(3712 characters\)
  355. sed "s/^X//" >'lyap.h' <<'END_OF_FILE'
  356. X/*
  357. X *    @(#) lyap.h
  358. X */
  359. X/*
  360. X *    Written by Ron Record (rr@sco.com) 03 Sep 1991.
  361. X */
  362. X
  363. X#include "patchlevel.h"
  364. X#include <assert.h>
  365. X#include <memory.h>
  366. X#include <stdio.h>
  367. X#include <values.h>
  368. X#include <X11/Xlib.h> 
  369. X#include <X11/StringDefs.h> 
  370. X#include <X11/Intrinsic.h> 
  371. X#include <X11/keysym.h> 
  372. X#include <X11/cursorfont.h> 
  373. X#include <Xm/Xm.h> 
  374. X#include <Xm/Form.h> 
  375. X#include <Xm/PushB.h> 
  376. X#include <Xm/DrawingA.h> 
  377. X#include <Xm/ToggleB.h> 
  378. X#include <X11/Xutil.h>
  379. X#include <X11/Xatom.h>
  380. X
  381. X#define ABS(a)    (((a)<0) ? (0-(a)) : (a) )
  382. X#define Min(x,y) ((x < y)?x:y)
  383. X#define Max(x,y) ((x > y)?x:y)
  384. X#define MAXCOLOR  256
  385. X#define MAXPOINTS  256
  386. X
  387. Xint NoShowButtons  = 1;
  388. Xint bottom;
  389. XScreen*        screen;
  390. XDisplay*    dpy;
  391. Xchar*        displayname = 0;
  392. X
  393. Xextern double log();
  394. Xextern double fabs();
  395. Xextern long time();
  396. Xextern int optind;
  397. Xextern char *optarg;
  398. X
  399. XWidget toplevel, framework, canvas, button[4];
  400. XXtWorkProcId work_proc_id = (XtWorkProcId) NULL;
  401. X
  402. XXtEventHandler     Getkey();
  403. Xvoid     resize();
  404. Xvoid     redisplay();
  405. Xvoid     quit();
  406. Xvoid     Spin();
  407. Xvoid     start_iterate();
  408. Xvoid     stop_iterate();
  409. Xvoid     show_defaults();
  410. Xvoid     StartRubberBand();
  411. Xvoid     TrackRubberBand();
  412. Xvoid     EndRubberBand();
  413. XBoolean  complyap();
  414. Xvoid     CreateXorGC();
  415. Xvoid     InitBuffer();
  416. Xvoid     BufferPoint();
  417. Xvoid     FlushBuffer();
  418. X
  419. Xtypedef struct {
  420. X    int x, y;
  421. X} xy_t;
  422. X
  423. Xtypedef struct {
  424. X    int start_x, start_y;
  425. X    int last_x, last_y;
  426. X    } rubber_band_data_t;
  427. X
  428. Xtypedef struct {
  429. X    Cursor band_cursor;
  430. X    double p_min, p_max, q_min, q_max;
  431. X    rubber_band_data_t rubber_band;
  432. X    } image_data_t;
  433. X
  434. Xtypedef struct points_t {
  435. X    XPoint data[MAXCOLOR][MAXPOINTS];
  436. X    int npoints[MAXCOLOR];
  437. X    } points_t;
  438. X
  439. Xpoints_t Points;
  440. Ximage_data_t rubber_data;
  441. X
  442. X#ifdef SIXTEEN_COLORS
  443. X#define STARTCOLOR 0
  444. Xint color_offset=1; 
  445. Xint mincolindex=1;
  446. X#else
  447. X#define STARTCOLOR 17
  448. Xint color_offset=96; 
  449. Xint mincolindex=33;
  450. X#endif
  451. X
  452. XGC Data_GC[MAXCOLOR], RubberGC;
  453. X
  454. Xextern char *malloc();
  455. X
  456. X#define MAXINDEX 64
  457. X#define FUNCMAXINDEX 16
  458. X#define MAXWHEELS 7
  459. X#define NUMMAPS 5
  460. X
  461. Xtypedef double (*PFD)();
  462. X
  463. Xdouble logistic(), circle(), leftlog(), rightlog(), doublelog();
  464. Xdouble dlogistic(), dcircle(), dleftlog(), drightlog(), ddoublelog();
  465. XPFD map, deriv;
  466. XPFD Maps[NUMMAPS] = { logistic, circle, leftlog, rightlog, doublelog };
  467. XPFD Derivs[NUMMAPS] = { dlogistic, dcircle, dleftlog, drightlog, ddoublelog };
  468. X
  469. Xint aflag=0, bflag=0, wflag=0, hflag=0;
  470. Xdouble pmins[NUMMAPS] = { 2.0, 0.0, 0.0, 0.0, 0.0 };
  471. Xdouble pmaxs[NUMMAPS] = { 4.0, 1.0, 6.75, 6.75, 16.0 };
  472. Xdouble amins[NUMMAPS] = { 2.0, 0.0, 0.0, 0.0, 0.0 };
  473. Xdouble aranges[NUMMAPS] = { 4.0, 1.0, 6.75, 6.75, 16.0 };
  474. Xdouble bmins[NUMMAPS] = { 2.0, 0.0, 0.0, 0.0, 0.0 };
  475. Xdouble branges[NUMMAPS] = { 4.0, 1.0, 6.75, 6.75, 16.0 };
  476. X
  477. Xint   forcing[MAXINDEX] = { 0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,
  478. X            0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,
  479. X            0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1 };
  480. Xint   Forcing[FUNCMAXINDEX] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 };
  481. X
  482. Xint   maxindex = MAXINDEX;
  483. Xint   funcmaxindex = FUNCMAXINDEX;
  484. Xdouble    min_a=2.0, min_b=2.0, a_range=2.0, b_range=2.0, minlyap=1.0;
  485. Xdouble  max_a=4.0, max_b=4.0;
  486. Xdouble  o_min_a, o_min_b, o_max_a, o_max_b;
  487. Xdouble  orig_min_a, orig_min_b, orig_max_a, orig_max_b;
  488. Xdouble  start_x=0.05, lyapunov, a_inc, b_inc, invlog2, a, b;
  489. Xint     dwell=400, settle=200;
  490. Xint    width=256, height=256;
  491. Xint    numcolors=16, numfreecols, displayplanes, lowrange;
  492. Xxy_t    point, velocity;
  493. XPixmap  pixmap;
  494. XColormap cmap;
  495. XXColor    Colors[MAXCOLOR];
  496. Xdouble  *exponents, *o_exponents, *i_exponents;
  497. Xint     expind=0, o_expind=0, i_expind=0;
  498. Xint    numwheels=MAXWHEELS, force=0, Force=0, negative=1;
  499. Xint     rgb_max=65000, nostart=1, first=1, stripe_interval=7;
  500. Xint    save=1, show=0, useprod=1, spinlength=256, savefile=0;
  501. Xchar    *outname="lyap.out";
  502. END_OF_FILE
  503. if test 3712 -ne `wc -c <'lyap.h'`; then
  504.     echo shar: \"'lyap.h'\" unpacked with wrong size!
  505. fi
  506. # end of 'lyap.h'
  507. fi
  508. if test -f 'lyap.man' -a "${1}" != "-c" ; then 
  509.   echo shar: Will not clobber existing file \"'lyap.man'\"
  510. else
  511. echo shar: Extracting \"'lyap.man'\" \(6220 characters\)
  512. sed "s/^X//" >'lyap.man' <<'END_OF_FILE'
  513. X.TH LYAP 6X
  514. X.SH NAME
  515. Xlyap \- display an array of Lyapunov exponents graphically
  516. X.SH SYNOPSIS
  517. X.in +8n
  518. X.ti -8n
  519. X\fIlyap\fR
  520. X[-BLps][-W width][-H height][-o filename][-a 
  521. X\fIn\fR ]
  522. X[-b 
  523. X\fIn\fR ]
  524. X[-w 
  525. X\fIn\fR ]
  526. X[-h 
  527. X\fIn\fR ]
  528. X[-x xstart]
  529. X[-M 
  530. X\fIn\fR ]
  531. X[-S 
  532. X\fIn\fR ]
  533. X[-D 
  534. X\fIn\fR ]
  535. X[-F string][-f string][-r 
  536. X\fIn\fR ]
  537. X[-O 
  538. X\fIn\fR ]
  539. X[-C 
  540. X\fIn\fR ]
  541. X[-c 
  542. X\fIn\fR ]
  543. X[-m 
  544. X\fIn\fR ]
  545. X.in -8n
  546. X.SH DESCRIPTION
  547. X\fIlyap\fR
  548. Xgenerates and graphically displays an array of Lyapunov exponents for a 
  549. Xvariety of iterated periodically forced non-linear maps of the unit interval.
  550. X.SH OPTIONS
  551. X.TP 8
  552. X-C \fIn\fP
  553. XSpecifies the minimum color index to be used for negative exponents
  554. X.TP
  555. X-D \fIn\fP
  556. XSpecifies the "dwell" or number of iterations over which to average in order
  557. Xto calculate the Lyapunov exponent. Default is 400.
  558. X.TP
  559. X-B 
  560. XCauses the stop, go, spin and quit buttons to be displayed.
  561. X.TP
  562. X-H \fIn\fP
  563. XSpecifies the height of the window. Default is 256.
  564. X.TP
  565. X-L 
  566. XIndicates use log(x) + log(y) rather than log(xy).
  567. X.TP
  568. X-M \fIr\fP
  569. XSpecifies the real value to compare exponent values to for indexing into
  570. Xa color wheel. The default value is 1.0.
  571. X.TP
  572. X-O \fIn\fP
  573. XSpecifies the minimum color index to be used for positive exponents
  574. X.TP
  575. X-S \fIn\fP
  576. XSpecifies the "settle" or number of iterations prior to the beginning of
  577. Xthe calculation of the Lyapunov exponent. Default is 200.
  578. X.TP
  579. X-W \fIn\fP
  580. XSpecifies the width of the window. Default is 256.
  581. X.TP
  582. X-a \fIr\fP
  583. XSpecifies the real value to use as the minimum parameter value of the 
  584. Xhorizontal axis. Default is 3.0 for the logistic map.
  585. X.TP
  586. X-b \fIn\fP
  587. XSpecifies the real value to use as the minimum parameter value of the 
  588. Xvertical axis. Default is 3.0 for the logistic map.
  589. X.TP
  590. X-c \fIn\fP
  591. XSelects one of six different color wheels to use. The default color
  592. Xwheel is a rainbow palette.
  593. X.TP
  594. X-F \fI10101010\fP
  595. XSpecifies the "Function" forcing function to use. The example above would 
  596. Xalternate between iterating the circle and logistic maps. An argument of
  597. X"-F 2323" would alternate between left and right logistic maps. The default
  598. Xis to only use the single specified map (see the description of -m).
  599. X.TP
  600. X-f \fIabbabaab\fP
  601. XSpecifies the forcing function to use. The default is to alternate between
  602. Xthe "a" parameter and the "b" parameter.
  603. X.TP
  604. X-h \fIr\fP
  605. XSpecifies the real value to be used as the range over which the vertical
  606. Xparameter values vary. The default is 1.0.
  607. X.TP
  608. X-m \fIn\fP
  609. XSelects between available non-linear maps of the unit interval. A value of
  610. X0 specifies the logistic map. A value of 1, the circle map. A value of 2,
  611. Xthe left-logistic. A value of 3, the right-logistic. A value of 4, the
  612. Xdouble-logistic. The default is 0, the logistic map.
  613. X.TP
  614. X-o \fIfilename\fP
  615. XSpecifies the output filename to be used. If the -o option is given, this
  616. Xfile will automatically be written out at the completion of the drawing.
  617. XIf it is not specified, a default filename of lyap.out is used and only
  618. Xwritten if the 'f' or 'F' keys are pressed during a run. The format of the
  619. Xoutput file is PPM for color and PGM for monochrom. The parameters used to
  620. Xcalculate the picture are included as comments at the beginning of the output
  621. Xfile.
  622. X.TP
  623. X-p
  624. XSwitches color indices for negative and positive exponents. Generally,
  625. Xcauses negative exponents to be displayed in more detail while darkening
  626. Xand narrowing the color range for positive exponents. This can be toggled
  627. Xduring runtime by pressing the 'p' key.
  628. X.TP
  629. X-r \fIn\fP
  630. XSpecifies the maximum rgb value to be used. Default is 35000.
  631. X.TP
  632. X-s \fIn\fP
  633. XSpecifies the length of the color wheel spin.
  634. X.TP
  635. X-u
  636. XProduces a usage message.
  637. X.TP
  638. X-v 
  639. XPrints out the various values to be used and exits.
  640. X.TP
  641. X-w \fIr\fP
  642. XSpecifies the real value to be used as the range over which the horizontal
  643. Xparameter values vary. The default is 1.0.
  644. X.TP
  645. X-x \fIr\fP
  646. XSpecifies the real value of the initial condition to use. Default is 0.05.
  647. X.sp 2
  648. X.SH NOTES
  649. X.sp
  650. XDuring display, pressing any mouse button allows you to select the area to
  651. Xbe investigated with the mouse. The upper left hand corner of the desired
  652. Xarea is the location of the cursor when the button is pressed. The lower
  653. Xright hand corner is specified by the cursor when the button is released.
  654. X.sp 2
  655. XUse of the keys 
  656. X\fIbBeEfFkKjJmnrRsSwWxXqQ\fP
  657. Xindicates:
  658. X.sp
  659. X.ti 10
  660. X(<) Halve dwell value.
  661. X.ti 10
  662. X(>) Double dwell value.
  663. X.ti 10
  664. X([) Halve settle value.
  665. X.ti 10
  666. X(]) Double settle value.
  667. X.ti 10
  668. X(B or b) Toggle button display on/off
  669. X.ti 10
  670. X(E or e) Recalculate the indices into the color wheel using a different method
  671. X.ti 10
  672. X(F or f) Save current screen to ouput file (not yet implemented)
  673. X.ti 10
  674. X(i) Decrement the interval between stripes for the striped color map.
  675. X.ti 10
  676. X(I) Increment the interval between stripes for the striped color map.
  677. X.ti 10
  678. X(K or k) Decrease value exponents are compared against by 0.05.
  679. X.ti 10
  680. X(J or j) Increase value exponents are compared against by 0.05.
  681. X.ti 10
  682. X(m) Decrease value exponents are compared against by 0.005.
  683. X.ti 10
  684. X(n) Increase value exponents are compared against by 0.005.
  685. X.ti 10
  686. X(P or p) Toggle positive/negative exponent display.
  687. X.ti 10
  688. X(r) Redraw the window using previously calculated exponents.
  689. X.ti 10
  690. X(R) Redraw the window using the newly set dwell and/or settle values.
  691. X.ti 10
  692. X(S) Spin the color wheel
  693. X.ti 10
  694. X(s) Halve the length of the spin and spin the color wheel
  695. X.ti 10
  696. X(u) Go up to the window just prior to the most recent zoom.
  697. X.ti 10
  698. X(U) Go all the way up to the original window.
  699. X.ti 10
  700. X(W or w) Use next color map.
  701. X.ti 10
  702. X(X or x) Clear window
  703. X.ti 10
  704. X(Q or q) quit
  705. X.sp 2
  706. X.SH AUTHOR
  707. X.nf
  708. X        Ronald Joe Record
  709. X     The Santa Cruz Operation 
  710. X          P.O. Box 1900
  711. X       Santa Cruz, CA 95061
  712. X            rr@sco.com
  713. X.fi
  714. X.sp 2
  715. X.SH ACKNOWLEDGEMENTS
  716. X.PP
  717. XThe algorithm was taken from the September 1991 Scientific American article
  718. Xby A. K. Dewdney who gives credit to Mario Markus of the Max Planck Institute
  719. Xfor its creation. Additional information and ideas were gleaned from the
  720. Xdiscussion on alt.fractals involving Stephen Hall, Ed Kubaitis, Dave Platt
  721. Xand Baback Moghaddam. Assistance with colormaps and spinning color wheels
  722. Xand X was gleaned from Hiram Clawson. Rubber banding code was adapted from
  723. Xan existing Mandelbrot program written by Stacey Campbell.
  724. END_OF_FILE
  725. if test 6220 -ne `wc -c <'lyap.man'`; then
  726.     echo shar: \"'lyap.man'\" unpacked with wrong size!
  727. fi
  728. # end of 'lyap.man'
  729. fi
  730. if test -f 'params/asharpe.1' -a "${1}" != "-c" ; then 
  731.   echo shar: Will not clobber existing file \"'params/asharpe.1'\"
  732. else
  733. echo shar: Extracting \"'params/asharpe.1'\" \(91 characters\)
  734. sed "s/^X//" >'params/asharpe.1' <<'END_OF_FILE'
  735. X/usr/games/X11/lyap -a3.75 -b3.299999 -w0.05 -h0.05 -D200 -S100 -fabaabbaaabbb -H480 -W640
  736. END_OF_FILE
  737. if test 91 -ne `wc -c <'params/asharpe.1'`; then
  738.     echo shar: \"'params/asharpe.1'\" unpacked with wrong size!
  739. fi
  740. chmod +x 'params/asharpe.1'
  741. # end of 'params/asharpe.1'
  742. fi
  743. if test -f 'params/asharpe.2' -a "${1}" != "-c" ; then 
  744.   echo shar: Will not clobber existing file \"'params/asharpe.2'\"
  745. else
  746. echo shar: Extracting \"'params/asharpe.2'\" \(57 characters\)
  747. sed "s/^X//" >'params/asharpe.2' <<'END_OF_FILE'
  748. X/usr/games/X11/lyap -a3.8 -b3.2 -h.05 -w.05 -fbbbbbaaaaa
  749. END_OF_FILE
  750. if test 57 -ne `wc -c <'params/asharpe.2'`; then
  751.     echo shar: \"'params/asharpe.2'\" unpacked with wrong size!
  752. fi
  753. chmod +x 'params/asharpe.2'
  754. # end of 'params/asharpe.2'
  755. fi
  756. if test -f 'params/asharpe.3' -a "${1}" != "-c" ; then 
  757.   echo shar: Will not clobber existing file \"'params/asharpe.3'\"
  758. else
  759. echo shar: Extracting \"'params/asharpe.3'\" \(86 characters\)
  760. sed "s/^X//" >'params/asharpe.3' <<'END_OF_FILE'
  761. X/usr/games/X11/lyap -a 3.4 -b 3.04 -w .5 -h .5 -f abbbbbbbbb -W640 -H480 -S500 -D1000
  762. END_OF_FILE
  763. if test 86 -ne `wc -c <'params/asharpe.3'`; then
  764.     echo shar: \"'params/asharpe.3'\" unpacked with wrong size!
  765. fi
  766. chmod +x 'params/asharpe.3'
  767. # end of 'params/asharpe.3'
  768. fi
  769. if test -f 'params/asharpe.4' -a "${1}" != "-c" ; then 
  770.   echo shar: Will not clobber existing file \"'params/asharpe.4'\"
  771. else
  772. echo shar: Extracting \"'params/asharpe.4'\" \(79 characters\)
  773. sed "s/^X//" >'params/asharpe.4' <<'END_OF_FILE'
  774. X/usr/games/X11/lyap -a3.5 -b3.0 -w0.2 -h0.2 -D600 -S300 -faaabbbab -H480 -W640
  775. END_OF_FILE
  776. if test 79 -ne `wc -c <'params/asharpe.4'`; then
  777.     echo shar: \"'params/asharpe.4'\" unpacked with wrong size!
  778. fi
  779. chmod +x 'params/asharpe.4'
  780. # end of 'params/asharpe.4'
  781. fi
  782. if test -f 'params/asharpe.5' -a "${1}" != "-c" ; then 
  783.   echo shar: Will not clobber existing file \"'params/asharpe.5'\"
  784. else
  785. echo shar: Extracting \"'params/asharpe.5'\" \(73 characters\)
  786. sed "s/^X//" >'params/asharpe.5' <<'END_OF_FILE'
  787. X/usr/games/X11/lyap -a3.55667 -b3.2 -h.05 -w.05 -fbbbbbaaaaa -H480 -W640
  788. END_OF_FILE
  789. if test 73 -ne `wc -c <'params/asharpe.5'`; then
  790.     echo shar: \"'params/asharpe.5'\" unpacked with wrong size!
  791. fi
  792. chmod +x 'params/asharpe.5'
  793. # end of 'params/asharpe.5'
  794. fi
  795. if test -f 'params/asharpe.6' -a "${1}" != "-c" ; then 
  796.   echo shar: Will not clobber existing file \"'params/asharpe.6'\"
  797. else
  798. echo shar: Extracting \"'params/asharpe.6'\" \(77 characters\)
  799. sed "s/^X//" >'params/asharpe.6' <<'END_OF_FILE'
  800. X/usr/games/X11/lyap -a3.79 -b3.22 -h.02999 -w.02999 -fbbbbbaaaaa -H480 -W640
  801. END_OF_FILE
  802. if test 77 -ne `wc -c <'params/asharpe.6'`; then
  803.     echo shar: \"'params/asharpe.6'\" unpacked with wrong size!
  804. fi
  805. chmod +x 'params/asharpe.6'
  806. # end of 'params/asharpe.6'
  807. fi
  808. if test -f 'params/asharpe.7' -a "${1}" != "-c" ; then 
  809.   echo shar: Will not clobber existing file \"'params/asharpe.7'\"
  810. else
  811. echo shar: Extracting \"'params/asharpe.7'\" \(91 characters\)
  812. sed "s/^X//" >'params/asharpe.7' <<'END_OF_FILE'
  813. X/usr/games/X11/lyap -a3.7999 -b3.299999 -w0.2 -h0.2 -D300 -S150 -fabaabbaaabbb -H480 -W640
  814. END_OF_FILE
  815. if test 91 -ne `wc -c <'params/asharpe.7'`; then
  816.     echo shar: \"'params/asharpe.7'\" unpacked with wrong size!
  817. fi
  818. chmod +x 'params/asharpe.7'
  819. # end of 'params/asharpe.7'
  820. fi
  821. if test -f 'params/asharpe.8' -a "${1}" != "-c" ; then 
  822.   echo shar: Will not clobber existing file \"'params/asharpe.8'\"
  823. else
  824. echo shar: Extracting \"'params/asharpe.8'\" \(88 characters\)
  825. sed "s/^X//" >'params/asharpe.8' <<'END_OF_FILE'
  826. X/usr/games/X11/lyap -a3.89 -b3.22 -h.028 -w.02999 -fbbbbbaaaaa -S600 -D1000 -H480 -W640
  827. END_OF_FILE
  828. if test 88 -ne `wc -c <'params/asharpe.8'`; then
  829.     echo shar: \"'params/asharpe.8'\" unpacked with wrong size!
  830. fi
  831. chmod +x 'params/asharpe.8'
  832. # end of 'params/asharpe.8'
  833. fi
  834. if test -f 'params/asharpe.9' -a "${1}" != "-c" ; then 
  835.   echo shar: Will not clobber existing file \"'params/asharpe.9'\"
  836. else
  837. echo shar: Extracting \"'params/asharpe.9'\" \(87 characters\)
  838. sed "s/^X//" >'params/asharpe.9' <<'END_OF_FILE'
  839. X/usr/games/X11/lyap -a3.2 -b3.7 -w0.05 -h.005 -f abbbbaa -H700 -W800 -o asharpe9.out &
  840. END_OF_FILE
  841. if test 87 -ne `wc -c <'params/asharpe.9'`; then
  842.     echo shar: \"'params/asharpe.9'\" unpacked with wrong size!
  843. fi
  844. chmod +x 'params/asharpe.9'
  845. # end of 'params/asharpe.9'
  846. fi
  847. if test -f 'params/circle-12' -a "${1}" != "-c" ; then 
  848.   echo shar: Will not clobber existing file \"'params/circle-12'\"
  849. else
  850. echo shar: Extracting \"'params/circle-12'\" \(81 characters\)
  851. sed "s/^X//" >'params/circle-12' <<'END_OF_FILE'
  852. X
  853. X/usr/games/X11/lyap -f aaaaaabbbbbb -m 1 -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  854. END_OF_FILE
  855. if test 81 -ne `wc -c <'params/circle-12'`; then
  856.     echo shar: \"'params/circle-12'\" unpacked with wrong size!
  857. fi
  858. chmod +x 'params/circle-12'
  859. # end of 'params/circle-12'
  860. fi
  861. if test -f 'params/circle-2' -a "${1}" != "-c" ; then 
  862.   echo shar: Will not clobber existing file \"'params/circle-2'\"
  863. else
  864. echo shar: Extracting \"'params/circle-2'\" \(65 characters\)
  865. sed "s/^X//" >'params/circle-2' <<'END_OF_FILE'
  866. X
  867. X/usr/games/X11/lyap -m 1 -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  868. END_OF_FILE
  869. if test 65 -ne `wc -c <'params/circle-2'`; then
  870.     echo shar: \"'params/circle-2'\" unpacked with wrong size!
  871. fi
  872. chmod +x 'params/circle-2'
  873. # end of 'params/circle-2'
  874. fi
  875. if test -f 'params/circle-4' -a "${1}" != "-c" ; then 
  876.   echo shar: Will not clobber existing file \"'params/circle-4'\"
  877. else
  878. echo shar: Extracting \"'params/circle-4'\" \(73 characters\)
  879. sed "s/^X//" >'params/circle-4' <<'END_OF_FILE'
  880. X
  881. X/usr/games/X11/lyap -f abbb -m 1 -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  882. END_OF_FILE
  883. if test 73 -ne `wc -c <'params/circle-4'`; then
  884.     echo shar: \"'params/circle-4'\" unpacked with wrong size!
  885. fi
  886. chmod +x 'params/circle-4'
  887. # end of 'params/circle-4'
  888. fi
  889. if test -f 'params/circle-8' -a "${1}" != "-c" ; then 
  890.   echo shar: Will not clobber existing file \"'params/circle-8'\"
  891. else
  892. echo shar: Extracting \"'params/circle-8'\" \(77 characters\)
  893. sed "s/^X//" >'params/circle-8' <<'END_OF_FILE'
  894. X
  895. X/usr/games/X11/lyap -f abbabaab -m 1 -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  896. END_OF_FILE
  897. if test 77 -ne `wc -c <'params/circle-8'`; then
  898.     echo shar: \"'params/circle-8'\" unpacked with wrong size!
  899. fi
  900. chmod +x 'params/circle-8'
  901. # end of 'params/circle-8'
  902. fi
  903. if test -f 'params/manray' -a "${1}" != "-c" ; then 
  904.   echo shar: Will not clobber existing file \"'params/manray'\"
  905. else
  906. echo shar: Extracting \"'params/manray'\" \(119 characters\)
  907. sed "s/^X//" >'params/manray' <<'END_OF_FILE'
  908. X/usr/games/X11/lyap -f abbabaab -D 800 -S 200 -W 400 -H 350 -M -0.85 -x 0.05 -a 3.91 -w 0.0899999999 -b 3.28 -h 0.35 &
  909. END_OF_FILE
  910. if test 119 -ne `wc -c <'params/manray'`; then
  911.     echo shar: \"'params/manray'\" unpacked with wrong size!
  912. fi
  913. chmod +x 'params/manray'
  914. # end of 'params/manray'
  915. fi
  916. if test -f 'params/period-12' -a "${1}" != "-c" ; then 
  917.   echo shar: Will not clobber existing file \"'params/period-12'\"
  918. else
  919. echo shar: Extracting \"'params/period-12'\" \(76 characters\)
  920. sed "s/^X//" >'params/period-12' <<'END_OF_FILE'
  921. X
  922. X/usr/games/X11/lyap -f aaaaaabbbbbb -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  923. END_OF_FILE
  924. if test 76 -ne `wc -c <'params/period-12'`; then
  925.     echo shar: \"'params/period-12'\" unpacked with wrong size!
  926. fi
  927. chmod +x 'params/period-12'
  928. # end of 'params/period-12'
  929. fi
  930. if test -f 'params/period-2' -a "${1}" != "-c" ; then 
  931.   echo shar: Will not clobber existing file \"'params/period-2'\"
  932. else
  933. echo shar: Extracting \"'params/period-2'\" \(60 characters\)
  934. sed "s/^X//" >'params/period-2' <<'END_OF_FILE'
  935. X
  936. X/usr/games/X11/lyap -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  937. END_OF_FILE
  938. if test 60 -ne `wc -c <'params/period-2'`; then
  939.     echo shar: \"'params/period-2'\" unpacked with wrong size!
  940. fi
  941. chmod +x 'params/period-2'
  942. # end of 'params/period-2'
  943. fi
  944. if test -f 'params/period-4' -a "${1}" != "-c" ; then 
  945.   echo shar: Will not clobber existing file \"'params/period-4'\"
  946. else
  947. echo shar: Extracting \"'params/period-4'\" \(68 characters\)
  948. sed "s/^X//" >'params/period-4' <<'END_OF_FILE'
  949. X
  950. X/usr/games/X11/lyap -f abbb -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  951. END_OF_FILE
  952. if test 68 -ne `wc -c <'params/period-4'`; then
  953.     echo shar: \"'params/period-4'\" unpacked with wrong size!
  954. fi
  955. chmod +x 'params/period-4'
  956. # end of 'params/period-4'
  957. fi
  958. if test -f 'params/period-8' -a "${1}" != "-c" ; then 
  959.   echo shar: Will not clobber existing file \"'params/period-8'\"
  960. else
  961. echo shar: Extracting \"'params/period-8'\" \(72 characters\)
  962. sed "s/^X//" >'params/period-8' <<'END_OF_FILE'
  963. X
  964. X/usr/games/X11/lyap -f abbabaab -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  965. END_OF_FILE
  966. if test 72 -ne `wc -c <'params/period-8'`; then
  967.     echo shar: \"'params/period-8'\" unpacked with wrong size!
  968. fi
  969. chmod +x 'params/period-8'
  970. # end of 'params/period-8'
  971. fi
  972. if test -f 'params/skewed-12' -a "${1}" != "-c" ; then 
  973.   echo shar: Will not clobber existing file \"'params/skewed-12'\"
  974. else
  975. echo shar: Extracting \"'params/skewed-12'\" \(81 characters\)
  976. sed "s/^X//" >'params/skewed-12' <<'END_OF_FILE'
  977. X
  978. X/usr/games/X11/lyap -m 2 -f aaaaaabbbbbb -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  979. END_OF_FILE
  980. if test 81 -ne `wc -c <'params/skewed-12'`; then
  981.     echo shar: \"'params/skewed-12'\" unpacked with wrong size!
  982. fi
  983. chmod +x 'params/skewed-12'
  984. # end of 'params/skewed-12'
  985. fi
  986. if test -f 'params/skewed-2' -a "${1}" != "-c" ; then 
  987.   echo shar: Will not clobber existing file \"'params/skewed-2'\"
  988. else
  989. echo shar: Extracting \"'params/skewed-2'\" \(65 characters\)
  990. sed "s/^X//" >'params/skewed-2' <<'END_OF_FILE'
  991. X
  992. X/usr/games/X11/lyap -m 2 -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  993. END_OF_FILE
  994. if test 65 -ne `wc -c <'params/skewed-2'`; then
  995.     echo shar: \"'params/skewed-2'\" unpacked with wrong size!
  996. fi
  997. chmod +x 'params/skewed-2'
  998. # end of 'params/skewed-2'
  999. fi
  1000. if test -f 'params/skewed-4' -a "${1}" != "-c" ; then 
  1001.   echo shar: Will not clobber existing file \"'params/skewed-4'\"
  1002. else
  1003. echo shar: Extracting \"'params/skewed-4'\" \(73 characters\)
  1004. sed "s/^X//" >'params/skewed-4' <<'END_OF_FILE'
  1005. X
  1006. X/usr/games/X11/lyap -m 2 -f abbb -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  1007. END_OF_FILE
  1008. if test 73 -ne `wc -c <'params/skewed-4'`; then
  1009.     echo shar: \"'params/skewed-4'\" unpacked with wrong size!
  1010. fi
  1011. chmod +x 'params/skewed-4'
  1012. # end of 'params/skewed-4'
  1013. fi
  1014. if test -f 'params/skewed-8' -a "${1}" != "-c" ; then 
  1015.   echo shar: Will not clobber existing file \"'params/skewed-8'\"
  1016. else
  1017. echo shar: Extracting \"'params/skewed-8'\" \(78 characters\)
  1018. sed "s/^X//" >'params/skewed-8' <<'END_OF_FILE'
  1019. X
  1020. X/usr/games/X11/lyap -m 2 -f abbabaab  -D 400 -S 200 -W 256 -H 256 -M -0.85 &
  1021. END_OF_FILE
  1022. if test 78 -ne `wc -c <'params/skewed-8'`; then
  1023.     echo shar: \"'params/skewed-8'\" unpacked with wrong size!
  1024. fi
  1025. chmod +x 'params/skewed-8'
  1026. # end of 'params/skewed-8'
  1027. fi
  1028. echo shar: End of archive 2 \(of 2\).
  1029. cp /dev/null ark2isdone
  1030. MISSING=""
  1031. for I in 1 2 ; do
  1032.     if test ! -f ark${I}isdone ; then
  1033.     MISSING="${MISSING} ${I}"
  1034.     fi
  1035. done
  1036. if test "${MISSING}" = "" ; then
  1037.     echo You have unpacked both archives.
  1038.     rm -f ark[1-9]isdone
  1039. else
  1040.     echo You still need to unpack the following archives:
  1041.     echo "        " ${MISSING}
  1042. fi
  1043. ##  End of shell archive.
  1044. exit 0
  1045. -- 
  1046. Molecular Simulations, Inc.             mail: dcmartin@msi.com
  1047. 796 N. Pastoria Avenue                  uucp: uunet!dcmartin
  1048. Sunnyvale, California 94086             at&t: 408/522-9236
  1049.