home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume36 / ldb / part08 < prev    next >
Encoding:
Text File  |  1993-04-10  |  38.8 KB  |  575 lines

  1. Newsgroups: comp.sources.misc
  2. From: ross@teserv.den.mmc.com (Perry R. Ross)
  3. Subject: v36i105:  ldb - Play backgammon by e-mail, v1.3, Part08/12
  4. Message-ID: <1993Apr11.233131.18512@sparky.imd.sterling.com>
  5. X-Md4-Signature: cdedf54b7065522f7cf4c0e3bce6db59
  6. Date: Sun, 11 Apr 1993 23:31:31 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: ross@teserv.den.mmc.com (Perry R. Ross)
  10. Posting-number: Volume 36, Issue 105
  11. Archive-name: ldb/part08
  12. Environment: UNIX, C, VMS, VAXC, CURSES, 32BIT
  13. Supersedes: ldb: Volume 28, Issue 93-97
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then unpack
  17. # it by saving it into a file and typing "sh file".  To overwrite existing
  18. # files, type "sh file -c".  You can also feed this as standard input via
  19. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  20. # will see the following message at the end:
  21. #        "End of archive 8 (of 12)."
  22. # Contents:  ldb-man.ps2
  23. # Wrapped by ross@teserv.den.mmc.com on Tue Apr  6 14:52:23 1993
  24. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  25. if test -f 'ldb-man.ps2' -a "${1}" != "-c" ; then 
  26.   echo shar: Will not clobber existing file \"'ldb-man.ps2'\"
  27. else
  28. echo shar: Extracting \"'ldb-man.ps2'\" \(37364 characters\)
  29. sed "s/^X//" >'ldb-man.ps2' <<'END_OF_FILE'
  30. X(y)f(ma)o(y)f(not)i(b)q(e)h(the)f(upp)q(er)h(and)f(lo)o(w)o(er)g(case)h(of)
  31. X357 1224 y(the)f(same)f(c)o(haracter.)20 b(The)14 b(default)g(is)f("{color)h
  32. X(rw".)187 1307 y Fc(-direction)e(up/do)o(wn)357 1357 y Fd(This)k(sets)i(the)g
  33. X(direction)e(of)g(pla)o(y)g(for)g(the)h(lo)q(cal)f(user)i(for)e(the)h(game)e
  34. X(started)j(b)o(y)e(this)h(ldb)f(run.)357 1407 y(The)e(default)g(is)g
  35. X("{direction)f(up".)187 1490 y Fc(-m)o(y)o(addr)h(addr)357
  36. X1540 y Fd(Y)m(our)i(mail)d(address)18 b(is)e(set)h(to)f Fb(addr)g
  37. XFd(for)g(games)f(started)i(on)f(this)g(ldb)g(run.)25 b(This)16
  38. Xb(o)o(v)o(errides)g(the)357 1590 y(address)f(sp)q(eci\014ed)h(in)d
  39. XFb(.ldbr)n(c.)187 1673 y Fc(-start)h(user)357 1722 y Fd(A)e(game)e(is)h
  40. X(started)i(with)e(the)i(sp)q(eci\014ed)g(user.)18 b(The)12
  41. Xb Fb(user)g Fd(argumen)o(t)e(ma)o(y)g(b)q(e)i(an)o(y)f(e{mail)f(address)357
  42. X1772 y(that)j(is)g(v)n(alid)f(for)g(y)o(our)h(host.)18 b(Some)12
  43. Xb(e{mail)f(addresses)k(will)c(need)k(to)d(b)q(e)i(quoted)g(if)e(they)h(con)o
  44. X(tain)357 1822 y(shell)g(metac)o(haracters.)18 b(The)13 b Fb(user)g
  45. XFd(argumen)o(t)f(ma)o(y)f(also)h(b)q(e)h(an)g Fb(alias)g Fd(for)f(an)h(opp)q
  46. X(onen)o(t)g(y)o(ou)f(ha)o(v)o(e)357 1872 y(pla)o(y)o(ed)e(b)q(efore.)17
  47. Xb(Aliases)11 b(are)g(de\014ned)g(in)f(the)h(p)q(eople)g(\014le,)g(and)f(are)h
  48. X(initialized)e(to)h(the)h(\014rst)g(name)f(of)357 1922 y(the)j(opp)q(onen)o
  49. X(t,)g(with)f(all)f(upp)q(er-case)j(letters)g(c)o(hanged)f(to)f(lo)o(w)o(er.)
  50. X18 b(The)12 b({start)h(option)f(is)g(deferred)357 1972 y(un)o(til)j(all)f
  51. X(command)f(line)j(options)f(ha)o(v)o(e)h(b)q(een)h(scanned,)g(so)e(the)i(p)q
  52. X(osition)e(of)g(the)i({start)f(option)357 2021 y(on)e(the)g(command)d(line)j
  53. X(is)f(not)h(imp)q(ortan)o(t.)i(Only)e(one)g({start)g(ma)o(y)e(b)q(e)j(used)g
  54. X(p)q(er)f(ldb)g(run.)187 2104 y Fc(-remotestart)f(user1)i(user2)357
  55. X2154 y Fd(A)e(game)d(is)j(started)g(b)q(et)o(w)o(een)h(user1)f(and)g(user2.)
  56. X18 b(The)13 b(lo)q(cal)f(host)g(sends)i(a)e(remote)g(start)h(message)357
  57. X2204 y(to)j(user1)g(instructing)g(it)g(to)f(start)i(a)e(game)g(with)g(user2.)
  58. X24 b(The)17 b(lo)q(cal)e(host)h(do)q(es)g(not)g(participate)357
  59. X2254 y(thereafter)h(in)f(the)g(game.)22 b(F)m(or)15 b(the)i(purp)q(oses)g(of)
  60. Xe(the)i({color)e(and)g({direction)h(options,)f(user1)i(is)357
  61. X2304 y(considered)i(the)e(lo)q(cal)f(user.)29 b(The)18 b({remotestart)f
  62. X(option)f(is)h(deferred)i(un)o(til)d(all)g(command)e(line)357
  63. X2353 y(options)g(ha)o(v)o(e)g(b)q(een)i(scanned,)f(so)g(the)g(p)q(osition)e
  64. X(of)h(the)h({remotestart)g(option)e(on)i(the)g(command)357
  65. X2403 y(line)e(is)h(not)g(imp)q(ortan)o(t.)i(Only)e(one)g({remotestart)g(ma)o
  66. X(y)e(b)q(e)i(used)h(p)q(er)g(ldb)e(run.)187 2486 y Fc(-new)o(addr)357
  67. X2536 y Fd(The)i({new)o(addr)g(option)f(tells)h(ldb)f(to)h(notify)e(all)h(of)g
  68. X(y)o(our)h(opp)q(onen)o(ts)g(that)g(y)o(our)f(e{mail)f(address)357
  69. X2586 y(has)g(c)o(hanged.)19 b(T)m(o)12 b(use)i(it,)f(\014rst)h(put)g(y)o(our)
  70. Xf(new)h(address)g(in)o(to)f(the)h(m)o(y)o(addr=)e(line)h(of)f(y)o(our)i
  71. X(.ldbrc.)357 2636 y(Then,)h(run)f("ldb)g(-new)o(addr".)20 b(As)15
  72. Xb(y)o(ou)e(send)j(mo)o(v)o(es)d(to)h(y)o(our)g(opp)q(onen)o(ts,)h(they)g
  73. X(will)e(b)q(e)i(noti\014ed)357 2686 y(of)e(y)o(our)h(new)g(address.)19
  74. Xb(If)14 b(an)o(y)f(of)h(y)o(our)f(opp)q(onen)o(ts)i(still)e(use)h(older)g
  75. X(ldb)g(v)o(ersions,)f(y)o(ou)h(will)e(see)j(a)0 2825 y(4th)f(Berk)o(eley)h
  76. X(distribution)598 b(Octob)q(er)16 b(6,)d(1992)584 b(2)p eop
  77. X%%Page: 3 3
  78. X2 bop 0 -103 a Fd(LDB\(1\))572 b(UNIX)14 b(Programmer's)d(Man)o(ual)571
  79. Xb(LDB\(1\))357 42 y(w)o(arning)14 b(message.)22 b(The)15 b({new)o(addr)g
  80. X(option)g(will)e(not)i(w)o(ork)g(with)g(older)g(ldb)g(v)o(ersions,)g(so)g
  81. X(those)357 92 y(opp)q(onen)o(ts)j(will)f(ha)o(v)o(e)g(to)h(c)o(hange)g(y)o
  82. X(our)f(e{mail)e(address)k(in)e(.ldb)q(data)g(and)h(.ldbp)q(eople)f(with)g(a)
  83. X357 142 y(text)d(editor.)357 225 y(If)20 b(y)o(ou)f(ha)o(v)o(e)h(m)o(ultiple)
  84. Xe(e{mail)f(addresses,)23 b(y)o(ou)d(should)f(put)i(the)f(most)f(common)e
  85. X(address)k(in)357 275 y(.ldbrc,)14 b(run)g("ldb)f(-read)i(-new)o(addr",)e
  86. X(then)i(use)g(a)f(text)h(editor)f(to)g(c)o(hange)g(the)h("m)o(y)o(addr=")d
  87. X(lines)357 325 y(in)k(.ldb)q(data)f(and)h(.ldbp)q(eople)g(for)g(the)h(games)e
  88. X(and)h(opp)q(onen)o(ts)h(that)g(need)g(di\013eren)o(t)g(addresses.)357
  89. X374 y(Ev)o(erything)d(will)e(b)q(e)j(automatic)d(from)g(there.)187
  90. X457 y Fc(-notify)i(addr)357 507 y Fd(This)k(option)f(a\013ects)i(games)e
  91. X(started)i(b)o(y)f(either)g(-start)h(or)e(-remotestart)h(on)g(this)g(ldb)g
  92. X(run.)30 b(A)357 557 y(message)15 b(is)h(sen)o(t)g(to)f(the)i(sp)q(eci\014ed)
  93. Xg(address)g(when)f(the)g(game)e(that)h(is)h(started)g(b)o(y)g(the)g(-start)g
  94. X(or)357 607 y(-remotestart)f(option)f(ends.)21 b(This)15 b(message)f
  95. X(includes)h(the)h(termination)d(co)q(de)i(of)f(the)h(game,)e(the)357
  96. X657 y(game)e(v)n(alue,)g(and)h(a)g(gammon/)o(bac)o(kgam)n(m)o(on)d(\015ag.)17
  97. Xb(This)12 b(option)g(is)g(mainly)d(for)j(the)h(use)g(of)e(game)357
  98. X706 y(starters)j(that)e(wish)g(to)f(either)i(k)o(eep)g(score)g(or)f(start)h
  99. X(new)f(games)f(when)i(the)f(old)f(ones)i(\014nish.)k(Ev)o(en)357
  100. X756 y(though)c(-notify)g(is)g(only)g(used)i(b)o(y)e(the)h(pla)o(y)o(er)f
  101. X(that)h(starts)h(the)f(game)e(\(or)i(the)g(game)e(starter)j(that)357
  102. X806 y(uses)g(-remotestart\),)f(b)q(oth)g(pla)o(y)o(er's)f(ldb)h(will)e(send)j
  103. X(a)e(message)h(when)g(the)h(game)d(ends.)187 889 y Fc(-jacob)o(y)20
  104. Xb Fd(The)14 b(Jacob)o(y)f(rule)g(is)h(enabled)f(for)g(the)h(game)e(started)i
  105. X(b)o(y)f(this)g(ldb)g(run.)18 b(This)13 b(rule)h(sp)q(eci\014es)h(that)357
  106. X939 y(gammo)o(ns)c(and)i(bac)o(kgamm)o(ons)d(coun)o(t)k(as)f(a)f(single)h(p)q
  107. X(oin)o(t)f(if)g(neither)i(pla)o(y)o(er)f(doubled)g(during)f(the)357
  108. X989 y(game.)27 b(This)17 b(option)g(ma)o(y)f(only)g(b)q(e)i(enabled)g(b)o(y)f
  109. X(the)h(user)h(starting)e(the)h(game,)e(and)i(ma)o(y)d(not)357
  110. X1039 y(b)q(e)i(disabled)e(b)o(y)h(the)h(other)f(pla)o(y)o(er.)24
  111. Xb(If)16 b(the)h(opp)q(onen)o(t's)f(v)o(ersion)g(of)f(ldb)h(do)q(es)h(not)f
  112. X(supp)q(ort)g(the)357 1088 y(Jacob)o(y)e(rule,)g(it)f(is)h(disabled)g(and)f
  113. X(the)i(game)d(pro)q(ceeds)k(as)e(if)f(it)h(w)o(ere)g(nev)o(er)h(enabled.)187
  114. X1171 y Fc(-cra)o(wford)357 1221 y Fd(The)h(Cra)o(wford)g(rule)g(is)g(enabled)
  115. Xh(for)e(the)i(game)d(started)k(b)o(y)d(this)h(ldb)g(run.)25
  116. Xb(This)16 b(rule)g(sp)q(eci\014es)357 1271 y(that)11 b(neither)h(pla)o(y)o
  117. X(er)e(ma)o(y)f(double)h(for)h(the)g(\014rst)h(game)d(of)h(a)h(matc)o(h)e
  118. X(after)i(either)h(pla)o(y)o(er)f(is)f(within)g(1)357 1321 y(p)q(oin)o(t)h(of)
  119. Xg(winning)g(the)h(matc)o(h.)k(If)11 b(matc)o(h)g(pla)o(y)g(is)g(not)h
  120. X(enabled,)g(this)f(argumen)o(t)g(has)h(no)f(meaning.)357 1371
  121. Xy(This)h(option)f(ma)o(y)f(only)h(b)q(e)h(enabled)g(b)o(y)g(the)g(user)h
  122. X(starting)f(the)g(game,)f(and)g(ma)o(y)f(not)i(b)q(e)g(disabled)357
  123. X1420 y(b)o(y)g(the)h(other)g(pla)o(y)o(er.)k(If)12 b(the)h(opp)q(onen)o(t's)f
  124. X(v)o(ersion)h(of)e(ldb)h(do)q(es)h(not)f(supp)q(ort)h(the)g(Cra)o(wford)f
  125. X(rule,)357 1470 y(it)i(is)f(disabled)h(and)g(the)g(game)f(pro)q(ceeds)i(as)f
  126. X(if)f(it)h(w)o(ere)h(nev)o(er)g(enabled.)187 1553 y Fc(-europ)q(ean)357
  127. X1603 y Fd(The)h(Europ)q(ean)h(rule)e(is)h(enabled)g(for)f(the)i(game)d
  128. X(started)i(b)o(y)g(this)g(ldb)f(run.)24 b(This)15 b(rule)h(sp)q(eci\014es)357
  129. X1653 y(that)i(bac)o(kgammo)o(ns)e(coun)o(t)i(as)g(double,)g(rather)h(than)f
  130. X(triple,)g(the)h(score)g(sho)o(wn)f(on)g(the)g(cub)q(e.)357
  131. X1703 y(This)12 b(option)f(ma)o(y)f(only)h(b)q(e)h(enabled)g(b)o(y)g(the)g
  132. X(user)h(starting)f(the)g(game,)f(and)g(ma)o(y)f(not)i(b)q(e)g(disabled)357
  133. X1753 y(b)o(y)g(the)g(other)h(pla)o(y)o(er.)j(If)c(the)g(opp)q(onen)o(t's)g(v)
  134. Xo(ersion)g(of)g(ldb)f(do)q(es)i(not)e(supp)q(ort)i(the)g(Europ)q(ean)f(rule,)
  135. X357 1802 y(it)i(is)f(disabled)h(and)g(the)g(game)f(pro)q(ceeds)i(as)f(if)f
  136. X(it)h(w)o(ere)h(nev)o(er)g(enabled.)187 1885 y Fc(-p)q(ermanen)o(t)357
  137. X1935 y Fd(The)j(game)f(started)i(b)o(y)e(this)h(ldb)g(run)g(is)g(mark)o(ed)e
  138. X(p)q(ermanen)o(t.)30 b(P)o(ermanen)o(t)17 b(games)g(are)h(auto-)357
  139. X1985 y(matically)13 b(restarted)k(when)g(they)f(end.)24 b(This)15
  140. Xb(is)h(for)f(p)q(eople)h(y)o(ou)g(pla)o(y)e(with)i(constan)o(tly)m(,)f(and)g
  141. X(it)357 2035 y(sa)o(v)o(es)h(y)o(ou)g(the)g(trouble)g(of)f(restarting)h(the)h
  142. X(game)d(when)i(it)g(is)f(o)o(v)o(er.)24 b(This)16 b(option)f(ma)o(y)e(only)i
  143. X(b)q(e)357 2085 y(enabled)g(b)o(y)f(the)h(user)g(starting)g(the)g(game,)d
  144. X(and)j(ma)o(y)d(not)j(b)q(e)g(disabled)f(b)o(y)g(the)h(other)g(pla)o(y)o(er.)
  145. Xk(If)357 2134 y(the)c(opp)q(onen)o(t's)f(v)o(ersion)g(of)f(ldb)h(do)q(es)g
  146. X(not)g(supp)q(ort)h(p)q(ermanen)o(t)f(games,)e(the)j(p)q(ermanen)o(t)f
  147. X(\015ag)f(is)357 2184 y(disabled)h(and)f(the)i(game)d(pro)q(ceeds)k(as)e(if)f
  148. X(it)h(w)o(ere)g(nev)o(er)h(enabled.)187 2267 y Fc(-matc)o(h)g(p)q(oin)o(ts)
  149. X357 2317 y Fd(This)f(option)g(enables)h(matc)o(h)e(pla)o(y)g(and)h(sp)q
  150. X(eci\014es)i(the)f(n)o(um)o(b)q(er)f(of)f(p)q(oin)o(ts)i(the)g(matc)o(h)e(is)
  151. Xh(to)g(pla)o(y)357 2367 y(to.)30 b(Games)16 b(that)i(are)g(part)h(of)e(a)g
  152. X(matc)o(h)g(ha)o(v)o(e)h(additional)e(information)f(displa)o(y)o(ed)i(ab)q(o)
  153. Xo(v)o(e)g(the)357 2417 y(b)q(oard)c(to)f(sho)o(w)h(the)g(curren)o(t)h(matc)o
  154. X(h)e(score)i(and)e(the)i(n)o(um)o(b)q(er)e(of)g(p)q(oin)o(ts)g(b)q(eing)h
  155. X(pla)o(y)o(ed)f(to.)18 b(When)357 2467 y(a)e(game)f(that)h(is)g(part)g(of)g
  156. X(a)g(matc)o(h)f(ends,)i(and)f(the)h(sp)q(eci\014ed)g(n)o(um)o(b)q(er)f(of)f
  157. X(p)q(oin)o(ts)h(has)h(not)f(b)q(een)357 2516 y(reac)o(hed,)i(the)f(game)f(is)
  158. Xg(restarted.)28 b(This)17 b(option)f(ma)o(y)e(only)i(b)q(e)i(enabled)f(b)o(y)
  159. Xf(the)h(user)h(starting)357 2566 y(the)c(game,)e(and)h(ma)o(y)e(not)j(b)q(e)g
  160. X(disabled)f(b)o(y)g(the)h(other)g(pla)o(y)o(er.)j(If)c(the)h(opp)q(onen)o
  161. X(t's)g(v)o(ersion)g(of)e(ldb)357 2616 y(do)q(es)j(not)e(supp)q(ort)i(matc)o
  162. X(h)e(pla)o(y)m(,)f(the)i(game)f(pro)q(ceeds)j(as)e(if)f(it)g(w)o(ere)i(a)f
  163. X(normal)d(game.)0 2825 y(4th)j(Berk)o(eley)h(distribution)598
  164. Xb(Octob)q(er)16 b(6,)d(1992)584 b(3)p eop
  165. X%%Page: 4 4
  166. X3 bop 0 -103 a Fd(LDB\(1\))572 b(UNIX)14 b(Programmer's)d(Man)o(ual)571
  167. Xb(LDB\(1\))187 42 y Fc(-score)48 b Fd(The)15 b(cum)o(ulativ)o(e)e(score)j
  168. X(for)e(all)g(opp)q(onen)o(ts)h(is)g(prin)o(ted.)21 b(This)14
  169. Xb(consists)i(of)e(p)q(oin)o(ts,)h(games,)e(gam-)357 92 y(mons,)i(bac)o
  170. X(kgammons,)e(and)j(matc)o(hes)g(that)h(ha)o(v)o(e)f(b)q(een)h(w)o(on)f(and)g
  171. X(lost)g(for)g(eac)o(h)g(opp)q(onen)o(t.)26 b(A)357 142 y(total)13
  172. Xb(o)o(v)o(er)h(all)f(opp)q(onen)o(ts)h(is)g(also)f(prin)o(ted.)187
  173. X225 y Fc(-broadcast)h([\014le])357 275 y Fd(The)c(sp)q(eci\014ed)h(\014le)e
  174. X(is)g(mailed)e(to)i(all)f(curren)o(t)j(opp)q(onen)o(ts.)17
  175. Xb(This)10 b(is)f(useful)g(for)g(announcing)g(v)n(acation)357
  176. X325 y(absences,)19 b(etc.)26 b(If)17 b(the)g(\014le)f(argumen)o(t)g(is)g(not)
  177. Xg(giv)o(en,)h(standard)g(input)f(is)g(read)h(and)f(sen)o(t)i(to)e(all)357
  178. X374 y(opp)q(onen)o(ts.)187 457 y Fc(-con)o(trol)357 507 y Fd(This)g(option)g
  179. X(puts)h(ldb)e(in)o(to)h(a)g(sp)q(ecial)g(mo)q(de)g(that)g(do)q(es)h(not)f
  180. X(allo)o(w)f(games)g(to)h(b)q(e)h(pla)o(y)o(ed,)f(but)357 557
  181. Xy(instead)f(displa)o(ys)f(them)g(one)h(at)g(a)g(time)e(and)i(allo)o(ws)e
  182. X(certain)j("o)o(v)o(erhead")e(functions)h(to)g(b)q(e)g(p)q(er-)357
  183. X607 y(formed.)i(These)e(are)f(describ)q(ed)i(fully)c(in)i(the)g(section)h
  184. X(titled)f("CONTR)o(OLLING)f(A)h(GAME".)187 690 y Fc(-reconstruct)f(\014le)357
  185. X740 y Fd(This)j(option)f(allo)o(ws)f(y)o(our)i(game)e(\014le)i(to)f(b)q(e)h
  186. X(reconstructed)j(if)c(y)o(ou)g(acciden)o(tally)g(clobb)q(er)i(it.)23
  187. Xb(It)357 789 y(do)q(es)16 b(this)g(b)o(y)f(extracting)h(the)g(information)c
  188. X(from)i(y)o(our)h(opp)q(onen)o(t's)h(data)f(\014le)g(and)h("rev)o(ersing")357
  189. X839 y(it)g(so)h(y)o(ou)f(can)h(use)g(it.)26 b(T)m(o)16 b(use)h(the)g
  190. X(reconstruct)i(option,)d(ask)h(all)e(of)h(y)o(our)g(opp)q(onen)o(ts)i(to)e
  191. X(send)357 889 y(y)o(ou)c(their)h(.ldb)q(data)f(\014les.)18
  192. Xb(Extract)c(these)g(from)d(y)o(our)i(mail)d(in)o(to)i(\014les)h(on)f(y)o(our)
  193. Xh(system,)f(strip)h(the)357 939 y(mail)e(headers,)16 b(and)e(feed)g(them)g
  194. X(one)g(at)g(a)g(time)f(in)o(to)g(ldb.)18 b(F)m(or)c(eac)o(h)h(game)d(found)i
  195. X(listing)f(y)o(ou)h(as)357 989 y(the)g(opp)q(onen)o(t,)e(y)o(ou)h(will)e(b)q
  196. X(e)j(prompted)e(to)h(en)o(ter)h(the)f(opp)q(onen)o(t's)h(e-mail)c(address)k
  197. X(or)f(alias)f(\(and)357 1039 y(his)i(name)e(if)i(he)g(is)g(not)f(in)h(y)o
  198. X(our)g(p)q(eople)g(\014le\),)f(and)h(the)h(game)d(will)g(b)q(e)j(added)f(to)g
  199. X(y)o(our)g(game)e(\014le.)357 1122 y(The)j(reconstruct)h(function)e(cannot)g
  200. X(reco)o(v)o(er)i(games)d(that)h(w)o(ere)h(in)e(the)i(pro)q(cess)h(of)e
  201. X(starting)g(\(i.e.)357 1171 y(in)e(their)g(initial)e(roll)h(stage\),)i(or)f
  202. X(that)g(ha)o(v)o(e)g(already)f(completed)h(\(wh)o(y)g(b)q(other?\).)18
  203. Xb(Y)m(our)12 b(opp)q(onen)o(t)357 1221 y(should)h(read)h(an)o(y)f(mail)d
  204. X(\014les)k(y)o(ou)f(sen)o(t)h(b)q(efore)g(y)o(our)f(data)g(\014le)g(got)g
  205. X(clobb)q(ered,)h(and)f(should)g(mak)o(e)357 1271 y(his)i(mo)o(v)o(e)e(and)i
  206. X(send)h(it)f(b)q(efore)g(sending)h(y)o(ou)e(his)h(data)g(\014le.)21
  207. Xb(Y)m(ou)14 b(will)g(not)h(need)h(to)f(pro)q(cess)h(the)357
  208. X1321 y(mo)o(v)o(e)e(he)i(sen)o(t,)g(though,)f(since)h(all)e(that)i(data)f(is)
  209. Xg(in)g(his)g(\014le)g(an)o(yw)o(a)o(y)m(.)21 b(It)16 b(w)o(on't)e(h)o(urt)i
  210. X(if)f(y)o(ou)g(do,)357 1371 y(ldb)e(will)g(just)h(ignore)g(it.)187
  211. X1454 y Fc(-help)64 b Fd(This)14 b(prin)o(ts)g(a)f(one-line)h(description)h
  212. X(of)e(eac)o(h)h(option,)f(in)g(case)i(y)o(ou)f(forget)f(later)h(on.)0
  213. X1579 y Fc(SCREEN)149 1674 y Fd(The)h(screen)h(displa)o(ys)d(the)h(follo)o
  214. X(wing)e(items)h(of)g(in)o(terest:)187 1765 y Fc(Opp)q(onen)o(t)357
  215. X1815 y Fd(The)i(e{mail)c(address)16 b(and)e(p)q(ersonal)h(name)e(of)g(the)i
  216. X(opp)q(onen)o(t)g(are)f(displa)o(y)o(ed)g(on)g(the)h(top)f(line)g(of)357
  217. X1865 y(the)g(screen.)19 b(This)13 b(can)g(help)g(iden)o(tify)f(the)i(game)d
  218. X(if)h(y)o(ou)h(ha)o(v)o(e)g(man)o(y)e(games)g(in)i(progress)h(at)f(once.)187
  219. X1948 y Fc(Board)i(Lab)q(el)357 1998 y Fb(L)n(db)10 b Fd(displa)o(ys)g(one)g
  220. X(of)g(three)h(p)q(ossible)g(b)q(oard)f(images)e(at)i(a)g(time;)g(the)h(name)e
  221. X(of)g(the)i(b)q(oard)f(curren)o(tly)357 2048 y(displa)o(y)o(ed)17
  222. Xb(is)g(sho)o(wn)g(on)g(the)g(second)i(line)d(of)h(the)h(screen,)h(near)f(the)
  223. Xg(left.)27 b(The)18 b(signi\014cance)g(of)357 2097 y(these)d(three)h(b)q
  224. X(oards)e(is)g(explained)f(b)q(elo)o(w.)187 2180 y Fc(Flags)60
  225. Xb Fd(This)14 b(area)h(displa)o(ys)f(an)o(y)g(sp)q(ecial)g(rules)h(in)f
  226. X(e\013ect)i(for)f(the)g(game.)j(Eac)o(h)d(sp)q(ecial)f(rule)h(causes)h(one)
  227. X357 2230 y(c)o(haracter)f(to)f(b)q(e)g(displa)o(y)o(ed.)k(These)d(are:)426
  228. X2346 y(J)70 b(Jacob)o(y)14 b(rule)426 2396 y(C)69 b(Cra)o(wford)14
  229. Xb(rule)426 2446 y(E)70 b(Europ)q(ean)14 b(rule)426 2496 y(P)70
  230. Xb(P)o(ermanen)o(t)13 b(game)357 2562 y(In)j(addition,)f(the)h(Cra)o(wford)f
  231. X(rule)h(indicator)g(is)f(sho)o(wn)h(in)g(rev)o(erse)h(video)f(if)f(the)h(Cra)
  232. Xo(wford)g(rule)357 2612 y(game)c(is)i(curren)o(tly)h(b)q(eing)f(pla)o(y)o
  233. X(ed.)0 2825 y(4th)g(Berk)o(eley)h(distribution)598 b(Octob)q(er)16
  234. Xb(6,)d(1992)584 b(4)p eop
  235. X%%Page: 5 5
  236. X4 bop 0 -103 a Fd(LDB\(1\))572 b(UNIX)14 b(Programmer's)d(Man)o(ual)571
  237. Xb(LDB\(1\))187 42 y Fc(Matc)o(h)15 b(Score)357 92 y Fd(The)f(curren)o(t)g
  238. X(matc)o(h)f(score)h(is)f(displa)o(y)o(ed)g(next)h(to)f(the)h(b)q(oard)f(lab)q
  239. X(el,)f(as)i(is)f(the)h(n)o(um)o(b)q(er)e(of)h(p)q(oin)o(ts)357
  240. X142 y(the)19 b(matc)o(h)e(pla)o(ys)h(to.)31 b(If)18 b(the)h(game)d(b)q(eing)j
  241. X(displa)o(y)o(ed)e(is)h(not)h(part)f(of)g(a)g(matc)o(h,)f(this)i(area)f(is)
  242. X357 192 y(blank)o(ed)c(out.)187 274 y Fc(Pip)g(Coun)o(t)357
  243. X324 y Fd(Near)19 b(the)h(righ)o(t)e(of)h(the)g(screen)i(on)e(the)g(second)h
  244. X(line)e(is)h(the)h(pip)e(coun)o(t)h(for)g(the)g(b)q(oard)g(b)q(eing)357
  245. X374 y(displa)o(y)o(ed.)187 457 y Fc(Board)42 b Fd(The)15 b(b)q(oard)g(is)f
  246. X(displa)o(y)o(ed)g(near)h(the)g(left)g(side)g(of)f(the)h(screen,)h(and)f(tak)
  247. Xo(es)g(up)f(most)g(of)g(the)h(screen)357 506 y(area.)31 b(It)18
  248. Xb(consists)i(of)d(an)h(outline,)h(dra)o(wn)f(with)f(ASCI)q(I)i(c)o
  249. X(haracters,)i(and)d(28)f("p)q(oin)o(ts")h(where)357 556 y(pieces)f(can)f
  250. X(reside.)24 b(Of)16 b(these,)h(24)e(are)h(the)h(normal)c(p)q(oin)o(ts)j
  251. X(making)d(up)j(the)g(main)e(b)q(o)q(dy)h(of)g(the)357 606 y(b)q(oard)k(\(n)o
  252. X(um)o(b)q(ered)g(1{24\),)f(2)h(are)g(the)h("BAR")e(p)q(oin)o(ts,)h(lo)q
  253. X(cated)g(b)q(et)o(w)o(een)i(the)e(left)g(and)f(righ)o(t)357
  254. X656 y(halv)o(es)d(of)g(the)h(main)d(b)q(oard,)i(and)h(2)f(are)g(the)h("OFF")g
  255. X(p)q(oin)o(ts)f(\(where)h(pieces)h(go)e(when)h(they)g(are)357
  256. X706 y(b)q(orne)d(o\013)s(\),)f(lo)q(cated)g(to)f(the)i(left)e(of)g(the)i(b)q
  257. X(oard.)k(Pieces)d(are)e(represen)o(ted)i(b)o(y)e(upp)q(er)h(or)f(lo)o(w)o(er)
  258. Xf(case)357 755 y(letters.)21 b(T)m(o)14 b(help)g(y)o(ou)g(remem)o(b)q(er)g
  259. X(whic)o(h)g(direction)h(y)o(ou)f(are)h(pla)o(ying,)e(there)i(are)g(arro)o(ws)
  260. Xg(dra)o(wn)357 805 y(at)g(the)h(four)f(corners)i(of)e(the)h(b)q(oard)f
  261. X(indicating)f(y)o(our)h(direction)h(of)f(pla)o(y)m(.)21 b(The)15
  262. Xb(bar)h(is)f(indicated)357 855 y(b)o(y)f(the)g(w)o(ord)g("BAR";)f(this)h(c)o
  263. X(hanges)g(to)g("|")f(if)g(neither)i(pla)o(y)o(er)e(can)h(hit.)187
  264. X938 y Fc(Doublin)o(g)f(Cub)q(e)357 987 y Fd(The)j(curren)o(t)h(v)n(alue)f(of)
  265. Xf(the)h(doubling)f(cub)q(e)i(is)e(displa)o(y)o(ed)g(in)h(rev)o(erse)h(video)f
  266. X(on)f(the)i(left)e(side)i(of)357 1037 y(the)c(screen.)20 b(The)13
  267. Xb(cub)q(e)h(will)e(app)q(ear)h(next)h(to)e(the)i(home)d(b)q(oard)i(of)f(the)i
  268. X(o)o(wner)f(of)f(the)i(cub)q(e,)g(or)e(in)357 1087 y(the)j(middle)f(if)g
  269. X(neither)h(pla)o(y)o(er)g(has)g(doubled.)21 b(F)m(or)14 b(example,)g(if)g
  270. X(the)h(pla)o(y)o(er)g(whose)g(home)f(b)q(oard)357 1137 y(is)i(at)f(the)h(b)q
  271. X(ottom)e(of)i(the)g(screen)h(doubled)f(last,)f(the)i(cub)q(e)f(will)f(app)q
  272. X(ear)h(b)q(eside)g(the)h(top)e(of)g(the)357 1187 y(b)q(oard.)187
  273. X1269 y Fc(Mo)o(v)o(e)g(Blo)q(c)o(ks)357 1319 y Fd(The)f(mo)o(v)o(e)e(blo)q(c)
  274. Xo(ks)i(are)g(lo)q(cated)g(on)f(the)i(righ)o(t)e(of)g(the)h(screen.)20
  275. Xb(There)15 b(are)f(t)o(w)o(o)f(mo)o(v)o(e)f(blo)q(c)o(ks;)i(one)357
  276. X1369 y(for)g(y)o(ou,)f(and)i(one)f(for)g(y)o(our)g(opp)q(onen)o(t.)20
  277. Xb(Y)m(ou)13 b(will)g(use)i(y)o(our)f(mo)o(v)o(e)f(blo)q(c)o(k)h(to)g(en)o
  278. X(ter)i(y)o(our)e(mo)o(v)o(es,)357 1419 y(and)19 b(y)o(ou)g(will)e(see)k(y)o
  279. X(our)e(opp)q(onen)o(t's)g(mo)o(v)o(es)f(displa)o(y)o(ed)h(in)f(his)h(mo)o(v)o
  280. X(e)f(blo)q(c)o(k.)34 b(A)19 b(mo)o(v)o(e)e(blo)q(c)o(k)357
  281. X1469 y(consists)g(of)d(a)i(header,)g(whic)o(h)g(iden)o(ti\014es)g(the)g(o)o
  282. X(wner)g(of)f(the)h(mo)o(v)o(e)e(blo)q(c)o(k,)h(and)g(t)o(w)o(o)g(columns)g
  283. X(of)357 1518 y(either)f(t)o(w)o(o)e(or)h(four)f(lines.)18 b(Eac)o(h)13
  284. Xb(line)f(in)h(a)f(mo)o(v)o(e)f(blo)q(c)o(k)i(is)f(one)h(roll,)f(and)g(sho)o
  285. X(ws)i(the)f(v)n(alue)f(of)g(the)357 1568 y(roll)g(\(in)h(the)h(range)f(1{6\))
  286. Xg(and)f(ho)o(w)h(that)g(roll)g(has)g(b)q(een)h(used.)19 b(If)12
  287. Xb(doubles)i(w)o(ere)g(rolled,)e(the)i(third)357 1618 y(and)g(fourth)g(lines)f
  288. X(will)g(also)g(b)q(e)h(used)h(to)f(displa)o(y)f(the)h(t)o(w)o(o)g(additional)
  289. Xe(rolls)h(that)h(ma)o(y)e(b)q(e)i(used.)187 1701 y Fc(Command)h(Bo)o(x)357
  290. X1750 y Fd(The)f(b)q(ottom)e(righ)o(t)h(corner)i(of)d(the)j(screen)g(con)o
  291. X(tains)e(a)h(small)d(b)q(o)o(x)i(that)g(displa)o(ys)g(the)h(commands)357
  292. X1800 y(that)g(are)g(legal)f(at)h(an)o(y)g(giv)o(en)f(time.)k(Y)m(ou)d(can)g
  293. X(execute)i(a)e(command)d(b)o(y)j(t)o(yping)f(the)i(\014rst)f(letter;)357
  294. X1850 y(y)o(ou)h(should)h(not)g(hit)f(return)i(afterw)o(ards.)25
  295. Xb(There)16 b(ma)o(y)e(b)q(e)j(legal)e(commands)e(other)j(than)g(those)357
  296. X1900 y(sho)o(wn)d(in)g(the)g(command)e(b)q(o)o(x,)h(dep)q(ending)i(on)f(the)g
  297. X(state)h(the)g(game)e(is)g(in.)18 b(Press)d("h")d(or)h("?")f(for)357
  298. X1950 y(a)i(complete)f(listing)g(of)g(legal)g(commands.)187
  299. X2032 y Fc(Message)j(Area)357 2082 y Fd(The)d(b)q(ottom)f(6)g(lines)h(of)f
  300. X(the)h(screen)i(are)e(reserv)o(ed)i(for)e(messages)f(of)h(v)n(arious)f(t)o
  301. X(yp)q(es.)18 b(The)13 b(b)q(ottom)357 2132 y(line)h(is)g(used)h(for)f(error)h
  302. X(and)f(informativ)o(e)e(messages)i(that)g(o)q(ccur)i(as)e(a)g(game)f(is)h
  303. X(pla)o(y)o(ed.)k(The)d(top)357 2182 y(line)g(in)f(this)h(area)g(displa)o(ys)g
  304. X(messages)g(p)q(ertaining)g(to)g(the)g(status)h(of)e(a)h(game,)f(suc)o(h)h
  305. X(as)g(blots)g(hit)357 2232 y(b)o(y)i(an)g(opp)q(onen)o(t's)g(mo)o(v)o(e.)26
  306. Xb(The)17 b(remaining)e(4)i(lines)g(are)h(used)g(to)f(enclose)h(a)e(message)h
  307. X(to)g(y)o(our)357 2281 y(opp)q(onen)o(t)h(with)g(y)o(our)g(mo)o(v)o(e,)f(and)
  308. Xh(to)g(displa)o(y)f(the)h(one)h(y)o(our)e(opp)q(onen)o(t)i(sen)o(t)g(to)f(y)o
  309. X(ou.)30 b(These)357 2331 y(messages)14 b(ma)o(y)e(b)q(e)i(up)g(to)g(2)g
  310. X(lines)f(of)h(56)f(c)o(haracters.)0 2457 y Fc(ST)l(AR)l(TUP)i(FILE)149
  311. X2551 y Fd(The)j(\014rst)g(time)d(y)o(ou)i(run)g Fb(ldb,)h Fd(it)f(will)e(ask)
  312. Xi(y)o(ou)g(if)f(y)o(ou)h(w)o(an)o(t)f(to)h(create)i(a)d Fb(.ldbr)n(c)g
  313. XFd(\014le.)28 b(Y)m(ou)16 b(should)h(answ)o(er)149 2601 y("y)o(es",)12
  314. Xb(unless)h(y)o(ou)f(ha)o(v)o(e)f(a)h(reason)h(not)f(to.)17
  315. Xb(If)11 b(y)o(ou)h(w)o(an)o(t)g(the)g(ldb)g(startup)g(\014le)g(to)g(b)q(e)h
  316. X(named)e(something)f(other)149 2651 y(than)k Fb(.ldbr)n(c,)f
  317. XFd(y)o(ou)g(should)h(set)h(the)f(en)o(vironmen)o(t)f(v)n(ariable)g(LDBR)o(C)g
  318. X(to)h(the)g(name)f(y)o(ou)g(w)o(an)o(t)h(b)q(efore)g(running)149
  319. X2701 y(ldb)g(for)g(the)h(\014rst)f(time.)k(If)c(y)o(ou)f(do)h(this,)g(the)h
  320. X(LDBR)o(C)e(v)n(ariable)g(m)o(ust)g(b)q(e)i(set)g(ev)o(ery)g(time)d(y)o(ou)i
  321. X(run)g(ldb.)19 b Fb(L)n(db)0 2825 y Fd(4th)14 b(Berk)o(eley)h(distribution)
  322. X598 b(Octob)q(er)16 b(6,)d(1992)584 b(5)p eop
  323. X%%Page: 6 6
  324. X5 bop 0 -103 a Fd(LDB\(1\))572 b(UNIX)14 b(Programmer's)d(Man)o(ual)571
  325. Xb(LDB\(1\))149 42 y(mo)o(v)o(es)16 b(to)h(the)g(directory)h(in)e(the)i(HOME)f
  326. X(en)o(vironmen)o(t)f(v)n(ariable,)g(if)g(it)g(is)h(set,)h(b)q(efore)g
  327. X(accessing)g(an)o(y)e(\014les.)149 92 y(This)e(mak)o(es)f(all)g(\014les)h
  328. X(\(including)f(.ldbrc\))h(relativ)o(e)g(to)f($HOME.)149 160
  329. Xy(The)h Fb(.ldbr)n(c)e Fd(is)h(organized)h(as)f(a)g(sequence)i(of)e(name/v)n
  330. X(alue)e(pairs,)i(one)g(p)q(er)h(line,)e(in)h(the)h(format)d
  331. XFb(name=value)k(.)149 210 y Fd(There)h(should)e(b)q(e)h(no)f(spaces)h(b)q
  332. X(efore)g Fb(name)g Fd(or)f(b)q(efore)h(or)f(after)h(the)f(equals)h(sign.)j
  333. X(Commen)o(ts)12 b(are)j(indicated)149 259 y(b)o(y)c(a)g(p)q(ound)g(sign)g
  334. X(\(#\))g(in)g(column)e(1,)i(and)g(extend)h(to)f(the)h(end)g(of)e(the)i(line.)
  335. Xk(The)c(follo)o(wing)c(names)j(are)g(de\014ned:)187 351 y(m)o(yname)357
  336. X401 y(This)17 b(line)f(is)h(where)h(y)o(ou)e(en)o(ter)i(y)o(our)f(\(h)o
  337. X(uman\))e(name.)26 b(It)17 b(is)g(sen)o(t)g(to)g(y)o(our)g(opp)q(onen)o(t)g
  338. X(when)g(a)357 450 y(game)d(is)i(started,)i(to)d(mak)o(e)g(things)h(a)f
  339. X(little)h(more)f(p)q(ersonal.)24 b(Y)m(ou)16 b(can)g(put)g(an)o(ything)f(y)o
  340. X(ou)h(lik)o(e)357 500 y(here,)f(of)f(course,)h(but)g(I)f(highly)f(recommend)g
  341. X(y)o(ou)h(just)h(stic)o(k)f(to)g(y)o(our)g(name.)19 b(The)14
  342. Xb Fb(myname)h Fd(line)357 550 y(is)g(mandatory;)d(if)i(y)o(ou)g(don't)h(w)o
  343. X(an)o(t)f(y)o(our)g(name)g(sen)o(t)h(to)g(p)q(eople,)g(y)o(ou)f(can)h(just)g
  344. X(put)g(y)o(our)f(email)357 600 y(address)h(instead,)f(but)g(y)o(ou)f(m)o(ust)
  345. Xg(ha)o(v)o(e)h(something.)187 683 y(m)o(y)o(addr)31 b(This)18
  346. Xb(line)g(de\014nes)i(y)o(our)e(e{mail)d(address.)33 b(This)18
  347. Xb(is)g(sen)o(t)h(to)f(y)o(our)g(opp)q(onen)o(t)h(when)g(y)o(ou)e(start)357
  348. X733 y(a)i(game)e(so)i(they)g(kno)o(w)g(ho)o(w)f(to)h(send)h(mail)c(bac)o(k)j
  349. X(to)g(y)o(ou.)33 b(F)m(or)18 b(p)q(eople)h(with)g(m)o(ultiple)e(mail)357
  350. X782 y(paths,)d(put)f(the)i(one)f(here)g(y)o(ou)g(use)g(the)g(most)f(\(e.g.)18
  351. Xb(the)c(In)o(ternet)h(domain{st)o(yle)c(path\),)j(and)f(for)357
  352. X832 y(games)j(that)i(need)g(to)g(use)g(a)f(di\013eren)o(t)i(address,)g(use)f
  353. X(the)g Fb({myaddr)g Fd(command)d(line)i(argumen)o(t)357 882
  354. Xy(to)e(o)o(v)o(erride)h(the)g(path)f(in)g Fb(.ldbr)n(c.)22
  355. Xb(Note)16 b(that)g(the)g(\014rst)g(time)g(you)h(start)e(a)h(game)g
  356. XFd(with)f(someone,)357 932 y(the)h(address)h(y)o(ou)e(use)i(is)e(sa)o(v)o(ed)
  357. Xh(in)f(y)o(our)g(p)q(eople)i(\014le.)23 b(Subsequen)o(t)17
  358. Xb(games)d(y)o(ou)h(start)i(with)e(this)357 982 y(p)q(erson)g(automatically)c
  359. X(use)k(this)f(same)f(address,)h(so)h(the)f Fb({myaddr)g Fd(option)g(will)e(b)
  360. Xq(e)j(unnecessary)m(.)357 1032 y(The)f Fb(myaddr)g Fd(line)g(is)g(mandatory)m
  361. X(.)187 1115 y(p)q(eople\014le)357 1164 y(This)h(line)f(sets)j(the)e(\014le)g
  362. X(name)f(that)h(is)g(used)h(to)f(store)h(information)c(ab)q(out)j(y)o(our)g
  363. X(opp)q(onen)o(ts.)22 b(In)357 1214 y(addition)12 b(to)g(storing)h(y)o(our)f
  364. X(opp)q(onen)o(ts')h(names,)f(addresses,)i(and)f(aliases,)f(it)g(records)i
  365. X(the)g(n)o(um)o(b)q(er)357 1264 y(of)i(games,)g(p)q(oin)o(ts,)h(gamm)o(ons,)e
  366. X(bac)o(kgamm)o(ons,)f(and)j(matc)o(hes)f(y)o(ou)g(ha)o(v)o(e)h(w)o(on)f(or)h
  367. X(lost)f(to)h(that)357 1314 y(opp)q(onen)o(t.)j(It)15 b(also)e(stores)j
  368. X(something)d(called)i(the)g Fb(fenc)n(e,)f Fd(whic)o(h)h(is)f(the)h(start)g
  369. X(time)e(of)h(the)h(most)357 1364 y(recen)o(tly)f(\014nished)g(game.)j(This)c
  370. X(allo)o(ws)f(start)i(messages)f(from)f(old)g(games)h(to)g(b)q(e)h(discarded.)
  371. X19 b(The)357 1413 y(p)q(eople\014le)14 b(line)g(is)f(optional,)f(and)i(if)f
  372. X(it)h(is)f(not)h(giv)o(en,)f(the)i(p)q(eople)f(\014le)g(defaults)g(to)f
  373. XFb(.ldbp)n(e)n(ople.)187 1496 y Fd(game\014le)21 b(This)15
  374. Xb(line)h(sets)g(the)h(\014le)e(name)g(that)g(is)h(used)g(to)g(store)g(games)e
  375. X(in)i(progress.)24 b(It)16 b(is)f(optional,)f(and)357 1546
  376. Xy(if)g(it)h(is)h(not)f(giv)o(en,)f(the)i(game)e(\014le)h(defaults)h(to)f
  377. XFb(.ldb)n(data.)22 b Fd(My)15 b(advice,)h(if)e(y)o(ou)h(care,)h(is)f(that)g
  378. X(y)o(ou)357 1596 y(should)f(a)o(v)o(oid)e(using)i(a)f(\014le)h(name)e(con)o
  379. X(taining)h(the)h(string)g Fb(games)g Fd(or)g(an)o(y)f(other)i(giv)o(ea)o(w)o
  380. X(a)o(y)d(string)357 1646 y(that)k(w)o(ould)f(let)g(y)o(our)h(b)q(oss,)g
  381. X(sysadmin,)e(or)i(other)g(lo)q(cal)f(Nazi{t)o(yp)q(e)h(kno)o(w)f(that)g(y)o
  382. X(ou're)h(using)f(a)357 1696 y(v)o(ery)i(exp)q(ensiv)o(e)g(piece)h(of)d
  383. X(high{tec)o(h)i(equipmen)o(t)e(to)i(go)q(of)e(o\013,)i(when)f(y)o(ou)g(could)
  384. Xh(do)f(that)g(with)357 1745 y(nothing)d(more)g(exotic)h(than)g(a)g(rubb)q(er)
  385. Xh(band)f(and)f(some)g(spitballs.)187 1829 y(bac)o(kup\014le)357
  386. X1878 y(This)j(is)g(the)g(\014le)g(y)o(our)g(old)f Fb(game\014le)h
  387. XFd(will)f(b)q(e)h(mo)o(v)o(ed)f(to)g(just)i(b)q(efore)f(a)g(new)g(one)g(is)g
  388. X(created.)26 b(It)357 1928 y(defaults)14 b(to)g Fb(.old)r(ldb)n(data.)187
  389. X2011 y Fd(mail\014le)36 b(This)14 b(line)g(is)g(where)h(y)o(ou)e(tell)h(ldb)g
  390. X(ho)o(w)g(to)f(\014nd)i(the)f(mail)e(messages)i(y)o(our)g(opp)q(onen)o(ts)h
  391. X(ha)o(v)o(e)f(sen)o(t.)357 2061 y(There)j(are)e(sev)o(eral)h(w)o(a)o(ys)f(to)
  392. Xh(do)f(this.)23 b(The)16 b(simplest)e(one)i(is)f(to)g(just)h(put)g(some)e
  393. X(\014le)i(name)e(here)357 2111 y(\(the)k(default)g(is)f(ldb.rcv\))h(and,)f
  394. X(when)i(y)o(ou)e(receiv)o(e)i(mail)c(con)o(taining)h(an)h(ldb)h(mo)o(v)o(e,)e
  395. X(just)i(sa)o(v)o(e)357 2161 y(it)d(to)h(this)g(\014le.)23 b(When)16
  396. Xb(y)o(ou)f(are)h(done)g(reading)f(y)o(our)h(mail,)d(run)j(ldb,)f(and)h(it)f
  397. X(will)f(scan)i(this)g(\014le)357 2210 y(and)f(extract)h(all)e(y)o(our)h
  398. X(incoming)e(mo)o(v)o(es.)21 b(If)14 b(y)o(our)h(mail)e(program)h(is)h(lik)o
  399. X(e)f(most,)g(it)h(will)e(app)q(end)357 2260 y(messages)e(if)g(the)h(\014le)f
  400. X(y)o(ou)g(are)g(sa)o(ving)g(to)g(already)g(exists,)h(whic)o(h)f(is)g(just)g
  401. X(what)h(y)o(ou)e(w)o(an)o(t.)17 b Fb(L)n(db)11 b Fd(will)357
  402. X2310 y(silen)o(tly)k(ignore)h(mo)o(v)o(es)e(that)i(it)g(has)f(already)h(seen)
  403. Xh(for)f(games)e(in)i(progress,)h(so)e(y)o(ou)h(don't)f(ha)o(v)o(e)357
  404. X2360 y(to)g(clean)h(them)f(out)g(of)g(y)o(our)g(mail\014le)e(if)i(y)o(ou)g
  405. X(don't)g(w)o(an)o(t)g(to.)23 b(Note)16 b(ho)o(w)o(ev)o(er)g(that)f(if)g(an)o
  406. X(ything)357 2410 y(happ)q(ens)e(to)f(y)o(our)h(p)q(eople)f(\014le,)h(and)f(y)
  407. Xo(ou)g(ha)o(v)o(e)g(old)f(start)i(messages)g(in)f(y)o(our)g(input)g(\014le,)g
  408. X(ldb)g(could)357 2459 y(start)i(a)f(spurious)h(game)e(\(i.e.)17
  409. Xb(one)d(y)o(our)f(opp)q(onen)o(t's)h(ldb)f(kno)o(ws)g(nothing)g(ab)q(out\).)
  410. X18 b(Also,)13 b(if)f(y)o(our)357 2509 y(input)g(\014le)f(gets)i(really)e
  411. X(long,)g(ldb)g(will)f(tak)o(e)i(a)f(while)h(to)f(start)i(up.)k(So)11
  412. Xb(the)i(b)q(est)g(course)g(is)e(to)h(delete)357 2559 y(all)h(messages)h
  413. X(after)g(ldb)f(has)h(read)h(them.)357 2642 y(F)m(or)i(UNIX)g(users,)i(a)d(m)o
  414. X(uc)o(h)g(easier)i(w)o(a)o(y)e(is)h(to)g(set)h(the)g(mail\014le)c(to)j(p)q
  415. X(oin)o(t)f(to)h(y)o(our)g(actual)g(mail)357 2692 y(\014le)f(\(e.g.)25
  416. Xb(/usr/sp)q(o)q(ol/mail/$)o(USER\),)13 b(and)j(let)g(ldb)g(scan)h(y)o(our)f
  417. X(mail)d(directly)m(.)25 b(This)16 b(will)f(only)0 2825 y(4th)f(Berk)o(eley)h
  418. X(distribution)598 b(Octob)q(er)16 b(6,)d(1992)584 b(6)p eop
  419. X%%Page: 7 7
  420. X6 bop 0 -103 a Fd(LDB\(1\))572 b(UNIX)14 b(Programmer's)d(Man)o(ual)571
  421. Xb(LDB\(1\))357 42 y(w)o(ork)12 b(if)g(y)o(our)g(system)h(k)o(eeps)g(mail)d
  422. X(in)i(ASCI)q(I)h(format,)e(but)i(man)o(y)d(do.)18 b(Ldb)12
  423. Xb(will)f(not)i(delete)h(these)357 92 y(messages)g(from)e(y)o(our)i(mail)d(so)
  424. Xj(y)o(ou)f(will)g(ha)o(v)o(e)g(to.)357 175 y(The)i(third)g(option)f(is)h(to)g
  425. X(set)h(the)f(mail\014le)e(to)h(a)h(pattern)h(instead)f(of)f(a)h(\014lename.)
  426. X20 b(Ldb)15 b(will)e(scan)357 225 y(all)j(matc)o(hing)f(\014les)i(for)g(mo)o
  427. X(v)o(es.)26 b(This)17 b(is)f(go)q(o)q(d)h(for)g(mailers)e(that)i(don't)f(app)
  428. Xq(end)i(on)f(sa)o(v)o(e,)g(and)357 275 y(don't)f(store)h(in)e(ascii)h
  429. X(format,)e(suc)o(h)j(as)f(on)g(VMS.)g(Note)g(that)h(on)e(VMS,)h(if)g(no)f(v)o
  430. X(ersion)i(n)o(um)o(b)q(er)357 325 y(is)e(de\014ned,)g(mail\014le)d(defaults)j
  431. X(to)f(scanning)h(all)e(v)o(ersions.)21 b(VMS)15 b(users)h(should)f(read)g
  432. X(the)g(section)357 374 y(en)o(titled)f("VMS)g(NOTES")g(for)g(more)f
  433. X(information)e(on)i(extracting)i(mail.)187 457 y(delmail)36
  434. Xb(This)18 b(option)f(causes)i(an)o(y)e(mail)e(\014les)j(scanned)h(b)o(y)f
  435. X(ldb)f(to)h(b)q(e)g(remo)o(v)o(ed)f(after)h(they)g(ha)o(v)o(e)g(b)q(een)357
  436. X507 y(scanned.)23 b(This)15 b(is)g(a)g(hideously)g(dangerous)h(option,)e(so)h
  437. X(I)h(recommend)d(y)o(ou)i(try)h(it)e(in)h(a)g(friend's)357
  438. X557 y(accoun)o(t)h(\014rst.)25 b(It)16 b(will)f(delete)h(ANY)h(\014le)f(that)
  439. Xg(matc)o(hes)f(the)h(pattern)h(sp)q(eci\014ed)h(in)d(the)i(mail\014le)357
  440. X607 y(line,)d(with)g(the)h(exception)g(that,)f(under)h(UNIX,)f(it)g(will)f
  441. X(refuse)j(to)e(delete)i(an)o(y)e(\014le)g(starting)g(with)357
  442. X657 y("/".)j(Use)e(it)f(with)f(great)h(care.)19 b(This)14 b(option)f
  443. X(defaults)h(to)g(no;)f(to)h(enable)g(it,)f(set)i(it)e(to)h("y)o(es".)187
  444. X740 y(lo)q(c)o(k\014le)44 b(This)17 b(line)g(sets)i(the)f(name)e(of)g(the)i
  445. X(ldb)f(lo)q(c)o(k)g(\014le.)29 b(It)17 b(defaults)g(to)h(".ldb)p
  446. X1550 740 13 2 v 13 w(lo)q(c)o(k",)f(and)h(there's)g(no)357
  447. X789 y(real)e(reason)h(to)g(c)o(hange)f(it)h(unless)g(b)o(y)f(some)f(c)o
  448. X(hance)j(it)e(con\015icts)h(with)f(a)g(\014le)h(name)e(y)o(ou)h(migh)o(t)357
  449. X839 y(use.)22 b(When)15 b(ldb)f(starts,)i(it)e(c)o(hec)o(ks)i(to)f(see)h(if)e
  450. X(this)h(\014le)g(exists;)g(if)f(it)h(do)q(es,)g(ldb)g(exits.)21
  451. Xb(Otherwise,)357 889 y(it)c(creates)h(it)f(and)f(go)q(es)i(on.)27
  452. Xb(This)16 b(prev)o(en)o(ts)j(more)d(than)g(one)i(ldb)e(from)f(running)i(in)f
  453. X(the)i(same)357 939 y(accoun)o(t)c(at)g(the)h(same)e(time,)f(and)h(thereb)o
  454. X(y)i(garbling)e(the)h(data)g(\014les.)187 1022 y(sendcmd)357
  455. X1072 y(This)d(tells)g(ldb)f(ho)o(w)h(to)g(send)g(a)g(\014le)g(with)f(y)o(our)
  456. Xh(particular)g(mail)d(command.)14 b(This)d(string)g(is)g(passed)357
  457. X1122 y(to)j(the)g(system,)f(after)i(making)c(the)j(follo)o(wing)e
  458. X(substitutions:)256 1205 y($a)59 b(is)14 b(substituted)h(with)f(the)g
  459. X(address)h(to)f(mail)d(to.)256 1288 y($f)67 b(is)14 b(substituted)h(with)f
  460. X(the)g(\014le)g(con)o(taining)f(the)h(message.)256 1371 y($s)64
  461. Xb(is)14 b(substituted)h(with)f(the)g(sub)r(ject)h(of)f(the)g(message.)357
  462. X1454 y(Most)g(mail)d(systems)j(will)f(w)o(ork)g(\014ne)i(with)e(the)i
  463. X(default,)e(whic)o(h)h(is)426 1570 y(mail)d({s)j('$s')f($a)h
  464. XFa(<)g Fd($f)357 1653 y(or,)f(on)h(VMS,)426 1769 y(MAIL/SUBJECT="$s")h($f)e
  465. X(IN\045""")p Fa(<)p Fd($a)p Fa(>)p Fd(""")357 1852 y(Note)i(that)f(the)i($)e
  466. X(substitutions)h(are)g(made)e(b)o(y)h(ldb,)g(not)g(b)o(y)h(a)f(shell,)g(and)g
  467. X(th)o(us)h(are)g(not)f(sub)r(ject)357 1902 y(to)e(an)o(y)g(quoting.)17
  468. Xb(If)12 b(y)o(ou)g(need)i(a)e($)g(in)g(the)h(string,)f(use)i($$.)j(VMS)12
  469. Xb(users)i(ma)o(y)d(need)i(to)g(c)o(hange)f(the)357 1952 y(name)k(of)g(the)i
  470. X(SMTP)f(mailer;)f(for)h(example,)f(to)h(send)h(mail)c(using)j(W)m(ollongong)d
  471. X(TCP/IP)m(,)i(y)o(ou)357 2002 y(w)o(ould)d(use)i(the)f(string)426
  472. X2134 y(MAIL/SUBJECT="$s")h($f)e(WINS\045""")p Fa(<)p Fd($a)p
  473. XFa(>)p Fd(""")187 2217 y(temp\014le)24 b(This)18 b(line)g(sp)q(eci\014es)i(a)
  474. Xe(temp)q(orary)g(\014le)g(that)h(ldb)f(can)g(use)h(to)f(comp)q(ose)g(mail)e
  475. X(messages.)32 b(The)357 2267 y(\014le)14 b(will)f(b)q(e)i(created)h(in)e(y)o
  476. X(our)g(home)f(directory)m(,)h(th)o(us)h(a)o(v)o(oiding)e(\014le)h(name)f
  477. X(con\015icts)i(in)f(/tmp.)k(It)357 2317 y(defaults)c(to)g(ldb.tmp.)187
  478. X2400 y(colors)66 b(This)15 b(is)g(a)f(string)h(of)g(t)o(w)o(o)f(upp)q(er)i
  479. X(or)f(lo)o(w)o(er)g(case)h(letters,)g(and)e(de\014nes)j(y)o(our)d(preferred)j
  480. X(colors)e(for)357 2450 y(an)o(y)e(games)g(y)o(ou)g(start.)19
  481. Xb(The)14 b(\014rst)g(c)o(haracter)i(in)d(the)h(string)g(is)g(the)g(color)f(y)
  482. Xo(ou)h(will)e(pla)o(y)m(,)g(and)h(the)357 2500 y(second)i(is)f(the)h(one)f(y)
  483. Xo(our)g(opp)q(onen)o(t)h(will)d(pla)o(y)m(.)18 b(It)c(defaults)g(to)g("rw",)g
  484. X(and)g(is)g(o)o(v)o(erridden)g(b)o(y)g(the)357 2550 y Fb({c)n(olor)g
  485. XFd(command)d(line)i(argumen)o(t.)0 2825 y(4th)h(Berk)o(eley)h(distribution)
  486. X598 b(Octob)q(er)16 b(6,)d(1992)584 b(7)p eop
  487. X%%Page: 8 8
  488. X7 bop 0 -103 a Fd(LDB\(1\))572 b(UNIX)14 b(Programmer's)d(Man)o(ual)571
  489. Xb(LDB\(1\))187 42 y(direction)357 92 y(This)17 b(is)h(either)g("up")f(or)g
  490. X("do)o(wn",)g(and)h(de\014nes)g(y)o(our)g(preferred)h(direction)f(of)e(pla)o
  491. X(y)h(for)g(games)357 142 y(y)o(ou)g(start.)28 b(The)18 b(direction)f(of)g
  492. X(pla)o(y)f(only)g(refers)j(to)e(whether)h(y)o(ou)f(pla)o(y)f(to)o(w)o(ard)h
  493. X(increasing)g(or)357 192 y(decreasing)g(n)o(um)o(b)q(ered)f(p)q(oin)o(ts.)25
  494. Xb(Although)16 b(b)o(y)f(default)h(up)o(w)o(ard)g(pla)o(y)f(go)q(es)i(to)o(w)o
  495. X(ard)f(the)g(top)h(of)357 242 y(the)e(screen,)i(this)e(can)g(b)q(e)h(rev)o
  496. X(ersed)g(\(for)f(y)o(our)g(screen)i(only\))d(b)o(y)h(the)g("In)o(v)o(ert")g
  497. X(command)d(in)i(the)357 291 y(Con)o(trol)g(men)o(u,)f(accessible)j(via)e(the)
  498. Xh Fb({c)n(ontr)n(ol)f Fd(command)e(line)i(argumen)o(t.)19 b(The)c(default)f
  499. X(for)g(this)357 341 y(line)f(is)h("up",)f(and)h(is)g(o)o(v)o(erridden)g(b)o
  500. X(y)g(the)g Fb({dir)n(e)n(ction)g Fd(command)d(line)i(argumen)o(t.)187
  501. X422 y(initialb)q(oard)357 472 y(As)j(w)o(as)f(alluded)g(to)g(earlier,)g(y)o
  502. X(our)h(screen)h(sho)o(ws)f(one)f(of)g(three)i(p)q(ossible)e(b)q(oard)g
  503. X(images)f(at)h(an)o(y)357 522 y(time.)h(Although)d(the)g(purp)q(ose)h(for)f
  504. X(this)g(will)e(b)q(e)j(explained)f(later,)f(this)h(line)g(allo)o(ws)e(y)o(ou)
  505. Xi(to)g(select)357 571 y(whic)o(h)h(of)g(these)h(three)h(b)q(oards)e(should)g
  506. X(b)q(e)h(displa)o(y)o(ed)f(initially)m(.)i(The)e(legal)g(v)n(alues)g(are)g
  507. X("b)q(efore",)357 621 y("after",)f(and)h("curren)o(t".)19 b(The)14
  508. Xb(default)g(is)f("curren)o(t".)187 702 y(autoroll)28 b(If)16
  509. Xb(y)o(ou)f(w)o(ere)i(the)g(last)e(to)h(double,)g(y)o(ou)g(ha)o(v)o(e)f(no)h
  510. X(option)f(but)h(to)g(roll)f(the)i(dice)f(when)h(it)e(is)h(y)o(our)357
  511. X752 y(turn.)j(If)14 b(autoroll)f(is)h(enabled,)g(ldb)f(will)g(roll)g(the)i
  512. X(dice)f(for)g(y)o(ou)g(automatically)d(in)j(this)g(case.)19
  513. Xb(F)m(or)357 802 y(those)d(that)f(prefer)i(consistency)m(,)f(autoroll)e(ma)o
  514. X(y)g(b)q(e)i(disabled,)f(although)f(attempting)g(to)h(double)357
  515. X852 y(when)e(y)o(ou)f(doubled)g(last)g(will)f(cause)i(an)f(error)h(message.)
  516. X18 b(P)o(ossible)12 b(v)n(alues)g(for)g(autoroll)f(are)i("y)o(es")357
  517. X901 y(and)h("no",)e(with)i("y)o(es")g(b)q(eing)g(the)g(default.)187
  518. X982 y(automo)o(v)o(e)357 1032 y(Eac)o(h)j(time)e(y)o(ou)h(roll)f(the)i(dice,)
  519. Xg(ldb)f(determines)h(ho)o(w)f(man)o(y)f(legal)g(w)o(a)o(ys)h(there)i(are)f
  520. X(for)f(y)o(ou)g(to)357 1082 y(use)j(y)o(our)f(rolls.)30 b(In)18
  521. Xb(the)h(relativ)o(ely)e(un)o(usual)h(case)h(where)g(there)h(is)e(only)f(one)h
  522. X(w)o(a)o(y)g(for)f(y)o(ou)h(to)357 1132 y(use)g(y)o(our)f(rolls,)f(ldb)h(can)
  523. Xg(automatically)d(apply)j(this)g(mo)o(v)o(e)e(to)i(y)o(our)g(b)q(oard)g(b)q
  524. X(efore)h(displa)o(ying)357 1182 y(it.)g(Automo)o(v)o(e)13 b(is)h(disabled)g
  525. X(b)o(y)f(default)h(b)q(ecause)i(quite)e(frankly)f(it's)h(prett)o(y)h(anno)o
  526. X(ying.)i(P)o(ossible)357 1231 y(v)n(alues)d(for)f(automo)o(v)o(e)f(are)i("y)o
  527. X(es")g(and)g("no",)f(with)g("no")g(b)q(eing)h(the)h(default.)187
  528. X1312 y(auto)q(double)357 1362 y(One)d(of)e(the)i(o\016cial)e(rules)i(of)e
  529. X(bac)o(kgammon)e(allo)o(ws)i(for)g(automatically)e(doubling)i(the)i(game)e(v)
  530. Xn(alue)357 1412 y(when)15 b(the)f(op)q(ening)g(roll)g(is)g(a)f(tie.)19
  531. Xb(The)c(rules)g(go)e(on)h(to)g(state)h(that)f(automatic)f(doubling)g(is)h
  532. X(only)357 1462 y(to)d(b)q(e)h(used)g(when)g(the)g(pla)o(y)o(ers)f(agree)h(b)q
  533. X(eforehand)g(on)f(its)g(use)h(and)f(limitations.)j(The)e(metho)q(d)e(ldb)357
  534. X1512 y(uses)i(to)f(implemen)o(t)d(this)j(somewhat)f(v)n(ague)h(rule)g(is)g
  535. X(to)g(allo)o(w)e(eac)o(h)i(pla)o(y)o(er)g(to)g(sp)q(ecify)g(a)g(maxim)n(um)
  536. X357 1561 y(n)o(um)o(b)q(er)g(of)g(auto)q(doubles)g(they)h(are)g(willing)d(to)
  537. Xj(accept)g(in)f Fb(.ldbr)n(c,)g Fd(and)g(for)g(the)h(maxim)o(um)7
  538. Xb(n)o(um)o(b)q(er)357 1611 y(of)14 b(auto)q(doubles)h(applied)f(to)g(an)o(y)h
  539. X(game)e(to)h(b)q(e)i(the)f(lesser)h(of)e(the)h(t)o(w)o(o)f(pla)o(y)o(ers')h
  540. X(sp)q(eci\014ed)h(limits.)357 1661 y(F)m(or)j(example,)h(if)f(y)o(ou)g(set)i
  541. XFb(auto)n(double=4)f Fd(in)g(y)o(our)f(.ldbrc,)i(no)e(game)f(y)o(ou)i(pla)o
  542. X(y)e(will)h(ev)o(er)h(b)q(e)357 1711 y(auto)q(doubled)15 b(more)f(than)g(4)h
  543. X(times,)f(although)g(the)h(n)o(um)o(b)q(er)f(of)h(tied)g(op)q(ening)f(rolls)h
  544. X(is)f(ob)o(viously)357 1761 y(not)c(limited.)k(Ho)o(w)o(ev)o(er,)d(if)d(y)o
  545. X(ou)i(w)o(ere)g(to)g(start)g(a)g(game)e(with)h(someone)g(who)h(had)f(set)i
  546. XFb(auto)n(double=2)357 1810 y(,)21 b Fd(that)f(game)e(w)o(ould)h(b)q(e)h
  547. X(limited)e(to)i(at)f(most)g(2)g(auto)q(doubles.)36 b(If)19
  548. Xb(y)o(ou)h(don't)f(w)o(an)o(t)g(to)h(pla)o(y)357 1860 y(automatic)12
  549. Xb(doubles,)i(set)g(auto)q(double=0,)g(whic)o(h)f(is)h(also)f(the)i(default.)
  550. END_OF_FILE
  551. if test 37364 -ne `wc -c <'ldb-man.ps2'`; then
  552.     echo shar: \"'ldb-man.ps2'\" unpacked with wrong size!
  553. fi
  554. # end of 'ldb-man.ps2'
  555. fi
  556. echo shar: End of archive 8 \(of 12\).
  557. cp /dev/null ark8isdone
  558. MISSING=""
  559. for I in 1 2 3 4 5 6 7 8 9 10 11 12 ; do
  560.     if test ! -f ark${I}isdone ; then
  561.     MISSING="${MISSING} ${I}"
  562.     fi
  563. done
  564. if test "${MISSING}" = "" ; then
  565.     echo You have unpacked all 12 archives.
  566.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  567. else
  568.     echo You still need to unpack the following archives:
  569.     echo "        " ${MISSING}
  570. fi
  571. ##  End of shell archive.
  572. exit 0
  573.  
  574. exit 0 # Just in case...
  575.