Artifact
ae8d6ff895e273a001945b4b11397667d29076d2:
0000: 0a 20 20 20 20 46 49 4c 45 3a 20 22 2f 64 69 73 . FILE: "/dis
0010: 6b 61 2f 68 6f 6d 65 2f 6a 6f 7a 65 2f 73 72 63 ka/home/joze/src
0020: 2f 74 63 6c 72 65 61 64 6c 69 6e 65 2f 52 45 41 /tclreadline/REA
0030: 44 4d 45 22 0a 20 20 20 20 4c 41 53 54 20 4d 4f DME". LAST MO
0040: 44 49 46 49 43 41 54 49 4f 4e 3a 20 22 4d 6f 6e DIFICATION: "Mon
0050: 20 41 75 67 20 32 33 20 31 39 3a 34 32 3a 33 31 Aug 23 19:42:31
0060: 20 31 39 39 39 20 28 6a 6f 7a 65 29 22 0a 20 20 1999 (joze)".
0070: 20 20 28 43 29 20 31 39 39 38 2c 20 31 39 39 39 (C) 1998, 1999
0080: 20 62 79 20 4a 6f 68 61 6e 6e 65 73 20 5a 65 6c by Johannes Zel
0090: 6c 6e 65 72 2c 20 3c 6a 6f 68 61 6e 6e 65 73 40 lner, <johannes@
00a0: 7a 65 6c 6c 6e 65 72 2e 6f 72 67 3e 0a 20 20 20 zellner.org>.
00b0: 20 24 49 64 24 0a 20 20 20 20 2d 2d 2d 0a 0a 20 $Id$. ---..
00c0: 20 20 20 74 63 6c 72 65 61 64 6c 69 6e 65 20 2d tclreadline -
00d0: 2d 20 67 6e 75 20 72 65 61 64 6c 69 6e 65 20 66 - gnu readline f
00e0: 6f 72 20 74 63 6c 0a 20 20 20 20 43 6f 70 79 72 or tcl. Copyr
00f0: 69 67 68 74 20 28 43 29 20 31 39 39 39 20 20 4a ight (C) 1999 J
0100: 6f 68 61 6e 6e 65 73 20 5a 65 6c 6c 6e 65 72 0a ohannes Zellner.
0110: 0a 20 20 20 20 54 68 69 73 20 70 72 6f 67 72 61 . This progra
0120: 6d 20 69 73 20 66 72 65 65 20 73 6f 66 74 77 61 m is free softwa
0130: 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 re; you can redi
0140: 73 74 72 69 62 75 74 65 20 69 74 20 61 6e 64 2f stribute it and/
0150: 6f 72 0a 20 20 20 20 6d 6f 64 69 66 79 20 69 74 or. modify it
0160: 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 under the terms
0170: 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 of the GNU Gene
0180: 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e ral Public Licen
0190: 73 65 0a 20 20 20 20 61 73 20 70 75 62 6c 69 73 se. as publis
01a0: 68 65 64 20 62 79 20 74 68 65 20 46 72 65 65 20 hed by the Free
01b0: 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 Software Foundat
01c0: 69 6f 6e 3b 20 65 69 74 68 65 72 20 76 65 72 73 ion; either vers
01d0: 69 6f 6e 20 32 0a 20 20 20 20 6f 66 20 74 68 65 ion 2. of the
01e0: 20 4c 69 63 65 6e 73 65 2c 20 6f 72 20 28 61 74 License, or (at
01f0: 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e your option) an
0200: 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 2e y later version.
0210: 0a 0a 20 20 20 20 54 68 69 73 20 70 72 6f 67 72 .. This progr
0220: 61 6d 20 69 73 20 64 69 73 74 72 69 62 75 74 65 am is distribute
0230: 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 d in the hope th
0240: 61 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 at it will be us
0250: 65 66 75 6c 2c 0a 20 20 20 20 62 75 74 20 57 49 eful,. but WI
0260: 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 4e THOUT ANY WARRAN
0270: 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e TY; without even
0280: 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 72 the implied war
0290: 72 61 6e 74 79 20 6f 66 0a 20 20 20 20 4d 45 52 ranty of. MER
02a0: 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 CHANTABILITY or
02b0: 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 FITNESS FOR A PA
02c0: 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 RTICULAR PURPOSE
02d0: 2e 20 20 53 65 65 20 74 68 65 0a 20 20 20 20 47 . See the. G
02e0: 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 NU General Publi
02f0: 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f c License for mo
0300: 72 65 20 64 65 74 61 69 6c 73 2e 0a 0a 20 20 20 re details...
0310: 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 You should have
0320: 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 received a copy
0330: 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 of the GNU Gene
0340: 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e ral Public Licen
0350: 73 65 0a 20 20 20 20 61 6c 6f 6e 67 20 77 69 74 se. along wit
0360: 68 20 74 68 69 73 20 70 72 6f 67 72 61 6d 3b 20 h this program;
0370: 69 66 20 6e 6f 74 2c 20 77 72 69 74 65 20 74 6f if not, write to
0380: 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 the Free Softwa
0390: 72 65 0a 20 20 20 20 46 6f 75 6e 64 61 74 69 6f re. Foundatio
03a0: 6e 2c 20 49 6e 63 2e 2c 20 35 39 20 54 65 6d 70 n, Inc., 59 Temp
03b0: 6c 65 20 50 6c 61 63 65 20 2d 20 53 75 69 74 65 le Place - Suite
03c0: 20 33 33 30 2c 20 42 6f 73 74 6f 6e 2c 20 4d 41 330, Boston, MA
03d0: 20 20 30 32 31 31 31 2d 31 33 30 37 2c 20 55 53 02111-1307, US
03e0: 41 2e 0a 0a 20 20 20 20 3c 6a 6f 68 61 6e 6e 65 A... <johanne
03f0: 73 40 7a 65 6c 6c 6e 65 72 2e 6f 72 67 3e 2c 20 s@zellner.org>,
0400: 68 74 74 70 3a 2f 2f 77 77 77 2e 7a 65 6c 6c 6e http://www.zelln
0410: 65 72 2e 6f 72 67 2f 74 63 6c 72 65 61 64 6c 69 er.org/tclreadli
0420: 6e 65 2f 0a 0a 0a 74 63 6c 72 65 61 64 6c 69 6e ne/...tclreadlin
0430: 65 0a 0a 0a 31 2e 20 49 6e 74 72 6f 64 75 63 74 e...1. Introduct
0440: 69 6f 6e 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ion.------------
0450: 2d 2d 2d 0a 0a 54 68 69 73 20 64 69 72 65 63 74 ---..This direct
0460: 6f 72 79 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 ory contains the
0470: 20 73 6f 75 72 63 65 73 20 61 6e 64 20 64 6f 63 sources and doc
0480: 75 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 20 74 umentation for t
0490: 63 6c 72 65 61 64 6c 69 6e 65 2c 0a 77 68 69 63 clreadline,.whic
04a0: 68 20 62 75 69 6c 64 73 20 61 20 63 6f 6e 6e 65 h builds a conne
04b0: 63 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 74 63 ction between tc
04c0: 6c 20 61 6e 64 20 74 68 65 20 67 6e 75 20 72 65 l and the gnu re
04d0: 61 64 6c 69 6e 65 2e 0a 54 68 65 20 69 6e 66 6f adline..The info
04e0: 72 6d 61 74 69 6f 6e 20 68 65 72 65 20 63 6f 72 rmation here cor
04f0: 72 65 73 70 6f 6e 64 73 20 74 6f 20 72 65 6c 65 responds to rele
0500: 61 73 65 20 30 2e 39 2e 0a 0a 32 2e 20 44 6f 63 ase 0.9...2. Doc
0510: 75 6d 65 6e 74 61 74 69 6f 6e 0a 2d 2d 2d 2d 2d umentation.-----
0520: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 -----------..The
0530: 20 74 63 6c 72 65 61 64 6c 69 6e 65 2e 6e 20 6e tclreadline.n n
0540: 72 6f 66 66 20 6d 61 6e 20 70 61 67 65 20 69 6e roff man page in
0550: 20 74 68 69 73 20 72 65 6c 65 61 73 65 20 63 6f this release co
0560: 6e 74 61 69 6e 73 20 74 68 65 20 72 65 66 65 72 ntains the refer
0570: 65 6e 63 65 0a 6d 61 6e 75 61 6c 20 65 6e 74 72 ence.manual entr
0580: 69 65 73 20 66 6f 72 20 74 63 6c 72 65 61 64 6c ies for tclreadl
0590: 69 6e 65 2e 20 20 49 66 20 79 6f 75 20 6f 6e 6c ine. If you onl
05a0: 79 20 77 61 6e 74 20 74 6f 20 75 73 65 20 74 63 y want to use tc
05b0: 6c 72 65 61 64 6c 69 6e 65 20 61 73 0a 61 20 74 lreadline as.a t
05c0: 6f 6f 6c 20 66 6f 72 20 69 6e 74 65 72 61 63 74 ool for interact
05d0: 69 76 65 20 73 63 72 69 70 74 20 64 65 76 65 6c ive script devel
05e0: 6f 70 6d 65 6e 74 2c 20 20 79 6f 75 20 64 6f 6e opment, you don
05f0: 27 74 20 68 61 76 65 20 74 6f 20 72 65 61 64 20 't have to read
0600: 74 68 69 73 0a 6d 61 6e 75 61 6c 20 70 61 67 65 this.manual page
0610: 20 61 74 20 61 6c 6c 2e 20 20 53 69 6d 70 6c 79 at all. Simply
0620: 20 63 68 61 6e 67 65 20 79 6f 75 72 20 2e 74 63 change your .tc
0630: 6c 73 68 72 63 20 61 63 63 6f 72 64 69 6e 67 20 lshrc according
0640: 74 6f 20 74 68 65 20 73 65 63 74 69 6f 6e 20 34 to the section 4
0650: 2e 0a 0a 33 2e 20 43 6f 6d 70 69 6c 69 6e 67 20 ...3. Compiling
0660: 61 6e 64 20 69 6e 73 74 61 6c 6c 69 6e 67 20 74 and installing t
0670: 63 6c 72 65 61 64 6c 69 6e 65 0a 2d 2d 2d 2d 2d clreadline.-----
0680: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0690: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
06a0: 2d 2d 0a 0a 54 68 69 73 20 72 65 6c 65 61 73 65 --..This release
06b0: 20 77 69 6c 6c 20 70 72 6f 62 61 62 6c 79 20 6f will probably o
06c0: 6e 6c 79 20 62 75 69 6c 64 20 75 6e 64 65 72 20 nly build under
06d0: 55 4e 49 58 20 28 4c 69 6e 75 78 29 2e 0a 0a 42 UNIX (Linux)...B
06e0: 65 66 6f 72 65 20 74 72 79 69 6e 67 20 74 6f 20 efore trying to
06f0: 63 6f 6d 70 69 6c 65 20 74 63 6c 72 65 61 64 6c compile tclreadl
0700: 69 6e 65 20 79 6f 75 20 73 68 6f 75 6c 64 20 64 ine you should d
0710: 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 o the following
0720: 74 68 69 6e 67 73 3a 0a 0a 20 20 20 20 28 61 29 things:.. (a)
0730: 20 4d 61 6b 65 20 73 75 72 65 20 79 6f 75 20 68 Make sure you h
0740: 61 76 65 20 74 63 6c 20 38 2e 30 20 6f 72 20 68 ave tcl 8.0 or h
0750: 69 67 68 65 72 2e 20 20 49 27 76 65 20 74 65 73 igher. I've tes
0760: 74 65 64 20 74 63 6c 72 65 61 64 6c 69 6e 65 0a ted tclreadline.
0770: 20 20 20 20 20 20 20 20 77 69 74 68 20 74 63 6c with tcl
0780: 20 38 2e 30 2e 33 2c 20 38 2e 30 2e 34 2c 20 38 8.0.3, 8.0.4, 8
0790: 2e 30 2e 35 2c 20 38 2e 31 2e 30 2c 20 38 2e 31 .0.5, 8.1.0, 8.1
07a0: 2e 31 20 61 6e 64 20 38 2e 32 2e 30 2e 0a 20 20 .1 and 8.2.0..
07b0: 20 20 20 20 20 20 74 63 6c 72 65 61 64 6c 69 6e tclreadlin
07c0: 65 20 72 65 6c 69 65 73 20 6f 6e 20 61 20 70 72 e relies on a pr
07d0: 6f 70 65 72 20 74 63 6c 20 69 6e 73 74 61 6c 6c oper tcl install
07e0: 61 74 69 6f 6e 3a 0a 20 20 20 20 20 20 20 20 49 ation:. I
07f0: 74 20 75 73 65 73 20 74 68 65 20 74 63 6c 43 6f t uses the tclCo
0800: 6e 66 69 67 2e 73 68 20 66 69 6c 65 2c 20 77 68 nfig.sh file, wh
0810: 69 63 68 20 73 68 6f 75 6c 64 20 72 65 73 69 64 ich should resid
0820: 65 20 73 6f 6d 65 77 68 65 72 65 0a 20 20 20 20 e somewhere.
0830: 20 20 20 20 69 6e 20 2f 75 73 72 2f 6c 6f 63 61 in /usr/loca
0840: 6c 2f 6c 69 62 2f 20 6f 72 20 2f 75 73 72 2f 6c l/lib/ or /usr/l
0850: 6f 63 61 6c 2f 6c 69 62 2f 74 63 6c 38 2e 30 2f ocal/lib/tcl8.0/
0860: 2e 2e 2e 0a 0a 20 20 20 20 28 62 29 20 4d 61 6b ..... (b) Mak
0870: 65 20 73 75 72 65 20 79 6f 75 20 68 61 76 65 20 e sure you have
0880: 67 6e 75 20 72 65 61 64 6c 69 6e 65 20 32 2e 32 gnu readline 2.2
0890: 20 6f 72 20 68 69 67 68 65 72 2e 0a 20 20 20 20 or higher..
08a0: 20 20 20 20 74 63 6c 72 65 61 64 6c 69 6e 65 20 tclreadline
08b0: 75 73 65 73 20 74 68 65 20 67 6e 75 20 72 65 61 uses the gnu rea
08c0: 64 6c 69 6e 65 20 63 61 6c 6c 62 61 63 6b 20 68 dline callback h
08d0: 61 6e 64 6c 65 72 2c 20 77 68 69 63 68 0a 20 20 andler, which.
08e0: 20 20 20 20 20 20 77 61 73 6e 27 74 20 69 6d 70 wasn't imp
08f0: 6c 65 6d 65 6e 74 65 64 20 69 6e 20 65 61 72 6c lemented in earl
0900: 79 20 72 65 6c 65 61 73 65 73 2e 0a 0a 54 68 65 y releases...The
0910: 20 75 73 75 61 6c 20 2e 2f 63 6f 6e 66 69 67 75 usual ./configu
0920: 72 65 3b 20 6d 61 6b 65 3b 20 6d 61 6b 65 20 69 re; make; make i
0930: 6e 73 74 61 6c 6c 20 73 65 71 75 65 6e 63 65 20 nstall sequence
0940: 73 68 6f 75 6c 64 20 64 6f 20 74 68 65 20 72 65 should do the re
0950: 73 74 2e 0a 0a 0a 34 2e 20 55 73 69 6e 67 20 74 st....4. Using t
0960: 63 6c 72 65 61 64 6c 69 6e 65 20 66 6f 72 20 69 clreadline for i
0970: 6e 74 65 72 61 63 74 69 76 65 20 74 63 6c 20 73 nteractive tcl s
0980: 63 72 69 70 74 69 6e 67 2e 0a 2d 2d 2d 2d 2d 2d cripting..------
0990: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
09a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
09b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 63 -------------..c
09c0: 6f 70 79 20 74 68 65 20 73 61 6d 70 6c 65 2e 74 opy the sample.t
09d0: 63 6c 73 68 72 63 20 74 6f 20 24 48 4f 4d 45 2f clshrc to $HOME/
09e0: 2e 74 63 6c 73 68 72 63 2e 20 49 66 20 79 6f 75 .tclshrc. If you
09f0: 20 75 73 65 20 61 6e 6f 74 68 65 72 20 69 6e 74 use another int
0a00: 65 72 70 72 65 74 65 72 0a 6c 69 6b 65 20 77 69 erpreter.like wi
0a10: 73 68 2c 20 79 6f 75 20 73 68 6f 75 6c 64 20 63 sh, you should c
0a20: 6f 70 79 20 74 68 65 20 66 69 6c 65 20 73 61 6d opy the file sam
0a30: 70 6c 65 2e 74 63 6c 73 68 72 63 20 74 6f 20 24 ple.tclshrc to $
0a40: 48 4f 4d 45 2f 2e 77 69 73 68 72 63 0a 28 6f 72 HOME/.wishrc.(or
0a50: 20 77 68 61 74 65 76 65 72 20 74 68 65 20 6d 61 whatever the ma
0a60: 6e 75 61 6c 20 70 61 67 65 20 6f 66 20 79 6f 75 nual page of you
0a70: 72 20 69 6e 74 65 72 70 72 65 74 65 72 20 73 61 r interpreter sa
0a80: 79 73 2e 29 20 49 66 20 79 6f 75 20 68 61 76 65 ys.) If you have
0a90: 0a 69 6e 73 74 61 6c 6c 65 64 20 74 63 6c 72 65 .installed tclre
0aa0: 61 64 6c 69 6e 65 20 70 72 6f 70 65 72 6c 79 2c adline properly,
0ab0: 20 79 6f 75 20 61 72 65 20 6a 75 73 74 20 72 65 you are just re
0ac0: 61 64 79 20 74 6f 20 73 74 61 72 74 3a 0a 73 74 ady to start:.st
0ad0: 61 72 74 20 79 6f 75 72 20 66 61 76 6f 72 69 74 art your favorit
0ae0: 65 20 69 6e 74 65 72 70 72 65 74 65 72 2e 20 54 e interpreter. T
0af0: 68 65 20 74 63 6c 72 65 61 64 6c 69 6e 65 53 65 he tclreadlineSe
0b00: 74 75 70 2e 74 63 6c 20 73 63 72 69 70 74 0a 64 tup.tcl script.d
0b10: 6f 65 73 20 74 68 65 20 72 65 73 74 2e 0a 0a 0a oes the rest....
0b20: 34 2e 20 48 69 73 74 6f 72 79 20 61 6e 64 20 43 4. History and C
0b30: 68 61 6e 67 65 73 2e 0a 2d 2d 2d 2d 2d 2d 2d 2d hanges..--------
0b40: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a ---------------.
0b50: 0a 74 63 6c 72 65 61 64 6c 69 6e 65 2d 30 2e 39 .tclreadline-0.9
0b60: 3a 20 28 41 75 67 20 31 39 39 39 29 0a 0a 20 20 : (Aug 1999)..
0b70: 20 20 63 68 61 6e 67 65 73 3a 0a 20 20 20 20 20 changes:.
0b80: 20 20 20 2d 20 74 63 6c 72 65 61 64 6c 69 6e 65 - tclreadline
0b90: 3a 3a 72 65 61 64 6c 69 6e 65 20 63 75 73 74 6f ::readline custo
0ba0: 6d 63 6f 6d 70 6c 65 74 65 72 0a 20 20 20 20 20 mcompleter.
0bb0: 20 20 20 2d 20 74 63 6c 72 65 61 64 6c 69 6e 65 - tclreadline
0bc0: 3a 3a 72 65 61 64 6c 69 6e 65 20 62 75 69 6c 74 ::readline built
0bd0: 69 6e 63 6f 6d 70 6c 65 74 65 72 0a 20 20 20 20 incompleter.
0be0: 20 20 20 20 2d 20 74 63 6c 72 65 61 64 6c 69 6e - tclreadlin
0bf0: 65 3a 3a 72 65 61 64 6c 69 6e 65 20 65 6f 66 63 e::readline eofc
0c00: 68 61 72 0a 20 20 20 20 20 20 20 20 2d 20 76 61 har. - va
0c10: 72 69 61 62 6c 65 2c 20 61 72 72 61 79 20 61 6e riable, array an
0c20: 64 20 27 5b 27 20 63 6f 6d 6d 61 6e 64 20 63 6f d '[' command co
0c30: 6d 70 6c 65 74 69 6f 6e 20 62 79 20 74 68 65 20 mpletion by the
0c40: 73 63 72 69 70 74 0a 20 20 20 20 20 20 20 20 20 script.
0c50: 20 74 63 6c 72 65 61 64 6c 69 6e 65 3a 3a 53 63 tclreadline::Sc
0c60: 72 69 70 74 43 6f 6d 70 6c 65 74 65 72 2e 20 53 riptCompleter. S
0c70: 65 65 20 74 68 65 20 6d 61 6e 20 70 61 67 65 20 ee the man page
0c80: 6f 72 20 74 72 79 0a 20 20 20 20 20 20 20 20 20 or try.
0c90: 20 74 79 70 69 6e 67 20 22 70 75 74 73 20 24 65 typing "puts $e
0ca0: 6e 76 3c 54 41 42 3e 22 20 2e 2e 2e 20 43 6f 6d nv<TAB>" ... Com
0cb0: 6d 61 6e 64 20 63 6f 6d 70 6c 65 74 69 6f 6e 20 mand completion
0cc0: 63 75 72 72 65 6e 74 6c 79 20 6f 6e 6c 79 0a 20 currently only.
0cd0: 20 20 20 20 20 20 20 20 20 77 6f 72 6b 73 2c 20 works,
0ce0: 69 66 20 61 20 27 5b 27 20 70 72 65 63 65 65 64 if a '[' preceed
0cf0: 73 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 61 20 s immediately a
0d00: 6e 6f 6e 2d 77 68 69 74 65 20 63 68 61 72 61 63 non-white charac
0d10: 74 65 72 2e 0a 20 20 20 20 20 20 20 20 2d 20 74 ter.. - t
0d20: 68 65 20 72 65 64 65 66 69 6e 69 74 69 6f 6e 20 he redefinition
0d30: 6f 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 60 of the command `
0d40: 63 64 27 20 77 61 73 20 72 65 6d 6f 76 65 64 20 cd' was removed
0d50: 64 75 65 20 74 6f 20 0a 20 20 20 20 20 20 20 20 due to .
0d60: 20 20 6d 75 6c 74 69 70 6c 65 20 72 65 71 75 65 multiple reque
0d70: 73 74 73 2e 20 54 68 69 73 20 72 65 64 65 66 69 sts. This redefi
0d80: 6e 69 74 69 6f 6e 20 63 61 6e 20 62 65 20 66 6f nition can be fo
0d90: 75 6e 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 und in the.
0da0: 20 20 20 20 20 66 69 6c 65 20 60 73 61 6d 70 6c file `sampl
0db0: 65 2e 74 63 6c 73 68 72 63 27 20 61 6e 64 20 63 e.tclshrc' and c
0dc0: 61 6e 20 62 65 20 75 6e 63 6f 6d 6d 65 6e 74 65 an be uncommente
0dd0: 64 2c 20 69 66 20 64 65 73 69 72 65 64 2e 20 0a d, if desired. .
0de0: 20 20 20 20 20 20 20 20 2d 20 74 68 65 20 64 65 - the de
0df0: 66 69 6e 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 finition of the
0e00: 63 6f 6d 6d 61 6e 64 20 60 6c 73 27 20 77 61 73 command `ls' was
0e10: 20 6d 6f 76 65 64 20 6f 75 74 73 69 64 65 20 74 moved outside t
0e20: 68 65 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f he. pro
0e30: 63 20 74 63 6c 72 65 61 64 6c 69 6e 65 3a 3a 53 c tclreadline::S
0e40: 65 74 75 70 20 61 6e 64 20 63 61 6e 20 62 65 20 etup and can be
0e50: 75 73 65 64 20 77 69 74 68 20 74 68 65 20 63 6f used with the co
0e60: 6d 6d 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 mmand.
0e70: 6e 61 6d 65 73 70 61 63 65 20 69 6d 70 6f 72 74 namespace import
0e80: 20 74 63 6c 72 65 61 64 6c 69 6e 65 3a 3a 6c 73 tclreadline::ls
0e90: 20 28 73 65 65 20 73 61 6d 70 6c 65 2e 74 63 6c (see sample.tcl
0ea0: 73 68 72 63 29 2e 0a 0a 20 20 20 20 62 75 67 20 shrc)... bug
0eb0: 66 69 78 65 73 3a 0a 20 20 20 20 20 20 20 20 2d fixes:. -
0ec0: 20 6c 69 6e 65 73 20 61 64 64 65 64 20 74 6f 20 lines added to
0ed0: 74 63 6c 27 73 20 68 69 73 74 6f 72 79 2e 20 28 tcl's history. (
0ee0: 77 65 72 65 20 6f 6e 6c 79 20 69 6e 20 72 65 61 were only in rea
0ef0: 64 6c 69 6e 65 27 73 20 68 69 73 74 2e 29 0a 20 dline's hist.).
0f00: 20 20 20 20 20 20 20 2d 20 6d 61 63 72 6f 20 6d - macro m
0f10: 61 70 70 69 6e 67 73 20 64 69 64 6e 27 74 20 77 appings didn't w
0f20: 6f 72 6b 2e 20 28 6f 6e 6c 79 20 77 68 65 6e 20 ork. (only when
0f30: 68 69 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 hitting.
0f40: 20 20 6d 61 70 70 65 64 20 63 68 61 72 61 63 74 mapped charact
0f50: 65 72 73 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e ers more than on
0f60: 63 65 2e 29 0a 20 20 20 20 20 20 20 20 2d 20 76 ce.). - v
0f70: 61 72 69 6f 75 73 20 63 68 61 6e 67 65 73 20 61 arious changes a
0f80: 6e 64 20 66 69 78 65 73 20 69 6e 20 63 6f 6e 66 nd fixes in conf
0f90: 69 67 75 72 65 2e 69 6e 0a 0a 74 63 6c 72 65 61 igure.in..tclrea
0fa0: 64 6c 69 6e 65 2d 30 2e 38 3a 20 28 4d 61 79 20 dline-0.8: (May
0fb0: 31 39 39 39 29 0a 20 20 20 20 2d 20 61 64 61 70 1999). - adap
0fc0: 74 65 64 20 66 6f 72 20 74 63 6c 38 2e 31 2e 0a ted for tcl8.1..
0fd0: 20 20 20 20 2d 20 6d 69 6e 6f 72 20 62 75 67 20 - minor bug
0fe0: 66 69 78 65 73 2e 0a 0a 74 63 6c 72 65 61 64 6c fixes...tclreadl
0ff0: 69 6e 65 2d 30 2e 37 3a 20 28 46 65 62 20 31 39 ine-0.7: (Feb 19
1000: 39 39 29 0a 20 20 20 20 66 69 72 73 74 20 60 70 99). first `p
1010: 75 62 6c 69 63 20 72 65 6c 65 61 73 65 27 2e 0a ublic release'..