home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / chemtab / part02 < prev    next >
SHell self-extracting ARchive  |  1991-03-12  |  53.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: SHell self-extracting ARchive (archive/shar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 32 34 69 30 33 |Subject:| v24i03|
|00000010| 37 3a 20 20 4d 61 6e 69 | 70 75 6c 61 74 65 20 64 |7: Mani|pulate d|
|00000020| 61 74 61 20 6f 6e 20 74 | 68 65 20 63 68 65 6d 69 |ata on t|he chemi|
|00000030| 63 61 6c 20 65 6c 65 6d | 65 6e 74 73 2c 20 50 61 |cal elem|ents, Pa|
|00000040| 72 74 30 32 2f 30 33 0a | 4e 65 77 73 67 72 6f 75 |rt02/03.|Newsgrou|
|00000050| 70 73 3a 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |ps: comp|.sources|
|00000060| 2e 75 6e 69 78 0a 41 70 | 70 72 6f 76 65 64 3a 20 |.unix.Ap|proved: |
|00000070| 72 73 61 6c 7a 40 75 75 | 6e 65 74 2e 55 55 2e 4e |rsalz@uu|net.UU.N|
|00000080| 45 54 0a 58 2d 43 68 65 | 63 6b 73 75 6d 2d 53 6e |ET.X-Che|cksum-Sn|
|00000090| 65 66 72 75 3a 20 31 63 | 64 32 39 62 37 38 20 35 |efru: 1c|d29b78 5|
|000000a0| 34 32 33 35 36 38 30 20 | 32 32 61 32 39 37 32 63 |4235680 |22a2972c|
|000000b0| 20 65 34 35 31 33 31 34 | 66 0a 0a 53 75 62 6d 69 | e451314|f..Submi|
|000000c0| 74 74 65 64 2d 62 79 3a | 20 22 4a 2e 45 2e 20 4b |tted-by:| "J.E. K|
|000000d0| 69 6e 67 22 20 3c 6a 65 | 6b 35 30 33 36 40 75 6c |ing" <je|k5036@ul|
|000000e0| 74 62 2e 69 73 63 2e 72 | 69 74 2e 65 64 75 3e 0a |tb.isc.r|it.edu>.|
|000000f0| 50 6f 73 74 69 6e 67 2d | 6e 75 6d 62 65 72 3a 20 |Posting-|number: |
|00000100| 56 6f 6c 75 6d 65 20 32 | 34 2c 20 49 73 73 75 65 |Volume 2|4, Issue|
|00000110| 20 33 37 0a 41 72 63 68 | 69 76 65 2d 6e 61 6d 65 | 37.Arch|ive-name|
|00000120| 3a 20 63 68 65 6d 74 61 | 62 2f 70 61 72 74 30 32 |: chemta|b/part02|
|00000130| 0a 0a 23 21 20 2f 62 69 | 6e 2f 73 68 0a 23 20 54 |..#! /bi|n/sh.# T|
|00000140| 68 69 73 20 69 73 20 61 | 20 73 68 65 6c 6c 20 61 |his is a| shell a|
|00000150| 72 63 68 69 76 65 2e 20 | 20 52 65 6d 6f 76 65 20 |rchive. | Remove |
|00000160| 61 6e 79 74 68 69 6e 67 | 20 62 65 66 6f 72 65 20 |anything| before |
|00000170| 74 68 69 73 20 6c 69 6e | 65 2c 20 74 68 65 6e 20 |this lin|e, then |
|00000180| 66 65 65 64 20 69 74 0a | 23 20 69 6e 74 6f 20 61 |feed it.|# into a|
|00000190| 20 73 68 65 6c 6c 20 76 | 69 61 20 22 73 68 20 66 | shell v|ia "sh f|
|000001a0| 69 6c 65 22 20 6f 72 20 | 73 69 6d 69 6c 61 72 2e |ile" or |similar.|
|000001b0| 20 20 54 6f 20 6f 76 65 | 72 77 72 69 74 65 20 65 | To ove|rwrite e|
|000001c0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 73 2c 0a 23 |xisting |files,.#|
|000001d0| 20 74 79 70 65 20 22 73 | 68 20 66 69 6c 65 20 2d | type "s|h file -|
|000001e0| 63 22 2e 0a 23 20 54 68 | 65 20 74 6f 6f 6c 20 74 |c"..# Th|e tool t|
|000001f0| 68 61 74 20 67 65 6e 65 | 72 61 74 65 64 20 74 68 |hat gene|rated th|
|00000200| 69 73 20 61 70 70 65 61 | 72 65 64 20 69 6e 20 74 |is appea|red in t|
|00000210| 68 65 20 63 6f 6d 70 2e | 73 6f 75 72 63 65 73 2e |he comp.|sources.|
|00000220| 75 6e 69 78 20 6e 65 77 | 73 67 72 6f 75 70 3b 0a |unix new|sgroup;.|
|00000230| 23 20 73 65 6e 64 20 6d | 61 69 6c 20 74 6f 20 63 |# send m|ail to c|
|00000240| 6f 6d 70 2d 73 6f 75 72 | 63 65 73 2d 75 6e 69 78 |omp-sour|ces-unix|
|00000250| 40 75 75 6e 65 74 2e 75 | 75 2e 6e 65 74 20 69 66 |@uunet.u|u.net if|
|00000260| 20 79 6f 75 20 77 61 6e | 74 20 74 68 61 74 20 74 | you wan|t that t|
|00000270| 6f 6f 6c 2e 0a 23 20 43 | 6f 6e 74 65 6e 74 73 3a |ool..# C|ontents:|
|00000280| 20 20 4d 61 6b 65 66 69 | 6c 65 20 56 45 52 53 49 | Makefi|le VERSI|
|00000290| 4f 4e 20 63 68 65 6d 74 | 61 62 2e 31 20 63 6c 65 |ON chemt|ab.1 cle|
|000002a0| 61 6e 75 70 2e 63 20 65 | 6c 65 6d 65 6e 74 2e 63 |anup.c e|lement.c|
|000002b0| 20 65 6c 65 6d 65 6e 74 | 2e 68 0a 23 20 20 20 65 | element|.h.# e|
|000002c0| 6c 65 6d 65 6e 74 32 2e | 63 20 67 72 61 70 68 2e |lement2.|c graph.|
|000002d0| 68 20 67 72 61 70 68 6c | 69 62 2e 63 20 6f 6e 6c |h graphl|ib.c onl|
|000002e0| 69 6e 65 5f 68 65 6c 70 | 20 70 65 72 74 61 62 20 |ine_help| pertab |
|000002f0| 70 65 72 74 61 62 5f 67 | 72 61 70 68 69 63 0a 23 |pertab_g|raphic.#|
|00000300| 20 20 20 70 74 61 62 6c | 2e 63 20 73 63 68 61 72 | ptabl|.c schar|
|00000310| 2e 63 20 73 63 72 6d 69 | 73 63 2e 63 20 74 75 6e |.c scrmi|sc.c tun|
|00000320| 65 2e 68 20 76 61 72 69 | 61 62 6c 65 73 2e 68 20 |e.h vari|ables.h |
|00000330| 76 64 61 74 61 2e 63 0a | 23 20 57 72 61 70 70 65 |vdata.c.|# Wrappe|
|00000340| 64 20 62 79 20 72 73 61 | 6c 7a 40 6c 69 74 63 68 |d by rsa|lz@litch|
|00000350| 69 2e 62 62 6e 2e 63 6f | 6d 20 6f 6e 20 57 65 64 |i.bbn.co|m on Wed|
|00000360| 20 4d 61 72 20 31 33 20 | 31 33 3a 35 35 3a 31 39 | Mar 13 |13:55:19|
|00000370| 20 31 39 39 31 0a 50 41 | 54 48 3d 2f 62 69 6e 3a | 1991.PA|TH=/bin:|
|00000380| 2f 75 73 72 2f 62 69 6e | 3a 2f 75 73 72 2f 75 63 |/usr/bin|:/usr/uc|
|00000390| 62 20 3b 20 65 78 70 6f | 72 74 20 50 41 54 48 0a |b ; expo|rt PATH.|
|000003a0| 65 63 68 6f 20 49 66 20 | 74 68 69 73 20 61 72 63 |echo If |this arc|
|000003b0| 68 69 76 65 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |hive is |complete|
|000003c0| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 73 65 65 20 74 |, you wi|ll see t|
|000003d0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 65 73 |he follo|wing mes|
|000003e0| 73 61 67 65 3a 0a 65 63 | 68 6f 20 27 20 20 20 20 |sage:.ec|ho ' |
|000003f0| 20 20 20 20 20 20 22 73 | 68 61 72 3a 20 45 6e 64 | "s|har: End|
|00000400| 20 6f 66 20 61 72 63 68 | 69 76 65 20 32 20 28 6f | of arch|ive 2 (o|
|00000410| 66 20 33 29 2e 22 27 0a | 69 66 20 74 65 73 74 20 |f 3)."'.|if test |
|00000420| 2d 66 20 27 4d 61 6b 65 | 66 69 6c 65 27 20 2d 61 |-f 'Make|file' -a|
|00000430| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00000440| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00000450| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00000460| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00000470| 69 6c 65 20 5c 22 27 4d | 61 6b 65 66 69 6c 65 27 |ile \"'M|akefile'|
|00000480| 5c 22 0a 65 6c 73 65 0a | 20 20 65 63 68 6f 20 73 |\".else.| echo s|
|00000490| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|000004a0| 5c 22 27 4d 61 6b 65 66 | 69 6c 65 27 5c 22 20 5c |\"'Makef|ile'\" \|
|000004b0| 28 31 37 38 30 20 63 68 | 61 72 61 63 74 65 72 73 |(1780 ch|aracters|
|000004c0| 5c 29 0a 20 20 73 65 64 | 20 22 73 2f 5e 58 2f 2f |\). sed| "s/^X//|
|000004d0| 22 20 3e 27 4d 61 6b 65 | 66 69 6c 65 27 20 3c 3c |" >'Make|file' <<|
|000004e0| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 43 |'END_OF_|FILE'.XC|
|000004f0| 43 20 20 20 20 20 20 20 | 20 20 20 20 20 3d 20 63 |C | = c|
|00000500| 63 0a 58 43 46 4c 41 47 | 53 20 20 20 20 20 20 20 |c.XCFLAG|S |
|00000510| 20 3d 20 2d 67 20 2d 44 | 52 65 47 49 53 0a 58 23 | = -g -D|ReGIS.X#|
|00000520| 20 44 65 66 69 6e 65 20 | 52 65 47 49 53 20 69 66 | Define |ReGIS if|
|00000530| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 70 72 6f | you wan|t to pro|
|00000540| 67 72 61 6d 20 74 6f 20 | 70 72 6f 6d 70 74 20 74 |gram to |prompt t|
|00000550| 68 65 20 75 73 65 72 20 | 74 6f 20 61 6e 73 77 65 |he user |to answe|
|00000560| 72 20 79 2f 6e 0a 58 23 | 20 74 6f 20 74 68 65 20 |r y/n.X#| to the |
|00000570| 71 75 65 73 74 69 6f 6e | 20 6f 66 20 69 66 20 74 |question| of if t|
|00000580| 68 65 79 20 68 61 76 65 | 20 61 20 52 65 47 49 53 |hey have| a ReGIS|
|00000590| 20 63 6f 6d 70 61 74 69 | 62 6c 65 20 74 65 72 6d | compati|ble term|
|000005a0| 69 6e 61 6c 0a 58 44 45 | 53 54 09 20 20 20 20 20 |inal.XDE|ST. |
|000005b0| 20 3d 20 63 68 65 6d 74 | 61 62 0a 58 45 58 54 48 | = chemt|ab.XEXTH|
|000005c0| 44 52 53 09 20 20 20 20 | 20 20 3d 20 2f 75 73 72 |DRS. | = /usr|
|000005d0| 2f 69 6e 63 6c 75 64 65 | 2f 63 75 72 73 65 73 2e |/include|/curses.|
|000005e0| 68 20 5c 0a 58 09 09 2f | 75 73 72 2f 69 6e 63 6c |h \.X../|usr/incl|
|000005f0| 75 64 65 2f 6d 61 74 68 | 2e 68 20 5c 0a 58 09 09 |ude/math|.h \.X..|
|00000600| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 2f 73 67 74 |/usr/inc|lude/sgt|
|00000610| 74 79 2e 68 20 5c 0a 58 | 09 09 2f 75 73 72 2f 69 |ty.h \.X|../usr/i|
|00000620| 6e 63 6c 75 64 65 2f 73 | 69 67 6e 61 6c 2e 68 20 |nclude/s|ignal.h |
|00000630| 5c 0a 58 09 09 2f 75 73 | 72 2f 69 6e 63 6c 75 64 |\.X../us|r/includ|
|00000640| 65 2f 73 74 64 69 6f 2e | 68 20 5c 0a 58 09 09 2f |e/stdio.|h \.X../|
|00000650| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 73 79 73 2f |usr/incl|ude/sys/|
|00000660| 69 6f 63 74 6c 2e 68 20 | 5c 0a 58 09 09 2f 75 73 |ioctl.h |\.X../us|
|00000670| 72 2f 69 6e 63 6c 75 64 | 65 2f 73 79 73 2f 74 74 |r/includ|e/sys/tt|
|00000680| 79 63 68 61 72 73 2e 68 | 20 5c 0a 58 09 09 2f 75 |ychars.h| \.X../u|
|00000690| 73 72 2f 69 6e 63 6c 75 | 64 65 2f 73 79 73 2f 74 |sr/inclu|de/sys/t|
|000006a0| 74 79 64 65 76 2e 68 20 | 5c 0a 58 09 09 2f 75 73 |tydev.h |\.X../us|
|000006b0| 72 2f 69 6e 63 6c 75 64 | 65 2f 73 79 73 2f 74 74 |r/includ|e/sys/tt|
|000006c0| 79 69 6f 2e 68 20 5c 0a | 58 09 09 2f 75 73 72 2f |yio.h \.|X../usr/|
|000006d0| 69 6e 63 6c 75 64 65 2f | 74 69 6d 65 2e 68 0a 58 |include/|time.h.X|
|000006e0| 48 44 52 53 09 20 20 20 | 20 20 20 3d 20 65 6c 65 |HDRS. | = ele|
|000006f0| 6d 65 6e 74 2e 68 20 5c | 0a 58 09 09 67 72 61 70 |ment.h \|.X..grap|
|00000700| 68 2e 68 20 5c 0a 58 09 | 09 74 75 6e 65 2e 68 20 |h.h \.X.|.tune.h |
|00000710| 5c 0a 58 09 09 75 6e 64 | 65 66 73 2e 68 20 5c 0a |\.X..und|efs.h \.|
|00000720| 58 09 09 76 61 72 69 61 | 62 6c 65 73 2e 68 20 5c |X..varia|bles.h \|
|00000730| 0a 58 09 09 77 69 6e 64 | 6f 77 73 2e 68 0a 58 4c |.X..wind|ows.h.XL|
|00000740| 44 46 4c 41 47 53 09 20 | 20 20 20 20 20 3d 20 24 |DFLAGS. | = $|
|00000750| 28 43 46 4c 41 47 53 29 | 0a 58 4c 49 42 53 09 20 |(CFLAGS)|.XLIBS. |
|00000760| 20 20 20 20 20 3d 20 2d | 6c 63 75 72 73 65 73 20 | = -|lcurses |
|00000770| 2d 6c 74 65 72 6d 63 61 | 70 20 67 72 61 70 68 6c |-ltermca|p graphl|
|00000780| 69 62 2e 61 0a 58 4c 49 | 4e 4b 45 52 09 20 20 20 |ib.a.XLI|NKER. |
|00000790| 20 20 20 3d 20 63 63 0a | 58 4d 41 4b 45 46 49 4c | = cc.|XMAKEFIL|
|000007a0| 45 20 20 20 20 20 20 3d | 20 4d 61 6b 65 66 69 6c |E =| Makefil|
|000007b0| 65 0a 58 4f 42 4a 53 09 | 20 20 20 20 20 20 3d 20 |e.XOBJS.| = |
|000007c0| 63 6c 65 61 6e 75 70 2e | 6f 20 5c 0a 58 09 09 64 |cleanup.|o \.X..d|
|000007d0| 6f 67 70 68 2e 6f 20 5c | 0a 58 09 09 64 6f 72 65 |ogph.o \|.X..dore|
|000007e0| 67 69 73 67 70 68 2e 6f | 20 5c 0a 58 09 09 65 6c |gisgph.o| \.X..el|
|000007f0| 65 6d 65 6e 74 2e 6f 20 | 5c 0a 58 09 09 65 6c 65 |ement.o |\.X..ele|
|00000800| 6d 65 6e 74 32 2e 6f 20 | 5c 0a 58 09 09 65 73 6f |ment2.o |\.X..eso|
|00000810| 72 74 2e 6f 20 5c 0a 58 | 09 09 6c 6f 6f 6b 65 2e |rt.o \.X|..looke.|
|00000820| 6f 20 5c 0a 58 09 09 6d | 61 69 6e 2e 6f 20 5c 0a |o \.X..m|ain.o \.|
|00000830| 58 09 09 70 74 61 62 6c | 2e 6f 20 5c 0a 58 09 09 |X..ptabl|.o \.X..|
|00000840| 73 63 68 61 72 2e 6f 20 | 5c 0a 58 09 09 73 63 72 |schar.o |\.X..scr|
|00000850| 6d 69 73 63 2e 6f 20 5c | 0a 58 09 09 76 64 61 74 |misc.o \|.X..vdat|
|00000860| 61 2e 6f 0a 58 50 52 49 | 4e 54 09 20 20 20 20 20 |a.o.XPRI|NT. |
|00000870| 20 3d 20 6c 70 72 0a 58 | 50 52 4f 47 52 41 4d 09 | = lpr.X|PROGRAM.|
|00000880| 20 20 20 20 20 20 3d 20 | 63 68 65 6d 74 61 62 0a | = |chemtab.|
|00000890| 58 53 52 43 53 09 20 20 | 20 20 20 20 3d 20 63 6c |XSRCS. | = cl|
|000008a0| 65 61 6e 75 70 2e 63 20 | 5c 0a 58 09 09 64 6f 67 |eanup.c |\.X..dog|
|000008b0| 70 68 2e 63 20 5c 0a 58 | 09 09 64 6f 72 65 67 69 |ph.c \.X|..doregi|
|000008c0| 73 67 70 68 2e 63 20 5c | 0a 58 09 09 65 6c 65 6d |sgph.c \|.X..elem|
|000008d0| 65 6e 74 2e 63 20 5c 0a | 58 09 09 65 6c 65 6d 65 |ent.c \.|X..eleme|
|000008e0| 6e 74 32 2e 63 20 5c 0a | 58 09 09 65 73 6f 72 74 |nt2.c \.|X..esort|
|000008f0| 2e 63 20 5c 0a 58 09 09 | 67 72 61 70 68 6c 69 62 |.c \.X..|graphlib|
|00000900| 2e 63 20 5c 0a 58 09 09 | 6c 6f 6f 6b 65 2e 63 20 |.c \.X..|looke.c |
|00000910| 5c 0a 58 09 09 6d 61 69 | 6e 2e 63 20 5c 0a 58 09 |\.X..mai|n.c \.X.|
|00000920| 09 70 74 61 62 6c 2e 63 | 20 5c 0a 58 09 09 73 63 |.ptabl.c| \.X..sc|
|00000930| 68 61 72 2e 63 20 5c 0a | 58 09 09 73 63 72 6d 69 |har.c \.|X..scrmi|
|00000940| 73 63 2e 63 20 5c 0a 58 | 09 09 76 64 61 74 61 2e |sc.c \.X|..vdata.|
|00000950| 63 0a 58 0a 58 61 6c 6c | 3a 09 09 67 72 6c 69 62 |c.X.Xall|:..grlib|
|00000960| 20 24 28 50 52 4f 47 52 | 41 4d 29 0a 58 0a 58 67 | $(PROGR|AM).X.Xg|
|00000970| 72 6c 69 62 3a 09 09 67 | 72 61 70 68 6c 69 62 2e |rlib:..g|raphlib.|
|00000980| 6f 0a 58 09 09 61 72 20 | 63 72 20 67 72 61 70 68 |o.X..ar |cr graph|
|00000990| 6c 69 62 2e 61 20 67 72 | 61 70 68 6c 69 62 2e 6f |lib.a gr|aphlib.o|
|000009a0| 0a 58 09 09 72 61 6e 6c | 69 62 20 67 72 61 70 68 |.X..ranl|ib graph|
|000009b0| 6c 69 62 2e 61 0a 58 0a | 58 24 28 50 52 4f 47 52 |lib.a.X.|X$(PROGR|
|000009c0| 41 4d 29 3a 20 20 20 20 | 20 24 28 4f 42 4a 53 29 |AM): | $(OBJS)|
|000009d0| 20 67 72 61 70 68 6c 69 | 62 2e 61 0a 58 09 09 40 | graphli|b.a.X..@|
|000009e0| 65 63 68 6f 20 2d 6e 20 | 22 4c 6f 61 64 69 6e 67 |echo -n |"Loading|
|000009f0| 20 24 28 50 52 4f 47 52 | 41 4d 29 20 2e 2e 2e 20 | $(PROGR|AM) ... |
|00000a00| 22 0a 58 09 09 40 24 28 | 4c 49 4e 4b 45 52 29 20 |".X..@$(|LINKER) |
|00000a10| 24 28 4c 44 46 4c 41 47 | 53 29 20 24 28 4f 42 4a |$(LDFLAG|S) $(OBJ|
|00000a20| 53 29 20 2d 6f 20 24 28 | 50 52 4f 47 52 41 4d 29 |S) -o $(|PROGRAM)|
|00000a30| 20 24 28 4c 49 42 53 29 | 0a 58 09 09 40 65 63 68 | $(LIBS)|.X..@ech|
|00000a40| 6f 20 22 64 6f 6e 65 22 | 0a 58 0a 58 63 6c 65 61 |o "done"|.X.Xclea|
|00000a50| 6e 3a 3b 09 09 40 72 6d | 20 2d 66 20 24 28 4f 42 |n:;..@rm| -f $(OB|
|00000a60| 4a 53 29 0a 58 0a 58 64 | 65 70 65 6e 64 3a 3b 09 |JS).X.Xd|epend:;.|
|00000a70| 40 6d 6b 6d 66 20 2d 66 | 20 24 28 4d 41 4b 45 46 |@mkmf -f| $(MAKEF|
|00000a80| 49 4c 45 29 20 50 52 4f | 47 52 41 4d 3d 24 28 50 |ILE) PRO|GRAM=$(P|
|00000a90| 52 4f 47 52 41 4d 29 20 | 44 45 53 54 3d 24 28 44 |ROGRAM) |DEST=$(D|
|00000aa0| 45 53 54 29 0a 58 0a 58 | 69 6e 64 65 78 3a 3b 09 |EST).X.X|index:;.|
|00000ab0| 09 40 63 74 61 67 73 20 | 2d 77 78 20 24 28 48 44 |.@ctags |-wx $(HD|
|00000ac0| 52 53 29 20 24 28 53 52 | 43 53 29 0a 58 0a 58 69 |RS) $(SR|CS).X.Xi|
|00000ad0| 6e 73 74 61 6c 6c 3a 09 | 24 28 50 52 4f 47 52 41 |nstall:.|$(PROGRA|
|00000ae0| 4d 29 0a 58 09 09 40 65 | 63 68 6f 20 49 6e 73 74 |M).X..@e|cho Inst|
|00000af0| 61 6c 6c 69 6e 67 20 24 | 28 50 52 4f 47 52 41 4d |alling $|(PROGRAM|
|00000b00| 29 20 69 6e 20 24 28 44 | 45 53 54 29 0a 58 09 09 |) in $(D|EST).X..|
|00000b10| 40 69 6e 73 74 61 6c 6c | 20 2d 6d 20 34 37 35 35 |@install| -m 4755|
|00000b20| 20 24 28 50 52 4f 47 52 | 41 4d 29 20 24 28 44 45 | $(PROGR|AM) $(DE|
|00000b30| 53 54 29 0a 58 0a 58 70 | 72 69 6e 74 3a 3b 09 09 |ST).X.Xp|rint:;..|
|00000b40| 40 24 28 50 52 49 4e 54 | 29 20 24 28 48 44 52 53 |@$(PRINT|) $(HDRS|
|00000b50| 29 20 24 28 53 52 43 53 | 29 0a 58 0a 58 70 72 6f |) $(SRCS|).X.Xpro|
|00000b60| 67 72 61 6d 3a 20 20 20 | 20 20 20 20 20 24 28 50 |gram: | $(P|
|00000b70| 52 4f 47 52 41 4d 29 0a | 58 0a 58 74 61 67 73 3a |ROGRAM).|X.Xtags:|
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 24 28 48 44 52 | | $(HDR|
|00000b90| 53 29 20 24 28 53 52 43 | 53 29 3b 20 40 63 74 61 |S) $(SRC|S); @cta|
|00000ba0| 67 73 20 24 28 48 44 52 | 53 29 20 24 28 53 52 43 |gs $(HDR|S) $(SRC|
|00000bb0| 53 29 0a 58 0a 58 75 70 | 64 61 74 65 3a 09 09 24 |S).X.Xup|date:..$|
|00000bc0| 28 44 45 53 54 29 2f 24 | 28 50 52 4f 47 52 41 4d |(DEST)/$|(PROGRAM|
|00000bd0| 29 0a 58 0a 58 24 28 44 | 45 53 54 29 2f 24 28 50 |).X.X$(D|EST)/$(P|
|00000be0| 52 4f 47 52 41 4d 29 3a | 20 24 28 53 52 43 53 29 |ROGRAM):| $(SRCS)|
|00000bf0| 20 24 28 4c 49 42 53 29 | 20 24 28 48 44 52 53 29 | $(LIBS)| $(HDRS)|
|00000c00| 20 24 28 45 58 54 48 44 | 52 53 29 0a 58 09 09 40 | $(EXTHD|RS).X..@|
|00000c10| 6d 61 6b 65 20 2d 66 20 | 24 28 4d 41 4b 45 46 49 |make -f |$(MAKEFI|
|00000c20| 4c 45 29 20 44 45 53 54 | 3d 24 28 44 45 53 54 29 |LE) DEST|=$(DEST)|
|00000c30| 20 0a 58 23 23 23 0a 45 | 4e 44 5f 4f 46 5f 46 49 | .X###.E|ND_OF_FI|
|00000c40| 4c 45 0a 20 20 69 66 20 | 74 65 73 74 20 31 37 38 |LE. if |test 178|
|00000c50| 30 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 4d |0 -ne `w|c -c <'M|
|00000c60| 61 6b 65 66 69 6c 65 27 | 60 3b 20 74 68 65 6e 0a |akefile'|`; then.|
|00000c70| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00000c80| 22 27 4d 61 6b 65 66 69 | 6c 65 27 5c 22 20 75 6e |"'Makefi|le'\" un|
|00000c90| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00000ca0| 67 20 73 69 7a 65 21 0a | 20 20 66 69 0a 20 20 23 |g size!.| fi. #|
|00000cb0| 20 65 6e 64 20 6f 66 20 | 27 4d 61 6b 65 66 69 6c | end of |'Makefil|
|00000cc0| 65 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |e'.fi.if| test -f|
|00000cd0| 20 27 56 45 52 53 49 4f | 4e 27 20 2d 61 20 22 24 | 'VERSIO|N' -a "$|
|00000ce0| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00000cf0| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00000d00| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00000d10| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00000d20| 20 5c 22 27 56 45 52 53 | 49 4f 4e 27 5c 22 0a 65 | \"'VERS|ION'\".e|
|00000d30| 6c 73 65 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |lse. ec|ho shar:|
|00000d40| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 56 | Extract|ing \"'V|
|00000d50| 45 52 53 49 4f 4e 27 5c | 22 20 5c 28 31 30 30 35 |ERSION'\|" \(1005|
|00000d60| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 20 20 | charact|ers\). |
|00000d70| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 56 |sed "s/^|X//" >'V|
|00000d80| 45 52 53 49 4f 4e 27 20 | 3c 3c 27 45 4e 44 5f 4f |ERSION' |<<'END_O|
|00000d90| 46 5f 46 49 4c 45 27 0a | 58 43 75 72 72 65 6e 74 |F_FILE'.|XCurrent|
|00000da0| 6c 79 2c 20 79 6f 75 20 | 68 61 76 65 20 43 68 65 |ly, you |have Che|
|00000db0| 6d 74 61 62 20 56 65 72 | 73 69 6f 6e 20 32 2e 30 |mtab Ver|sion 2.0|
|00000dc0| 31 2c 20 50 61 74 63 68 | 6c 65 76 65 6c 20 31 2e |1, Patch|level 1.|
|00000dd0| 0a 58 0a 58 56 65 72 73 | 69 6f 6e 20 48 69 73 74 |.X.XVers|ion Hist|
|00000de0| 6f 72 79 3a 0a 58 0a 58 | 09 43 68 65 6d 74 61 62 |ory:.X.X|.Chemtab|
|00000df0| 20 56 31 2e 30 09 53 65 | 6c 65 63 74 69 6f 6e 20 | V1.0.Se|lection |
|00000e00| 61 6e 64 20 73 6f 72 74 | 69 6e 67 20 61 6c 67 6f |and sort|ing algo|
|00000e10| 72 69 74 68 6d 73 2c 20 | 6d 65 6e 75 2d 62 61 72 |rithms, |menu-bar|
|00000e20| 0a 58 09 09 09 64 72 69 | 76 65 6e 20 64 69 73 70 |.X...dri|ven disp|
|00000e30| 6c 61 79 2c 20 73 6c 6f | 77 20 61 6e 64 20 74 65 |lay, slo|w and te|
|00000e40| 64 69 6f 75 73 2e 0a 58 | 0a 58 09 43 68 65 6d 74 |dious..X|.X.Chemt|
|00000e50| 61 62 20 56 31 2e 31 09 | 4d 65 6e 75 20 62 61 72 |ab V1.1.|Menu bar|
|00000e60| 20 63 6f 6e 76 65 72 74 | 65 64 20 74 6f 20 6b 65 | convert|ed to ke|
|00000e70| 79 62 6f 61 72 64 20 73 | 65 6c 65 63 74 69 6f 6e |yboard s|election|
|00000e80| 20 62 79 0a 58 09 09 09 | 6c 65 74 74 65 72 20 6f | by.X...|letter o|
|00000e90| 72 20 6e 75 6d 62 65 72 | 2c 20 66 61 73 74 65 72 |r number|, faster|
|00000ea0| 2c 20 72 65 77 72 6f 74 | 65 20 73 6f 72 74 69 6e |, rewrot|e sortin|
|00000eb0| 67 0a 58 09 09 09 61 6c | 67 6f 72 69 74 68 6d 2c |g.X...al|gorithm,|
|00000ec0| 20 35 58 20 66 61 73 74 | 65 72 2e 0a 58 0a 58 09 | 5X fast|er..X.X.|
|00000ed0| 43 68 65 6d 74 61 62 20 | 56 31 2e 32 09 49 6d 70 |Chemtab |V1.2.Imp|
|00000ee0| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 6c |lementat|ion of l|
|00000ef0| 6f 6f 6b 69 6e 67 20 61 | 74 20 61 20 73 70 65 63 |ooking a|t a spec|
|00000f00| 69 66 69 63 0a 58 09 09 | 09 65 6c 65 6d 65 6e 74 |ific.X..|.element|
|00000f10| 20 61 6e 64 20 74 68 65 | 20 67 72 61 70 68 69 6e | and the| graphin|
|00000f20| 67 20 6d 6f 64 75 6c 65 | 20 77 61 73 20 69 6e 73 |g module| was ins|
|00000f30| 74 61 6c 6c 65 64 2e 0a | 58 0a 58 09 43 68 65 6d |talled..|X.X.Chem|
|00000f40| 74 61 62 20 56 32 2e 30 | 09 52 65 47 49 53 20 69 |tab V2.0|.ReGIS i|
|00000f50| 6e 74 65 72 66 61 63 65 | 20 6d 61 64 65 20 61 76 |nterface| made av|
|00000f60| 61 69 6c 61 62 6c 65 20 | 74 6f 20 75 73 65 72 73 |ailable |to users|
|00000f70| 20 66 6f 72 0a 58 09 09 | 09 74 68 65 20 67 72 61 | for.X..|.the gra|
|00000f80| 70 68 69 6e 67 20 6d 6f | 64 75 6c 65 2c 20 76 74 |phing mo|dule, vt|
|00000f90| 31 30 30 20 67 72 61 70 | 68 69 63 73 20 73 65 74 |100 grap|hics set|
|00000fa0| 0a 58 09 09 09 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |.X...imp|lemented|
|00000fb0| 20 66 6f 72 20 74 68 65 | 20 70 65 72 69 6f 64 69 | for the| periodi|
|00000fc0| 63 20 74 61 62 6c 65 2e | 20 20 50 6c 6f 74 74 65 |c table.| Plotte|
|00000fd0| 72 0a 58 09 09 09 63 61 | 70 61 62 69 6c 69 74 69 |r.X...ca|pabiliti|
|00000fe0| 65 73 20 69 6e 73 74 61 | 6c 6c 65 64 20 66 6f 72 |es insta|lled for|
|00000ff0| 20 67 72 61 70 68 69 6e | 67 20 6d 6f 64 75 6c 65 | graphin|g module|
|00001000| 0a 58 09 09 09 74 6f 20 | 70 6c 6f 74 20 6f 6e 20 |.X...to |plot on |
|00001010| 44 45 43 20 4c 56 50 31 | 36 20 61 6e 64 20 70 6f |DEC LVP1|6 and po|
|00001020| 73 73 69 62 6c 79 20 61 | 6e 79 20 48 50 2e 2e 0a |ssibly a|ny HP...|
|00001030| 58 09 09 09 4d 69 6e 6f | 72 20 73 63 72 65 65 6e |X...Mino|r screen|
|00001040| 20 67 6c 69 74 63 68 65 | 73 20 66 69 78 65 64 2e | glitche|s fixed.|
|00001050| 20 0a 58 0a 58 09 43 68 | 65 6d 74 61 62 20 56 32 | .X.X.Ch|emtab V2|
|00001060| 2e 30 31 09 41 64 64 65 | 64 20 65 73 63 61 70 65 |.01.Adde|d escape|
|00001070| 20 74 6f 20 6d 61 69 6e | 20 6d 65 6e 75 20 66 72 | to main| menu fr|
|00001080| 6f 6d 20 61 6c 6c 20 6d | 65 6e 75 73 2c 20 63 68 |om all m|enus, ch|
|00001090| 61 6e 67 65 64 0a 58 09 | 09 09 6c 6f 6f 6b 65 2e |anged.X.|..looke.|
|000010a0| 63 20 74 6f 20 74 75 72 | 6e 20 61 6c 6c 20 6c 69 |c to tur|n all li|
|000010b0| 6e 65 73 20 69 6e 74 6f | 20 6c 6f 77 65 72 63 61 |nes into| lowerca|
|000010c0| 73 65 20 66 6f 72 20 27 | 6c 6f 6f 6b 0a 58 09 09 |se for '|look.X..|
|000010d0| 09 66 6f 72 20 65 6c 65 | 6d 65 6e 74 20 62 79 20 |.for ele|ment by |
|000010e0| 6e 61 6d 65 20 69 2e 65 | 2e 20 54 45 43 48 6e 65 |name i.e|. TECHne|
|000010f0| 74 49 55 4d 20 3d 20 74 | 65 63 68 6e 65 74 69 75 |tIUM = t|echnetiu|
|00001100| 6d 27 2e 0a 58 09 09 09 | 4f 6e 6c 69 6e 65 20 68 |m'..X...|Online h|
|00001110| 65 6c 70 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e |elp impl|emented.|
|00001120| 0a 58 09 09 09 4a 6f 62 | 20 73 74 6f 70 70 69 6e |.X...Job| stoppin|
|00001130| 67 20 66 69 78 65 64 2e | 20 28 42 53 44 20 6f 6e |g fixed.| (BSD on|
|00001140| 6c 79 29 0a 58 09 09 09 | 50 69 70 65 20 6f 66 20 |ly).X...|Pipe of |
|00001150| 52 65 47 49 53 20 67 72 | 61 70 68 69 6e 67 20 63 |ReGIS gr|aphing c|
|00001160| 6f 6d 6d 61 6e 64 73 20 | 69 6e 74 6f 20 61 20 66 |ommands |into a f|
|00001170| 69 6c 65 2e 0a 58 09 09 | 09 47 72 61 70 68 69 6e |ile..X..|.Graphin|
|00001180| 67 20 6d 6f 64 75 6c 65 | 20 75 70 64 61 74 65 64 |g module| updated|
|00001190| 20 74 6f 20 77 6f 72 6b | 20 66 61 73 74 65 72 2e | to work| faster.|
|000011a0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 20 20 69 |.END_OF_|FILE. i|
|000011b0| 66 20 74 65 73 74 20 31 | 30 30 35 20 2d 6e 65 20 |f test 1|005 -ne |
|000011c0| 60 77 63 20 2d 63 20 3c | 27 56 45 52 53 49 4f 4e |`wc -c <|'VERSION|
|000011d0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|000011e0| 6f 20 73 68 61 72 3a 20 | 5c 22 27 56 45 52 53 49 |o shar: |\"'VERSI|
|000011f0| 4f 4e 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |ON'\" un|packed w|
|00001200| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00001210| 20 20 66 69 0a 20 20 23 | 20 65 6e 64 20 6f 66 20 | fi. #| end of |
|00001220| 27 56 45 52 53 49 4f 4e | 27 0a 66 69 0a 69 66 20 |'VERSION|'.fi.if |
|00001230| 74 65 73 74 20 2d 66 20 | 27 63 68 65 6d 74 61 62 |test -f |'chemtab|
|00001240| 2e 31 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.1' -a "|${1}" !=|
|00001250| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00001260| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00001270| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00001280| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 63 68 65 |ting fil|e \"'che|
|00001290| 6d 74 61 62 2e 31 27 5c | 22 0a 65 6c 73 65 0a 20 |mtab.1'\|".else. |
|000012a0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 | echo sh|ar: Extr|
|000012b0| 61 63 74 69 6e 67 20 5c | 22 27 63 68 65 6d 74 61 |acting \|"'chemta|
|000012c0| 62 2e 31 27 5c 22 20 5c | 28 31 39 30 34 20 63 68 |b.1'\" \|(1904 ch|
|000012d0| 61 72 61 63 74 65 72 73 | 5c 29 0a 20 20 73 65 64 |aracters|\). sed|
|000012e0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 63 68 65 6d | "s/^X//|" >'chem|
|000012f0| 74 61 62 2e 31 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |tab.1' <|<'END_OF|
|00001300| 5f 46 49 4c 45 27 0a 58 | 2e 54 48 20 63 68 65 6d |_FILE'.X|.TH chem|
|00001310| 74 61 62 20 31 0a 58 2e | 53 48 20 4e 41 4d 45 0a |tab 1.X.|SH NAME.|
|00001320| 58 63 68 65 6d 74 61 62 | 20 5c 2d 20 61 20 64 61 |Xchemtab| \- a da|
|00001330| 74 61 62 61 73 65 20 75 | 74 69 6c 69 74 79 20 66 |tabase u|tility f|
|00001340| 6f 72 20 74 68 65 20 65 | 6c 65 6d 65 6e 74 73 0a |or the e|lements.|
|00001350| 58 2e 53 48 20 53 59 4e | 54 41 58 0a 58 2e 42 20 |X.SH SYN|TAX.X.B |
|00001360| 63 68 65 6d 74 61 62 0a | 58 5b 0a 58 2e 49 20 5c |chemtab.|X[.X.I \|
|00001370| 2d 72 0a 58 5d 0a 58 2e | 53 48 20 44 45 53 43 52 |-r.X].X.|SH DESCR|
|00001380| 49 50 54 49 4f 4e 0a 58 | 54 68 65 0a 58 2e 50 4e |IPTION.X|The.X.PN|
|00001390| 20 63 68 65 6d 74 61 62 | 0a 58 70 72 6f 67 72 61 | chemtab|.Xprogra|
|000013a0| 6d 20 69 73 20 61 20 75 | 74 69 6c 69 74 79 20 77 |m is a u|tility w|
|000013b0| 68 69 63 68 20 77 69 6c | 6c 20 61 6c 6c 6f 77 20 |hich wil|l allow |
|000013c0| 79 6f 75 20 74 6f 20 6d | 61 6e 69 70 75 6c 61 74 |you to m|anipulat|
|000013d0| 65 20 64 61 74 61 20 63 | 6f 6e 63 65 72 6e 69 6e |e data c|oncernin|
|000013e0| 67 0a 58 74 68 65 20 65 | 6c 65 6d 65 6e 74 73 2e |g.Xthe e|lements.|
|000013f0| 20 20 54 68 65 20 70 72 | 6f 67 72 61 6d 20 77 61 | The pr|ogram wa|
|00001400| 73 20 77 72 69 74 74 65 | 6e 20 74 6f 20 74 65 61 |s writte|n to tea|
|00001410| 63 68 20 73 74 75 64 65 | 6e 74 73 20 65 6e 74 65 |ch stude|nts ente|
|00001420| 72 69 6e 67 20 61 20 63 | 68 65 6d 69 73 74 72 79 |ring a c|hemistry|
|00001430| 0a 58 63 6f 75 72 73 65 | 20 66 6f 72 20 74 68 65 |.Xcourse| for the|
|00001440| 20 66 69 72 73 74 20 74 | 69 6d 65 20 74 6f 20 6d | first t|ime to m|
|00001450| 61 6b 65 20 63 6f 6e 6e | 65 63 74 69 6f 6e 73 20 |ake conn|ections |
|00001460| 62 65 74 77 65 65 6e 20 | 74 68 65 20 65 6c 65 6d |between |the elem|
|00001470| 65 6e 74 73 0a 58 63 68 | 61 72 61 63 74 65 72 69 |ents.Xch|aracteri|
|00001480| 73 74 69 63 73 20 61 6e | 64 20 65 73 74 61 62 6c |stics an|d establ|
|00001490| 69 73 68 20 70 61 74 74 | 65 72 6e 20 72 65 63 6f |ish patt|ern reco|
|000014a0| 67 6e 69 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 50 |gnition |in the P|
|000014b0| 65 72 69 6f 64 69 63 20 | 54 61 62 6c 65 2e 0a 58 |eriodic |Table..X|
|000014c0| 43 68 65 6d 74 61 62 20 | 77 61 73 20 77 72 69 74 |Chemtab |was writ|
|000014d0| 74 65 6e 20 62 79 20 61 | 20 73 74 75 64 65 6e 74 |ten by a| student|
|000014e0| 20 66 6f 72 20 73 74 75 | 64 65 6e 74 73 2c 20 68 | for stu|dents, h|
|000014f0| 6f 77 65 76 65 72 20 74 | 68 65 20 70 72 6f 67 72 |owever t|he progr|
|00001500| 61 6d 20 64 6f 65 73 20 | 6e 6f 74 0a 58 6e 65 63 |am does |not.Xnec|
|00001510| 65 73 73 61 72 69 6c 79 | 20 68 61 76 65 20 74 6f |essarily| have to|
|00001520| 20 62 65 20 66 6f 72 20 | 73 74 75 64 65 6e 74 73 | be for |students|
|00001530| 20 6f 6e 6c 79 2e 20 20 | 43 68 65 6d 74 61 62 20 | only. |Chemtab |
|00001540| 63 6f 6e 74 61 69 6e 73 | 20 61 20 77 69 64 65 20 |contains| a wide |
|00001550| 76 61 72 69 65 74 79 20 | 6f 66 0a 58 69 6e 66 6f |variety |of.Xinfo|
|00001560| 72 6d 61 74 69 6f 6e 20 | 72 65 67 61 72 64 69 6e |rmation |regardin|
|00001570| 67 20 61 6c 6c 20 74 68 | 65 20 65 6c 65 6d 65 6e |g all th|e elemen|
|00001580| 74 73 20 61 6e 64 20 49 | 20 68 6f 70 65 20 69 74 |ts and I| hope it|
|00001590| 20 70 72 6f 76 65 73 20 | 75 73 65 66 75 6c 20 74 | proves |useful t|
|000015a0| 6f 20 79 6f 75 2e 0a 58 | 2e 53 48 20 46 4c 41 47 |o you..X|.SH FLAG|
|000015b0| 53 0a 58 49 66 20 79 6f | 75 20 61 72 65 20 75 73 |S.XIf yo|u are us|
|000015c0| 69 6e 67 20 61 20 44 69 | 67 69 74 61 6c 20 52 65 |ing a Di|gital Re|
|000015d0| 47 49 53 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 74 |GIS comp|atible t|
|000015e0| 65 72 6d 69 6e 61 6c 2c | 20 61 6e 64 20 79 6f 75 |erminal,| and you|
|000015f0| 20 73 70 65 63 69 66 79 | 20 74 68 65 0a 58 5c 2d | specify| the.X\-|
|00001600| 72 20 66 6c 61 67 2c 20 | 74 68 69 73 20 77 69 6c |r flag, |this wil|
|00001610| 6c 20 61 63 74 69 76 61 | 74 65 20 74 68 65 20 52 |l activa|te the R|
|00001620| 65 47 49 53 20 67 72 61 | 70 68 69 6e 67 20 72 6f |eGIS gra|phing ro|
|00001630| 75 74 69 6e 65 73 2e 20 | 20 49 66 20 79 6f 75 20 |utines. | If you |
|00001640| 77 69 73 68 20 74 6f 0a | 58 73 77 69 74 63 68 20 |wish to.|Xswitch |
|00001650| 62 65 74 77 65 65 6e 20 | 52 65 47 49 53 20 61 6e |between |ReGIS an|
|00001660| 64 20 6e 6f 6e 2d 52 65 | 47 49 53 20 77 68 69 6c |d non-Re|GIS whil|
|00001670| 65 20 69 6e 73 69 64 65 | 20 74 68 65 20 70 72 6f |e inside| the pro|
|00001680| 67 72 61 6d 2c 20 74 68 | 65 72 65 20 69 73 20 61 |gram, th|ere is a|
|00001690| 0a 58 52 65 47 49 53 20 | 69 6e 64 69 63 61 74 6f |.XReGIS |indicato|
|000016a0| 72 20 6f 6e 20 74 68 65 | 20 4d 41 49 4e 20 4d 45 |r on the| MAIN ME|
|000016b0| 4e 55 20 73 63 72 65 65 | 6e 2e 20 20 43 6f 6d 6d |NU scree|n. Comm|
|000016c0| 61 6e 64 73 20 61 72 65 | 20 61 76 61 69 6c 61 62 |ands are| availab|
|000016d0| 6c 65 20 74 6f 20 73 77 | 69 74 63 68 0a 58 62 65 |le to sw|itch.Xbe|
|000016e0| 74 77 65 65 6e 20 6d 6f | 64 65 73 20 66 72 6f 6d |tween mo|des from|
|000016f0| 20 74 68 65 20 4d 41 49 | 4e 20 4d 45 4e 55 2e 0a | the MAI|N MENU..|
|00001700| 58 2e 53 48 20 4f 4e 4c | 49 4e 45 20 48 45 4c 50 |X.SH ONL|INE HELP|
|00001710| 0a 58 54 68 65 20 64 61 | 74 61 62 61 73 65 20 68 |.XThe da|tabase h|
|00001720| 61 73 20 61 20 66 75 6c | 6c 20 6f 6e 6c 69 6e 65 |as a ful|l online|
|00001730| 20 68 65 6c 70 20 75 74 | 69 6c 69 74 79 2e 20 20 | help ut|ility. |
|00001740| 41 74 20 28 6d 6f 73 74 | 29 20 61 6e 79 20 74 69 |At (most|) any ti|
|00001750| 6d 65 20 79 6f 75 20 6d | 61 79 20 74 79 70 65 20 |me you m|ay type |
|00001760| 61 0a 58 71 75 65 73 74 | 69 6f 6e 20 6d 61 72 6b |a.Xquest|ion mark|
|00001770| 20 28 3f 29 20 61 6e 64 | 20 74 68 65 20 70 72 6f | (?) and| the pro|
|00001780| 67 72 61 6d 20 77 69 6c | 6c 20 67 69 76 65 20 79 |gram wil|l give y|
|00001790| 6f 75 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ou infor|mation a|
|000017a0| 62 6f 75 74 20 74 68 65 | 0a 58 6d 65 6e 75 20 63 |bout the|.Xmenu c|
|000017b0| 68 6f 69 63 65 73 2e 20 | 20 42 61 73 69 63 61 6c |hoices. | Basical|
|000017c0| 6c 79 2c 20 73 69 6e 63 | 65 20 74 68 65 72 65 20 |ly, sinc|e there |
|000017d0| 69 73 20 6f 6e 6c 69 6e | 65 20 68 65 6c 70 2c 20 |is onlin|e help, |
|000017e0| 74 68 65 72 65 20 61 72 | 65 20 6e 6f 20 6d 6f 72 |there ar|e no mor|
|000017f0| 65 0a 58 6d 61 6e 75 61 | 6c 20 70 61 67 65 73 20 |e.Xmanua|l pages |
|00001800| 66 6f 72 20 63 68 65 6d | 74 61 62 2e 0a 58 2e 53 |for chem|tab..X.S|
|00001810| 48 20 41 55 54 48 4f 52 | 0a 58 4a 69 6d 20 4b 69 |H AUTHOR|.XJim Ki|
|00001820| 6e 67 2c 20 4c 69 6e 63 | 6f 6c 6e 2d 53 75 64 62 |ng, Linc|oln-Sudb|
|00001830| 75 72 79 20 52 65 67 69 | 6f 6e 61 6c 20 48 69 67 |ury Regi|onal Hig|
|00001840| 68 20 53 63 68 6f 6f 6c | 20 41 4e 44 0a 58 52 6f |h School| AND.XRo|
|00001850| 63 68 65 63 74 65 72 20 | 49 6e 73 74 69 74 75 74 |checter |Institut|
|00001860| 65 20 6f 66 20 54 65 63 | 68 6e 6f 6c 6f 67 79 0a |e of Tec|hnology.|
|00001870| 58 43 6f 6e 74 61 63 74 | 20 6d 65 20 61 74 20 6a |XContact| me at j|
|00001880| 65 6b 35 30 33 36 40 75 | 6c 74 62 2e 69 73 63 2e |ek5036@u|ltb.isc.|
|00001890| 72 69 74 2e 65 64 75 2e | 0a 58 2e 53 48 20 42 55 |rit.edu.|.X.SH BU|
|000018a0| 47 20 52 45 50 4f 52 54 | 53 0a 58 50 6c 65 61 73 |G REPORT|S.XPleas|
|000018b0| 65 20 73 65 6e 64 20 61 | 6c 6c 20 62 75 67 20 72 |e send a|ll bug r|
|000018c0| 65 70 6f 72 74 73 20 74 | 6f 20 74 68 65 20 61 62 |eports t|o the ab|
|000018d0| 6f 76 65 20 69 6e 74 65 | 72 6e 65 74 20 61 64 64 |ove inte|rnet add|
|000018e0| 72 65 73 73 2e 20 20 49 | 66 20 69 74 20 69 73 20 |ress. I|f it is |
|000018f0| 61 20 0a 58 73 69 6d 70 | 6c 65 20 62 75 67 2c 20 |a .Xsimp|le bug, |
|00001900| 6c 69 6b 65 20 61 20 73 | 63 72 65 65 6e 20 67 6c |like a s|creen gl|
|00001910| 69 74 63 68 2c 20 65 78 | 70 6c 61 69 6e 20 77 68 |itch, ex|plain wh|
|00001920| 65 72 65 2e 20 20 49 66 | 20 69 74 20 69 73 20 6d |ere. If| it is m|
|00001930| 6f 72 65 20 63 6f 6d 70 | 6c 65 78 2c 0a 58 69 6e |ore comp|lex,.Xin|
|00001940| 64 69 63 61 74 65 20 77 | 68 61 74 20 79 6f 75 20 |dicate w|hat you |
|00001950| 64 69 64 20 74 6f 20 6d | 61 6b 65 20 74 68 69 73 |did to m|ake this|
|00001960| 20 62 75 67 20 61 70 70 | 65 61 72 2e 0a 58 2e 53 | bug app|ear..X.S|
|00001970| 48 20 4b 4e 4f 57 4e 20 | 47 4c 49 54 43 48 45 53 |H KNOWN |GLITCHES|
|00001980| 0a 58 54 68 69 73 20 70 | 72 6f 67 72 61 6d 20 6d |.XThis p|rogram m|
|00001990| 61 79 20 68 61 76 65 20 | 61 20 68 61 72 64 20 74 |ay have |a hard t|
|000019a0| 69 6d 65 20 6f 6e 20 61 | 20 53 79 73 74 65 6d 20 |ime on a| System |
|000019b0| 56 20 73 79 73 74 65 6d | 2e 20 20 53 6f 6d 65 20 |V system|. Some |
|000019c0| 69 6e 63 6c 75 64 65 20 | 66 69 6c 65 73 0a 58 61 |include |files.Xa|
|000019d0| 72 65 20 64 69 66 66 65 | 72 65 6e 74 2c 20 65 74 |re diffe|rent, et|
|000019e0| 63 2e 20 20 49 66 20 61 | 6e 79 6f 6e 65 20 63 6f |c. If a|nyone co|
|000019f0| 6e 76 65 72 74 73 20 63 | 68 65 6d 74 61 62 20 74 |nverts c|hemtab t|
|00001a00| 6f 20 61 20 53 59 53 56 | 20 66 6f 72 6d 61 74 2c |o a SYSV| format,|
|00001a10| 20 70 6c 65 61 73 65 0a | 58 73 65 6e 64 20 6d 65 | please.|Xsend me|
|00001a20| 20 74 68 65 20 64 69 66 | 66 73 20 6f 72 20 74 68 | the dif|fs or th|
|00001a30| 65 20 70 72 6f 67 72 61 | 6d 20 62 61 63 6b 20 77 |e progra|m back w|
|00001a40| 69 74 68 20 74 68 65 20 | 6d 6f 64 69 66 69 63 61 |ith the |modifica|
|00001a50| 74 69 6f 6e 73 2e 20 20 | 49 20 77 69 6c 6c 20 74 |tions. |I will t|
|00001a60| 68 65 6e 0a 58 6d 61 6b | 65 20 61 20 53 59 53 56 |hen.Xmak|e a SYSV|
|00001a70| 20 63 6f 6d 70 69 6c 65 | 2d 74 69 6d 65 20 64 65 | compile|-time de|
|00001a80| 66 69 6e 69 74 69 6f 6e | 20 73 6f 20 65 76 65 72 |finition| so ever|
|00001a90| 79 6f 6e 65 20 63 61 6e | 20 75 73 65 20 69 74 2e |yone can| use it.|
|00001aa0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 20 20 69 |.END_OF_|FILE. i|
|00001ab0| 66 20 74 65 73 74 20 31 | 39 30 34 20 2d 6e 65 20 |f test 1|904 -ne |
|00001ac0| 60 77 63 20 2d 63 20 3c | 27 63 68 65 6d 74 61 62 |`wc -c <|'chemtab|
|00001ad0| 2e 31 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.1'`; th|en. e|
|00001ae0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 63 68 65 |cho shar|: \"'che|
|00001af0| 6d 74 61 62 2e 31 27 5c | 22 20 75 6e 70 61 63 6b |mtab.1'\|" unpack|
|00001b00| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00001b10| 7a 65 21 0a 20 20 66 69 | 0a 20 20 23 20 65 6e 64 |ze!. fi|. # end|
|00001b20| 20 6f 66 20 27 63 68 65 | 6d 74 61 62 2e 31 27 0a | of 'che|mtab.1'.|
|00001b30| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 63 |fi.if te|st -f 'c|
|00001b40| 6c 65 61 6e 75 70 2e 63 | 27 20 2d 61 20 22 24 7b |leanup.c|' -a "${|
|00001b50| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00001b60| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00001b70| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00001b80| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00001b90| 5c 22 27 63 6c 65 61 6e | 75 70 2e 63 27 5c 22 0a |\"'clean|up.c'\".|
|00001ba0| 65 6c 73 65 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |else. e|cho shar|
|00001bb0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00001bc0| 63 6c 65 61 6e 75 70 2e | 63 27 5c 22 20 5c 28 32 |cleanup.|c'\" \(2|
|00001bd0| 35 34 32 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |542 char|acters\)|
|00001be0| 0a 20 20 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |. sed "|s/^X//" |
|00001bf0| 3e 27 63 6c 65 61 6e 75 | 70 2e 63 27 20 3c 3c 27 |>'cleanu|p.c' <<'|
|00001c00| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2f 2a |END_OF_F|ILE'.X/*|
|00001c10| 0a 58 20 2a 20 63 68 65 | 6d 74 61 62 20 2d 20 61 |.X * che|mtab - a|
|00001c20| 20 70 65 72 69 6f 64 69 | 63 20 74 61 62 6c 65 20 | periodi|c table |
|00001c30| 64 61 74 61 20 62 61 73 | 65 20 28 43 29 20 31 39 |data bas|e (C) 19|
|00001c40| 39 30 20 4a 69 6d 20 4b | 69 6e 67 20 28 70 75 6c |90 Jim K|ing (pul|
|00001c50| 73 61 72 40 6c 73 72 68 | 73 29 0a 58 20 2a 0a 58 |sar@lsrh|s).X *.X|
|00001c60| 20 2a 20 63 6c 65 61 6e | 75 70 2e 63 09 43 6c 65 | * clean|up.c.Cle|
|00001c70| 61 6e 75 70 20 28 65 78 | 69 74 29 20 72 6f 75 74 |anup (ex|it) rout|
|00001c80| 69 6e 65 0a 58 20 2a 2f | 0a 58 0a 58 23 69 6e 63 |ine.X */|.X.X#inc|
|00001c90| 6c 75 64 65 20 3c 63 75 | 72 73 65 73 2e 68 3e 0a |lude <cu|rses.h>.|
|00001ca0| 58 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 64 69 6f |X#includ|e <stdio|
|00001cb0| 2e 68 3e 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 73 |.h>.X#in|clude <s|
|00001cc0| 69 67 6e 61 6c 2e 68 3e | 0a 58 23 69 6e 63 6c 75 |ignal.h>|.X#inclu|
|00001cd0| 64 65 20 22 77 69 6e 64 | 6f 77 73 2e 68 22 0a 58 |de "wind|ows.h".X|
|00001ce0| 23 69 6e 63 6c 75 64 65 | 20 22 76 61 72 69 61 62 |#include| "variab|
|00001cf0| 6c 65 73 2e 68 22 0a 58 | 23 69 6e 63 6c 75 64 65 |les.h".X|#include|
|00001d00| 20 22 74 75 6e 65 2e 68 | 22 0a 58 0a 58 2f 2a 0a | "tune.h|".X.X/*.|
|00001d10| 58 20 2a 20 63 6c 65 61 | 6e 75 70 28 29 20 2d 20 |X * clea|nup() - |
|00001d20| 6e 6f 20 69 6e 70 75 74 | 0a 58 20 2a 0a 58 20 2a |no input|.X *.X *|
|00001d30| 20 70 75 72 70 6f 73 65 | 3a 20 20 48 61 6e 64 6c | purpose|: Handl|
|00001d40| 65 20 61 6e 79 20 71 75 | 69 74 20 6f 72 20 5e 43 |e any qu|it or ^C|
|00001d50| 20 73 69 67 6e 61 6c 20 | 6e 69 63 65 6c 79 2e 0a | signal |nicely..|
|00001d60| 58 20 2a 2f 0a 58 0a 58 | 63 6c 65 61 6e 75 70 28 |X */.X.X|cleanup(|
|00001d70| 29 0a 58 7b 0a 58 09 63 | 68 61 72 09 63 2c 20 73 |).X{.X.c|har.c, s|
|00001d80| 74 72 5b 38 30 5d 3b 09 | 09 09 2f 2a 20 69 6e 70 |tr[80];.|../* inp|
|00001d90| 75 74 20 2a 2f 0a 58 23 | 69 66 64 65 66 09 50 52 |ut */.X#|ifdef.PR|
|00001da0| 49 4e 54 51 0a 58 09 63 | 68 61 72 09 71 75 65 5b |INTQ.X.c|har.que[|
|00001db0| 38 30 5d 3b 09 09 09 2f | 2a 20 70 72 69 6e 74 20 |80];.../|* print |
|00001dc0| 71 75 65 75 65 20 2a 2f | 0a 58 23 65 6e 64 69 66 |queue */|.X#endif|
|00001dd0| 09 50 52 49 4e 54 51 0a | 58 0a 58 23 69 66 64 65 |.PRINTQ.|X.X#ifde|
|00001de0| 66 09 52 65 47 49 53 0a | 58 09 69 66 20 28 72 65 |f.ReGIS.|X.if (re|
|00001df0| 67 69 73 29 20 65 6e 64 | 72 65 67 69 73 28 29 3b |gis) end|regis();|
|00001e00| 0a 58 23 65 6e 64 69 66 | 09 52 65 47 49 53 0a 58 |.X#endif|.ReGIS.X|
|00001e10| 09 69 66 20 28 74 72 61 | 6e 73 29 20 7b 09 09 09 |.if (tra|ns) {...|
|00001e20| 09 2f 2a 20 74 72 61 6e | 73 63 72 69 70 74 20 66 |./* tran|script f|
|00001e30| 6c 61 67 20 2a 2f 0a 58 | 6c 31 3a 09 09 6d 76 77 |lag */.X|l1:..mvw|
|00001e40| 61 64 64 73 74 72 28 62 | 74 6d 2c 20 30 2c 20 30 |addstr(b|tm, 0, 0|
|00001e50| 2c 20 22 57 6f 75 6c 64 | 20 79 6f 75 20 6c 69 6b |, "Would| you lik|
|00001e60| 65 20 79 6f 75 72 20 74 | 72 61 6e 73 63 72 69 70 |e your t|ranscrip|
|00001e70| 74 20 70 72 69 6e 74 65 | 64 20 6f 75 74 3f 20 22 |t printe|d out? "|
|00001e80| 29 3b 0a 58 09 09 77 72 | 65 66 72 65 73 68 28 62 |);.X..wr|efresh(b|
|00001e90| 74 6d 29 3b 0a 58 09 09 | 63 75 72 20 3d 20 62 74 |tm);.X..|cur = bt|
|00001ea0| 6d 3b 0a 58 09 09 78 70 | 20 3d 20 34 34 3b 20 79 |m;.X..xp| = 44; y|
|00001eb0| 70 20 3d 20 30 3b 0a 58 | 09 09 6e 6f 65 63 68 6f |p = 0;.X|..noecho|
|00001ec0| 28 29 3b 0a 58 09 09 63 | 72 6d 6f 64 65 28 29 3b |();.X..c|rmode();|
|00001ed0| 0a 58 09 09 63 20 3d 20 | 67 65 74 63 68 61 72 28 |.X..c = |getchar(|
|00001ee0| 29 3b 0a 58 09 09 69 66 | 20 28 63 20 3d 3d 20 27 |);.X..if| (c == '|
|00001ef0| 6e 27 29 20 7b 0a 58 09 | 09 09 77 63 6c 65 61 72 |n') {.X.|..wclear|
|00001f00| 28 62 74 6d 29 3b 0a 58 | 09 09 09 77 72 65 66 72 |(btm);.X|...wrefr|
|00001f10| 65 73 68 28 62 74 6d 29 | 3b 0a 58 09 09 7d 20 65 |esh(btm)|;.X..} e|
|00001f20| 6c 73 65 20 69 66 20 28 | 63 20 3d 3d 20 27 3f 27 |lse if (|c == '?'|
|00001f30| 29 20 7b 0a 58 09 09 09 | 68 65 6c 70 28 31 29 3b |) {.X...|help(1);|
|00001f40| 0a 58 09 09 09 67 6f 74 | 6f 20 6c 31 3b 0a 58 09 |.X...got|o l1;.X.|
|00001f50| 09 7d 20 65 6c 73 65 20 | 7b 09 09 09 2f 2a 20 65 |.} else |{.../* e|
|00001f60| 6c 73 65 20 70 72 69 6e | 74 20 69 74 20 6f 75 74 |lse prin|t it out|
|00001f70| 20 2a 2f 0a 58 09 09 09 | 77 70 72 69 6e 74 77 28 | */.X...|wprintw(|
|00001f80| 62 74 6d 2c 20 22 79 65 | 73 22 29 3b 0a 58 09 09 |btm, "ye|s");.X..|
|00001f90| 09 77 72 65 66 72 65 73 | 68 28 62 74 6d 29 3b 0a |.wrefres|h(btm);.|
|00001fa0| 58 09 09 09 65 63 68 6f | 28 29 3b 20 6e 6f 63 72 |X...echo|(); nocr|
|00001fb0| 6d 6f 64 65 28 29 3b 0a | 58 23 69 66 64 65 66 09 |mode();.|X#ifdef.|
|00001fc0| 50 52 49 4e 54 51 0a 58 | 09 09 09 77 63 6c 65 61 |PRINTQ.X|...wclea|
|00001fd0| 72 28 62 74 6d 29 3b 0a | 58 09 09 09 6d 76 77 61 |r(btm);.|X...mvwa|
|00001fe0| 64 64 73 74 72 28 62 74 | 6d 2c 20 30 2c 20 30 2c |ddstr(bt|m, 0, 0,|
|00001ff0| 20 22 51 75 65 75 65 20 | 74 6f 20 70 72 69 6e 74 | "Queue |to print|
|00002000| 20 74 6f 3a 20 22 29 3b | 0a 58 09 09 09 77 72 65 | to: ");|.X...wre|
|00002010| 66 72 65 73 68 28 62 74 | 6d 29 3b 0a 58 09 09 09 |fresh(bt|m);.X...|
|00002020| 63 75 72 20 3d 20 62 74 | 6d 3b 20 78 70 20 3d 20 |cur = bt|m; xp = |
|00002030| 32 31 3b 20 79 70 20 3d | 20 30 3b 0a 58 09 09 09 |21; yp =| 0;.X...|
|00002040| 67 65 74 73 28 71 75 65 | 29 3b 0a 58 09 09 09 73 |gets(que|);.X...s|
|00002050| 70 72 69 6e 74 66 28 73 | 74 72 2c 20 22 25 73 25 |printf(s|tr, "%s%|
|00002060| 73 20 25 64 2e 63 68 65 | 6d 74 61 62 22 2c 20 50 |s %d.che|mtab", P|
|00002070| 52 49 4e 54 45 52 2c 20 | 71 75 65 2c 20 67 65 74 |RINTER, |que, get|
|00002080| 70 69 64 28 29 29 3b 0a | 58 23 65 6c 73 65 09 50 |pid());.|X#else.P|
|00002090| 52 49 4e 54 51 0a 58 09 | 09 09 73 70 72 69 6e 74 |RINTQ.X.|..sprint|
|000020a0| 66 28 73 74 72 2c 20 22 | 25 73 20 25 64 2e 63 68 |f(str, "|%s %d.ch|
|000020b0| 65 6d 74 61 62 22 2c 20 | 50 52 49 4e 54 45 52 2c |emtab", |PRINTER,|
|000020c0| 20 67 65 74 70 69 64 28 | 29 29 3b 0a 58 23 65 6e | getpid(|));.X#en|
|000020d0| 64 69 66 09 50 52 49 4e | 54 51 0a 58 09 09 09 66 |dif.PRIN|TQ.X...f|
|000020e0| 63 6c 6f 73 65 28 66 70 | 29 3b 0a 58 09 09 09 77 |close(fp|);.X...w|
|000020f0| 63 6c 65 61 72 28 62 74 | 6d 29 3b 0a 58 09 09 09 |clear(bt|m);.X...|
|00002100| 77 72 65 66 72 65 73 68 | 28 62 74 6d 29 3b 0a 58 |wrefresh|(btm);.X|
|00002110| 09 09 09 63 6c 65 61 72 | 28 29 3b 20 72 65 66 72 |...clear|(); refr|
|00002120| 65 73 68 28 29 3b 0a 58 | 09 09 09 73 79 73 74 65 |esh();.X|...syste|
|00002130| 6d 28 73 74 72 29 3b 0a | 58 09 09 7d 0a 58 09 7d |m(str);.|X..}.X.}|
|00002140| 0a 58 09 66 63 6c 6f 73 | 65 28 66 70 29 3b 09 09 |.X.fclos|e(fp);..|
|00002150| 09 09 2f 2a 20 63 6c 6f | 73 65 20 74 68 69 6e 67 |../* clo|se thing|
|00002160| 73 20 75 70 20 2a 2f 0a | 58 09 65 63 68 6f 28 29 |s up */.|X.echo()|
|00002170| 3b 0a 58 09 6e 6f 63 72 | 6d 6f 64 65 28 29 3b 0a |;.X.nocr|mode();.|
|00002180| 58 09 63 6c 65 61 72 28 | 29 3b 20 72 65 66 72 65 |X.clear(|); refre|
|00002190| 73 68 28 29 3b 0a 58 09 | 65 6e 64 77 69 6e 28 29 |sh();.X.|endwin()|
|000021a0| 3b 09 09 09 09 2f 2a 20 | 74 75 72 6e 20 6f 66 66 |;..../* |turn off|
|000021b0| 20 63 75 72 73 65 73 20 | 2a 2f 0a 58 09 69 66 20 | curses |*/.X.if |
|000021c0| 28 74 72 61 6e 73 29 20 | 7b 0a 58 09 09 70 72 69 |(trans) |{.X..pri|
|000021d0| 6e 74 66 28 22 41 20 63 | 6f 70 79 20 6f 66 20 79 |ntf("A c|opy of y|
|000021e0| 6f 75 72 20 74 72 61 6e | 73 63 72 69 70 74 20 63 |our tran|script c|
|000021f0| 61 6e 20 62 65 20 66 6f | 75 6e 64 20 69 6e 20 74 |an be fo|und in t|
|00002200| 68 65 20 66 69 6c 65 20 | 25 64 2e 63 68 65 6d 74 |he file |%d.chemt|
|00002210| 61 62 5c 6e 22 2c 20 67 | 65 74 70 69 64 28 29 29 |ab\n", g|etpid())|
|00002220| 3b 0a 58 09 2f 2a 09 70 | 72 69 6e 74 66 28 22 5c |;.X./*.p|rintf("\|
|00002230| 6e 59 6f 75 20 63 61 6e | 20 70 69 63 6b 20 75 70 |nYou can| pick up|
|00002240| 20 79 6f 75 72 20 70 72 | 69 6e 74 6f 75 74 20 61 | your pr|intout a|
|00002250| 74 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 74 6f |t the pr|inter to|
|00002260| 20 74 68 65 20 6c 65 66 | 74 20 6f 66 5c 6e 22 29 | the lef|t of\n")|
|00002270| 3b 0a 58 09 09 70 72 69 | 6e 74 66 28 22 54 68 65 |;.X..pri|ntf("The|
|00002280| 20 57 68 69 74 65 2d 42 | 6f 61 72 64 2c 20 6c 61 | White-B|oard, la|
|00002290| 62 65 6c 6c 65 64 20 48 | 61 70 70 79 2e 20 20 4c |belled H|appy. L|
|000022a0| 6f 6f 6b 20 66 6f 72 20 | 79 6f 75 72 20 6c 61 73 |ook for |your las|
|000022b0| 74 20 6e 61 6d 65 20 69 | 6e 20 3e 3e 3c 3c 27 73 |t name i|n >><<'s|
|000022c0| 20 6f 6e 5c 6e 22 29 3b | 0a 58 09 09 70 72 69 6e | on\n");|.X..prin|
|000022d0| 74 66 28 22 74 68 65 20 | 74 6f 70 20 6c 69 6e 65 |tf("the |top line|
|000022e0| 20 6f 66 20 65 61 63 68 | 20 70 72 69 6e 74 6f 75 | of each| printou|
|000022f0| 74 2e 20 20 47 6f 6f 64 | 20 6c 75 63 6b 20 77 69 |t. Good| luck wi|
|00002300| 74 68 20 43 68 65 6d 69 | 73 74 72 79 2e 5c 6e 22 |th Chemi|stry.\n"|
|00002310| 29 3b 0a 58 09 20 2a 2f | 20 7d 0a 58 09 66 66 6c |);.X. */| }.X.ffl|
|00002320| 75 73 68 28 73 74 64 6f | 75 74 29 3b 09 09 09 09 |ush(stdo|ut);....|
|00002330| 2f 2a 20 6a 75 73 74 20 | 6d 61 6b 65 20 73 75 72 |/* just |make sur|
|00002340| 65 2e 2e 20 2a 2f 0a 58 | 09 65 78 69 74 28 31 29 |e.. */.X|.exit(1)|
|00002350| 3b 09 09 09 09 2f 2a 20 | 71 75 69 74 20 6e 69 63 |;..../* |quit nic|
|00002360| 65 6c 79 20 2a 2f 0a 58 | 7d 0a 58 0a 58 23 69 66 |ely */.X|}.X.X#if|
|00002370| 64 65 66 09 55 53 45 52 | 53 48 45 4c 4c 0a 58 73 |def.USER|SHELL.Xs|
|00002380| 74 6f 70 28 29 09 2f 2a | 20 48 61 6e 64 6c 65 20 |top()./*| Handle |
|00002390| 61 20 5e 5a 20 2a 2f 0a | 58 7b 0a 58 09 63 68 61 |a ^Z */.|X{.X.cha|
|000023a0| 72 09 73 68 5b 38 30 5d | 3b 0a 58 0a 58 09 73 74 |r.sh[80]|;.X.X.st|
|000023b0| 72 63 70 79 28 73 68 2c | 20 67 65 74 65 6e 76 28 |rcpy(sh,| getenv(|
|000023c0| 22 53 48 45 4c 4c 22 29 | 29 3b 0a 58 09 69 66 20 |"SHELL")|);.X.if |
|000023d0| 28 21 73 74 72 6c 65 6e | 28 73 68 29 29 0a 58 09 |(!strlen|(sh)).X.|
|000023e0| 09 73 74 72 63 70 79 28 | 73 68 2c 20 55 53 45 52 |.strcpy(|sh, USER|
|000023f0| 53 48 45 4c 4c 29 3b 0a | 58 23 69 66 64 65 66 09 |SHELL);.|X#ifdef.|
|00002400| 52 65 47 49 53 0a 58 09 | 69 66 20 28 72 65 67 69 |ReGIS.X.|if (regi|
|00002410| 73 29 20 65 6e 64 72 65 | 67 69 73 28 29 3b 0a 58 |s) endre|gis();.X|
|00002420| 23 65 6e 64 69 66 20 20 | 52 65 47 49 53 0a 58 09 |#endif |ReGIS.X.|
|00002430| 63 6c 65 61 72 28 29 3b | 20 72 65 66 72 65 73 68 |clear();| refresh|
|00002440| 28 29 3b 0a 58 09 73 69 | 67 6e 61 6c 28 53 49 47 |();.X.si|gnal(SIG|
|00002450| 54 53 54 50 2c 20 53 49 | 47 5f 44 46 4c 29 3b 0a |TSTP, SI|G_DFL);.|
|00002460| 58 09 70 72 69 6e 74 66 | 28 22 54 79 70 65 20 27 |X.printf|("Type '|
|00002470| 65 78 69 74 27 20 74 6f | 20 72 65 74 75 72 6e 20 |exit' to| return |
|00002480| 74 6f 20 63 68 65 6d 74 | 61 62 2e 2e 2e 5c 6e 22 |to chemt|ab...\n"|
|00002490| 29 3b 0a 58 09 73 79 73 | 74 65 6d 28 73 68 29 3b |);.X.sys|tem(sh);|
|000024a0| 0a 58 09 63 6c 65 61 72 | 28 29 3b 20 72 65 66 72 |.X.clear|(); refr|
|000024b0| 65 73 68 28 29 3b 0a 58 | 09 73 69 67 6e 61 6c 28 |esh();.X|.signal(|
|000024c0| 53 49 47 54 53 54 50 2c | 20 73 74 6f 70 29 3b 0a |SIGTSTP,| stop);.|
|000024d0| 58 09 69 66 20 28 6e 65 | 65 64 73 69 74 28 73 74 |X.if (ne|edsit(st|
|000024e0| 64 73 63 72 29 29 20 7b | 20 74 6f 75 63 68 77 69 |dscr)) {| touchwi|
|000024f0| 6e 28 73 74 64 73 63 72 | 29 3b 20 77 72 65 66 72 |n(stdscr|); wrefr|
|00002500| 65 73 68 28 73 74 64 73 | 63 72 29 3b 20 7d 0a 58 |esh(stds|cr); }.X|
|00002510| 09 69 66 20 28 6e 65 65 | 64 73 69 74 28 67 72 61 |.if (nee|dsit(gra|
|00002520| 70 68 29 29 20 7b 20 74 | 6f 75 63 68 77 69 6e 28 |ph)) { t|ouchwin(|
|00002530| 67 72 61 70 68 29 3b 20 | 77 72 65 66 72 65 73 68 |graph); |wrefresh|
|00002540| 28 67 72 61 70 68 29 3b | 20 7d 0a 58 09 69 66 20 |(graph);| }.X.if |
|00002550| 28 6e 65 65 64 73 69 74 | 28 6d 6e 29 29 20 7b 20 |(needsit|(mn)) { |
|00002560| 74 6f 75 63 68 77 69 6e | 28 6d 6e 29 3b 20 77 72 |touchwin|(mn); wr|
|00002570| 65 66 72 65 73 68 28 6d | 6e 29 3b 20 7d 0a 58 09 |efresh(m|n); }.X.|
|00002580| 69 66 20 28 6e 65 65 64 | 73 69 74 28 73 72 74 29 |if (need|sit(srt)|
|00002590| 29 20 7b 20 74 6f 75 63 | 68 77 69 6e 28 73 72 74 |) { touc|hwin(srt|
|000025a0| 29 3b 20 77 72 65 66 72 | 65 73 68 28 73 72 74 29 |); wrefr|esh(srt)|
|000025b0| 3b 20 7d 0a 58 09 69 66 | 20 28 6e 65 65 64 73 69 |; }.X.if| (needsi|
|000025c0| 74 28 62 74 6d 29 29 20 | 7b 20 74 6f 75 63 68 77 |t(btm)) |{ touchw|
|000025d0| 69 6e 28 62 74 6d 29 3b | 20 77 72 65 66 72 65 73 |in(btm);| wrefres|
|000025e0| 68 28 62 74 6d 29 3b 20 | 7d 0a 58 09 69 66 20 28 |h(btm); |}.X.if (|
|000025f0| 68 6c 70 20 21 3d 20 4e | 55 4c 4c 29 20 7b 20 74 |hlp != N|ULL) { t|
|00002600| 6f 75 63 68 77 69 6e 28 | 68 6c 70 29 3b 20 77 72 |ouchwin(|hlp); wr|
|00002610| 65 66 72 65 73 68 28 68 | 6c 70 29 3b 20 7d 0a 58 |efresh(h|lp); }.X|
|00002620| 09 77 6d 6f 76 65 28 63 | 75 72 2c 20 79 70 2c 20 |.wmove(c|ur, yp, |
|00002630| 78 70 29 3b 0a 58 09 77 | 72 65 66 72 65 73 68 28 |xp);.X.w|refresh(|
|00002640| 6d 6e 29 3b 0a 58 09 63 | 72 6d 6f 64 65 28 29 3b |mn);.X.c|rmode();|
|00002650| 0a 58 7d 0a 58 23 65 6e | 64 69 66 09 55 53 45 52 |.X}.X#en|dif.USER|
|00002660| 53 48 45 4c 4c 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |SHELL.EN|D_OF_FIL|
|00002670| 45 0a 20 20 69 66 20 74 | 65 73 74 20 32 35 34 32 |E. if t|est 2542|
|00002680| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 63 6c | -ne `wc| -c <'cl|
|00002690| 65 61 6e 75 70 2e 63 27 | 60 3b 20 74 68 65 6e 0a |eanup.c'|`; then.|
|000026a0| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|000026b0| 22 27 63 6c 65 61 6e 75 | 70 2e 63 27 5c 22 20 75 |"'cleanu|p.c'\" u|
|000026c0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|000026d0| 6e 67 20 73 69 7a 65 21 | 0a 20 20 66 69 0a 20 20 |ng size!|. fi. |
|000026e0| 23 20 65 6e 64 20 6f 66 | 20 27 63 6c 65 61 6e 75 |# end of| 'cleanu|
|000026f0| 70 2e 63 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |p.c'.fi.|if test |
|00002700| 2d 66 20 27 65 6c 65 6d | 65 6e 74 2e 63 27 20 2d |-f 'elem|ent.c' -|
|00002710| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00002720| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00002730| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00002740| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00002750| 66 69 6c 65 20 5c 22 27 | 65 6c 65 6d 65 6e 74 2e |file \"'|element.|
|00002760| 63 27 5c 22 0a 65 6c 73 | 65 0a 20 20 65 63 68 6f |c'\".els|e. echo|
|00002770| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00002780| 67 20 5c 22 27 65 6c 65 | 6d 65 6e 74 2e 63 27 5c |g \"'ele|ment.c'\|
|00002790| 22 20 5c 28 32 32 37 33 | 20 63 68 61 72 61 63 74 |" \(2273| charact|
|000027a0| 65 72 73 5c 29 0a 20 20 | 73 65 64 20 22 73 2f 5e |ers\). |sed "s/^|
|000027b0| 58 2f 2f 22 20 3e 27 65 | 6c 65 6d 65 6e 74 2e 63 |X//" >'e|lement.c|
|000027c0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000027d0| 27 0a 58 2f 2a 0a 58 20 | 2a 20 63 68 65 6d 74 61 |'.X/*.X |* chemta|
|000027e0| 62 20 2d 20 61 20 70 65 | 72 69 6f 64 69 63 20 74 |b - a pe|riodic t|
|000027f0| 61 62 6c 65 20 64 61 74 | 61 20 62 61 73 65 20 28 |able dat|a base (|
|00002800| 43 29 20 31 39 39 30 20 | 4a 69 6d 20 4b 69 6e 67 |C) 1990 |Jim King|
|00002810| 20 28 70 75 6c 73 61 72 | 40 6c 73 72 68 73 29 0a | (pulsar|@lsrhs).|
|00002820| 58 20 2a 0a 58 20 2a 20 | 65 6c 65 6d 65 6e 74 2e |X *.X * |element.|
|00002830| 63 09 52 65 61 64 73 20 | 69 6e 20 74 68 65 20 66 |c.Reads |in the f|
|00002840| 69 6c 65 20 66 72 6f 6d | 20 74 68 65 20 23 64 65 |ile from| the #de|
|00002850| 66 69 6e 65 20 50 45 52 | 54 41 42 4c 45 20 28 77 |fine PER|TABLE (w|
|00002860| 68 69 63 68 20 69 73 20 | 74 68 65 0a 58 20 2a 09 |hich is |the.X *.|
|00002870| 09 64 61 74 61 20 66 69 | 6c 65 29 20 61 6e 64 20 |.data fi|le) and |
|00002880| 73 6f 72 74 73 20 69 6e | 74 6f 20 74 68 65 20 73 |sorts in|to the s|
|00002890| 74 72 75 63 74 75 72 65 | 20 65 6c 65 6d 20 28 65 |tructure| elem (e|
|000028a0| 29 2e 0a 58 20 2a 20 20 | 20 20 20 20 20 20 20 20 |)..X * | |
|000028b0| 20 20 20 20 41 6c 73 6f | 20 72 65 61 64 73 20 69 | Also| reads i|
|000028c0| 6e 20 74 68 65 20 63 6c | 6f 73 65 20 76 61 6c 75 |n the cl|ose valu|
|000028d0| 65 73 20 28 61 74 20 74 | 68 65 20 65 6e 64 29 0a |es (at t|he end).|
|000028e0| 58 20 2a 2f 0a 58 0a 58 | 23 69 6e 63 6c 75 64 65 |X */.X.X|#include|
|000028f0| 20 22 76 61 72 69 61 62 | 6c 65 73 2e 68 22 0a 58 | "variab|les.h".X|
|00002900| 23 69 6e 63 6c 75 64 65 | 20 22 65 6c 65 6d 65 6e |#include| "elemen|
|00002910| 74 2e 68 22 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |t.h".X#i|nclude "|
|00002920| 74 75 6e 65 2e 68 22 0a | 58 23 69 6e 63 6c 75 64 |tune.h".|X#includ|
|00002930| 65 20 3c 73 74 64 69 6f | 2e 68 3e 0a 58 0a 58 66 |e <stdio|.h>.X.Xf|
|00002940| 6c 6f 61 74 20 63 6c 6f | 73 65 76 5b 31 35 5d 3b |loat clo|sev[15];|
|00002950| 0a 58 0a 58 2f 2a 0a 58 | 20 2a 20 72 65 61 64 65 |.X.X/*.X| * reade|
|00002960| 6c 65 6d 28 29 20 2d 20 | 6e 6f 20 69 6e 70 75 74 |lem() - |no input|
|00002970| 0a 58 20 2a 0a 58 20 2a | 20 70 75 72 70 6f 73 65 |.X *.X *| purpose|
|00002980| 3a 09 54 61 6b 65 20 61 | 20 6c 69 6e 65 20 66 72 |:.Take a| line fr|
|00002990| 6f 6d 20 50 45 52 54 41 | 42 4c 45 20 28 74 75 6e |om PERTA|BLE (tun|
|000029a0| 65 2e 68 29 20 61 6e 64 | 20 70 75 74 20 69 74 20 |e.h) and| put it |
|000029b0| 69 6e 20 73 74 72 75 63 | 74 75 72 65 0a 58 20 2a |in struc|ture.X *|
|000029c0| 09 09 65 20 77 68 69 63 | 68 20 69 73 20 64 65 66 |..e whic|h is def|
|000029d0| 69 6e 65 64 20 61 73 20 | 74 68 65 20 65 6c 65 6d |ined as |the elem|
|000029e0| 65 6e 74 20 74 61 62 6c | 65 20 75 73 65 64 20 74 |ent tabl|e used t|
|000029f0| 68 72 6f 75 67 68 6f 75 | 74 0a 58 20 2a 09 09 74 |hroughou|t.X *..t|
|00002a00| 68 65 20 70 72 6f 67 72 | 61 6d 2e 20 20 54 68 69 |he progr|am. Thi|
|00002a10| 73 20 77 61 73 20 64 65 | 73 69 67 6e 65 64 20 73 |s was de|signed s|
|00002a20| 6f 20 74 68 65 20 6f 70 | 65 72 61 74 6f 72 20 63 |o the op|erator c|
|00002a30| 6f 75 6c 64 20 65 61 73 | 69 6c 79 0a 58 20 2a 09 |ould eas|ily.X *.|
|00002a40| 09 63 68 61 6e 67 65 20 | 61 6e 20 65 6c 65 6d 65 |.change |an eleme|
|00002a50| 6e 74 20 6f 72 20 61 64 | 64 20 6f 6e 65 20 77 69 |nt or ad|d one wi|
|00002a60| 74 68 6f 75 74 20 63 68 | 61 6e 67 69 6e 67 20 61 |thout ch|anging a|
|00002a70| 6e 79 74 68 69 6e 67 20 | 62 75 74 0a 58 20 2a 09 |nything |but.X *.|
|00002a80| 09 74 75 6e 65 2e 68 0a | 58 20 2a 2f 0a 58 72 65 |.tune.h.|X */.Xre|
|00002a90| 61 64 65 6c 65 6d 28 29 | 0a 58 7b 0a 58 09 69 6e |adelem()|.X{.X.in|
|00002aa0| 74 09 66 69 72 73 74 20 | 3d 20 31 3b 0a 58 09 63 |t.first |= 1;.X.c|
|00002ab0| 68 61 72 09 69 6e 70 5b | 31 36 30 5d 3b 0a 58 09 |har.inp[|160];.X.|
|00002ac0| 46 49 4c 45 09 2a 66 70 | 74 72 3b 09 09 09 09 2f |FILE.*fp|tr;..../|
|00002ad0| 2a 20 46 69 6c 65 20 70 | 6f 69 6e 74 65 72 20 66 |* File p|ointer f|
|00002ae0| 6f 72 20 50 45 52 54 41 | 42 4c 45 20 2a 2f 0a 58 |or PERTA|BLE */.X|
|00002af0| 09 73 74 72 75 63 74 09 | 65 6c 65 6d 09 2a 74 6d |.struct.|elem.*tm|
|00002b00| 70 2c 20 2a 6f 6c 64 2c | 20 2a 6e 65 77 3b 0a 58 |p, *old,| *new;.X|
|00002b10| 0a 58 09 66 70 74 72 20 | 3d 20 66 6f 70 65 6e 28 |.X.fptr |= fopen(|
|00002b20| 50 45 52 54 41 42 4c 45 | 2c 20 22 72 22 29 3b 0a |PERTABLE|, "r");.|
|00002b30| 58 0a 58 09 66 67 65 74 | 73 28 69 6e 70 2c 20 31 |X.X.fget|s(inp, 1|
|00002b40| 36 30 2c 20 66 70 74 72 | 29 3b 09 09 09 2f 2a 20 |60, fptr|);.../* |
|00002b50| 52 65 61 64 20 69 6e 20 | 63 6f 6d 6d 65 6e 74 20 |Read in |comment |
|00002b60| 6c 69 6e 65 20 2a 2f 0a | 58 09 66 67 65 74 73 28 |line */.|X.fgets(|
|00002b70| 69 6e 70 2c 20 31 36 30 | 2c 20 66 70 74 72 29 3b |inp, 160|, fptr);|
|00002b80| 09 09 09 2f 2a 20 45 61 | 74 20 74 68 65 20 73 70 |.../* Ea|t the sp|
|00002b90| 61 63 65 72 20 2a 2f 0a | 58 0a 58 09 74 6d 70 20 |acer */.|X.X.tmp |
|00002ba0| 3d 20 4e 45 57 28 65 6c | 65 6d 29 3b 0a 58 09 65 |= NEW(el|em);.X.e|
|00002bb0| 20 3d 20 74 6d 70 3b 0a | 58 09 77 68 69 6c 65 20 | = tmp;.|X.while |
|00002bc0| 28 66 73 63 61 6e 66 28 | 66 70 74 72 2c 20 22 25 |(fscanf(|fptr, "%|
|00002bd0| 73 20 25 73 20 25 64 20 | 25 66 20 25 64 20 25 64 |s %s %d |%f %d %d|
|00002be0| 20 25 64 20 25 64 20 25 | 64 20 25 64 20 25 64 20 | %d %d %|d %d %d |
|00002bf0| 25 66 20 25 66 20 25 66 | 20 25 66 5c 6e 22 2c 0a |%f %f %f| %f\n",.|
|00002c00| 58 09 09 20 20 20 20 20 | 20 20 74 6d 70 2d 3e 6e |X.. | tmp->n|
|00002c10| 61 6d 65 2c 20 74 6d 70 | 2d 3e 73 79 6d 2c 20 26 |ame, tmp|->sym, &|
|00002c20| 74 6d 70 2d 3e 61 6e 75 | 6d 2c 20 26 74 6d 70 2d |tmp->anu|m, &tmp-|
|00002c30| 3e 61 6d 61 73 73 2c 20 | 26 74 6d 70 2d 3e 66 61 |>amass, |&tmp->fa|
|00002c40| 6d 2c 0a 58 09 09 20 20 | 20 20 20 20 20 26 74 6d |m,.X.. | &tm|
|00002c50| 70 2d 3e 72 6f 77 2c 20 | 26 74 6d 70 2d 3e 76 61 |p->row, |&tmp->va|
|00002c60| 6c 2c 20 26 74 6d 70 2d | 3e 6d 65 6c 74 2c 20 26 |l, &tmp-|>melt, &|
|00002c70| 74 6d 70 2d 3e 62 6f 69 | 6c 2c 0a 58 09 09 20 20 |tmp->boi|l,.X.. |
|00002c80| 20 20 20 20 20 26 74 6d | 70 2d 3e 66 69 6f 2c 20 | &tm|p->fio, |
|00002c90| 26 74 6d 70 2d 3e 79 65 | 61 72 2c 20 26 74 6d 70 |&tmp->ye|ar, &tmp|
|00002ca0| 2d 3e 65 6e 65 67 2c 20 | 26 74 6d 70 2d 3e 73 70 |->eneg, |&tmp->sp|
|00002cb0| 68 74 2c 0a 58 09 09 20 | 20 20 20 20 20 20 26 74 |ht,.X.. | &t|
|00002cc0| 6d 70 2d 3e 64 65 6e 73 | 2c 20 26 74 6d 70 2d 3e |mp->dens|, &tmp->|
|00002cd0| 61 72 61 64 29 20 21 3d | 20 45 4f 46 29 20 7b 0a |arad) !=| EOF) {.|
|00002ce0| 58 09 09 09 69 66 20 28 | 66 69 72 73 74 29 20 7b |X...if (|first) {|
|00002cf0| 20 66 69 72 73 74 20 3d | 20 30 3b 20 74 6d 70 20 | first =| 0; tmp |
|00002d00| 3d 20 4e 45 57 28 65 6c | 65 6d 29 3b 20 63 6f 6e |= NEW(el|em); con|
|00002d10| 74 69 6e 75 65 3b 20 7d | 0a 58 09 09 09 69 66 20 |tinue; }|.X...if |
|00002d20| 28 74 6d 70 2d 3e 61 6e | 75 6d 20 3c 20 65 2d 3e |(tmp->an|um < e->|
|00002d30| 61 6e 75 6d 29 20 7b 0a | 58 09 09 09 09 74 6d 70 |anum) {.|X....tmp|
|00002d40| 2d 3e 6e 65 78 74 20 3d | 20 65 3b 0a 58 09 09 09 |->next =| e;.X...|
|00002d50| 09 65 20 3d 20 74 6d 70 | 3b 0a 58 09 09 09 09 74 |.e = tmp|;.X....t|
|00002d60| 6d 70 20 3d 20 4e 45 57 | 28 65 6c 65 6d 29 3b 0a |mp = NEW|(elem);.|
|00002d70| 58 09 09 09 09 63 6f 6e | 74 69 6e 75 65 3b 0a 58 |X....con|tinue;.X|
|00002d80| 09 09 09 7d 0a 58 09 09 | 09 6f 6c 64 20 3d 20 4e |...}.X..|.old = N|
|00002d90| 55 4c 4c 3b 20 6e 65 77 | 20 3d 20 65 3b 0a 58 09 |ULL; new| = e;.X.|
|00002da0| 09 09 66 6f 72 20 28 3b | 3b 29 20 7b 0a 58 09 09 |..for (;|;) {.X..|
|00002db0| 09 09 69 66 20 28 6e 65 | 77 2d 3e 6e 65 78 74 20 |..if (ne|w->next |
|00002dc0| 3d 3d 20 4e 55 4c 4c 29 | 20 7b 20 2f 2a 20 6e 65 |== NULL)| { /* ne|
|00002dd0| 77 20 74 61 69 6c 20 2a | 2f 0a 58 09 09 09 09 09 |w tail *|/.X.....|
|00002de0| 6e 65 77 2d 3e 6e 65 78 | 74 20 3d 20 74 6d 70 3b |new->nex|t = tmp;|
|00002df0| 0a 58 09 09 09 09 09 74 | 6d 70 2d 3e 6e 65 78 74 |.X.....t|mp->next|
|00002e00| 20 3d 20 4e 55 4c 4c 3b | 0a 58 09 09 09 09 09 62 | = NULL;|.X.....b|
|00002e10| 72 65 61 6b 3b 0a 58 09 | 09 09 09 7d 0a 58 09 09 |reak;.X.|...}.X..|
|00002e20| 09 09 6f 6c 64 20 3d 20 | 6e 65 77 3b 0a 58 09 09 |..old = |new;.X..|
|00002e30| 09 09 6e 65 77 20 3d 20 | 6e 65 77 2d 3e 6e 65 78 |..new = |new->nex|
|00002e40| 74 3b 0a 58 09 09 09 09 | 69 66 20 28 28 6f 6c 64 |t;.X....|if ((old|
|00002e50| 2d 3e 61 6e 75 6d 20 3c | 20 74 6d 70 2d 3e 61 6e |->anum <| tmp->an|
|00002e60| 75 6d 29 20 26 26 0a 58 | 09 09 09 09 20 20 20 28 |um) &&.X|.... (|
|00002e70| 74 6d 70 2d 3e 61 6e 75 | 6d 20 3c 20 6e 65 77 2d |tmp->anu|m < new-|
|00002e80| 3e 61 6e 75 6d 29 29 20 | 7b 0a 58 09 09 09 09 09 |>anum)) |{.X.....|
|00002e90| 74 6d 70 2d 3e 6e 65 78 | 74 20 3d 20 6e 65 77 3b |tmp->nex|t = new;|
|00002ea0| 0a 58 09 09 09 09 09 6f | 6c 64 2d 3e 6e 65 78 74 |.X.....o|ld->next|
|00002eb0| 20 3d 20 74 6d 70 3b 0a | 58 09 09 09 09 09 62 72 | = tmp;.|X.....br|
|00002ec0| 65 61 6b 3b 0a 58 09 09 | 09 09 7d 0a 58 09 09 09 |eak;.X..|..}.X...|
|00002ed0| 7d 0a 58 09 09 74 6d 70 | 20 3d 20 4e 45 57 28 65 |}.X..tmp| = NEW(e|
|00002ee0| 6c 65 6d 29 3b 0a 58 09 | 7d 0a 58 09 74 6d 70 20 |lem);.X.|}.X.tmp |
|00002ef0| 3d 20 4e 55 4c 4c 3b 0a | 58 09 66 63 6c 6f 73 65 |= NULL;.|X.fclose|
|00002f00| 28 66 70 74 72 29 3b 09 | 09 09 09 2f 2a 20 42 65 |(fptr);.|.../* Be|
|00002f10| 20 6e 69 63 65 20 61 6e | 64 20 6e 65 61 74 20 2a | nice an|d neat *|
|00002f20| 2f 0a 58 7d 0a 58 0a 58 | 2f 2a 0a 58 20 2a 20 67 |/.X}.X.X|/*.X * g|
|00002f30| 65 74 63 6c 6f 73 65 28 | 29 0a 58 20 2a 20 69 6e |etclose(|).X * in|
|00002f40| 70 75 74 73 3a 20 6e 6f | 6e 65 0a 58 20 2a 20 72 |puts: no|ne.X * r|
|00002f50| 65 74 75 72 6e 73 3a 20 | 38 38 38 20 69 66 20 62 |eturns: |888 if b|
|00002f60| 61 64 20 63 6c 6f 73 65 | 66 69 6c 65 0a 58 20 2a |ad close|file.X *|
|00002f70| 20 70 75 72 70 6f 73 65 | 3a 20 72 65 61 64 20 63 | purpose|: read c|
|00002f80| 6c 6f 73 65 20 76 61 6c | 75 65 73 20 66 72 6f 6d |lose val|ues from|
|00002f90| 20 43 4c 4f 53 45 46 49 | 4c 45 0a 58 20 2a 2f 0a | CLOSEFI|LE.X */.|
|00002fa0| 58 69 6e 74 20 67 65 74 | 63 6c 6f 73 65 28 29 0a |Xint get|close().|
|00002fb0| 58 7b 0a 58 09 46 49 4c | 45 09 2a 66 70 3b 0a 58 |X{.X.FIL|E.*fp;.X|
|00002fc0| 09 63 68 61 72 09 73 74 | 72 5b 39 30 5d 3b 0a 58 |.char.st|r[90];.X|
|00002fd0| 09 69 6e 74 09 69 3b 0a | 58 0a 58 09 69 66 20 28 |.int.i;.|X.X.if (|
|00002fe0| 28 66 70 20 3d 20 66 6f | 70 65 6e 28 43 4c 4f 53 |(fp = fo|pen(CLOS|
|00002ff0| 45 46 49 4c 45 2c 20 22 | 72 22 29 29 20 3d 3d 20 |EFILE, "|r")) == |
|00003000| 4e 55 4c 4c 29 20 7b 0a | 58 09 09 70 72 69 6e 74 |NULL) {.|X..print|
|00003010| 66 28 22 63 68 65 6d 74 | 61 62 3a 20 4d 61 6b 65 |f("chemt|ab: Make|
|00003020| 20 73 75 72 65 20 74 68 | 61 74 20 74 75 6e 65 2e | sure th|at tune.|
|00003030| 68 20 72 65 66 6c 65 63 | 74 73 20 61 6c 6c 20 66 |h reflec|ts all f|
|00003040| 69 6c 65 20 6e 61 6d 65 | 73 2e 20 28 43 4c 4f 53 |ile name|s. (CLOS|
|00003050| 45 46 49 4c 45 29 5c 6e | 22 29 3b 0a 58 09 09 65 |EFILE)\n|");.X..e|
|00003060| 78 69 74 28 31 29 3b 0a | 58 09 7d 0a 58 0a 58 09 |xit(1);.|X.}.X.X.|
|00003070| 66 67 65 74 73 28 73 74 | 72 2c 20 39 30 2c 20 66 |fgets(st|r, 90, f|
|00003080| 70 29 3b 20 66 67 65 74 | 73 28 73 74 72 2c 20 39 |p); fget|s(str, 9|
|00003090| 30 2c 20 66 70 29 3b 0a | 58 0a 58 09 66 6f 72 20 |0, fp);.|X.X.for |
|000030a0| 28 69 20 3d 20 30 3b 20 | 69 20 3c 20 31 35 3b 20 |(i = 0; |i < 15; |
|000030b0| 69 2b 2b 29 0a 58 09 09 | 69 66 20 28 66 73 63 61 |i++).X..|if (fsca|
|000030c0| 6e 66 28 66 70 2c 20 22 | 25 73 25 63 25 66 5c 6e |nf(fp, "|%s%c%f\n|
|000030d0| 22 2c 20 73 74 72 2c 20 | 73 74 72 2c 20 26 63 6c |", str, |str, &cl|
|000030e0| 6f 73 65 76 5b 69 5d 29 | 20 3d 3d 20 45 4f 46 29 |osev[i])| == EOF)|
|000030f0| 20 72 65 74 75 72 6e 28 | 38 38 38 29 3b 0a 58 09 | return(|888);.X.|
|00003100| 0a 58 09 66 63 6c 6f 73 | 65 28 66 70 29 3b 0a 58 |.X.fclos|e(fp);.X|
|00003110| 7d 0a 58 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |}.X.END_|OF_FILE.|
|00003120| 20 20 69 66 20 74 65 73 | 74 20 32 32 37 33 20 2d | if tes|t 2273 -|
|00003130| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 65 6c 65 6d |ne `wc -|c <'elem|
|00003140| 65 6e 74 2e 63 27 60 3b | 20 74 68 65 6e 0a 20 20 |ent.c'`;| then. |
|00003150| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00003160| 65 6c 65 6d 65 6e 74 2e | 63 27 5c 22 20 75 6e 70 |element.|c'\" unp|
|00003170| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00003180| 20 73 69 7a 65 21 0a 20 | 20 66 69 0a 20 20 23 20 | size!. | fi. # |
|00003190| 65 6e 64 20 6f 66 20 27 | 65 6c 65 6d 65 6e 74 2e |end of '|element.|
|000031a0| 63 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |c'.fi.if| test -f|
|000031b0| 20 27 65 6c 65 6d 65 6e | 74 2e 68 27 20 2d 61 20 | 'elemen|t.h' -a |
|000031c0| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|000031d0| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|000031e0| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|000031f0| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00003200| 6c 65 20 5c 22 27 65 6c | 65 6d 65 6e 74 2e 68 27 |le \"'el|ement.h'|
|00003210| 5c 22 0a 65 6c 73 65 0a | 20 20 65 63 68 6f 20 73 |\".else.| echo s|
|00003220| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00003230| 5c 22 27 65 6c 65 6d 65 | 6e 74 2e 68 27 5c 22 20 |\"'eleme|nt.h'\" |
|00003240| 5c 28 37 39 37 20 63 68 | 61 72 61 63 74 65 72 73 |\(797 ch|aracters|
|00003250| 5c 29 0a 20 20 73 65 64 | 20 22 73 2f 5e 58 2f 2f |\). sed| "s/^X//|
|00003260| 22 20 3e 27 65 6c 65 6d | 65 6e 74 2e 68 27 20 3c |" >'elem|ent.h' <|
|00003270| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00003280| 2f 2a 0a 58 20 2a 20 63 | 68 65 6d 74 61 62 20 2d |/*.X * c|hemtab -|
|00003290| 20 61 20 70 65 72 69 6f | 64 69 63 20 74 61 62 6c | a perio|dic tabl|
|000032a0| 65 20 64 61 74 61 20 62 | 61 73 65 20 28 43 29 20 |e data b|ase (C) |
|000032b0| 31 39 39 30 20 4a 69 6d | 20 4b 69 6e 67 20 28 70 |1990 Jim| King (p|
|000032c0| 75 6c 73 61 72 40 6c 73 | 72 68 73 29 0a 58 20 2a |ulsar@ls|rhs).X *|
|000032d0| 0a 58 20 2a 20 65 6c 65 | 6d 65 6e 74 2e 68 09 43 |.X * ele|ment.h.C|
|000032e0| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 73 74 72 75 |ontains |the stru|
|000032f0| 63 74 75 72 65 20 66 6f | 72 20 61 6c 6c 20 74 68 |cture fo|r all th|
|00003300| 65 20 65 6c 65 6d 65 6e | 74 73 2c 20 2a 65 2e 0a |e elemen|ts, *e..|
|00003310| 58 20 2a 2f 0a 58 0a 58 | 23 69 6e 63 6c 75 64 65 |X */.X.X|#include|
|00003320| 20 22 74 75 6e 65 2e 68 | 22 0a 58 0a 58 23 64 65 | "tune.h|".X.X#de|
|00003330| 66 69 6e 65 09 4e 45 57 | 28 58 29 09 28 73 74 72 |fine.NEW|(X).(str|
|00003340| 75 63 74 20 58 20 2a 29 | 6d 61 6c 6c 6f 63 28 73 |uct X *)|malloc(s|
|00003350| 69 7a 65 6f 66 28 73 74 | 72 75 63 74 20 58 29 29 |izeof(st|ruct X))|
|00003360| 0a 58 0a 58 73 74 72 75 | 63 74 20 65 6c 65 6d 20 |.X.Xstru|ct elem |
|00003370| 7b 0a 58 09 63 68 61 72 | 09 6e 61 6d 65 5b 31 38 |{.X.char|.name[18|
|00003380| 5d 2c 09 09 2f 2a 20 41 | 74 6f 6d 69 63 20 4e 61 |],../* A|tomic Na|
|00003390| 6d 65 20 2a 2f 0a 58 09 | 09 73 79 6d 5b 34 5d 3b |me */.X.|.sym[4];|
|000033a0| 09 09 09 2f 2a 20 41 74 | 6f 6d 69 63 20 53 79 6d |.../* At|omic Sym|
|000033b0| 62 6f 6c 20 2a 2f 0a 58 | 09 66 6c 6f 61 74 09 61 |bol */.X|.float.a|
|000033c0| 6d 61 73 73 2c 09 09 09 | 2f 2a 20 41 74 6f 6d 69 |mass,...|/* Atomi|
|000033d0| 63 20 4d 61 73 73 20 2a | 2f 0a 58 09 09 65 6e 65 |c Mass *|/.X..ene|
|000033e0| 67 2c 09 09 09 2f 2a 20 | 45 6c 65 63 74 72 6f 6e |g,.../* |Electron|
|000033f0| 65 67 61 74 69 76 69 74 | 79 20 2a 2f 0a 58 09 09 |egativit|y */.X..|
|00003400| 73 70 68 74 2c 09 09 09 | 2f 2a 20 53 70 65 63 69 |spht,...|/* Speci|
|00003410| 66 69 63 20 48 65 61 74 | 20 2a 2f 0a 58 09 09 61 |fic Heat| */.X..a|
|00003420| 72 61 64 2c 09 09 09 2f | 2a 20 41 74 6f 6d 69 63 |rad,.../|* Atomic|
|00003430| 20 52 61 64 69 75 73 20 | 2a 2f 0a 58 09 09 64 65 | Radius |*/.X..de|
|00003440| 6e 73 3b 09 09 09 2f 2a | 20 44 65 6e 73 69 74 79 |ns;.../*| Density|
|00003450| 20 6f 66 20 74 68 65 20 | 53 6f 6c 69 64 20 2a 2f | of the |Solid */|
|00003460| 0a 58 09 69 6e 74 09 61 | 6e 75 6d 2c 09 09 09 2f |.X.int.a|num,.../|
|00003470| 2a 20 41 74 6f 6d 69 63 | 20 4e 75 6d 62 65 72 20 |* Atomic| Number |
|00003480| 2a 2f 0a 58 09 09 6d 65 | 6c 74 2c 09 09 09 2f 2a |*/.X..me|lt,.../*|
|00003490| 20 4d 65 6c 74 69 6e 67 | 20 70 6f 69 6e 74 2c 20 | Melting| point, |
|000034a0| 64 65 67 20 43 20 2a 2f | 0a 58 09 09 62 6f 69 6c |deg C */|.X..boil|
|000034b0| 2c 09 09 09 2f 2a 20 42 | 6f 69 6c 69 6e 67 20 70 |,.../* B|oiling p|
|000034c0| 6f 69 6e 74 2c 20 64 65 | 67 20 43 20 2a 2f 0a 58 |oint, de|g C */.X|
|000034d0| 09 09 66 69 6f 2c 09 09 | 09 2f 2a 20 46 69 72 73 |..fio,..|./* Firs|
|000034e0| 74 20 49 6f 6e 69 7a 61 | 74 69 6f 6e 20 45 6e 65 |t Ioniza|tion Ene|
|000034f0| 72 67 79 2c 20 63 61 6c | 20 2a 2f 0a 58 09 09 79 |rgy, cal| */.X..y|
|00003500| 65 61 72 2c 09 09 09 2f | 2a 20 59 65 61 72 20 44 |ear,.../|* Year D|
|00003510| 69 73 63 6f 76 65 72 65 | 64 20 2a 2f 0a 58 09 09 |iscovere|d */.X..|
|00003520| 76 61 6c 2c 09 09 09 2f | 2a 20 56 61 6c 65 6e 63 |val,.../|* Valenc|
|00003530| 65 20 45 6c 65 63 74 72 | 6f 6e 73 20 2a 2f 0a 58 |e Electr|ons */.X|
|00003540| 09 09 66 61 6d 2c 09 09 | 09 2f 2a 20 46 61 6d 69 |..fam,..|./* Fami|
|00003550| 6c 79 20 28 31 2d 31 38 | 2c 20 6e 65 77 20 73 79 |ly (1-18|, new sy|
|00003560| 73 74 65 6d 29 20 2a 2f | 0a 58 09 09 72 6f 77 3b |stem) */|.X..row;|
|00003570| 09 09 09 2f 2a 20 48 6f | 72 69 7a 6f 6e 74 61 6c |.../* Ho|rizontal|
|00003580| 20 72 6f 77 73 20 2a 2f | 0a 58 09 73 74 72 75 63 | rows */|.X.struc|
|00003590| 74 09 65 6c 65 6d 09 2a | 6e 65 78 74 3b 09 09 2f |t.elem.*|next;../|
|000035a0| 2a 20 6c 69 6e 6b 65 64 | 20 6c 69 73 74 20 2a 2f |* linked| list */|
|000035b0| 0a 58 7d 20 2a 65 3b 0a | 45 4e 44 5f 4f 46 5f 46 |.X} *e;.|END_OF_F|
|000035c0| 49 4c 45 0a 20 20 69 66 | 20 74 65 73 74 20 37 39 |ILE. if| test 79|
|000035d0| 37 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 65 |7 -ne `w|c -c <'e|
|000035e0| 6c 65 6d 65 6e 74 2e 68 | 27 60 3b 20 74 68 65 6e |lement.h|'`; then|
|000035f0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00003600| 5c 22 27 65 6c 65 6d 65 | 6e 74 2e 68 27 5c 22 20 |\"'eleme|nt.h'\" |
|00003610| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00003620| 6f 6e 67 20 73 69 7a 65 | 21 0a 20 20 66 69 0a 20 |ong size|!. fi. |
|00003630| 20 23 20 65 6e 64 20 6f | 66 20 27 65 6c 65 6d 65 | # end o|f 'eleme|
|00003640| 6e 74 2e 68 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |nt.h'.fi|.if test|
|00003650| 20 2d 66 20 27 65 6c 65 | 6d 65 6e 74 32 2e 63 27 | -f 'ele|ment2.c'|
|00003660| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00003670| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00003680| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00003690| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|000036a0| 67 20 66 69 6c 65 20 5c | 22 27 65 6c 65 6d 65 6e |g file \|"'elemen|
|000036b0| 74 32 2e 63 27 5c 22 0a | 65 6c 73 65 0a 20 20 65 |t2.c'\".|else. e|
|000036c0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000036d0| 74 69 6e 67 20 5c 22 27 | 65 6c 65 6d 65 6e 74 32 |ting \"'|element2|
|000036e0| 2e 63 27 5c 22 20 5c 28 | 31 32 33 35 20 63 68 61 |.c'\" \(|1235 cha|
|000036f0| 72 61 63 74 65 72 73 5c | 29 0a 20 20 73 65 64 20 |racters\|). sed |
|00003700| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 65 6c 65 6d 65 |"s/^X//"| >'eleme|
|00003710| 6e 74 32 2e 63 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |nt2.c' <|<'END_OF|
|00003720| 5f 46 49 4c 45 27 0a 58 | 2f 2a 0a 58 20 2a 20 63 |_FILE'.X|/*.X * c|
|00003730| 68 65 6d 74 61 62 20 2d | 20 61 20 70 65 72 69 6f |hemtab -| a perio|
|00003740| 64 69 63 20 74 61 62 6c | 65 20 64 61 74 61 20 62 |dic tabl|e data b|
|00003750| 61 73 65 20 28 43 29 20 | 31 39 39 30 20 4a 69 6d |ase (C) |1990 Jim|
|00003760| 20 4b 69 6e 67 20 28 70 | 75 6c 73 61 72 40 6c 73 | King (p|ulsar@ls|
|00003770| 72 68 73 29 0a 58 20 2a | 0a 58 20 2a 20 65 6c 65 |rhs).X *|.X * ele|
|00003780| 6d 65 6e 74 32 2e 63 09 | 52 65 61 64 73 20 69 6e |ment2.c.|Reads in|
|00003790| 20 74 68 65 20 66 69 6c | 65 20 66 72 6f 6d 20 74 | the fil|e from t|
|000037a0| 68 65 20 23 64 65 66 69 | 6e 65 20 42 49 4e 54 41 |he #defi|ne BINTA|
|000037b0| 42 4c 45 20 28 77 68 69 | 63 68 20 69 73 20 74 68 |BLE (whi|ch is th|
|000037c0| 65 0a 58 20 2a 09 09 64 | 61 74 61 20 66 69 6c 65 |e.X *..d|ata file|
|000037d0| 29 20 61 6e 64 20 73 6f | 72 74 73 20 69 6e 74 6f |) and so|rts into|
|000037e0| 20 74 68 65 20 73 74 72 | 75 63 74 75 72 65 20 73 | the str|ucture s|
|000037f0| 74 61 74 20 28 65 29 2e | 0a 58 20 2a 2f 0a 58 0a |tat (e).|.X */.X.|
|00003800| 58 23 69 6e 63 6c 75 64 | 65 20 22 74 75 6e 65 2e |X#includ|e "tune.|
|00003810| 68 22 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 76 61 |h".X#inc|lude "va|
|00003820| 72 69 61 62 6c 65 73 2e | 68 22 0a 58 23 69 6e 63 |riables.|h".X#inc|
|00003830| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 0a 58 |lude <st|dio.h>.X|
|00003840| 23 69 6e 63 6c 75 64 65 | 20 22 65 6c 65 6d 65 6e |#include| "elemen|
|00003850| 74 2e 68 22 0a 58 0a 58 | 2f 2a 0a 58 20 2a 20 62 |t.h".X.X|/*.X * b|
|00003860| 69 6e 72 65 61 64 65 6c | 65 6d 28 29 20 2d 20 6e |inreadel|em() - n|
|00003870| 6f 20 69 6e 70 75 74 0a | 58 20 2a 0a 58 20 2a 20 |o input.|X *.X * |
|00003880| 70 75 72 70 6f 73 65 3a | 09 54 61 6b 65 20 61 20 |purpose:|.Take a |
|00003890| 6c 69 6e 65 20 66 72 6f | 6d 20 42 49 4e 54 41 42 |line fro|m BINTAB|
|000038a0| 4c 45 20 28 74 75 6e 65 | 2e 68 29 20 61 6e 64 20 |LE (tune|.h) and |
|000038b0| 70 75 74 20 69 74 20 69 | 6e 20 73 74 72 75 63 74 |put it i|n struct|
|000038c0| 75 72 65 0a 58 20 2a 09 | 09 65 20 77 68 69 63 68 |ure.X *.|.e which|
|000038d0| 20 69 73 20 64 65 66 69 | 6e 65 64 20 61 73 20 74 | is defi|ned as t|
|000038e0| 68 65 20 65 6c 65 6d 65 | 6e 74 20 74 61 62 6c 65 |he eleme|nt table|
|000038f0| 20 75 73 65 64 20 74 68 | 72 6f 75 67 68 6f 75 74 | used th|roughout|
|00003900| 0a 58 20 2a 09 09 74 68 | 65 20 70 72 6f 67 72 61 |.X *..th|e progra|
|00003910| 6d 2e 20 20 54 68 69 73 | 20 77 61 73 20 64 65 73 |m. This| was des|
|00003920| 69 67 6e 65 64 20 73 6f | 20 74 68 65 20 6f 70 65 |igned so| the ope|
|00003930| 72 61 74 6f 72 20 63 6f | 75 6c 64 20 65 61 73 69 |rator co|uld easi|
|00003940| 6c 79 0a 58 20 2a 09 09 | 63 68 61 6e 67 65 20 61 |ly.X *..|change a|
|00003950| 6e 20 65 6c 65 6d 65 6e | 74 20 6f 72 20 61 64 64 |n elemen|t or add|
|00003960| 20 6f 6e 65 20 77 69 74 | 68 6f 75 74 20 63 68 61 | one wit|hout cha|
|00003970| 6e 67 69 6e 67 20 61 6e | 79 74 68 69 6e 67 20 62 |nging an|ything b|
|00003980| 75 74 0a 58 20 2a 09 09 | 74 75 6e 65 2e 68 0a 58 |ut.X *..|tune.h.X|
|00003990| 20 2a 2f 0a 58 62 69 6e | 72 65 61 64 65 6c 65 6d | */.Xbin|readelem|
|000039a0| 28 29 0a 58 7b 0a 58 09 | 46 49 4c 45 09 2a 66 70 |().X{.X.|FILE.*fp|
|000039b0| 74 72 3b 09 09 09 09 2f | 2a 20 46 69 6c 65 20 70 |tr;..../|* File p|
|000039c0| 6f 69 6e 74 65 72 20 66 | 6f 72 20 50 45 52 54 41 |ointer f|or PERTA|
|000039d0| 42 4c 45 20 2a 2f 0a 58 | 09 73 74 72 75 63 74 09 |BLE */.X|.struct.|
|000039e0| 65 6c 65 6d 09 2a 74 6d | 70 2c 20 2a 6f 6c 64 2c |elem.*tm|p, *old,|
|000039f0| 20 2a 6e 65 77 3b 0a 58 | 0a 58 09 69 66 20 28 28 | *new;.X|.X.if ((|
|00003a00| 66 70 74 72 20 3d 20 66 | 6f 70 65 6e 28 42 49 4e |fptr = f|open(BIN|
|00003a10| 54 41 42 4c 45 2c 20 22 | 72 22 29 29 20 3d 3d 20 |TABLE, "|r")) == |
|00003a20| 4e 55 4c 4c 29 20 2f 2a | 20 4f 70 65 6e 20 69 74 |NULL) /*| Open it|
|00003a30| 20 70 6c 65 61 73 65 20 | 2a 2f 0a 58 09 09 72 65 | please |*/.X..re|
|00003a40| 74 75 72 6e 28 38 38 38 | 29 3b 0a 58 0a 58 09 65 |turn(888|);.X.X.e|
|00003a50| 20 3d 20 4e 45 57 28 65 | 6c 65 6d 29 3b 0a 58 09 | = NEW(e|lem);.X.|
|00003a60| 74 6d 70 20 3d 20 65 3b | 0a 58 09 77 68 69 6c 65 |tmp = e;|.X.while|
|00003a70| 20 28 66 72 65 61 64 28 | 74 6d 70 2c 20 73 69 7a | (fread(|tmp, siz|
|00003a80| 65 6f 66 28 73 74 72 75 | 63 74 20 65 6c 65 6d 29 |eof(stru|ct elem)|
|00003a90| 2c 20 31 2c 20 66 70 74 | 72 29 20 3d 3d 20 31 29 |, 1, fpt|r) == 1)|
|00003aa0| 20 7b 0a 58 09 09 74 6d | 70 2d 3e 6e 65 78 74 20 | {.X..tm|p->next |
|00003ab0| 3d 20 4e 45 57 28 65 6c | 65 6d 29 3b 0a 58 09 09 |= NEW(el|em);.X..|
|00003ac0| 74 6d 70 20 3d 20 74 6d | 70 2d 3e 6e 65 78 74 3b |tmp = tm|p->next;|
|00003ad0| 0a 58 09 7d 0a 58 09 74 | 6d 70 20 3d 20 4e 55 4c |.X.}.X.t|mp = NUL|
|00003ae0| 4c 3b 0a 58 09 66 63 6c | 6f 73 65 28 66 70 74 72 |L;.X.fcl|ose(fptr|
|00003af0| 29 3b 09 09 09 09 2f 2a | 20 42 65 20 6e 69 63 65 |);..../*| Be nice|
|00003b00| 20 61 6e 64 20 6e 65 61 | 74 20 2a 2f 0a 58 7d 0a | and nea|t */.X}.|
|00003b10| 58 0a 58 62 69 6e 77 72 | 69 74 65 6c 65 6d 28 29 |X.Xbinwr|itelem()|
|00003b20| 0a 58 7b 0a 58 09 46 49 | 4c 45 09 2a 66 70 74 72 |.X{.X.FI|LE.*fptr|
|00003b30| 3b 0a 58 09 73 74 72 75 | 63 74 09 65 6c 65 6d 09 |;.X.stru|ct.elem.|
|00003b40| 2a 74 6d 70 3b 0a 58 0a | 58 09 74 6d 70 20 3d 20 |*tmp;.X.|X.tmp = |
|00003b50| 65 3b 0a 58 09 69 66 20 | 28 28 66 70 74 72 20 3d |e;.X.if |((fptr =|
|00003b60| 20 66 6f 70 65 6e 28 42 | 49 4e 54 41 42 4c 45 2c | fopen(B|INTABLE,|
|00003b70| 20 22 77 22 29 29 20 3d | 3d 20 4e 55 4c 4c 29 20 | "w")) =|= NULL) |
|00003b80| 72 65 74 75 72 6e 28 38 | 38 38 29 3b 0a 58 0a 58 |return(8|88);.X.X|
|00003b90| 09 66 6f 72 20 28 74 6d | 70 20 3d 20 65 3b 20 74 |.for (tm|p = e; t|
|00003ba0| 6d 70 20 21 3d 20 4e 55 | 4c 4c 3b 20 74 6d 70 20 |mp != NU|LL; tmp |
|00003bb0| 3d 20 74 6d 70 2d 3e 6e | 65 78 74 29 20 7b 0a 58 |= tmp->n|ext) {.X|
|00003bc0| 09 09 69 66 20 28 66 77 | 72 69 74 65 28 74 6d 70 |..if (fw|rite(tmp|
|00003bd0| 2c 20 73 69 7a 65 6f 66 | 28 73 74 72 75 63 74 20 |, sizeof|(struct |
|00003be0| 65 6c 65 6d 29 2c 20 31 | 2c 20 66 70 74 72 29 20 |elem), 1|, fptr) |
|00003bf0| 21 3d 20 31 29 0a 58 09 | 09 09 72 65 74 75 72 6e |!= 1).X.|..return|
|00003c00| 28 38 38 38 29 3b 0a 58 | 09 09 66 66 6c 75 73 68 |(888);.X|..fflush|
|00003c10| 28 66 70 74 72 29 3b 0a | 58 09 7d 0a 58 0a 58 09 |(fptr);.|X.}.X.X.|
|00003c20| 66 63 6c 6f 73 65 28 66 | 70 74 72 29 3b 0a 58 7d |fclose(f|ptr);.X}|
|00003c30| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 20 20 69 |.END_OF_|FILE. i|
|00003c40| 66 20 74 65 73 74 20 31 | 32 33 35 20 2d 6e 65 20 |f test 1|235 -ne |
|00003c50| 60 77 63 20 2d 63 20 3c | 27 65 6c 65 6d 65 6e 74 |`wc -c <|'element|
|00003c60| 32 2e 63 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |2.c'`; t|hen. |
|00003c70| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 65 6c |echo sha|r: \"'el|
|00003c80| 65 6d 65 6e 74 32 2e 63 | 27 5c 22 20 75 6e 70 61 |ement2.c|'\" unpa|
|00003c90| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00003ca0| 73 69 7a 65 21 0a 20 20 | 66 69 0a 20 20 23 20 65 |size!. |fi. # e|
|00003cb0| 6e 64 20 6f 66 20 27 65 | 6c 65 6d 65 6e 74 32 2e |nd of 'e|lement2.|
|00003cc0| 63 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |c'.fi.if| test -f|
|00003cd0| 20 27 67 72 61 70 68 2e | 68 27 20 2d 61 20 22 24 | 'graph.|h' -a "$|
|00003ce0| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00003cf0| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00003d00| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00003d10| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00003d20| 20 5c 22 27 67 72 61 70 | 68 2e 68 27 5c 22 0a 65 | \"'grap|h.h'\".e|
|00003d30| 6c 73 65 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |lse. ec|ho shar:|
|00003d40| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 67 | Extract|ing \"'g|
|00003d50| 72 61 70 68 2e 68 27 5c | 22 20 5c 28 31 34 36 33 |raph.h'\|" \(1463|
|00003d60| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 20 20 | charact|ers\). |
|00003d70| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 67 |sed "s/^|X//" >'g|
|00003d80| 72 61 70 68 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |raph.h' |<<'END_O|
|00003d90| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 0a 58 20 2a 20 |F_FILE'.|X/*.X * |
|00003da0| 63 68 65 6d 74 61 62 20 | 2d 20 61 20 70 65 72 69 |chemtab |- a peri|
|00003db0| 6f 64 69 63 20 74 61 62 | 6c 65 20 64 61 74 61 20 |odic tab|le data |
|00003dc0| 62 61 73 65 20 28 43 29 | 20 31 39 39 30 20 62 79 |base (C)| 1990 by|
|00003dd0| 20 4a 69 6d 20 4b 69 6e | 67 20 28 70 75 6c 73 61 | Jim Kin|g (pulsa|
|00003de0| 72 40 6c 73 72 68 73 29 | 0a 58 20 2a 0a 58 20 2a |r@lsrhs)|.X *.X *|
|00003df0| 20 67 72 61 70 68 2e 68 | 09 43 6f 6e 74 61 69 6e | graph.h|.Contain|
|00003e00| 73 20 73 74 75 66 66 20 | 66 6f 72 20 67 72 61 70 |s stuff |for grap|
|00003e10| 68 69 6e 67 0a 58 20 2a | 2f 0a 58 0a 58 2f 2a 20 |hing.X *|/.X.X/* |
|00003e20| 4e 4f 54 45 3a 20 41 6c | 6c 20 72 65 67 69 73 20 |NOTE: Al|l regis |
|00003e30| 64 72 61 77 69 6e 67 20 | 63 6f 64 65 20 72 75 6e |drawing |code run|
|00003e40| 73 20 6f 66 66 20 74 68 | 65 73 65 20 6e 75 6d 62 |s off th|ese numb|
|00003e50| 65 72 73 0a 58 20 2a 20 | 20 20 20 20 20 20 58 4d |ers.X * | XM|
|00003e60| 41 58 44 45 46 20 3d 20 | 37 39 38 20 2d 20 58 42 |AXDEF = |798 - XB|
|00003e70| 4f 55 4e 44 0a 58 20 2a | 20 20 20 20 20 20 20 59 |OUND.X *| Y|
|00003e80| 4d 41 58 44 45 46 20 3d | 20 34 37 38 20 2d 20 59 |MAXDEF =| 478 - Y|
|00003e90| 42 4f 55 4e 44 0a 58 20 | 2a 20 20 20 20 20 20 20 |BOUND.X |* |
|00003ea0| 58 41 58 49 53 44 45 46 | 20 3d 20 58 4d 41 58 44 |XAXISDEF| = XMAXD|
|00003eb0| 45 46 20 2d 20 58 42 4f | 55 4e 44 0a 58 20 2a 20 |EF - XBO|UND.X * |
|00003ec0| 20 20 20 20 20 20 59 41 | 58 49 53 44 45 46 20 3d | YA|XISDEF =|
|00003ed0| 20 59 4d 41 58 44 45 46 | 20 2d 20 59 42 4f 55 4e | YMAXDEF| - YBOUN|
|00003ee0| 44 0a 58 20 2a 0a 58 20 | 2a 20 66 6f 72 20 73 6f |D.X *.X |* for so|
|00003ef0| 6d 65 20 72 65 61 73 6f | 6e 20 74 68 65 73 65 20 |me reaso|n these |
|00003f00| 77 6f 75 6c 64 6e 27 74 | 20 77 6f 72 6b 20 6a 75 |wouldn't| work ju|
|00003f10| 73 74 20 61 73 20 64 65 | 66 69 6e 65 73 2e 2e 20 |st as de|fines.. |
|00003f20| 70 72 6f 62 61 62 6c 79 | 20 61 0a 58 20 2a 20 6d |probably| a.X * m|
|00003f30| 65 6d 6f 72 79 20 6f 72 | 20 70 72 6f 67 72 61 6d |emory or| program|
|00003f40| 20 63 6f 75 6e 74 65 72 | 20 65 72 72 6f 72 2e 0a | counter| error..|
|00003f50| 58 20 2a 2f 0a 58 23 69 | 66 64 65 66 09 52 65 47 |X */.X#i|fdef.ReG|
|00003f60| 49 53 0a 58 23 64 65 66 | 69 6e 65 09 58 42 4f 55 |IS.X#def|ine.XBOU|
|00003f70| 4e 44 09 31 30 30 0a 58 | 23 64 65 66 69 6e 65 09 |ND.100.X|#define.|
|00003f80| 59 42 4f 55 4e 44 09 35 | 30 0a 58 0a 58 23 64 65 |YBOUND.5|0.X.X#de|
|00003f90| 66 69 6e 65 09 58 4d 49 | 4e 44 45 46 09 58 42 4f |fine.XMI|NDEF.XBO|
|00003fa0| 55 4e 44 0a 58 23 64 65 | 66 69 6e 65 20 58 4d 41 |UND.X#de|fine XMA|
|00003fb0| 58 44 45 46 09 36 39 33 | 0a 58 23 64 65 66 69 6e |XDEF.693|.X#defin|
|00003fc0| 65 20 59 4d 49 4e 44 45 | 46 09 59 42 4f 55 4e 44 |e YMINDE|F.YBOUND|
|00003fd0| 0a 58 23 64 65 66 69 6e | 65 20 59 4d 41 58 44 45 |.X#defin|e YMAXDE|
|00003fe0| 46 09 34 32 38 0a 58 0a | 58 23 64 65 66 69 6e 65 |F.428.X.|X#define|
|00003ff0| 20 58 41 58 49 53 44 45 | 46 20 35 39 33 0a 58 23 | XAXISDE|F 593.X#|
|00004000| 64 65 66 69 6e 65 20 59 | 41 58 49 53 44 45 46 20 |define Y|AXISDEF |
|00004010| 33 37 38 0a 58 0a 58 2f | 2a 20 56 54 32 58 58 20 |378.X.X/|* VT2XX |
|00004020| 52 65 47 49 53 20 63 6f | 6c 6f 72 73 20 2a 2f 0a |ReGIS co|lors */.|
|00004030| 58 23 64 65 66 69 6e 65 | 20 52 45 44 5f 32 09 37 |X#define| RED_2.7|
|00004040| 0a 58 23 64 65 66 69 6e | 65 20 47 52 4e 5f 32 09 |.X#defin|e GRN_2.|
|00004050| 36 0a 58 23 64 65 66 69 | 6e 65 20 42 4c 55 5f 32 |6.X#defi|ne BLU_2|
|00004060| 09 35 0a 58 23 64 65 66 | 69 6e 65 20 42 4c 4b 5f |.5.X#def|ine BLK_|
|00004070| 32 09 34 0a 58 0a 58 2f | 2a 20 56 54 33 58 58 20 |2.4.X.X/|* VT3XX |
|00004080| 52 65 47 49 53 20 63 6f | 6c 6f 72 73 20 2a 2f 0a |ReGIS co|lors */.|
|00004090| 58 23 64 65 66 69 6e 65 | 20 57 48 54 5f 33 09 37 |X#define| WHT_3.7|
|000040a0| 0a 58 23 64 65 66 69 6e | 65 20 59 45 4c 5f 33 09 |.X#defin|e YEL_3.|
|000040b0| 36 0a 58 23 64 65 66 69 | 6e 65 20 43 59 41 5f 33 |6.X#defi|ne CYA_3|
|000040c0| 09 35 0a 58 23 64 65 66 | 69 6e 65 20 4d 41 47 5f |.5.X#def|ine MAG_|
|000040d0| 33 09 34 0a 58 23 64 65 | 66 69 6e 65 20 47 52 4e |3.4.X#de|fine GRN|
|000040e0| 5f 33 09 33 0a 58 23 64 | 65 66 69 6e 65 20 52 45 |_3.3.X#d|efine RE|
|000040f0| 44 5f 33 09 32 0a 58 23 | 64 65 66 69 6e 65 20 42 |D_3.2.X#|define B|
|00004100| 4c 55 5f 33 09 31 0a 58 | 23 64 65 66 69 6e 65 20 |LU_3.1.X|#define |
|00004110| 42 4c 4b 5f 33 09 30 0a | 58 23 65 6e 64 69 66 09 |BLK_3.0.|X#endif.|
|00004120| 52 65 47 49 53 0a 58 0a | 58 64 6f 75 62 6c 65 09 |ReGIS.X.|Xdouble.|
|00004130| 78 6d 61 78 2c 09 09 2f | 2a 20 58 20 61 78 69 73 |xmax,../|* X axis|
|00004140| 20 6d 61 78 69 6d 75 6d | 20 76 61 6c 75 65 20 2a | maximum| value *|
|00004150| 2f 0a 58 09 78 6d 69 6e | 2c 09 09 2f 2a 20 58 20 |/.X.xmin|,../* X |
|00004160| 61 78 69 73 20 6d 69 6e | 69 6d 75 6d 20 76 61 6c |axis min|imum val|
|00004170| 75 65 20 2a 2f 0a 58 09 | 79 6d 61 78 2c 09 09 2f |ue */.X.|ymax,../|
|00004180| 2a 20 59 20 61 78 69 73 | 20 6d 61 78 69 6d 75 6d |* Y axis| maximum|
|00004190| 20 76 61 6c 75 65 20 2a | 2f 0a 58 09 79 6d 69 6e | value *|/.X.ymin|
|000041a0| 2c 09 09 2f 2a 20 59 20 | 61 78 69 73 20 6d 69 6e |,../* Y |axis min|
|000041b0| 69 6d 75 6d 20 76 61 6c | 75 65 20 2a 2f 0a 58 09 |imum val|ue */.X.|
|000041c0| 73 63 61 6c 65 2c 09 09 | 2f 2a 20 75 73 65 64 20 |scale,..|/* used |
|000041d0| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 73 70 6f |to deter|mine spo|
|000041e0| 74 73 20 2a 2f 0a 58 09 | 78 61 78 69 73 5b 38 30 |ts */.X.|xaxis[80|
|000041f0| 30 5d 2c 0a 58 09 79 61 | 78 69 73 5b 34 30 30 5d |0],.X.ya|xis[400]|
|00004200| 3b 0a 58 63 68 61 72 09 | 63 31 2c 09 09 2f 2a 20 |;.Xchar.|c1,../* |
|00004210| 6c 65 74 74 65 72 20 6f | 66 20 63 68 6f 69 63 65 |letter o|f choice|
|00004220| 2c 20 78 20 61 78 69 73 | 20 2a 2f 0a 58 09 63 32 |, x axis| */.X.c2|
|00004230| 3b 09 09 2f 2a 20 6c 65 | 74 74 65 72 20 6f 66 20 |;../* le|tter of |
|00004240| 63 68 6f 69 63 65 2c 20 | 79 20 61 78 69 73 20 2a |choice, |y axis *|
|00004250| 2f 0a 58 69 6e 74 09 78 | 73 70 6f 74 2c 09 09 2f |/.Xint.x|spot,../|
|00004260| 2a 20 78 20 61 78 69 73 | 20 6c 69 6e 65 20 74 6f |* x axis| line to|
|00004270| 20 70 6c 6f 74 20 6f 6e | 20 2a 2f 0a 58 09 79 73 | plot on| */.X.ys|
|00004280| 70 6f 74 3b 09 09 2f 2a | 20 79 20 61 78 69 73 20 |pot;../*| y axis |
|00004290| 6c 69 6e 65 20 74 6f 20 | 70 6c 6f 74 20 6f 6e 20 |line to |plot on |
|000042a0| 2a 2f 0a 58 0a 58 73 74 | 61 74 69 63 20 63 68 61 |*/.X.Xst|atic cha|
|000042b0| 72 09 2a 67 6e 61 6d 65 | 5b 5d 20 3d 20 7b 09 2f |r.*gname|[] = {./|
|000042c0| 2a 20 54 6f 70 20 6c 69 | 6e 65 2c 20 27 78 27 20 |* Top li|ne, 'x' |
|000042d0| 76 73 2e 20 27 79 27 20 | 2a 2f 0a 58 09 30 2c 22 |vs. 'y' |*/.X.0,"|
|000042e0| 41 74 6f 6d 69 63 20 4e | 75 6d 62 65 72 22 2c 22 |Atomic N|umber","|
|000042f0| 41 74 6f 6d 69 63 20 4d | 61 73 73 22 2c 22 4d 65 |Atomic M|ass","Me|
|00004300| 6c 74 69 6e 67 20 54 65 | 6d 70 2e 22 2c 22 42 6f |lting Te|mp.","Bo|
|00004310| 69 6c 69 6e 67 20 54 65 | 6d 70 2e 22 2c 0a 58 09 |iling Te|mp.",.X.|
|00004320| 22 49 6f 6e 69 7a 61 74 | 69 6f 6e 20 65 6e 65 72 |"Ionizat|ion ener|
|00004330| 67 79 22 2c 22 45 6c 65 | 63 74 72 6f 6e 65 67 61 |gy","Ele|ctronega|
|00004340| 74 69 76 69 74 79 22 2c | 22 53 70 65 63 69 66 69 |tivity",|"Specifi|
|00004350| 63 20 48 65 61 74 22 2c | 0a 58 09 22 44 65 6e 73 |c Heat",|.X."Dens|
|00004360| 69 74 79 22 2c 22 41 74 | 6f 6d 69 63 20 52 61 64 |ity","At|omic Rad|
|00004370| 69 75 73 22 2c 22 44 69 | 73 63 6f 76 65 72 79 20 |ius","Di|scovery |
|00004380| 59 65 61 72 22 2c 30 0a | 58 7d 3b 0a 45 4e 44 5f |Year",0.|X};.END_|
|00004390| 4f 46 5f 46 49 4c 45 0a | 20 20 69 66 20 74 65 73 |OF_FILE.| if tes|
|000043a0| 74 20 31 34 36 33 20 2d | 6e 65 20 60 77 63 20 2d |t 1463 -|ne `wc -|
|000043b0| 63 20 3c 27 67 72 61 70 | 68 2e 68 27 60 3b 20 74 |c <'grap|h.h'`; t|
|000043c0| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|000043d0| 72 3a 20 5c 22 27 67 72 | 61 70 68 2e 68 27 5c 22 |r: \"'gr|aph.h'\"|
|000043e0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000043f0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 20 20 66 69 0a |rong siz|e!. fi.|
|00004400| 20 20 23 20 65 6e 64 20 | 6f 66 20 27 67 72 61 70 | # end |of 'grap|
|00004410| 68 2e 68 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |h.h'.fi.|if test |
|00004420| 2d 66 20 27 67 72 61 70 | 68 6c 69 62 2e 63 27 20 |-f 'grap|hlib.c' |
|00004430| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00004440| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00004450| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00004460| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00004470| 20 66 69 6c 65 20 5c 22 | 27 67 72 61 70 68 6c 69 | file \"|'graphli|
|00004480| 62 2e 63 27 5c 22 0a 65 | 6c 73 65 0a 20 20 65 63 |b.c'\".e|lse. ec|
|00004490| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|000044a0| 69 6e 67 20 5c 22 27 67 | 72 61 70 68 6c 69 62 2e |ing \"'g|raphlib.|
|000044b0| 63 27 5c 22 20 5c 28 32 | 33 30 32 20 63 68 61 72 |c'\" \(2|302 char|
|000044c0| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|000044d0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 67 72 61 70 68 6c |s/^X//" |>'graphl|
|000044e0| 69 62 2e 63 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |ib.c' <<|'END_OF_|
|000044f0| 46 49 4c 45 27 0a 58 23 | 69 66 64 65 66 09 52 65 |FILE'.X#|ifdef.Re|
|00004500| 47 49 53 0a 58 0a 58 23 | 69 6e 63 6c 75 64 65 20 |GIS.X.X#|include |
|00004510| 3c 73 74 64 69 6f 2e 68 | 3e 0a 58 23 69 6e 63 6c |<stdio.h|>.X#incl|
|00004520| 75 64 65 20 3c 63 75 72 | 73 65 73 2e 68 3e 0a 58 |ude <cur|ses.h>.X|
|00004530| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 72 69 6e 67 |#include| <string|
|00004540| 73 2e 68 3e 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |s.h>.X#i|nclude "|
|00004550| 76 61 72 69 61 62 6c 65 | 73 2e 68 22 0a 58 23 69 |variable|s.h".X#i|
|00004560| 6e 63 6c 75 64 65 20 22 | 65 6c 65 6d 65 6e 74 2e |nclude "|element.|
|00004570| 68 22 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 67 72 |h".X#inc|lude "gr|
|00004580| 61 70 68 2e 68 22 0a 58 | 23 69 6e 63 6c 75 64 65 |aph.h".X|#include|
|00004590| 20 22 75 6e 64 65 66 73 | 2e 68 22 0a 58 23 69 6e | "undefs|.h".X#in|
|000045a0| 63 6c 75 64 65 20 22 74 | 75 6e 65 2e 68 22 0a 58 |clude "t|une.h".X|
|000045b0| 0a 58 2f 2a 0a 58 20 2a | 20 52 65 47 49 53 20 67 |.X/*.X *| ReGIS g|
|000045c0| 72 61 70 68 69 63 73 20 | 69 6e 74 65 72 66 61 63 |raphics |interfac|
|000045d0| 65 20 70 61 63 6b 61 67 | 65 20 28 4e 4f 54 45 3a |e packag|e (NOTE:|
|000045e0| 20 4e 6f 74 20 63 75 72 | 73 65 73 20 6f 72 69 65 | Not cur|ses orie|
|000045f0| 6e 74 65 64 29 0a 58 20 | 2a 2f 0a 58 0a 58 63 68 |nted).X |*/.X.Xch|
|00004600| 63 6f 6c 6f 72 28 63 6f | 6c 29 0a 58 69 6e 74 09 |color(co|l).Xint.|
|00004610| 63 6f 6c 3b 0a 58 7b 0a | 58 09 69 66 20 28 21 73 |col;.X{.|X.if (!s|
|00004620| 74 72 6e 63 6d 70 28 67 | 65 74 65 6e 76 28 22 54 |trncmp(g|etenv("T|
|00004630| 45 52 4d 22 29 2c 20 22 | 76 74 32 22 2c 20 33 29 |ERM"), "|vt2", 3)|
|00004640| 29 20 7b 0a 58 09 09 73 | 77 69 74 63 68 28 63 6f |) {.X..s|witch(co|
|00004650| 6c 29 20 7b 0a 58 09 09 | 09 63 61 73 65 20 27 37 |l) {.X..|.case '7|
|00004660| 27 3a 0a 58 09 09 09 63 | 61 73 65 20 27 32 27 3a |':.X...c|ase '2':|
|00004670| 0a 58 09 09 09 63 61 73 | 65 20 27 34 27 3a 0a 58 |.X...cas|e '4':.X|
|00004680| 09 09 09 09 63 6f 6c 20 | 3d 20 52 45 44 5f 32 3b |....col |= RED_2;|
|00004690| 0a 58 09 09 09 09 62 72 | 65 61 6b 3b 0a 58 09 09 |.X....br|eak;.X..|
|000046a0| 09 63 61 73 65 20 27 31 | 27 3a 0a 58 09 09 09 63 |.case '1|':.X...c|
|000046b0| 61 73 65 20 27 35 27 3a | 0a 58 09 09 09 09 63 6f |ase '5':|.X....co|
|000046c0| 6c 20 3d 20 42 4c 55 5f | 32 3b 0a 58 09 09 09 09 |l = BLU_|2;.X....|
|000046d0| 62 72 65 61 6b 3b 0a 58 | 09 09 09 63 61 73 65 20 |break;.X|...case |
|000046e0| 27 30 27 3a 20 63 6f 6c | 20 3d 20 42 4c 4b 5f 32 |'0': col| = BLK_2|
|000046f0| 3b 20 62 72 65 61 6b 3b | 0a 58 09 09 09 64 65 66 |; break;|.X...def|
|00004700| 61 75 6c 74 3a 0a 58 09 | 09 09 09 63 6f 6c 20 3d |ault:.X.|...col =|
|00004710| 20 47 52 4e 5f 32 3b 0a | 58 09 09 09 09 62 72 65 | GRN_2;.|X....bre|
|00004720| 61 6b 3b 0a 58 09 09 7d | 0a 58 09 7d 0a 58 09 70 |ak;.X..}|.X.}.X.p|
|00004730| 72 69 6e 74 66 28 22 57 | 28 49 25 64 29 22 2c 20 |rintf("W|(I%d)", |
|00004740| 63 6f 6c 29 3b 0a 58 7d | 0a 58 0a 58 69 6e 69 74 |col);.X}|.X.Xinit|
|00004750| 72 65 67 69 73 28 29 0a | 58 7b 0a 58 09 70 72 69 |regis().|X{.X.pri|
|00004760| 6e 74 66 28 22 5c 30 33 | 33 50 70 22 29 3b 0a 58 |ntf("\03|3Pp");.X|
|00004770| 23 69 66 64 65 66 09 4c | 41 53 45 52 50 52 54 0a |#ifdef.L|ASERPRT.|
|00004780| 58 09 69 66 20 28 6c 61 | 73 65 72 29 0a 58 09 09 |X.if (la|ser).X..|
|00004790| 66 70 72 69 6e 74 66 28 | 6c 73 72 2c 20 22 5c 30 |fprintf(|lsr, "\0|
|000047a0| 33 33 50 70 22 29 3b 0a | 58 23 65 6e 64 69 66 09 |33Pp");.|X#endif.|
|000047b0| 4c 41 53 45 52 50 52 54 | 0a 58 09 63 68 63 6f 6c |LASERPRT|.X.chcol|
|000047c0| 6f 72 28 36 29 3b 0a 58 | 7d 0a 58 0a 58 65 6e 64 |or(6);.X|}.X.Xend|
|000047d0| 72 65 67 69 73 28 29 0a | 58 7b 0a 58 23 69 66 64 |regis().|X{.X#ifd|
|000047e0| 65 66 09 4c 41 53 45 52 | 50 52 54 0a 58 09 69 66 |ef.LASER|PRT.X.if|
|000047f0| 20 28 6c 61 73 65 72 29 | 0a 58 09 09 66 70 72 69 | (laser)|.X..fpri|
|00004800| 6e 74 66 28 6c 73 72 2c | 20 22 5c 30 33 33 5c 5c |ntf(lsr,| "\033\\|
|00004810| 22 29 3b 0a 58 23 65 6e | 64 69 66 09 4c 41 53 45 |");.X#en|dif.LASE|
|00004820| 52 50 52 54 0a 58 09 70 | 72 69 6e 74 66 28 22 5c |RPRT.X.p|rintf("\|
|00004830| 30 33 33 5c 5c 22 29 3b | 20 0a 58 7d 0a 58 0a 58 |033\\");| .X}.X.X|
|00004840| 72 65 67 69 73 67 6f 74 | 6f 28 78 2c 20 79 29 0a |regisgot|o(x, y).|
|00004850| 58 69 6e 74 09 78 2c 20 | 79 3b 0a 58 7b 0a 58 23 |Xint.x, |y;.X{.X#|
|00004860| 69 66 64 65 66 09 4c 41 | 53 45 52 50 52 54 0a 58 |ifdef.LA|SERPRT.X|
|00004870| 09 69 66 20 28 6c 61 73 | 65 72 29 0a 58 09 09 66 |.if (las|er).X..f|
|00004880| 70 72 69 6e 74 66 28 6c | 73 72 2c 20 22 50 5b 25 |printf(l|sr, "P[%|
|00004890| 64 2c 25 64 5d 22 2c 20 | 78 2c 20 79 29 3b 0a 58 |d,%d]", |x, y);.X|
|000048a0| 23 65 6e 64 69 66 09 4c | 41 53 45 52 50 52 54 0a |#endif.L|ASERPRT.|
|000048b0| 58 09 70 72 69 6e 74 66 | 28 22 50 5b 25 64 2c 25 |X.printf|("P[%d,%|
|000048c0| 64 5d 22 2c 20 78 2c 20 | 79 29 3b 0a 58 7d 0a 58 |d]", x, |y);.X}.X|
|000048d0| 0a 58 6c 69 6e 65 28 78 | 31 2c 20 79 31 2c 20 78 |.Xline(x|1, y1, x|
|000048e0| 32 2c 20 79 32 29 0a 58 | 69 6e 74 09 78 31 2c 20 |2, y2).X|int.x1, |
|000048f0| 79 31 2c 20 78 32 2c 20 | 79 32 3b 09 2f 2a 20 46 |y1, x2, |y2;./* F|
|00004900| 72 6f 6d 20 78 31 2c 79 | 31 20 74 6f 20 78 32 2c |rom x1,y|1 to x2,|
|00004910| 79 32 20 2a 2f 0a 58 7b | 0a 58 09 72 65 67 69 73 |y2 */.X{|.X.regis|
|00004920| 67 6f 74 6f 28 78 31 2c | 20 79 31 29 3b 0a 58 09 |goto(x1,| y1);.X.|
|00004930| 70 72 69 6e 74 66 28 22 | 56 5b 25 64 2c 25 64 5d |printf("|V[%d,%d]|
|00004940| 22 2c 20 78 32 2c 20 79 | 32 29 3b 0a 58 23 69 66 |", x2, y|2);.X#if|
|00004950| 64 65 66 09 4c 41 53 45 | 52 50 52 54 0a 58 09 69 |def.LASE|RPRT.X.i|
|00004960| 66 20 28 6c 61 73 65 72 | 29 0a 58 09 09 66 70 72 |f (laser|).X..fpr|
|00004970| 69 6e 74 66 28 6c 73 72 | 2c 20 22 56 5b 25 64 2c |intf(lsr|, "V[%d,|
|00004980| 25 64 5d 22 2c 20 78 32 | 2c 20 79 32 29 3b 0a 58 |%d]", x2|, y2);.X|
|00004990| 23 65 6e 64 69 66 09 4c | 41 53 45 52 50 52 54 0a |#endif.L|ASERPRT.|
|000049a0| 58 09 7d 0a 58 0a 58 6d | 79 62 6f 78 28 77 69 64 |X.}.X.Xm|ybox(wid|
|000049b0| 74 68 2c 20 78 31 2c 20 | 79 31 2c 20 78 32 2c 20 |th, x1, |y1, x2, |
|000049c0| 79 32 29 0a 58 69 6e 74 | 09 77 69 64 74 68 2c 20 |y2).Xint|.width, |
|000049d0| 78 31 2c 20 79 31 2c 20 | 78 32 2c 20 79 32 3b 0a |x1, y1, |x2, y2;.|
|000049e0| 58 7b 0a 58 09 69 6e 74 | 09 69 3b 0a 58 09 66 6f |X{.X.int|.i;.X.fo|
|000049f0| 72 20 28 69 20 3d 20 30 | 3b 20 69 20 3c 3d 20 77 |r (i = 0|; i <= w|
|00004a00| 69 64 74 68 3b 20 69 2b | 2b 29 20 7b 0a 58 09 09 |idth; i+|+) {.X..|
|00004a10| 6c 69 6e 65 28 78 31 2b | 69 2c 20 79 31 2b 69 2c |line(x1+|i, y1+i,|
|00004a20| 20 78 32 2d 69 2c 20 79 | 31 2b 69 29 3b 0a 58 09 | x2-i, y|1+i);.X.|
|00004a30| 09 6c 69 6e 65 28 78 32 | 2d 69 2c 20 79 31 2b 69 |.line(x2|-i, y1+i|
|00004a40| 2c 20 78 32 2d 69 2c 20 | 79 32 2d 69 29 3b 0a 58 |, x2-i, |y2-i);.X|
|00004a50| 09 09 6c 69 6e 65 28 78 | 32 2d 69 2c 20 79 32 2d |..line(x|2-i, y2-|
|00004a60| 69 2c 20 78 31 2b 69 2c | 20 79 32 2d 69 29 3b 0a |i, x1+i,| y2-i);.|
|00004a70| 58 09 09 6c 69 6e 65 28 | 78 31 2b 69 2c 20 79 32 |X..line(|x1+i, y2|
|00004a80| 2d 69 2c 20 78 31 2b 69 | 2c 20 79 31 2b 69 29 3b |-i, x1+i|, y1+i);|
|00004a90| 0a 58 09 7d 0a 58 7d 0a | 58 0a 58 68 61 73 68 28 |.X.}.X}.|X.Xhash(|
|00004aa0| 78 31 2c 20 79 31 2c 20 | 77 68 69 63 68 29 0a 58 |x1, y1, |which).X|
|00004ab0| 69 6e 74 09 78 31 2c 20 | 79 31 2c 20 77 68 69 63 |int.x1, |y1, whic|
|00004ac0| 68 3b 09 09 2f 2a 20 4d | 61 6b 65 20 73 6d 61 6c |h;../* M|ake smal|
|00004ad0| 6c 20 68 61 73 68 6d 61 | 72 6b 20 77 69 74 68 20 |l hashma|rk with |
|00004ae0| 63 72 6f 73 73 20 61 74 | 20 78 31 2c 79 31 20 2a |cross at| x1,y1 *|
|00004af0| 2f 0a 58 7b 0a 58 09 69 | 66 20 28 77 68 69 63 68 |/.X{.X.i|f (which|
|00004b00| 29 20 7b 0a 58 09 09 72 | 65 67 69 73 67 6f 74 6f |) {.X..r|egisgoto|
|00004b10| 28 78 31 2c 20 79 31 29 | 3b 20 20 2f 2a 20 64 65 |(x1, y1)|; /* de|
|00004b20| 63 69 64 65 64 20 74 6f | 20 6d 61 6b 65 20 69 74 |cided to| make it|
|00004b30| 20 61 20 63 69 72 63 6c | 65 2e 2e 2e 20 2a 2f 0a | a circl|e... */.|
|00004b40| 58 09 09 70 72 69 6e 74 | 66 28 22 57 28 53 31 29 |X..print|f("W(S1)|
|00004b50| 43 5b 2b 32 5d 57 28 53 | 30 29 22 29 3b 0a 58 09 |C[+2]W(S|0)");.X.|
|00004b60| 09 66 66 6c 75 73 68 28 | 73 74 64 6f 75 74 29 3b |.fflush(|stdout);|
|00004b70| 0a 58 23 69 66 64 65 66 | 09 4c 41 53 45 52 50 52 |.X#ifdef|.LASERPR|
|00004b80| 54 0a 58 09 09 69 66 20 | 28 6c 61 73 65 72 29 0a |T.X..if |(laser).|
|00004b90| 58 09 09 09 66 70 72 69 | 6e 74 66 28 6c 73 72 2c |X...fpri|ntf(lsr,|
|00004ba0| 20 22 57 28 53 31 29 43 | 5b 2b 32 5d 57 28 53 30 | "W(S1)C|[+2]W(S0|
|00004bb0| 29 22 29 3b 0a 58 23 65 | 6e 64 69 66 09 4c 41 53 |)");.X#e|ndif.LAS|
|00004bc0| 45 52 50 52 54 0a 58 09 | 7d 20 65 6c 73 65 20 7b |ERPRT.X.|} else {|
|00004bd0| 0a 58 09 09 6c 69 6e 65 | 28 78 31 2c 20 79 31 2d |.X..line|(x1, y1-|
|00004be0| 32 2c 20 78 31 2c 20 79 | 31 2b 32 29 3b 0a 58 09 |2, x1, y|1+2);.X.|
|00004bf0| 09 6c 69 6e 65 28 78 31 | 2d 32 2c 20 79 31 2c 20 |.line(x1|-2, y1, |
|00004c00| 78 31 2b 32 2c 20 79 31 | 29 3b 0a 58 09 7d 0a 58 |x1+2, y1|);.X.}.X|
|00004c10| 7d 0a 58 0a 58 74 65 78 | 74 28 73 69 7a 65 2c 20 |}.X.Xtex|t(size, |
|00004c20| 64 69 72 2c 20 61 6e 67 | 6c 65 2c 20 73 74 72 69 |dir, ang|le, stri|
|00004c30| 6e 67 29 0a 58 69 6e 74 | 09 73 69 7a 65 2c 09 09 |ng).Xint|.size,..|
|00004c40| 2f 2a 20 30 20 74 68 72 | 6f 75 67 68 20 31 36 20 |/* 0 thr|ough 16 |
|00004c50| 2a 20 6d 75 6c 74 69 70 | 6c 69 65 72 20 6f 66 20 |* multip|lier of |
|00004c60| 23 20 70 69 78 65 6c 73 | 20 69 6e 20 63 68 61 72 |# pixels| in char|
|00004c70| 20 2a 2f 0a 58 09 64 69 | 72 2c 09 09 2f 2a 20 41 | */.X.di|r,../* A|
|00004c80| 6e 67 6c 65 20 6f 66 20 | 74 65 78 74 20 69 6e 20 |ngle of |text in |
|00004c90| 34 35 20 64 65 67 72 65 | 65 20 69 6e 63 72 65 6d |45 degre|e increm|
|00004ca0| 65 6e 74 73 20 2a 2f 0a | 58 09 61 6e 67 6c 65 3b |ents */.|X.angle;|
|00004cb0| 09 09 2f 2a 20 69 74 61 | 6c 69 63 73 20 61 6e 67 |../* ita|lics ang|
|00004cc0| 6c 65 20 2d 34 35 20 74 | 6f 20 34 35 20 64 65 67 |le -45 t|o 45 deg|
|00004cd0| 72 65 65 73 20 2a 2f 0a | 58 63 68 61 72 09 2a 73 |rees */.|Xchar.*s|
|00004ce0| 74 72 69 6e 67 3b 09 2f | 2a 20 74 65 78 74 20 74 |tring;./|* text t|
|00004cf0| 6f 20 6f 75 74 70 75 74 | 20 2a 2f 0a 58 7b 0a 58 |o output| */.X{.X|
|00004d00| 09 70 72 69 6e 74 66 28 | 22 54 28 44 25 64 29 28 |.printf(|"T(D%d)(|
|00004d10| 53 25 64 29 28 44 25 64 | 29 28 49 25 64 29 27 25 |S%d)(D%d|)(I%d)'%|
|00004d20| 73 27 22 2c 20 64 69 72 | 2c 20 73 69 7a 65 2c 20 |s'", dir|, size, |
|00004d30| 64 69 72 2c 20 61 6e 67 | 6c 65 2c 20 73 74 72 69 |dir, ang|le, stri|
|00004d40| 6e 67 29 3b 0a 58 23 69 | 66 64 65 66 09 4c 41 53 |ng);.X#i|fdef.LAS|
|00004d50| 45 52 50 52 54 0a 58 09 | 69 66 20 28 6c 61 73 65 |ERPRT.X.|if (lase|
|00004d60| 72 29 0a 58 09 09 66 70 | 72 69 6e 74 66 28 6c 73 |r).X..fp|rintf(ls|
|00004d70| 72 2c 20 22 54 28 44 25 | 64 29 28 53 25 64 29 28 |r, "T(D%|d)(S%d)(|
|00004d80| 44 25 64 29 28 49 25 64 | 29 27 25 73 27 22 2c 20 |D%d)(I%d|)'%s'", |
|00004d90| 64 69 72 2c 20 73 69 7a | 65 2c 20 64 69 72 2c 20 |dir, siz|e, dir, |
|00004da0| 61 6e 67 6c 65 2c 20 73 | 74 72 69 6e 67 29 3b 0a |angle, s|tring);.|
|00004db0| 58 23 65 6e 64 69 66 09 | 4c 41 53 45 52 50 52 54 |X#endif.|LASERPRT|
|00004dc0| 0a 58 7d 0a 58 0a 58 72 | 65 67 69 73 70 63 28 29 |.X}.X.Xr|egispc()|
|00004dd0| 0a 58 7b 0a 58 09 6e 6f | 65 63 68 6f 28 29 3b 20 |.X{.X.no|echo(); |
|00004de0| 63 72 6d 6f 64 65 28 29 | 3b 0a 58 09 72 65 67 69 |crmode()|;.X.regi|
|00004df0| 73 67 6f 74 6f 28 31 30 | 2c 20 34 35 35 29 3b 0a |sgoto(10|, 455);.|
|00004e00| 58 09 74 65 78 74 28 31 | 2c 20 30 2c 20 2d 35 2c |X.text(1|, 0, -5,|
|00004e10| 20 22 50 72 65 73 73 20 | 53 50 41 43 45 20 74 6f | "Press |SPACE to|
|00004e20| 20 63 6f 6e 74 69 6e 75 | 65 2e 2e 2e 22 29 3b 0a | continu|e...");.|
|00004e30| 58 09 66 66 6c 75 73 68 | 28 73 74 64 6f 75 74 29 |X.fflush|(stdout)|
|00004e40| 3b 0a 58 09 67 65 74 63 | 68 61 72 28 29 3b 0a 58 |;.X.getc|har();.X|
|00004e50| 09 65 63 68 6f 28 29 3b | 20 6e 6f 63 72 6d 6f 64 |.echo();| nocrmod|
|00004e60| 65 28 29 3b 0a 58 7d 0a | 58 23 65 6e 64 69 66 09 |e();.X}.|X#endif.|
|00004e70| 52 65 47 49 53 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |ReGIS.EN|D_OF_FIL|
|00004e80| 45 0a 20 20 69 66 20 74 | 65 73 74 20 32 33 30 32 |E. if t|est 2302|
|00004e90| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 67 72 | -ne `wc| -c <'gr|
|00004ea0| 61 70 68 6c 69 62 2e 63 | 27 60 3b 20 74 68 65 6e |aphlib.c|'`; then|
|00004eb0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00004ec0| 5c 22 27 67 72 61 70 68 | 6c 69 62 2e 63 27 5c 22 |\"'graph|lib.c'\"|
|00004ed0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00004ee0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 20 20 66 69 0a |rong siz|e!. fi.|
|00004ef0| 20 20 23 20 65 6e 64 20 | 6f 66 20 27 67 72 61 70 | # end |of 'grap|
|00004f00| 68 6c 69 62 2e 63 27 0a | 66 69 0a 69 66 20 74 65 |hlib.c'.|fi.if te|
|00004f10| 73 74 20 2d 66 20 27 6f | 6e 6c 69 6e 65 5f 68 65 |st -f 'o|nline_he|
|00004f20| 6c 70 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |lp' -a "|${1}" !=|
|00004f30| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00004f40| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00004f50| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00004f60| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 6f 6e 6c |ting fil|e \"'onl|
|00004f70| 69 6e 65 5f 68 65 6c 70 | 27 5c 22 0a 65 6c 73 65 |ine_help|'\".else|
|00004f80| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |. echo |shar: Ex|
|00004f90| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 6f 6e 6c 69 |tracting| \"'onli|
|00004fa0| 6e 65 5f 68 65 6c 70 27 | 5c 22 20 5c 28 34 33 31 |ne_help'|\" \(431|
|00004fb0| 35 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 20 |5 charac|ters\). |
|00004fc0| 20 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 | sed "s/|^X//" >'|
|00004fd0| 6f 6e 6c 69 6e 65 5f 68 | 65 6c 70 27 20 3c 3c 27 |online_h|elp' <<'|
|00004fe0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 5f 0a |END_OF_F|ILE'.X_.|
|00004ff0| 58 09 42 65 66 6f 72 65 | 20 65 6e 64 69 6e 67 20 |X.Before| ending |
|00005000| 79 6f 75 72 20 73 65 73 | 73 69 6f 6e 2c 20 79 6f |your ses|sion, yo|
|00005010| 75 20 6d 61 79 20 63 68 | 6f 6f 73 65 20 74 6f 20 |u may ch|oose to |
|00005020| 70 72 69 6e 74 0a 58 6f | 75 74 20 61 6c 6c 20 6f |print.Xo|ut all o|
|00005030| 66 20 79 6f 75 72 20 72 | 65 63 6f 72 64 65 64 20 |f your r|ecorded |
|00005040| 74 72 61 6e 73 63 72 69 | 70 74 73 2e 20 20 49 66 |transcri|pts. If|
|00005050| 20 79 6f 75 20 74 79 70 | 65 20 27 79 27 2c 20 74 | you typ|e 'y', t|
|00005060| 68 65 0a 58 70 72 6f 67 | 72 61 6d 20 77 69 6c 6c |he.Xprog|ram will|
|00005070| 20 73 65 6e 64 20 79 6f | 75 72 20 74 72 61 6e 73 | send yo|ur trans|
|00005080| 63 72 69 70 74 20 74 6f | 20 61 6e 20 61 70 70 72 |cript to| an appr|
|00005090| 6f 70 72 69 61 74 65 20 | 70 72 69 6e 74 65 72 0a |opriate |printer.|
|000050a0| 58 49 6e 20 65 69 74 68 | 65 72 20 63 61 73 65 2c |XIn eith|er case,|
|000050b0| 20 74 68 65 20 74 72 61 | 6e 73 63 72 69 70 74 20 | the tra|nscript |
|000050c0| 77 69 6c 6c 20 62 65 20 | 73 61 76 65 64 20 69 6e |will be |saved in|
|000050d0| 20 61 20 66 69 6c 65 0a | 58 77 69 74 68 20 74 68 | a file.|Xwith th|
|000050e0| 65 20 66 6f 72 6d 61 74 | 20 58 58 58 2e 63 68 65 |e format| XXX.che|
|000050f0| 6d 74 61 62 20 77 68 65 | 72 65 20 58 58 58 20 69 |mtab whe|re XXX i|
|00005100| 73 20 74 68 65 20 70 72 | 6f 63 65 73 73 20 49 44 |s the pr|ocess ID|
|00005110| 0a 58 6f 66 20 79 6f 75 | 72 20 63 75 72 72 65 6e |.Xof you|r curren|
|00005120| 74 20 73 65 73 73 69 6f | 6e 2e 0a 58 5f 0a 58 09 |t sessio|n..X_.X.|
|00005130| 53 69 6e 63 65 20 79 6f | 75 20 68 61 76 65 20 73 |Since yo|u have s|
|00005140| 65 6c 65 63 74 65 64 20 | 73 6f 6d 65 20 65 6c 65 |elected |some ele|
|00005150| 6d 65 6e 74 73 20 77 69 | 74 68 69 6e 0a 58 63 65 |ments wi|thin.Xce|
|00005160| 72 74 61 69 6e 20 62 6f | 75 6e 64 61 72 69 65 73 |rtain bo|undaries|
|00005170| 2c 20 6e 6f 77 20 79 6f | 75 20 6d 61 79 20 63 68 |, now yo|u may ch|
|00005180| 6f 6f 73 65 20 77 68 65 | 74 68 65 72 20 6f 72 20 |oose whe|ther or |
|00005190| 6e 6f 74 20 79 6f 75 0a | 58 77 69 73 68 20 74 6f |not you.|Xwish to|
|000051a0| 20 75 73 65 20 61 6c 6c | 20 74 68 65 20 65 6c 65 | use all| the ele|
|000051b0| 6d 65 6e 74 73 20 6f 72 | 20 74 68 65 73 65 20 73 |ments or| these s|
|000051c0| 70 65 63 69 61 6c 20 65 | 6c 65 6d 65 6e 74 73 0a |pecial e|lements.|
|000051d0| 58 77 68 65 6e 20 70 6c | 6f 74 74 69 6e 67 20 6f |Xwhen pl|otting o|
|000051e0| 6e 20 74 68 65 20 67 72 | 61 70 68 2e 20 20 54 79 |n the gr|aph. Ty|
|000051f0| 70 65 20 27 61 27 20 66 | 6f 72 20 74 68 65 20 73 |pe 'a' f|or the s|
|00005200| 70 65 63 69 61 6c 0a 58 | 65 6c 65 6d 65 6e 74 73 |pecial.X|elements|
|00005210| 2c 20 6f 72 20 27 62 27 | 20 66 6f 72 20 61 6c 6c |, or 'b'| for all|
|00005220| 20 74 68 65 20 65 6c 65 | 6d 65 6e 74 73 2e 0a 58 | the ele|ments..X|
|00005230| 5f 0a 58 09 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |_.X.In o|rder to |
|00005240| 67 72 61 70 68 2c 20 65 | 61 63 68 20 61 78 69 73 |graph, e|ach axis|
|00005250| 20 6d 75 73 74 20 68 61 | 76 65 20 61 0a 58 64 65 | must ha|ve a.Xde|
|00005260| 66 69 6e 69 74 69 6f 6e | 2e 20 20 49 66 20 79 6f |finition|. If yo|
|00005270| 75 20 77 61 6e 74 20 74 | 6f 20 63 6f 6d 70 61 72 |u want t|o compar|
|00005280| 65 20 65 6c 65 63 74 72 | 6f 6e 65 67 61 74 69 76 |e electr|onegativ|
|00005290| 69 74 79 20 74 6f 0a 58 | 61 74 6f 6d 69 63 20 6e |ity to.X|atomic n|
|000052a0| 75 6d 62 65 72 2c 20 69 | 74 20 69 73 20 65 61 73 |umber, i|t is eas|
|000052b0| 69 65 72 20 74 6f 20 73 | 65 65 20 74 68 65 20 70 |ier to s|ee the p|
|000052c0| 61 74 74 65 72 6e 20 69 | 66 20 61 74 6f 6d 69 63 |attern i|f atomic|
|000052d0| 0a 58 6e 75 6d 62 65 72 | 20 69 73 20 6f 6e 20 74 |.Xnumber| is on t|
|000052e0| 68 65 20 78 2d 61 78 69 | 73 2c 20 28 77 68 69 63 |he x-axi|s, (whic|
|000052f0| 68 20 69 73 20 61 6c 73 | 6f 20 74 68 65 20 77 69 |h is als|o the wi|
|00005300| 64 65 72 20 61 78 69 73 | 0a 58 77 69 74 68 20 36 |der axis|.Xwith 6|
|00005310| 39 20 5b 6f 72 20 36 30 | 30 20 77 69 74 68 20 52 |9 [or 60|0 with R|
|00005320| 65 47 49 53 5d 2e 29 0a | 58 5f 0a 58 09 54 68 65 |eGIS].).|X_.X.The|
|00005330| 20 78 2d 61 78 69 73 20 | 69 73 20 73 70 65 63 69 | x-axis |is speci|
|00005340| 61 6c 20 62 65 63 61 75 | 73 65 20 69 74 20 69 73 |al becau|se it is|
|00005350| 20 74 68 65 20 73 63 61 | 6c 65 20 66 6f 72 0a 58 | the sca|le for.X|
|00005360| 77 68 61 74 20 79 6f 75 | 20 76 69 65 77 2e 20 20 |what you| view. |
|00005370| 59 6f 75 20 63 61 6e 20 | 63 68 61 6e 67 65 20 74 |You can |change t|
|00005380| 68 69 73 20 73 63 61 6c | 65 20 74 6f 20 62 65 20 |his scal|e to be |
|00005390| 77 68 61 74 65 76 65 72 | 0a 58 79 6f 75 20 77 69 |whatever|.Xyou wi|
|000053a0| 73 68 2e 20 20 49 66 20 | 79 6f 75 20 6f 6e 6c 79 |sh. If |you only|
|000053b0| 20 77 61 6e 74 20 74 6f | 20 6c 6f 6f 6b 20 61 74 | want to| look at|
|000053c0| 20 65 6c 65 6d 65 6e 74 | 73 20 77 69 74 68 20 61 | element|s with a|
|000053d0| 6e 0a 58 61 74 6f 6d 69 | 63 20 6e 75 6d 62 65 72 |n.Xatomi|c number|
|000053e0| 20 62 65 74 77 65 65 6e | 20 35 30 20 61 6e 64 20 | between| 50 and |
|000053f0| 36 30 2c 20 79 6f 75 20 | 63 61 6e 20 73 65 6c 65 |60, you |can sele|
|00005400| 63 74 20 61 74 6f 6d 69 | 63 0a 58 6e 75 6d 62 65 |ct atomi|c.Xnumbe|
|00005410| 72 20 66 6f 72 20 79 6f | 75 72 20 78 2d 61 78 69 |r for yo|ur x-axi|
|00005420| 73 20 61 6e 64 20 65 6e | 74 65 72 20 35 30 20 66 |s and en|ter 50 f|
|00005430| 6f 72 20 74 68 65 20 78 | 2d 61 78 69 73 0a 58 6d |or the x|-axis.Xm|
|00005440| 69 6e 69 6d 75 6d 20 76 | 61 6c 75 65 2c 20 61 6e |inimum v|alue, an|
|00005450| 64 20 36 30 20 66 6f 72 | 20 74 68 65 20 6d 61 78 |d 60 for| the max|
|00005460| 69 6d 75 6d 2e 0a 58 5f | 0a 58 09 49 6e 20 6f 72 |imum..X_|.X.In or|
|00005470| 64 65 72 20 74 6f 20 67 | 72 61 70 68 2c 20 62 6f |der to g|raph, bo|
|00005480| 74 68 20 61 78 65 73 20 | 6d 75 73 74 20 68 61 76 |th axes |must hav|
|00005490| 65 20 61 0a 58 64 65 66 | 69 6e 69 74 69 6f 6e 2e |e a.Xdef|inition.|
|000054a0| 20 20 54 68 65 20 79 2d | 61 78 69 73 20 69 73 20 | The y-|axis is |
|000054b0| 69 6d 70 6f 72 74 61 6e | 74 20 62 65 63 61 75 73 |importan|t becaus|
|000054c0| 65 20 74 68 69 73 20 77 | 69 6c 6c 20 62 65 0a 58 |e this w|ill be.X|
|000054d0| 77 68 61 74 20 79 6f 75 | 20 61 72 65 20 63 6f 6d |what you| are com|
|000054e0| 70 61 72 69 6e 67 20 74 | 6f 2e 20 20 59 6f 75 20 |paring t|o. You |
|000054f0| 6d 75 73 74 20 63 68 6f | 6f 73 65 20 6f 6e 65 2e |must cho|ose one.|
|00005500| 20 20 45 78 61 6d 70 6c | 65 3a 0a 58 49 66 20 79 | Exampl|e:.XIf y|
|00005510| 6f 75 20 63 68 6f 6f 73 | 65 20 61 74 6f 6d 69 63 |ou choos|e atomic|
|00005520| 20 6e 75 6d 62 65 72 20 | 66 6f 72 20 62 6f 74 68 | number |for both|
|00005530| 20 78 2d 20 61 6e 64 20 | 79 2d 61 78 65 73 2c 20 | x- and |y-axes, |
|00005540| 79 6f 75 0a 58 73 68 6f | 75 6c 64 20 67 65 74 20 |you.Xsho|uld get |
|00005550| 61 20 73 74 72 61 69 67 | 68 74 20 6c 69 6e 65 20 |a straig|ht line |
|00005560| 73 6c 61 6e 74 69 6e 67 | 20 2f 0a 58 5f 0a 58 09 |slanting| /.X_.X.|
|00005570| 54 68 65 20 52 65 47 49 | 53 20 67 72 61 70 68 69 |The ReGI|S graphi|
|00005580| 63 73 20 63 61 6e 20 70 | 72 6f 76 69 64 65 20 79 |cs can p|rovide y|
|00005590| 6f 75 20 77 69 74 68 20 | 67 72 69 64 20 6c 69 6e |ou with |grid lin|
|000055a0| 65 73 0a 58 61 74 20 74 | 68 65 20 69 6e 74 65 72 |es.Xat t|he inter|
|000055b0| 76 61 6c 73 20 6d 61 72 | 6b 65 64 20 6f 6e 20 74 |vals mar|ked on t|
|000055c0| 68 65 20 73 63 72 65 65 | 6e 2e 20 20 54 68 69 73 |he scree|n. This|
|000055d0| 20 68 65 6c 70 73 20 69 | 6e 0a 58 64 65 74 65 72 | helps i|n.Xdeter|
|000055e0| 6d 69 6e 69 6e 67 20 61 | 20 70 6f 69 6e 74 27 73 |mining a| point's|
|000055f0| 20 76 61 6c 75 65 73 20 | 6f 6e 20 74 68 65 20 67 | values |on the g|
|00005600| 72 61 70 68 20 66 61 72 | 20 61 77 61 79 20 66 72 |raph far| away fr|
|00005610| 6f 6d 0a 58 74 68 65 20 | 61 78 65 73 2e 0a 58 5f |om.Xthe |axes..X_|
|00005620| 0a 58 09 53 6f 6d 65 74 | 69 6d 65 73 20 69 74 20 |.X.Somet|imes it |
|00005630| 69 73 20 65 61 73 69 65 | 72 20 74 6f 20 73 65 65 |is easie|r to see|
|00005640| 20 61 20 70 61 74 74 65 | 72 6e 20 69 66 20 74 68 | a patte|rn if th|
|00005650| 65 0a 58 70 6f 69 6e 74 | 73 20 61 72 65 20 63 6f |e.Xpoint|s are co|
|00005660| 6e 6e 65 63 74 65 64 2e | 20 20 41 6e 20 65 78 61 |nnected.| An exa|
|00005670| 6d 70 6c 65 20 69 73 20 | 61 74 6f 6d 69 63 20 6e |mple is |atomic n|
|00005680| 75 6d 62 65 72 20 76 73 | 2e 0a 58 65 6c 65 63 74 |umber vs|..Xelect|
|00005690| 72 6f 6e 65 67 61 74 69 | 76 69 74 79 2e 20 20 54 |ronegati|vity. T|
|000056a0| 72 79 20 69 74 20 61 6e | 64 20 64 65 63 69 64 65 |ry it an|d decide|
|000056b0| 20 77 68 69 63 68 20 79 | 6f 75 20 6c 69 6b 65 0a | which y|ou like.|
|000056c0| 58 6d 6f 72 65 2e 0a 58 | 5f 0a 58 09 54 68 69 73 |Xmore..X|_.X.This|
|000056d0| 20 69 73 20 6f 6e 6c 79 | 20 66 6f 72 20 61 73 74 | is only| for ast|
|000056e0| 68 65 74 69 63 73 20 61 | 6e 64 20 73 70 65 65 64 |hetics a|nd speed|
|000056f0| 2e 20 20 54 68 65 20 70 | 6f 69 6e 74 73 0a 58 6c |. The p|oints.Xl|
|00005700| 6f 6f 6b 20 6e 69 63 65 | 72 20 6f 6e 20 74 68 65 |ook nice|r on the|
|00005710| 20 67 72 61 70 68 20 62 | 75 74 20 74 68 65 79 20 | graph b|ut they |
|00005720| 74 61 6b 65 20 6c 6f 6e | 67 65 72 20 62 65 63 61 |take lon|ger beca|
|00005730| 75 73 65 20 74 68 65 79 | 0a 58 61 72 65 20 61 20 |use they|.Xare a |
|00005740| 27 67 72 61 70 68 69 63 | 20 66 69 6c 6c 27 20 77 |'graphic| fill' w|
|00005750| 68 69 63 68 20 6f 6e 6c | 79 20 6d 65 61 6e 73 20 |hich onl|y means |
|00005760| 69 74 20 74 61 6b 65 73 | 20 6d 6f 72 65 20 74 69 |it takes| more ti|
|00005770| 6d 65 0a 58 66 6f 72 20 | 74 68 65 20 74 65 72 6d |me.Xfor |the term|
|00005780| 69 6e 61 6c 20 74 6f 20 | 64 6f 20 74 68 65 20 77 |inal to |do the w|
|00005790| 6f 72 6b 20 74 68 61 6e | 20 69 74 20 77 6f 75 6c |ork than| it woul|
|000057a0| 64 20 74 6f 20 6d 61 6b | 65 20 74 77 6f 0a 58 6c |d to mak|e two.Xl|
|000057b0| 69 6e 65 73 2e 0a 58 5f | 0a 58 09 54 68 69 73 20 |ines..X_|.X.This |
|000057c0| 69 73 20 74 68 65 20 66 | 69 72 73 74 20 73 75 62 |is the f|irst sub|
|000057d0| 2d 6d 65 6e 75 2e 20 20 | 48 65 72 65 20 79 6f 75 |-menu. |Here you|
|000057e0| 20 63 61 6e 20 63 68 6f | 6f 73 65 0a 58 77 68 69 | can cho|ose.Xwhi|
|000057f0| 63 68 20 6d 65 74 68 6f | 64 20 79 6f 75 20 77 61 |ch metho|d you wa|
|00005800| 6e 74 20 74 6f 20 6c 6f | 6f 6b 20 66 6f 72 20 61 |nt to lo|ok for a|
|00005810| 6e 20 65 6c 65 6d 65 6e | 74 20 62 79 2e 20 20 59 |n elemen|t by. Y|
|00005820| 6f 75 72 0a 58 63 68 6f | 69 63 65 73 20 61 72 65 |our.Xcho|ices are|
|00005830| 20 6e 61 6d 65 2c 20 6e | 75 6d 62 65 72 2c 20 6f | name, n|umber, o|
|00005840| 72 20 73 79 6d 62 6f 6c | 2e 20 20 4f 66 20 63 6f |r symbol|. Of co|
|00005850| 75 72 73 65 20 79 6f 75 | 20 63 61 6e 0a 58 67 65 |urse you| can.Xge|
|00005860| 74 20 62 61 63 6b 20 74 | 6f 20 74 68 65 20 6d 61 |t back t|o the ma|
|00005870| 69 6e 20 6d 65 6e 75 20 | 62 79 20 68 69 74 74 69 |in menu |by hitti|
|00005880| 6e 67 20 27 34 27 2e 0a | 58 5f 0a 58 09 54 79 70 |ng '4'..|X_.X.Typ|
|00005890| 65 20 69 6e 20 74 68 65 | 20 66 75 6c 6c 20 6e 61 |e in the| full na|
|000058a0| 6d 65 2c 20 6f 72 20 70 | 61 72 74 20 6f 66 20 61 |me, or p|art of a|
|000058b0| 20 6e 61 6d 65 20 6f 66 | 20 61 6e 0a 58 65 6c 65 | name of| an.Xele|
|000058c0| 6d 65 6e 74 2e 20 20 49 | 66 20 79 6f 75 72 20 63 |ment. I|f your c|
|000058d0| 68 6f 69 63 65 20 69 73 | 20 6e 6f 74 20 61 6d 62 |hoice is| not amb|
|000058e0| 69 67 75 6f 75 73 2c 20 | 28 27 69 27 20 77 6f 75 |iguous, |('i' wou|
|000058f0| 6c 64 20 62 65 0a 58 61 | 6d 62 69 67 75 6f 75 73 |ld be.Xa|mbiguous|
|00005900| 2c 20 77 68 65 72 65 61 | 73 20 27 68 79 64 27 20 |, wherea|s 'hyd' |
|00005910| 77 6f 75 6c 64 20 6e 6f | 74 29 20 74 68 65 20 63 |would no|t) the c|
|00005920| 6f 6d 70 75 74 65 72 20 | 77 69 6c 6c 0a 58 64 69 |omputer |will.Xdi|
|00005930| 73 70 6c 61 79 20 74 68 | 65 20 69 6e 66 6f 72 6d |splay th|e inform|
|00005940| 61 74 69 6f 6e 20 79 6f | 75 20 72 65 71 75 65 73 |ation yo|u reques|
|00005950| 74 2e 0a 58 5f 0a 58 09 | 54 79 70 65 20 69 6e 20 |t..X_.X.|Type in |
|00005960| 74 68 65 20 61 74 6f 6d | 69 63 20 6e 75 6d 62 65 |the atom|ic numbe|
|00005970| 72 20 6f 66 20 74 68 65 | 20 65 6c 65 6d 65 6e 74 |r of the| element|
|00005980| 20 79 6f 75 0a 58 61 72 | 65 20 6c 6f 6f 6b 69 6e | you.Xar|e lookin|
|00005990| 67 20 66 6f 72 2e 0a 58 | 5f 0a 58 09 54 79 70 65 |g for..X|_.X.Type|
|000059a0| 20 69 6e 20 74 68 65 20 | 73 79 6d 62 6f 6c 20 6f | in the |symbol o|
|000059b0| 66 20 74 68 65 20 65 6c | 65 6d 65 6e 74 20 79 6f |f the el|ement yo|
|000059c0| 75 20 61 72 65 0a 58 6c | 6f 6f 6b 69 6e 67 20 66 |u are.Xl|ooking f|
|000059d0| 6f 72 2e 20 20 52 65 6d | 65 6d 62 65 72 20 74 68 |or. Rem|ember th|
|000059e0| 61 74 20 75 70 70 65 72 | 63 61 73 65 20 61 6e 64 |at upper|case and|
|000059f0| 20 6c 6f 77 65 72 63 61 | 73 65 0a 58 63 6f 75 6e | lowerca|se.Xcoun|
|00005a00| 74 20 68 65 72 65 2e 0a | 58 5f 0a 58 09 54 68 65 |t here..|X_.X.The|
|00005a10| 20 63 6f 6d 70 75 74 65 | 72 20 63 61 6e 20 6b 65 | compute|r can ke|
|00005a20| 65 70 20 61 20 63 6f 70 | 79 20 6f 66 20 61 6c 6c |ep a cop|y of all|
|00005a30| 20 6c 69 73 74 73 2c 0a | 58 67 72 61 70 68 73 20 | lists,.|Xgraphs |
|00005a40| 28 6e 6f 74 20 52 65 47 | 49 53 20 67 72 61 70 68 |(not ReG|IS graph|
|00005a50| 73 29 2c 20 61 6e 64 20 | 74 61 62 6c 65 73 20 28 |s), and |tables (|
|00005a60| 6e 6f 74 20 56 54 31 30 | 30 0a 58 61 6c 74 65 72 |not VT10|0.Xalter|
|00005a70| 6e 61 74 65 20 73 65 74 | 20 74 61 62 6c 65 73 29 |nate set| tables)|
|00005a80| 20 77 68 69 63 68 20 79 | 6f 75 20 6d 61 6b 65 2e | which y|ou make.|
|00005a90| 20 20 54 68 65 73 65 20 | 77 69 6c 6c 0a 58 62 65 | These |will.Xbe|
|00005aa0| 20 73 61 76 65 64 20 69 | 6e 20 61 20 66 69 6c 65 | saved i|n a file|
|00005ab0| 20 69 6e 20 74 68 69 73 | 20 61 63 63 6f 75 6e 74 | in this| account|
|00005ac0| 20 61 6e 64 20 79 6f 75 | 20 6d 61 79 0a 58 68 61 | and you| may.Xha|
|00005ad0| 76 65 20 74 68 65 20 6f | 70 74 69 6f 6e 20 74 6f |ve the o|ption to|
|00005ae0| 20 68 61 76 65 20 74 68 | 69 73 20 70 72 6f 67 72 | have th|is progr|
|00005af0| 61 6d 20 70 72 69 6e 74 | 20 74 68 65 73 65 0a 58 |am print| these.X|
|00005b00| 6f 75 74 20 66 6f 72 20 | 79 6f 75 2e 0a 58 5f 0a |out for |you..X_.|
|00005b10| 58 09 53 69 6e 63 65 20 | 74 68 65 72 65 20 6d 61 |X.Since |there ma|
|00005b20| 79 20 62 65 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |y be mor|e than o|
|00005b30| 6e 65 20 70 65 72 73 6f | 6e 0a 58 70 72 69 6e 74 |ne perso|n.Xprint|
|00005b40| 69 6e 67 20 6f 75 74 20 | 61 74 20 61 20 74 69 6d |ing out |at a tim|
|00005b50| 65 2c 20 74 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |e, this |program |
|00005b60| 77 69 6c 6c 20 70 75 74 | 20 79 6f 75 72 0a 58 6e |will put| your.Xn|
|00005b70| 61 6d 65 20 6f 6e 20 74 | 68 65 20 74 6f 70 20 6f |ame on t|he top o|
|00005b80| 66 20 79 6f 75 72 20 74 | 72 61 6e 73 63 72 69 70 |f your t|ranscrip|
|00005b90| 74 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 74 65 6c |t so you| can tel|
|00005ba0| 6c 0a 58 77 68 69 63 68 | 20 6f 6e 65 20 69 73 20 |l.Xwhich| one is |
|00005bb0| 79 6f 75 72 73 2e 0a 58 | 5f 0a 58 09 54 68 69 73 |yours..X|_.X.This|
|00005bc0| 20 69 73 20 74 68 65 20 | 6d 61 69 6e 20 6d 65 6e | is the |main men|
|00005bd0| 75 2e 20 20 46 72 6f 6d | 20 68 65 72 65 20 79 6f |u. From| here yo|
|00005be0| 75 20 63 61 6e 0a 58 64 | 6f 20 73 65 76 65 72 61 |u can.Xd|o severa|
|00005bf0| 6c 20 74 68 69 6e 67 73 | 2e 20 20 27 31 27 20 77 |l things|. '1' w|
|00005c00| 69 6c 6c 20 6c 65 74 20 | 79 6f 75 20 63 68 6f 6f |ill let |you choo|
|00005c10| 73 65 20 74 6f 0a 58 6c | 6f 6f 6b 20 61 74 20 6f |se to.Xl|ook at o|
|00005c20| 6e 65 20 65 6c 65 6d 65 | 6e 74 73 20 69 6e 66 6f |ne eleme|nts info|
|00005c30| 72 6d 61 74 69 6f 6e 2e | 20 20 27 32 27 20 77 69 |rmation.| '2' wi|
|00005c40| 6c 6c 20 61 6c 6c 6f 77 | 0a 58 79 6f 75 20 74 6f |ll allow|.Xyou to|
|00005c50| 20 63 68 6f 6f 73 65 20 | 62 6f 75 6e 64 61 72 69 | choose |boundari|
|00005c60| 65 73 20 66 6f 72 20 74 | 68 65 20 65 6c 65 6d 65 |es for t|he eleme|
|00005c70| 6e 74 73 20 79 6f 75 20 | 77 69 73 68 0a 58 74 6f |nts you |wish.Xto|
|00005c80| 20 6c 6f 6f 6b 20 61 74 | 2e 20 20 27 33 27 20 77 | look at|. '3' w|
|00005c90| 69 6c 6c 20 6c 69 73 74 | 20 74 68 65 73 65 20 73 |ill list| these s|
|00005ca0| 70 65 63 69 61 6c 20 65 | 6c 65 6d 65 6e 74 73 2e |pecial e|lements.|
|00005cb0| 0a 58 27 34 27 20 77 69 | 6c 6c 20 73 68 6f 77 20 |.X'4' wi|ll show |
|00005cc0| 74 68 65 69 72 20 70 6f | 73 69 74 69 6f 6e 20 6f |their po|sition o|
|00005cd0| 6e 20 74 68 65 20 70 65 | 72 69 6f 64 69 63 20 74 |n the pe|riodic t|
|00005ce0| 61 62 6c 65 2e 0a 58 27 | 35 27 20 77 69 6c 6c 20 |able..X'|5' will |
|00005cf0| 6c 65 74 20 79 6f 75 20 | 75 73 65 20 74 68 65 20 |let you |use the |
|00005d00| 67 72 61 70 68 69 6e 67 | 20 6d 6f 64 75 6c 65 2e |graphing| module.|
|00005d10| 0a 58 27 36 27 20 77 69 | 6c 6c 20 65 78 69 74 20 |.X'6' wi|ll exit |
|00005d20| 74 68 65 20 70 72 6f 67 | 72 61 6d 2e 20 20 27 5e |the prog|ram. '^|
|00005d30| 52 27 20 6f 72 20 43 6f | 6e 74 72 6f 6c 2d 52 0a |R' or Co|ntrol-R.|
|00005d40| 58 28 68 6f 6c 64 20 64 | 6f 77 6e 20 74 68 65 20 |X(hold d|own the |
|00005d50| 63 6f 6e 74 72 6f 6c 20 | 6b 65 79 20 61 6e 64 20 |control |key and |
|00005d60| 70 72 65 73 73 20 52 29 | 20 77 69 6c 6c 20 74 75 |press R)| will tu|
|00005d70| 72 6e 0a 58 52 65 47 49 | 53 20 6d 6f 64 65 20 6f |rn.XReGI|S mode o|
|00005d80| 6e 20 61 6e 64 20 6f 66 | 66 2e 20 20 54 68 69 73 |n and of|f. This|
|00005d90| 20 61 66 66 65 63 74 73 | 20 74 68 65 20 67 72 61 | affects| the gra|
|00005da0| 70 68 69 6e 67 0a 58 70 | 6f 72 74 69 6f 6e 20 6f |phing.Xp|ortion o|
|00005db0| 66 20 74 68 65 20 70 6f | 67 72 61 6d 20 6f 6e 6c |f the po|gram onl|
|00005dc0| 79 2e 20 20 4f 66 20 63 | 6f 75 72 73 65 2c 20 27 |y. Of c|ourse, '|
|00005dd0| 5e 43 27 20 77 69 6c 6c | 0a 58 65 78 69 74 20 74 |^C' will|.Xexit t|
|00005de0| 68 65 20 70 72 6f 67 72 | 61 6d 20 61 74 20 61 6e |he progr|am at an|
|00005df0| 79 20 74 69 6d 65 2e 20 | 20 27 5e 56 27 20 73 68 |y time. | '^V' sh|
|00005e00| 6f 77 73 20 61 6c 6c 20 | 76 65 72 73 69 6f 6e 0a |ows all |version.|
|00005e10| 58 64 65 66 69 6e 69 74 | 69 6f 6e 73 2e 0a 58 5f |Xdefinit|ions..X_|
|00005e20| 0a 58 09 46 6f 72 20 61 | 73 74 68 65 74 69 63 73 |.X.For a|sthetics|
|00005e30| 2c 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 63 61 |, the pr|ogram ca|
|00005e40| 6e 20 6d 61 6b 65 20 74 | 68 65 0a 58 70 65 72 69 |n make t|he.Xperi|
|00005e50| 6f 64 69 63 20 74 61 62 | 6c 65 20 6c 6f 6f 6b 20 |odic tab|le look |
|00005e60| 6e 69 63 65 20 62 79 20 | 75 73 69 6e 67 20 67 72 |nice by |using gr|
|00005e70| 61 70 68 69 63 73 2e 0a | 58 4f 6e 65 20 64 72 61 |aphics..|XOne dra|
|00005e80| 77 62 61 63 6b 20 69 73 | 20 74 68 61 74 20 74 68 |wback is| that th|
|00005e90| 65 73 65 20 67 72 61 70 | 68 69 63 73 20 63 61 6e |ese grap|hics can|
|00005ea0| 6e 6f 74 20 62 65 20 73 | 61 76 65 64 0a 58 61 6e |not be s|aved.Xan|
|00005eb0| 64 20 70 72 69 6e 74 65 | 64 2e 0a 58 5f 0a 58 09 |d printe|d..X_.X.|
|00005ec0| 48 65 72 65 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |Here you| should |
|00005ed0| 63 68 6f 6f 73 65 20 6f | 6e 65 20 63 68 61 72 61 |choose o|ne chara|
|00005ee0| 63 74 65 72 69 73 74 69 | 63 0a 58 74 6f 20 73 65 |cteristi|c.Xto se|
|00005ef0| 74 2e 20 20 53 61 79 2c | 20 66 6f 72 20 65 78 61 |t. Say,| for exa|
|00005f00| 6d 70 6c 65 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |mple you| want to|
|00005f10| 20 73 65 65 20 61 6c 6c | 0a 58 65 6c 65 6d 65 6e | see all|.Xelemen|
|00005f20| 74 73 20 77 69 74 68 20 | 61 20 6d 65 6c 74 69 6e |ts with |a meltin|
|00005f30| 67 20 74 65 6d 70 65 72 | 61 74 75 72 65 20 67 72 |g temper|ature gr|
|00005f40| 65 61 74 65 72 20 74 68 | 61 6e 0a 58 31 30 30 30 |eater th|an.X1000|
|00005f50| 20 63 65 6c 63 69 75 73 | 2e 20 20 59 6f 75 20 77 | celcius|. You w|
|00005f60| 6f 75 6c 64 20 74 79 70 | 65 20 69 6e 20 74 68 65 |ould typ|e in the|
|00005f70| 20 6e 75 6d 62 65 72 20 | 66 6f 72 0a 58 6d 65 6c | number |for.Xmel|
|00005f80| 74 69 6e 67 20 74 65 6d | 70 65 72 61 74 75 72 65 |ting tem|perature|
|00005f90| 20 68 65 72 65 2e 0a 58 | 5f 0a 58 5f 0a 58 09 54 | here..X|_.X_.X.T|
|00005fa0| 68 65 20 52 65 47 49 53 | 20 63 6f 6d 6d 61 6e 64 |he ReGIS| command|
|00005fb0| 73 20 63 61 6e 20 62 65 | 20 70 72 69 6e 74 65 64 |s can be| printed|
|00005fc0| 20 6f 6e 20 61 6e 79 20 | 44 45 43 0a 58 4c 4e 30 | on any |DEC.XLN0|
|00005fd0| 33 20 63 6f 6d 70 61 74 | 69 62 6c 65 20 6c 61 73 |3 compat|ible las|
|00005fe0| 65 72 70 72 69 6e 74 65 | 72 2c 20 70 6f 73 73 69 |erprinte|r, possi|
|00005ff0| 62 6c 79 20 6f 74 68 65 | 72 73 2e 20 20 49 66 0a |bly othe|rs. If.|
|00006000| 58 79 6f 75 20 77 61 6e | 74 20 74 68 65 20 70 72 |Xyou wan|t the pr|
|00006010| 6f 67 72 61 6d 20 74 6f | 20 73 61 76 65 20 61 20 |ogram to| save a |
|00006020| 63 6f 70 79 20 6f 66 20 | 79 6f 75 72 20 67 72 61 |copy of |your gra|
|00006030| 70 68 0a 58 69 6e 20 74 | 65 78 74 20 66 6f 72 6d |ph.Xin t|ext form|
|00006040| 20 28 75 73 75 61 6c 6c | 79 20 61 62 6f 75 74 20 | (usuall|y about |
|00006050| 35 30 30 30 20 63 68 61 | 72 73 29 20 74 79 70 65 |5000 cha|rs) type|
|00006060| 20 27 79 27 2e 0a 58 54 | 68 65 20 66 69 6c 65 6e | 'y'..XT|he filen|
|00006070| 61 6d 65 20 77 69 6c 6c | 20 62 65 20 69 6e 20 74 |ame will| be in t|
|00006080| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |he curre|nt direc|
|00006090| 74 6f 72 79 20 75 6e 64 | 65 72 0a 58 27 6c 61 73 |tory und|er.X'las|
|000060a0| 65 72 27 2e 0a 58 5f 0a | 58 09 54 68 69 73 20 64 |er'..X_.|X.This d|
|000060b0| 65 74 65 72 6d 69 6e 65 | 73 20 68 6f 77 20 79 6f |etermine|s how yo|
|000060c0| 75 72 20 73 65 61 72 63 | 68 20 77 69 6c 6c 20 62 |ur searc|h will b|
|000060d0| 65 0a 58 70 72 6f 63 65 | 73 73 65 64 2e 0a 58 5f |e.Xproce|ssed..X_|
|000060e0| 0a 58 5f 0a 58 09 59 6f | 75 20 6d 61 79 20 63 68 |.X_.X.Yo|u may ch|
|000060f0| 6f 6f 73 65 20 77 68 65 | 74 68 65 72 20 6f 72 20 |oose whe|ther or |
|00006100| 6e 6f 74 20 79 6f 75 20 | 77 61 6e 74 20 74 68 69 |not you |want thi|
|00006110| 73 0a 58 67 72 61 70 68 | 2c 20 6c 69 73 74 2c 20 |s.Xgraph|, list, |
|00006120| 6f 72 20 74 61 62 6c 65 | 20 69 6e 20 79 6f 75 72 |or table| in your|
|00006130| 20 74 72 61 6e 73 63 72 | 69 70 74 2e 0a 45 4e 44 | transcr|ipt..END|
|00006140| 5f 4f 46 5f 46 49 4c 45 | 0a 20 20 69 66 20 74 65 |_OF_FILE|. if te|
|00006150| 73 74 20 34 33 31 35 20 | 2d 6e 65 20 60 77 63 20 |st 4315 |-ne `wc |
|00006160| 2d 63 20 3c 27 6f 6e 6c | 69 6e 65 5f 68 65 6c 70 |-c <'onl|ine_help|
|00006170| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00006180| 6f 20 73 68 61 72 3a 20 | 5c 22 27 6f 6e 6c 69 6e |o shar: |\"'onlin|
|00006190| 65 5f 68 65 6c 70 27 5c | 22 20 75 6e 70 61 63 6b |e_help'\|" unpack|
|000061a0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000061b0| 7a 65 21 0a 20 20 66 69 | 0a 20 20 23 20 65 6e 64 |ze!. fi|. # end|
|000061c0| 20 6f 66 20 27 6f 6e 6c | 69 6e 65 5f 68 65 6c 70 | of 'onl|ine_help|
|000061d0| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|000061e0| 27 70 65 72 74 61 62 27 | 20 2d 61 20 22 24 7b 31 |'pertab'| -a "${1|
|000061f0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00006200| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00006210| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00006220| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00006230| 22 27 70 65 72 74 61 62 | 27 5c 22 0a 65 6c 73 65 |"'pertab|'\".else|
|00006240| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |. echo |shar: Ex|
|00006250| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 70 65 72 74 |tracting| \"'pert|
|00006260| 61 62 27 5c 22 20 5c 28 | 31 32 35 36 20 63 68 61 |ab'\" \(|1256 cha|
|00006270| 72 61 63 74 65 72 73 5c | 29 0a 20 20 73 65 64 20 |racters\|). sed |
|00006280| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 70 65 72 74 61 |"s/^X//"| >'perta|
|00006290| 62 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |b' <<'EN|D_OF_FIL|
|000062a0| 45 27 0a 58 20 20 31 20 | 3c 2d 20 31 61 20 20 20 |E'.X 1 |<- 1a |
|000062b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000062c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000062d0| 20 20 38 61 20 2d 3e 20 | 31 38 0a 58 7c 2d 2d 7c | 8a -> |18.X|--||
|000062e0| 32 61 20 20 20 20 50 45 | 52 49 4f 44 49 43 20 54 |2a PE|RIODIC T|
|000062f0| 41 42 4c 45 20 4f 46 20 | 20 20 20 20 20 20 20 20 |ABLE OF | |
|00006300| 20 33 61 20 34 61 20 35 | 61 20 36 61 20 37 61 7c | 3a 4a 5|a 6a 7a||
|00006310| 2d 2d 7c 0a 58 7c 20 20 | 7c 20 32 20 20 20 20 20 |--|.X| || 2 |
|00006320| 20 20 20 20 20 20 20 20 | 54 48 45 20 45 4c 45 4d | |THE ELEM|
|00006330| 45 4e 54 53 20 20 20 20 | 20 20 31 33 20 31 34 20 |ENTS | 13 14 |
|00006340| 31 35 20 31 36 20 31 37 | 7c 20 20 7c 31 0a 58 7c |15 16 17|| |1.X||
|00006350| 2d 2d 7c 2d 2d 7c 20 20 | 20 20 20 20 20 20 20 20 |--|--| | |
|00006360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006370| 20 20 20 7c 2d 2d 7c 2d | 2d 7c 2d 2d 7c 2d 2d 7c | |--|-|-|--|--||
|00006380| 2d 2d 7c 2d 2d 7c 0a 58 | 7c 20 20 7c 20 20 7c 20 |--|--|.X|| | | |
|00006390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 7c | | | ||
|000063b0| 20 20 7c 20 20 7c 20 20 | 7c 20 20 7c 20 20 7c 32 | | | || | |2|
|000063c0| 0a 58 7c 2d 2d 2b 2d 2d | 7c 31 62 20 32 62 20 33 |.X|--+--||1b 2b 3|
|000063d0| 62 20 34 62 20 35 62 20 | 36 62 20 37 62 20 38 62 |b 4b 5b |6b 7b 8b|
|000063e0| 20 39 62 20 58 62 7c 2d | 2d 2b 2d 2d 2b 2d 2d 2b | 9b Xb|-|-+--+--+|
|000063f0| 2d 2d 2b 2d 2d 2b 2d 2d | 7c 0a 58 7c 20 20 7c 20 |--+--+--||.X| | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.