1.5.mods 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. 1/25/95 Added #split <n> functionality, in case screen size
  2. autodetection doesn't work. Added #purist mode:
  3. in #split mode, commands typed at the bottom window
  4. are not echoed in the top window too. Diddled with
  5. the ./configure, Makefile, install.sh, gripe stuff in
  6. hopes of making it a bit more portable.
  7. 1/5/95 Added string comparison capability to #if; format is
  8. #if {[string1=string2]} ...
  9. Thanks to jes3659@gold.acns.fsu.edu (Jeff Sandler)
  10. for the code! Changed: ivars.c -- daw
  11. 1/5/95 Added else to #if command; new format is
  12. #if {expression} {then-cmd} [ else {else-cmd} ]
  13. where stuff inside [ ] is optional. Thanks to
  14. Greg Jarman <amigo@deakin.edu.au> for the code!
  15. Changed: ivars.c -- daw
  16. 1/5/95 Added SOCKS #ifdefs as requested by Jim Goddard
  17. <jgoddard@sun470.rd.qms.com>; now people who want
  18. to use SOCKS can define the -DSOCKS part of
  19. Makefile.in. This is only intended for the clueful
  20. user. Changed: Makefile.in main.c parse.c -- daw
  21. 1/5/95 Added FreeBSD bug fixes kindly submitted by Andrew
  22. Chernov ache@astral.msk.su.
  23. Changed: main.c misc.c net.c parse.c utils.c configure
  24. configure.in -- daw
  25. 1/4/95 Fixed all the bugs on the bigbuglist: mostly easy
  26. (but important) portability fixes. Added autodetection
  27. of screen size for #split mode. Added autodetection
  28. when screen is resized (i.e. with an xterm). Added: scrsize.c
  29. Changed: main.c rl.c Makefile.in Makefile -- daw
  30. 10/26/94 Made ! and ^d behave more like the old tintin. Hopefully
  31. fixed bug with #zap logging people out. Fixed history
  32. expansion so it only expands on lines that begin with !.
  33. Added redraw, according to #redraw (only in #unsplit mode).
  34. Added echoing of each command in #split mode. Decided
  35. that echo.c is now useless. Deleted: echo.c
  36. Changed: rl.c rlhist.c -- daw
  37. 10/25/94 Changed to readline 2.0. Fixed a few bugs; there were
  38. still spaces before #defines, and still an ANSI function
  39. declaration left over from pl6, and I made a dumb mistake
  40. in the Makefile which I fixed. Added a compile script;
  41. hope it's convenient and durable. Fixed bug where tt++
  42. got in an infinite loop if it never connected.
  43. New files: install, src/readline/*
  44. Changed: README, INSTALL, Makefile.in, help.c, aliases.c,
  45. net.c and maybe a few more. -- daw
  46. 10/24/94 Added readline support. Now works in both #split and
  47. #unsplit modes -- but better in #split. Added history
  48. expansion and whatnot. Rewrote the tab stuff, fixed
  49. the bugs, and added #tabsave command. Fixes the bug
  50. with keystrokes getting dropped because of raw mode.
  51. No longer need echo.c and associated unportabilities
  52. (I think). Rewrote the ticker, because alarms() and
  53. readline don't seem to like each other. [It was doing
  54. an alarm() every second anyways! <puke>] Fixed loop
  55. in the Makefile. Made lotsa random changes throughout
  56. the code to get it to coexist happily with readline.
  57. Probably lots of bugs left to fix. :-( Still need to
  58. write docs for all this. :-(
  59. New files: rl.c rltab.c rlhist.c rlvt100.c rltick.c log.c
  60. Changed: main.c parse.c misc.c utils.c ticks.c and maybe more.
  61. -- daw
  62. 8/28/94 Patch 6: Fixed to use Autoconf which makes installation
  63. alot more easier. Also fixed help.c so it works better.
  64. (David Hedbot, neotron@lysator.liu.se)
  65. Changed: All files, more or less.
  66. 7/21/94 Patch 5: Fixed compile errors for HP-UX users. HP-UX likes
  67. to use their own structure name conventions which differs
  68. slightly from SYS V conventions. Placed a few #if's for (HPUX)
  69. and the rest is history. Compiles like a champ now :-).
  70. Makefile totally re-written to elieviate the common questions
  71. asked about compiling. New script called gripe added. Helps
  72. us in determining what you have when you have a problem. If a
  73. problem occurs during compile, just type gripe and follow the
  74. instructions. Mail will be sent to the devel team
  75. automatically.
  76. (JE/DW)
  77. Changed: echo.c main.c tintin.h Makefile install.sh gripe
  78. 7/10/94 Patch 4: Fixed #return once and for all. The moves were being
  79. placed back onto the path list when you did a return
  80. That's a BIG NONO. Linked List bug fixed (priority vairable
  81. was being assigned improperly). Help file corrections and
  82. README changed to hopefully help users out more.
  83. .tintinrc now shows the proper pathdirs, to allow #return to
  84. play nicely with the rest of the program. Makefile now
  85. calls the install script copying the helpfile automatically
  86. to the home directory (If users don't like it, we'll know).
  87. (JE)
  88. Changed: llist.c path.c tintin.h docs/tintin15.*
  89. 5/13/94 Patch 3: fix for speedwalking. Tintin will no longer
  90. go apeshit on text like "u7"; Also changed llist.c
  91. and glob.c. Made pre-decalrations and function
  92. declarations conform to K&R C. (See 4/20/94 for
  93. how new functions should look) (JE)
  94. Changed: llist.c, parse.c, tintin.h, glob.c
  95. 4/30/94 Patch 2: fix for #action {^%0 foo}; removed memory
  96. leak in insert_history(); added #toupper and #tolower;
  97. added the help text for #variable, which was somehow
  98. inadvertently left out; a few minor #includes added.
  99. Thanks you Spencer Sun and Harald Evensen! (DW)
  100. 4/27/94 Patch 1: no error message shown if ~/.tintinrc can't
  101. be found; if can't find ./tab.txt look for ~/tab.txt;
  102. changed help so that the helpfile can go into a
  103. non-world-writeable directory; #showme is now tested
  104. for actions; bug fix -- it would sometimes coredump
  105. upon exiting session. (JE)
  106. 4/25/94 Fixed bug in insertnode_list. #action {zzzz} {foo} {0}
  107. was guaranteed to delete all actions in the list that
  108. had priority 1 or higher because a ->next pointer was
  109. getting set to NULL when it should have been set to point
  110. to the rest of the list. Affects llist.c. (DW)
  111. 4/24/94 Fixed logging so that all ^M's were removed before writing
  112. to the log. This can be changed back to the origional
  113. type of logging, by modifying tintin.h (OLD_LOG).
  114. Changed: main.c, tintin.h (JE)
  115. 4/24/94 Changed part of Dave's modification to session.c. I
  116. have been getting messages (and experiencing myself), cores
  117. when you try to open a "sign" session, which shows a sign
  118. then closes the session. Problem being though, for some
  119. reason, even though a pointer may exist of (char *),
  120. and the length of the string is 0, free cores. Being that
  121. Mem fixes like this can take a long time, I've fudged it for
  122. now, in that it won't free up pointers that have strlen's of
  123. less than 1.
  124. Changed: session.c (JE)
  125. 4/24/94 Fixed -v option and changed a couple of notification
  126. messages in action.c and alias.c, basically just making
  127. a couple more messages lower case and less annoying.
  128. Changed: action.c, alias.c, files.c (BR)
  129. 4/22/94 Fixed highlighting to make it backwards compatible, 1-32
  130. should now be valid fields for highlighting, there is
  131. a little more that can be done to speed up highlighting a
  132. bit. Not critical, we'll see how this works.
  133. Changed: highlight.c (BR)
  134. 4/20/94 Nothing major, just re-wrote Dave's function declaration
  135. for his stop signal trapper. Converted it to the convention
  136. we have been using since 1.2:
  137. <type> <funct_name>(name of args)
  138. <type_arg1> <name of arg1>;
  139. <type_arg2> <name of arg2>;
  140. <type_arg3> <name of arg3>;
  141. {
  142. }
  143. Changed: main.c (JE)
  144. 4/19/94 Minor plug to a memory leak in session_cleanup. It
  145. never killed all the linked lists associated with
  146. actions, aliases, sub, highlights, etc, so I added
  147. that. Also changed kill_all so that it deletes stuff
  148. from the path lists, too. Also, kill_all was made to
  149. remove lists completely if session was being killed
  150. (kill_all used to reinitialize the list.) Now it only
  151. initializes IF mode CLEAN is sent to kill_all. If
  152. END is sent, then it removes and does not re-initialize
  153. the list.
  154. Changed: llist.c, session.c (DW/JE)
  155. 4/19/94 Bug fix to searchnode_list: it assumed that linked lists
  156. were in alphabetical order, but as this assumption is now
  157. invalid, the function needed a small change. Files
  158. affected: llist.c. Doesn't affect the speed of action
  159. matching on lines that come from the mud!! (JE/DW)
  160. 4/17/94 Bug fix to the wildcard matching in search_list_with_wild.
  161. #unaction {* foo} removed all actions, when it obviously
  162. shouldn't. Also added backslash recognition to escape
  163. asterisks. This change affects #action, #alias, #sub,
  164. and their corresponding #un commands. [Maybe more.]
  165. llist.c, Makefile, .tt_help.tar.Z changed; glob.c added. (DW)
  166. 4/14/94 Quick fix to the session delete code to remove a minor
  167. memory leak. session.c was the only file changed. (DW)
  168. 4/11/94 Added #tabadd and #tabdelete. Adding of words to the tab
  169. completion list are done to the end of the list. #tabdelete
  170. just searches the list for the word designated, and deletes it
  171. from the list. Also corrected a bug that I found in my tablist
  172. routine. The complete tablist wasn't being displayed.
  173. edited files: files.c, parse.c, misc.c (JE)
  174. 4/10/94 Added #cr command. Useful for sending carriage returns to
  175. different sessions. You would do something like #grim {#cr}.
  176. main.c, parse.c, misc.c were edited..(JE)
  177. 4/9/94 Ohh.. forgot to mention.. another new command is #killall.
  178. It'll nuke just about every list related to a session. Now
  179. you don't have to exit tintin++ to load up a new set of
  180. coms. (JE)
  181. 4/8/94 Fixed the double-echoing bug that bit you when tintin++ was
  182. suspended and then resumed. Added a SUSPEND command, which
  183. simply acts just as though you had typed control-z at the
  184. keyboard. Anyone wanna test this thang on a SysV machine?
  185. I only have access to SunOS today, and god only knows if
  186. signal() and friends are compatible...
  187. Also added a fix to the way aliases and their parameters
  188. are expanded. Brace grouping used to be ignored for aliases
  189. but now it has an effect. Try these commands
  190. #alias foo {#showme $1; #showme $2; #showme $3}
  191. foo testing {testing 125}
  192. and compare between the new and old versions.
  193. Finally, I added #include <stdio.h> back into tintin.h.
  194. Who removed that? Grr... :-) The affected files were
  195. main.c, parse.c, tintin.h, and .tt_help.txt.Z. (DW)
  196. 4/1/94 Made Tintin++ think by itself! (April Fools!!! Sorry.. I
  197. had to get that in :-) Anyways, Here are the final changes
  198. for this revision. First off, the Makefile has been
  199. completely re-written, adding to it clean and install. Also
  200. added was the TEXTIN command, and fixed it so that Jeremy's
  201. path commands worked (added PATHDIR). A few more compilation
  202. bugs were removed, and some install scripts were written.
  203. Time to go BETA with this pup now. (JE)
  204. 3/8/94 Made numberous bug fixes. Eliminated the bug with #split and
  205. no argument. Fixed #sys to work on most (if not all) system.
  206. The bug was, that the user would receive an alarm call and the
  207. user would still be at the prompt. Hopefully, this is fixed.
  208. People using SGI machines and Linux please get back to me on
  209. this one. You were the ones having the most problems. #loop
  210. now accepts large numbers as well.
  211. Added a new command called #info. It allows the user to get
  212. some statistical information about their current session.
  213. Added a compiler option called -DDEBUG. It turns all alarms
  214. off. The tickcounter won't work, but hey.. You're not playing
  215. with this flag set. It's so gdb will work properly. (JE)
  216. 2/2/94 Rewrote insertlist_node in llist.c. Added a mode switch to
  217. the parameters (as well as the additional priority field for
  218. the listnode). Mode PRIORITY will insert the node onto the
  219. list according to the priority the node was given (0 highest
  220. pritority, 9 lowest). Mode ALPHA will insert nodes
  221. alphabetically. Thinking was that if the node appears
  222. closer to the head of the list, the action would react sooner.
  223. All inserts were changed throughout the code.
  224. Rewrote searchnode_list_begin in llist.c as well, to take care
  225. of searches based on priority or alphabetically stored lists.
  226. All searchs were modified throughout the code.
  227. Added #retab, which allows the user to re-load tab.txt. All
  228. I do is just make another call to read_complete(). Rather
  229. simple and effective.
  230. Added #tablist, which will display all the words in the
  231. tab completion list. (in order from beginning to end).
  232. Modified help.txt to accomodate the changes I've made as of
  233. now. Once all changes are complete, I'll re-modify help.txt
  234. (JE)
  235. 1/24/94 Moved the ignore variable to the session struct. Now
  236. the #ignore command is isolated within a session. (i.e.
  237. you can have one session ignored, and one session not)
  238. The default is now set to DEFAULT_IGNORE in new_session. (JCJ)
  239. 1/19/94 Rewrote path.c to take a different set up. Rewritten to
  240. a link list structure. Added #pathdir command. Upped
  241. mesvar to size 7 with mesvar[6] being #pathdir. Wrote
  242. fixed array style linked list as well, but not
  243. implemented. Added addnode_list to file.c to add a node
  244. to the end of a list (not in lexicographical order as
  245. insertnode_list does). Implemented pathdir using the
  246. listnode struct, but it does not use the char *right.
  247. This can be improved. Perhaps with the completenode
  248. struct. (JCJ)
  249. 1/10/94 Rewrote the highlight parse functions to a) not use the
  250. ends and tails, b) use the color names instead of the
  251. numbers, c) allow multiple types to the first arg. (JCJ)
  252. 6/1/93 TINTIN++ V1.0 beta test version
  253. New commands since tintin3
  254. #antisubstitute
  255. #gag
  256. #loop
  257. #message
  258. #map
  259. #savepath
  260. #variable
  261. #highlight
  262. #math
  263. #togglesubs
  264. #presub
  265. #showme
  266. maybe more...
  267. This version has fixed a few bugs with the original tintin
  268. code as well as the older tt++ versions. Highlighting now
  269. works correctly and is much more powerful. Subs and actions
  270. are faster, and work better. There was also a bug in the
  271. #alias statement, look in tintin.doc for more info.
  272. I have definitely created some new bugs with all of the new
  273. stuff I added since 0.9 and I'm sorry for any inconvenience.
  274. Please report bugs to me, and I'll endeavor to fix them.
  275. I'm sorry for any delay on bug fixes from old versions, but
  276. I thought this version would be done much sooner, and the
  277. bugs were fixed in this version.
  278. Bill Reiss (reiss@eggo.csee.usf.edu)