home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / bx75p3.zip / doc / Changes < prev    next >
Text File  |  1999-02-23  |  179KB  |  3,369 lines

  1.  
  2. [Changes 75p2]
  3. * Cset queuing is now fully implemented. You can even specify a cset in
  4.   your .bitchxrc file. It will be queued up until you join that channel.
  5. * more modifications to $aliasctl(). a PMATCH param can be specified which
  6.   will search for wildcarded matches. MATCH does exact char matching.
  7. * HARD_UH_NOTIFY is gone. along with it went NOTIFY_SIGNON_UH and
  8.   NOTIFY_SIGNOFF_UH hooks. FORMAT_NOTIFY_SIGNON_UH FORMAT_NOTIFY_SIGNOFF_UH
  9.   is gone as well. Userhost notification is now the default. /notify can now 
  10.   accept a nick!user@host. All this means is that unless the userhost
  11.   matches, this notify will not display. Some notify problems found and
  12.   fixed.
  13. * $getcset(var #chan value) will set a new value and return the old.
  14. * Power found a problem with $winitem().
  15. * Nuke found a solution for the problem with win95 and color. turns out that
  16.   ansi.sys scroll region, doesn't scroll the color. stupid... Anyways, we
  17.   changed to a direct windows function for scrolling a region and problem
  18.   is now solved.
  19. * replaced the dcc_*_func with something more generic. a 
  20.   add_dcc_bind("type", "modname" init_func, open_func, input, output, 
  21.         close_func);
  22.     type is a char str defining the new dcc type.
  23.     modname is the name of the module. for use when unloading.
  24.     init_func is a function that is called when this ctcp type is
  25.     recieved.
  26.     open_func is a function that is called when the dcc is open'd.
  27.     input is a function that should be called when there is data ready.
  28.     output is a function to call when you send data.
  29.     close_func is a function to call when the dcc is to be closed.
  30.   we could actually replace internal routines with ones that are wanted.
  31.   each of the above functions should return a int value. in some cases this
  32.   value is ignored. but the input/output routines do NOT ignore this.
  33. * change /dc to not chat yourself. Also changed /dcc chat to ignore your own
  34.   nick.
  35. * small change to $glob() to fix a memleak.
  36. * more changes to tab_completion.
  37. * added the ability for /scan to accept a wildcard nick!user@host to search
  38.   for. so /scan *!*@*.com
  39. * Implemented a queued server send system for use in cdcc. 
  40.   /set QUEUE_SENDS #, where number is the number of seconds to wait.
  41. * fixed up core problem with notify.
  42. * merged in epic4 pre2.001nr-3 and partial pre2.001nr2 patches.
  43. * remerged in the OS/2 pm port changes.
  44. * added a CTCP userlist flag. which allows ctcps on certain ones when
  45.   cloaked
  46. * forgot about DCC_PROC for modules. added remove procedure.
  47. * found bug with numeric 464.
  48. * humble contributed a color change to bx. in config.h add a #define HUMBLE
  49.   just before the #include "color.h" and it will be enabled as the default.
  50. * added a $longcomma() which takes a long number, and formats it with
  51.   comma's
  52. * possible fix for core on netsplits with a * in them.
  53.  
  54. * added a couple of output replacement hooks for dcc and server connections.
  55.     serv_output_func, serv_input_func, dcc_input_func and
  56.     dcc_output_func can be defined within a module to replace the normal
  57.     dgets() and write() functions. This paves the way for secure
  58.     dcc/server connections.  serv_output_func = some_new_output; in your
  59.     module.
  60.  
  61. * new TAB_COMPLETION binding created. A FORMAT_COMPLETE also added for
  62.   display purposes. This new bind does alot more than the old TAB_MSG bind.
  63.   commands currently specifically handled with the new tab complete are, 
  64.   MSG/EXEC/DCC/LOAD/SERVER/LS
  65.         - With nothing on the line, we cycle through the
  66.         msg buffer nicks. if there are none, then the list of channel
  67.         nicks is displayed.
  68.         - if we start typing a nick, then matching channel nicks are
  69.         displayed. if there's one and only one, then it will be
  70.         placed on the input line
  71.         - "/msg " will use the tab buffer, or if that's empty then
  72.         we  use channel nicks. placing a partial nick, will match
  73.         that nick from either.
  74.         - "/exec [pattern]" will attempt to match a filename. if no
  75.         path is specified, then your $HOME directory is assumed.
  76.         if you use / then we can match directories. A * is implied
  77.         when matching, so you don't have to supply one.
  78.         - "/dcc send nick filename". depending on where you press
  79.         the tab will determine what is done on the matching. if it's
  80.         at the nick then tab/chan nick matching is done. if it at
  81.         the filename, then DCC_DLDIR is used for matching.
  82.         specifying a / means look in a dir other than DCC_DLDIR.
  83.     this new tab_completion will also fill in the the input buffer with
  84.     the most number of chars that are common from the resulting match.
  85.  
  86. * Added a -ALL flag to xquotecmd to send to all connected servers.
  87. * found and fixed a problem with timed_server() which was causing a odd
  88.   coredump with is.bx. 
  89. * modified $aliasctl() for command globbing and assign globbing.
  90.     $aliasctl(assign/local/alias/command get/set/match what);
  91.     command globbing is a match only operation.
  92.     local assigns don't make sense in a match operation.
  93.     This will however return all matching assign's/alias's/commands.
  94.     The "what" has a appended * so you if you don't specify 
  95.     a wildcard. Contributed patch to epic.
  96. * added /clear -scroll for cleaning out the scrollback buffer.
  97. * the away msg is resent when we reconnect or timeout from a server. client
  98.   no longer resends the away msg to your channels.
  99. * format_server_notice changed. and more server notices now use the
  100.   server_prompt variable
  101. * Small change made to bx to support NAT. Added -Z flag to enable a userhost
  102.   on connect to the server. This sets the address to use for dcc transfers.
  103.   supposedly this is enough to get by the NAT server.
  104. * # comments supported in .ircservers, ircII.servers etc. when found, we
  105.   truncate the line at the #.
  106. * added back in, dcc renumbering code. Possible though I didn't catch all
  107.   the exits.
  108. * configure --with-tcl patch added. This makes the configure script #define 
  109.   WANT_TCL in defs.h instead of editing the Makefile. Allows modules to be
  110.   compiled with tcl/non-tcl support as well.
  111. * window logfile will now strip certain chars from the name and replace with
  112.   '-'. This is so that nicks with "|\/:" don't cause problems in any of the
  113.   clients but specifically with the win95/nt OS2 ports
  114. * Added 2 new hooks. LEAVE_ME  is hooked when we part a channel under our
  115.   own power. CHANOP is hooked when we gain ops in a channel.
  116. * $dccitem() which will return information based on the passed in dcc number
  117.   or socket number. args are a number (dccitem) or a #number (socketnum).
  118.     $0 type
  119.     $1 nick
  120.     $2 status
  121.     $3 start time 
  122.     $4 start position for resume/reget/resend
  123.     $5 bytes recieved
  124.     $6 bytes sent
  125.     $7 filesize
  126.     $8 filename
  127.     $9 socket number of this connect
  128.     $10 server
  129. * $winitem() added which is compatible in most respects with openirc's
  130.   version. if %num then num is a window refnum. just a number then it's the 
  131.   num'th window in the list. 
  132.     $0 refnum
  133.     $1 name or <none>
  134.     $2 server number
  135.     $3 current channel or <none>
  136.     $4 query nick or none
  137.     $5 waiting channel or <none>
  138.     $6 <none> (oirc has menu name)
  139.     $7 1 visible 0 non-visible.
  140.     $8 # of columns
  141.     $9 # of rows
  142.     $10 reserved
  143.     $11 reserved
  144.     $12 reserved
  145.     $13 reserved
  146.     $14 reserved
  147.     $15 logfile name or none
  148.     $16 L if logging enabled, "" always apart of string
  149.     $17 n if nicklist.
  150.     $18-$19 reserved
  151.     $20+ window level
  152. * new flag to /clear -scrollback which will clear the scrollback buffer as 
  153.   well as the window. /clear -scrollback -all works for all windows.
  154. * $chanmode() extended. $chanmode(#chan #) where # can be 0 normal, 1 bans,
  155.   2 ban whoset time, 3 exemptions for TS4.
  156.      $chanmode(#bitchx 1)  ->  "*!*@*.aol.com"
  157.      $chanmode(#bitchx 2)  ->  "*!*@*.aol.com elmer 9123000"
  158. * $channicks() and $chanusers() can accept one more param. This is the sort
  159.   type to use for call. types of sorting are 0 normal, 1 none, 2 nick,
  160.   3 host, 4 time, 5 ip if available.
  161. * NICK_COMPLETION_LEN added from a patch by by-tor
  162. * some buffer modifications to reduce memory usage.
  163. * some old function unused removed.
  164. * old prototypes found and removed as well as unneeded ones.
  165. * /kb fixed to not send -o the nick, as they are already kicked.
  166. * modified module loading to make it possible to load on alot more systems
  167.   that don't have -rdynamic flag for exporting symbols. Makes the client 
  168.   250k smaller in size as well. Shouldn't impact memusage at all. Module
  169.   interface changed though to make this possible. a pointer to a list of 
  170.   functions is passed into the _Init function as well as the pointer to the
  171.   command table. These functions can now be accessed using a file with
  172.   "alot" of defines in it. modval.h created for this purpose. Internal
  173.   functions could possibly be replaced using this method as well.
  174. * Robohak contributed a patch to function_msar() which should concievably
  175.   fix the memleak in it.
  176. * Robohak reported a coredump in p_topic(). should be fixed. looks like a 
  177.   really desynced condition could possibly exist that might cause a core
  178.   dump. ie join a channel, and a topic change appears immediately after.
  179. * added /set cdcc on/off for turning your cdcc off.
  180. * getsets() leaking memory. drendite found this. hops version also leaks.
  181. * fixed small problem whitedrgn found with hooking 364.
  182. * seems that /oper <enter> <enter> would core the client.
  183. * small patch to p_quit() logmsg() needs the channels even when ignored.
  184. * small problem someone noticed with /quit random msgs and /set log on. 
  185. * changes to convert_output_format() in an attempt at a speedup.
  186. * dcc closeall seg fixed.
  187. * Added function to return what the client currently thinks the channel
  188.   topic is $topic() or $topic(#channel)
  189.  
  190.  
  191. Changes in BitchX 75p1
  192. * my fix to msar() was wrong.
  193. * found and fixed a dcc problem with a rejected dcc.
  194. * epic pre1.400 changes merged.
  195. * scr-bx modified. internal /detach modified to go with it. Added a HUP
  196.   signal which will hangup the session.
  197. * bug with orignick in .bitchxrc found.
  198. * documentation for client plugins started.
  199. * removed Ctrl-Z when detached.
  200. * added -HUP signal. to detach an attached client. Changed signal handling
  201.   when we have a detach client.
  202. * Found and fixed several small memory leaks when /unloading a script.
  203.   We now remove all arrays and fsets when unloading.
  204. * Added a plugin hook for window commands. 
  205. * Added a plugin hook for a output procedure. It replaces ALL output's.
  206. * Set message_from() in chanwall to show too LOG_WALL.
  207. * BitchX.url buffer was 2048 and a CTOOLZ_DIR path greater than this would
  208.   overfill the buffer.
  209. * Added URLGRAB hook which is activated on url's and ftp's. Added USERS_IP
  210.   hook for display of users ip in /user -ip display
  211. * Fixed term handling of ctrl chars on the input prompt.
  212. * Fixed configure option for with-maildir handling.
  213. * Added $t to return the name of the currently running alias.
  214. * Changed /load to support loading of .so files instead of using /loaddll.
  215. * Added a timeout to dcc sends that are inactive. remains to be seen if this
  216.   will be effective.
  217. * Added a default case for switch(). there can only be one default case in a
  218.   switch statement. now switch() works just like the c version.
  219. * extremely lame buffer overflow bug on startup. who would attempt to
  220.   exploit themselves? uzfopen() was the culprit in this  case though. and
  221.   it's used it alot of various file opening functions.
  222. * small modification to real_file_send() so that FileBuf is searched for the
  223.   wildcard instead of filename. This allows ~ftp/*.zip to be used.
  224. * after a little hair-pulling, mirc dcc resumes are now supported. Damn
  225.   khaled, why not send back the filename instead of that lame "file.ext"
  226. * Silly bug with dcc resend/resume filesize. 
  227.   if (numbytes == (filesize - offest)) then close the file. Because
  228.   otherwise we hang around waiting for the end and cause a little cpu usage.
  229. * FORMAT_WHOIS_SIGNON != FORMAT_NOTIFY_SIGNON in notify.c.
  230.  
  231.  
  232.  
  233. Changes in BitchX 75  July 1 1998
  234.  
  235. added $b variable.
  236. changed strip_ansi() to strip out chr(155) chr(11) and chr(8)
  237. Xecho -s added.
  238. window new_hide added.
  239. fixed +c channel mode core.
  240. fixed history command.
  241.  
  242. Added a /paste command. it will take a range of number and optionally a
  243. nick or channel to send to... /paste 1-5 [-win #] [<nick|#chan>]. The paste 
  244. buffer is from the bottom up.
  245.  
  246. bhelp is spruced up somewhat. The internals were completely re-written using
  247. normal c instead of the array functions. /bhelp -dump added, which will
  248. reload a help file(main reason for the rewrite). Added a -RELATED field in
  249. the help file (first word on the line). Found and fixed a small memory leak
  250. with this as well (return from the array function was not free'd).
  251.  
  252. Showidle command modified. we can now sort the nicks based on time, host,
  253. nick or none. default is by nick. ex. /showidle -sort time
  254.  
  255. Added a auto nslookup of all nicks when we join a channel. Added a IP ban
  256. option for /bantype. Also modified ban_it() to accept an ip if passed, or it
  257. uses the "Better" bantype if not. /set auto_nslookup determines whether this
  258. is active or not. /user -ip will show the ips of the users. /user -ip -op
  259. etc....
  260.  
  261. A matching lame nick would kick yourself.
  262.  
  263. set for MIRCS and set for DISPLAY_ANSI have been fixed and updated greatly. 
  264. formats of various types are replaced with a appropriate default formats.
  265.  
  266. Script writers are going to hate this as I overwrite any changed formats
  267. with defaults. I'll have to see about some method of allowing both to exist.
  268.  
  269. Paste command fixed. some lameness on my part was causing the paste to be
  270. backwards.
  271.  
  272. New epic who code is a little buggy yet in bx... details need to be worked
  273. out. Assume it's parameters to the do_hook(). in the hook array.
  274.  
  275. Added two new command line options. -A for no startup ansi and -N for no
  276. auto-connect on startup.
  277.  
  278. Fixed client core when no default servers defined.
  279.  
  280. Fixed ison and waitcmd() coredumps when no default servers defined. (more of
  281. these are lurking).
  282.  
  283. Finally fixed /finger so it works.
  284.  
  285. Changed the way we set the cloaked client process.. Still need some
  286. auto-detection routines in configure though.
  287.  
  288. Forgot about dcc_resend() when adding "filename with space" capabilities to
  289. dcc sends. cdcc probably needs to be done as well.
  290.  
  291. Renamed CLONE_READ to SOCKET. Revamped the socket code considerably.
  292.  
  293. Fixed minor annoyance of /bk not working in new alpha's
  294.  
  295. More socket improvements. sockets will now timeout after CONNECT_TIMEOUT
  296. seconds or 120. when we scan sockets, if there is no open sockets dropout of
  297. the scan. 
  298.  
  299. Possible fix to dcc_Fast.
  300.  
  301. Fixed core with /bhelp -dump when there's no help file in memory.
  302.  
  303. Possible fix for kick_if_banned and numerical ips. as well as a core problem
  304. related to this.
  305.  
  306. Possible fix for a core when someone joins a channel and you get kicked.
  307.  
  308. It's now possible to have $glob() return filenames with spaces in them.
  309.  
  310. Things like this are now possible... (alias from |fingers|)
  311. alias testarray {
  312.     fe ($glob(\*)) ii {
  313.     @ setitem(files_array $numitems(files_array) $ii)
  314.     }
  315. }
  316.  
  317. #$getitem(files_array num)
  318. FORMAT_ACTION_CHANNELS added. hopefully we got the right methods for
  319. display'g actions.
  320. if (is_channel)
  321.     if (current_channel)
  322.         if (auto_reply && is_on_user_list)
  323.             FORMAT_ACTION_USER_AR
  324.         else if (auto_reply)
  325.             FORMAT_ACTION_AR
  326.         else if (is_on_user_list)
  327.             FORMAT_ACTION_USER
  328.         else
  329.             FORMAT_ACTION_CHANNEL
  330.     else
  331.         if (auto_reply && is_on_user_list) 
  332.             FORMAT_ACTION_USER_AR
  333.         else if (auto_reply)
  334.             FORMAT_ACTION_OTHER_AR
  335.         else if (is_on_user_list)
  336.             FORMAT_ACTION_USER
  337.         else
  338.             FORMAT_ACTION_OTHER
  339. else
  340.     FORMAT_ACTION
  341.  
  342. Fixed small bug in the notify. We sent out the notifies when we recieve
  343. jumeric 250. but, the notify list was improperly built. 
  344. 433/438 numerics changed to add the server to the hook. $0 is the server.
  345.  
  346. dcc.c completely rewritten to use the new socket code. non-blocking sends
  347. are used if possible. FBIONREAD is used to find how much information to read
  348. from a socket. bot_link.c is not finished. DCC_RAW is not finished. Code is
  349. alot less verbose than before. arguements to all the send/get/resend/reget
  350. commands are all the same in the possibilities. Each dcc can have it's own
  351. blocksize. DCC_TIMEOUT is used to specify the timeout for each dcc. DCC_PROC
  352. in module.c is actually implemented (might even work). dcc's are much faster
  353. now... 
  354.  
  355. Small bug in $writesocket() found and fixed for shade.
  356.  
  357. Changed /wii and friends to support multiple nicks on the command line.
  358. added -topic to /paste command.
  359.  
  360. Added +format_xxx variable support. if you /fset +format_xxx "some text"
  361. that variable is now a format variable and $format_xxx $fparse(format_xxx)
  362. etc will work on with it. You can re-define ALL the format variables using
  363. this method, although there could be a speed decrease using it... This might
  364. actually be a good place for a hash table instead of a linked list.
  365.  
  366. Found a problem with check_serverlag() where it was possible to flood
  367. ourselfs off the server with ping requests.
  368.  
  369. Merged in the changes from epic4pre100.
  370.  
  371. An auto-away time bug and a msglog bug fixed in update_clock().
  372.  
  373. Merged in changes from epic4pre200.
  374.  
  375. Fixed a bug in skip_incoming_mirc() which could cause a lockup. Also fixed
  376. this so that /set MIRCS works properly...
  377.  
  378. Channel cset queue setup. what does this mean? well we can now /cset
  379. #channel  we currently aren't on and add that channel to a queue. So when we
  380. do finally join that channel, the queue'd csets are used. This allows us to
  381. use csets from .bitchxrc or .ircrc files. 
  382.  
  383. FromUserHost is set to empty_string at the end of the processing. This
  384. should allow logmsg() to use $userhost() correctly.
  385.  
  386. Fixed small problem with spaces in filenames in a dcc. should work now.
  387.  
  388. A major incompatibility added. /on dcc_request used to return "SEND" as the
  389. type of request for a file send. Personally I feel this should be "GET". 
  390.  
  391. Added in epics style of ctcp booster for dcc's... what happens is this. If
  392. you /dcc send or /dcc chat someone and that person happens to "miss" the
  393. request because of a netsplit, we can /dcc send again and the request is
  394. booster'd again instead of giving you an error about already existing and
  395. ignoring. The warning is still given however.
  396.  
  397. Phucilage found an actual bug. /set scrollback was not doing what it was
  398. meant todo.
  399.  
  400. Added USER_FLAG_OP and USER_FLAG_PROT which are run when the a userlist
  401. person is op'd or a userlist person is kicked or banned. 
  402.  
  403. Found bug in check_prot where a REOP is not possible. Found bug in delay_opz
  404. for voiced users. 
  405.  
  406. DavidW2 noticed a bug in the way that EXEC_EXIT was done.. m_strdup(logical)
  407. was not good for the process structure.
  408.  
  409. Lame BlackJac decided that format_send_away was too plain so forced me to
  410. add a new variable $u which is the time you set away in seconds since the
  411. epoch , and change the format to incorporate it.
  412.  
  413. tsd!tsd@cal001307.student.utwente.nl pointed out that set_xterm_title()
  414. wasn't following properly. Also added format_xterm_title format.
  415.  
  416. Added /dump fset  which dumps all fsets and resets them to my defaults.
  417.  
  418. Added /dump wset  which dumps the wsets for ALL windows and resets to my
  419. defaults.
  420.  
  421. Added /dump cset  which recreates the channel csets from the defaults in
  422. /set
  423.  
  424. Problems with dcc resends fixed. involved quite a few changes in dcc.c.
  425.  
  426. Fixed problems with dcc % on status bar as well as fixed up numbers
  427. displayed while in a dcc resenD on the /dcc list
  428.  
  429. Decided to use the screen buffer instead of the lastlog buffer in the /paste
  430. command. This shouldn't mean too much for the casual user but internally it
  431. means that what you want displayed is displayed. lastlog doesn't always have
  432. everything logged in it.
  433.  
  434. [penix_(penix@pm6-24.kconline.com)] found a small problem with dcc causing a
  435. coredump. several people had mentioned it.. 
  436.  
  437. After talking with Sheik, we decided to add a feature to the status bar
  438. variables. you can now specify a "width" to print a variable. if %<.10>N for
  439. example, the nick will take "at most" 10, and is space padded to 10. %<-10>N
  440. will make it left justified. Currently there is no way to say %<-.10>N. This
  441. will work for all status variables including the status line itself.
  442.   
  443. Added a $getflags(uh chan) function from sd-.
  444.  
  445. Added some new hooks. WHOLEFT_FOOTER, USERS_FOOTER, USERLIST_FOOTER,
  446. STAT_FOOTER, SHOWIDLE_FOOTER, SHITLIST_FOOTER
  447.  
  448. One more change to dcc sends. removal of dcc_fast for now.
  449.  
  450. Added a configure option for specifying the mail directory.. --with-maildir
  451.  
  452. Added NUM_KICKS for the max kicks allowed in one kick... 
  453.  
  454. Changed kickban() to modify the way that /bk and /kb are done. also allow
  455. for /kb nick,nick1,nick2  
  456.  
  457. Figured out what I'd done wrong in pastecmd().
  458.  
  459. dcc is working much nicer now. tdcc is not. Fixed a possible core if the
  460. directory we are attempting to save too is non-existant or non-writable.
  461.  
  462. Possible core problem with scratch windows cured.
  463.  
  464. Possible fix for userlist when a channel is specified with a "*" in it. This
  465. broke the auto-invite on notify feature.
  466.  
  467. Somes changes to tcl.c and a new tcl.o version is born. the alias var's were
  468. not exported to tcl. Now _T (current_target) are available. Also get_var,
  469. set_var, fget_var and fset_var are available.
  470.  
  471. The party line is now working with the new dcc code.
  472.  
  473. _]Nuke[_ is working on a OS/2 pm port of bx which will be an option while
  474. compiling under OS/2.
  475.  
  476. Found fixed a off by one screen error which was causing problems on a
  477. /window kill.
  478.  
  479. STATUS_UPDATE will be hooked anytime a status bar update is occuring.
  480. DCC_UPDATE will be called when a dcc transfer is occurring at the same time
  481. that the dcc status percentage is updated.
  482.  
  483. $randomnick() will take upto 2 args for initial len and max length of the
  484. string.
  485.  
  486. With the help of Raistlin and neonapple a bug in the fix_status_buffer()
  487. code was found and fixed. un-init'd variable was causing the problem
  488.  
  489. Xavvy requested a install_local which will install BitchX and some other
  490. files for a local user. it checks and creates ~/bin and ~/.BitchX and then
  491. copies and links the binary BitchX in ~/bin. Also we copy the various
  492. BitchX.* files into ~/.BitchX for the user.
  493.  
  494. OS2 PM changes merged in. todo are multiple windows. added a configure
  495. option  --enable-pm for os2 PM support. Otherwise vio window support is
  496. used.
  497.  
  498. Added support for identwd by whitedrgn. It's a more configurable identd.
  499.  
  500. Fixed problem with bk and it's mesg about kicking yourself.
  501.  
  502. Small bug with /quote used in a ctcp hook found and fixed.
  503.  
  504. New file added. tcl_public.c which set's up the tcl commands within bx.
  505. source will be distributed for it.
  506.  
  507. Whoopsy misplaced /clones. also broke auto_away. fixed.
  508.  
  509. Changed longip() to actually convert a long to a ip and added iplong() which
  510. takes an ip and converts it to a long.
  511.  
  512. Added a small change to add_to_channel() in names.c. IF the channel is not
  513. on your list, but is in the whowas list, the nicks are added to the whowas
  514. nick buffer. This will allow us to keep a list of nicks from a join to a
  515. channel when we are kicked immediately before the sync.
  516.  
  517. a /user -kick would core dump.
  518.  
  519. Some of the relevant parts of epic4 pre300 have been incorporated. His
  520. server re-connect needs alot more work than bx's
  521.  
  522. Added socks4/5 firewall traversal code directly into bx itself. 
  523.  /set SOCKS_HOST and /set SOCKS_PORT as well as command line
  524. argument -S added. If SOCKS_HOST is not set, then no traversal will be
  525. attempted. As soon as it is set however, then we will attempt to use the
  526. SOCKS4/5 firewall on the next reconnect to the irc server. No idea what 
  527. effect this will have on dcc's or other tcp related things.
  528.  
  529. Changed $channel() to return info about if the user is on your userlist or
  530. your shitlist. & and ! respectively.
  531.  
  532. found and fixed several more memory leaks. Added a delete_all_arrays() to the
  533. /dump all command. Added /dump array command as well.
  534.  
  535. Loosing my HD didn't help my source tree any. still a few "weird" characters
  536. scattered around the source tree.
  537.  
  538. for now we can use the new /detach [password] command to detach a bx client
  539. from the terminal. you can then later log back into the client using 
  540. BitchX -R [tty] [pass]. This is still rudimentry and still buggy
  541. at the moment. kasper has agreed to write a frontend program to replace the
  542. BitchX -R so we aren't running 2 copies of bx. This will reduce memory
  543. requirements (ie two copies). Password is also encrypted as well using a
  544. random seed.
  545.  
  546. Rain noticed a problem with xecho -level. missing break was causing trouble.
  547. Created a new pgm while waiting for kasper to create it. it's a mini-screen
  548. attach program for bx's internal /detach. it's called scr-bx. -h gives help
  549. on this useful little program.
  550.  
  551. BitchX -B mode changed. it no longer does what it used too. It now detaches
  552. from the terminal and runs in the background (like before) but, we can now
  553. re-attach to that session unlike before Thanks too a chat with kasper we now
  554. have a small program for re-attaching to the backgrounded program.. 
  555.  
  556.  
  557. Changes in BitchX 74p3
  558. Oper'g is now more safe. the oper password is not kept in core. it is
  559. removed as soon as possible from any place where it might be kept. ie
  560. do_hook(), vsend_to_server(), parse_line(), parse_command(), oper(),
  561. oper_password_recieved() all memset the buffer's used if this is a oper up
  562. command. As well the history() function does not save the /oPer command.
  563. A bunch of various fixes included. 
  564. $exec() will no longer work from a format.
  565. change to /window server so that LOG_NONE is set instead of LOG_ALL
  566. $getinfo() $setinfo() broken and fixed
  567. /ig + host  no longer cores the client because of a typing error.
  568. multiple nick changes within nickflood time would trigger for us. we would
  569. kick ourselves after so many nick changes.
  570. Habit helped find a problem with the userlist looping on a /save. It seems
  571. that attempting adding a channel which occured at the end of the hashlist
  572. would cause the client to lockup while saving a userlist... This is a long
  573. standing bug that was difficult to find at best.
  574. Server lag is now sent and calculated for all connected servers.
  575. Fixed kick of self when /ctcp version yourself.
  576. mk and lk are fixed now. in fact, they roq.
  577.  
  578. rale sent me a patch to make bx compile under OpenNT gcc environment. Patch
  579. is included and here are some notes from him
  580. # Known Problems:
  581. #  The configure script screws up when it makes source/sig.inc,
  582. #  -You need to remove the second line of this file when configure finishes
  583. #  /exec doesnt work
  584. #  /window create doesnT work
  585.  
  586. Added a small change to $fparse() which will add/del a variable if it's not
  587. found in the list. it's actually assigned. so it will not appear in the
  588. /fset but will appear in the /assign
  589. With your userlist off, ctcp op and unban commands were still able to work.
  590. this is a defiency and is now fixed.
  591. Patch from  Pharos(hitui@tty005.ims-1.com for making the 
  592. rename_file() return a filename with a number instead of a letter. 
  593. this affects dcc auto transfers.
  594. Patch from FreeLSD <dimka@solo.telekom.ru> for translation.
  595. /toggle changed so that the /on set is used for screen output.
  596. possible fixed for shitty compress_modes() function. This thing was a huge
  597. memory leak.
  598. Possible solution for filenames with spaces in them. you need to quote the
  599. filename ie /dcc send nick "filename with spaces" or 
  600. "dir/filename with spaces". The filename is converted to a name with _'s.
  601. Christian Deimel (defender@gmx.net) sent me a patch that implements random 
  602. irc names. /ircname with no args will set the ircname to a randomly chosen
  603. one for the next server connect. BitchX.ircname has the random irc names.
  604. Changes made to /window level +/- is now allowed.
  605. Modified server reconnect strategy. /set MAX_SERVER_RECONNECTS defines how
  606. many times we will attempt to reconnect to a server.
  607. more fixes to compress_modes.
  608. %- is now safe as a status format variable.
  609. Major internal changes for the status bar code. %{0}S specifies status
  610. expando map 0 (gives server), %{1}S would be map 1 and is undefined at the
  611. moment. I do have %{1}0-9 defined. which gives us the old %!10  method of
  612. specifying  status_user10. STATUS_USER was renamed to STATUS_USER0 to help.
  613. $n will return the current server network if known.
  614. $getcset(var [#channel]) returns the CSET variable for either the current
  615. channel or the channel specified.
  616. $getfsets() or $getfsets(match) will return all or just matching formats.
  617. Added a field to the cdcc packs for the time added. it's displayed when
  618. someone requests /msg nick cdcc info #
  619. $listarray(name) will list all elements in an array with "name"
  620. New cset/set CTCP_FLOOD_BAN  will ban a nick using the current bantype 
  621. that is currently set. This works for channel and private ctcp floods. 
  622. epic 0.49 changes merged in. along will some fixes for brokenness.
  623.  
  624.  
  625. Changes in BitchX 74p2
  626. notify_mark() coredump on undernet fixed.
  627. p_invite() coredump fixed if your not on a channel when invited to a new
  628. one.
  629. Small cosmetic fixes to convert_flags() and /rel
  630. /j #chan will now reset the prompt to the new channel. This only occured
  631. when we were already on that channel.
  632. the /ftp command would seg if a bad host was given
  633. $s returns the port of the server.
  634. Changes from epic 0.36 and 0.37 added. These ARE major changes.
  635. Added new fset FORMAT_OV which is the status format for the oper view.
  636. Command /addword fixed.
  637. Couple of minor fixes for /window split on /window triple etc added.
  638. Fixed expr.c 409 local alias problem.
  639. Fixed not on channel bug with /ban nick
  640. KinSlayer 
  641. Fixed up possible problem with cores and windows. rejoining a channel in a
  642. non-active window had the possibility of causing a coredump.
  643. $msar() which is a modified sar(). it will do multiple sar's on a  string.
  644. the command char cannot be used in the string.
  645. SERVER_PROMPT fixed up to use cparse() style formatting.
  646. Added /cdcc secure which allows you to add passwords to packages offered.
  647. New /on FTP for the ftp client output.
  648. By-Tor made a patch that uses strstr() to help with nick completion. so for
  649. example |By-tor| is the nick, you can now do By-t: and it will complete.
  650. Added most changes upto epic 0.41.
  651. Added a patch from Khinsanth which fixes -H as well as added
  652. CHANGE_NICK_ON_KILL.
  653. New keybind BLINK.
  654. New Variable BLINK_VIDEO
  655. New /window query which can accept -cmd 
  656. New functions $leftpc(), $mask(), $querywin() replaces $winquery(),
  657. $uname()
  658. New argument to /xecho -nolog
  659. New /cdcc secure added which adds/removes a password for your entire cdcc
  660. package list.
  661. Bk found a invite bug.
  662. Number-6 fixed a problem that BSDi seemed to have with dcc's of 0 size.
  663. SellFone found a bug that was created when [nutbar] insisted that /Set
  664. server_prompt be able to parse % color codes.
  665. I broke sort() when patching in epic changes.
  666. Green found a problem with /adduser -whatever looping forever.
  667. Raistlin found a problem with -L removed the - that was being appended to
  668. the script name. .bitchxrc overrides .ircrc files as a side note.
  669. fset can now be hooked just like /set is.
  670. Sping now works again. We now use a slightly modified version of old bx
  671. technique and new.
  672. cdcc secure password is stored in the .cdcc.save file.
  673. Small bug in /hostname on linux systems prevented display of the virtuals.
  674.  
  675.  
  676. Changes in BitchX 74p1
  677.  
  678. Coredump problem with timers and windows fixed. Possible problem with
  679. set_current_screen() repaired.
  680.  
  681. Abnormal usage with dcc chat's cleared up.
  682.  
  683. Found/fixed problem with /url grab on
  684.  
  685. Added IOPS for immediate ops. nick needs to have OPS and IOPS for this to
  686. work.
  687.  
  688. Timecop noticed that +Window new 10 times would core a client.
  689.  
  690. We handle a few more Dalnet specific numerics. Some extra /set's added to
  691. support them. Check out /fset format_whoi
  692.  
  693. exec now closes ALL descripters on exit so we no longer run out of file
  694. handles after 150-limit files.
  695.  
  696. |by-tor| requested that if there is no current channel but there is a query
  697. then /ver and /p should be sent to that nick. Added a check for
  698. get_target_by_refnum() in ping_cmd and ver_cmd.
  699.  
  700. Phucilage updated the BitchX.help file for us.
  701.  
  702. Changes in BitchX 74
  703.  
  704. New userlist is hashed into 3 tiers ala CToolz. 
  705.     tier1 is based on hostname with no wildcards.
  706.     tier2 is based on channel with no wildcards.
  707.     tier3 is standard linked list.
  708. with many user's on the userlist we have increased lookup speed of a user on
  709. the list significantly. This in turn speeds up the client. Sheik and I
  710. worked on this.
  711.  
  712. New flag based userlist system.
  713.     VOICE, OPS, BAN, UNBAN, INVITE, DCC, KILL, DIE, FLOOD, BOT
  714.     REOP, DEOP, KICK, PBAN, PINVITE
  715.  
  716.     Predefined combinations
  717.         FRIEND = VOICE,OPS,UNBAN,INVITE
  718.         MASTER = VOICE,OPS,BAN,UNBAN,INVITE,DCC,FLOOD
  719.         OWNER = MASTER,KILL,DIE,BOT
  720.  
  721.     Combinations of these flags can be combined ie  VOICE,INVITE,UNBAN 
  722.     so we now have the following 
  723.         /adduser nick #channel voice,invite,unban  
  724. Hostnames are added with the exact hostname unless a nick!user@host is used
  725. instead of just the nick. This is so that we can take advantage of the new
  726. userlist system
  727.  
  728.  
  729. New Compile time defines to remove un-used portions of BX. Look in
  730. include/config.h
  731.  
  732. Added the ability to unload a dll after it's loaded. /unloaddll dllname
  733.  
  734. Added a RAW_PROC for dll's. This is hooked in even before a numeric proc and
  735. can be used in place of a numeric proc. The Raw proc is a hash'd list 
  736. for a speed increase in large loaded DLL's. Numeric procs will change to
  737. this format as well.
  738.  
  739. Fixed up tier3 remove proc to also check on a strcmp() of the host.
  740. the command /unuser -ALL required this small change.
  741.  
  742. New screen/window code from epic merged in. /clear works now. 
  743.  
  744. Added new %a aop %s shitlist %h hacking %u userlist %b bitchmode variables
  745. for the status bar. These are single char flags. Changed status_away to have
  746. the away msgcount in it. 
  747.  
  748. Fixed /reinit /reinitstatus so it doesn't blank the statusbar on a Ctrl-L.
  749.  
  750. Reduced memory requirements by a small amount by reducing some static
  751. buffers.
  752.  
  753. Status bar repeating chars should now work as advertised.
  754. $winnames(refnum) will return a list of all names of nicks specific to that
  755. window. nicks are added with the /window add command
  756.  
  757. Corrected output of status line. damn extra strmcpy()'s creeped in. This
  758. might also account for some strange coredumps as well as some strange screen
  759. behaviour
  760.  
  761. For some damn reason we forgot about /unuser :)
  762. Added -ppp to /adduser to add hostnames in the original fashion with
  763. *.host.edu
  764.  
  765. Improved /swatch commanD somewhat. This allows /set swatch to save what the
  766. user would like to server watch.
  767.  
  768. Changed split_up_line() to recognize a , or a space as a word separator.
  769.  
  770. Merged in changes from epic4 026. Some changes backed out because they do
  771. not work. ie -%> which hop had reworked from my original patch.
  772.  
  773. New load code broke send_text. load_depth of -2 was not a good thing.
  774.  
  775. Another %c%s type bug found and fixed.
  776.  
  777. Changed format_away to include  is away: for those that wanted it.
  778.  
  779. Found small bug in /readlog which was causing the odd occurances in away log
  780. reading.
  781.  
  782. Fixed small bug in /load which was causing loTza trouble.
  783.  
  784. dcc status bar bug I introduced fixed. 
  785.  
  786. timer command changed to allow multiple args. This is not very robust, just
  787. a quick hack to allow /timer -rep -1 -ref blah   to work.
  788.  
  789. Added /dcc help command. Also /window help
  790.  
  791. Fixed /sping to do the right thing if a server doesn't exist.
  792.  
  793. Changed %s to %f on the status bar added %s as a modified %S 
  794.  
  795. Fixed load parser load_depth != -1 for non-interactive commands so make sure
  796. and check that in parse_line(). Prevail suddenly almost works now. 
  797.  
  798. Passwords are now checked if passed into find_bestmatch(). 
  799.  
  800. Reason scripts were a little broken if a /* appears somewhere on a real
  801. line, is that /set comment_breakage defaults to off. We should set this on.
  802.  
  803. Possible fix for window/channel chatter going to wrong windows. Added
  804. win_channel_swap_ptr() on swap_window() as we need to keep the
  805. channel->window ptr's current and swap_window() does a nasty thing.
  806. switch_channels() rewritten and everything seems to work. add_to_screen()
  807. modified slightly to send text to the correct window/channel.
  808.  
  809. Added slight modification to cannot_join_channel() so output goes to the
  810. current window.
  811.  
  812. Krome found a little bug with /windows and channels. lookup_channel() needed
  813. to check the return from get_channel_by_refnum() before passing it on to
  814. stricmp(). This also pointed out that /window kill doesn't update the input
  815. prompt at all.
  816.  
  817. Added /dcc help and /window help. Filled out help for these commands as
  818. well. 
  819.  
  820. The command table from the server has been put into a hashed list. /debugmsg
  821. will show some simple stats on this.
  822.  
  823. Modified the server msg to use a hashtable. /debugmsg will display some
  824. statistics
  825. Modified /on # to use a hash table for the numeric and then a linked list
  826. for the actual hooks. This should speed up numeric lookups considerably. 
  827.  
  828.  
  829.  
  830. Note: some of the following commands are a part of openchat irc client by
  831. mikh. 
  832.  
  833. Added $isconnected(<refnum>) to tell a scripter if we are connected to a
  834. server or not.
  835.  
  836. Added /evalserver <refnum> <command>  which will send a command to a
  837. specifIc server.
  838.  
  839. Modified $myservers(0/1) to return either the names of the servers or the
  840. refnum of the server. default is too use the name of the servers but a 1
  841. will cause it to reply with the refnum of the connected servers
  842.  
  843. Added /purge name which will completely remove all traces of a
  844. variable or variable structure. Keep on eye on this as it might also be a
  845. memory leak.
  846.  
  847. Found that $[3]#function(params) was not working as it should. Fixed. Epic
  848. has this same problem.
  849.  
  850. Added /timer -update refnum  which will update a timer specified by refnum
  851. to a new timeout or new command. 
  852.  
  853. The /window command now accepts as a first param the window refnum wanted.
  854. So /window 2 double on will turn on double status on the 2nd window.
  855.  
  856. Added new function called $fparse() which will take a format name and params
  857. and evaluate it just like the client does. so $fparse(format_ctcp panasync
  858. ctcp ctcp) returns the parsed format for format_ctcp.
  859.  
  860. Added hash'd function list routine. First time a function is used the
  861. functions list is hashed. From that point on, instead of searching the
  862. entire list everytime a function is called, a hash of the name is done and
  863. the lookup becomes very fast.
  864.  
  865. Seems that /ctcp nick ident and returning the access denied wasn't such a
  866. good idea, so I removed the access denied notice.
  867.  
  868. The /on FLOOD has been modified to include the type of flood detected. Also
  869. the channel or a 0 is sent in order to detect if the flooding took place on
  870. a channel.
  871.  
  872. Attempted fix foR that odd error that joining a channel with a { or } in it
  873. caused.
  874.  
  875. REfixed my attempt at wierd channel names with {} in them. quoting # was
  876. maybe not a good idea.
  877.  
  878. Added limited support for server groupings. ie /server [efnet] will attempt
  879. to connect you to the first [efnet] server. .ircservers and config.h as well
  880. as /server modified to support a server group name. .ircservers can use the
  881. following syntax.  server:port:password:nick:group or [group] on a single
  882. line by itself to represent all the servers that follow upto the next
  883. [group]. If any of the params from server:port:pass:nick:group are left out
  884. then we do the following  server::pass:nick:group or server:::nick:group
  885. etc.
  886.  
  887. Fixed find_bestmatch() to not put the userlist entry into the nicklist if
  888. the channel doesn't match. p_channel() will also reflect this small change
  889. in that we no longer check for a channel_match().
  890.  
  891. A /xdebug would cause a coredump in add_to_display_list().
  892.  
  893. Added back in /lastlog -clear. This was removed because of the new display
  894. code.
  895.  
  896. Added $getcdcc(#) which will return info on a specific pack number.
  897.  
  898. Found and removed a couple of small memory leaks.
  899.  
  900. argh. /stack on was very broken. might also be why scripts were loosing
  901. memory all over the place lately. Working now.
  902.  
  903. Xterm and screen title now set on startup, join to channel and channel
  904. switch.
  905.  
  906. Major memory leak foUnd and fixed. This should cause memory usage in certain
  907. scripts to stabilize alot.
  908.  
  909. Ctrl-W-b needs fixing.
  910.  
  911. Small change to format_notify_signon_uh and format_notify_signoff_uh. We now
  912. store the complete user@host internally instead of separately, meaning we
  913. needed to change the format's as well. Yell at [nutbar] for this internal
  914. change.
  915.  
  916. Fixed another memory leak in the alias parser in calling expand_alias();
  917. Fixed one other memory leak with /stack push set in vars.c
  918. Found one in send_text() and add_to_channel() from the whowas chan buffer.
  919. Another in dcc othername was being m_sprintf() and m_strdup() if BROKEN_MIRC
  920. was defined.
  921. Another memory leak in dcc_really_erase(). Where the hell are all these
  922. coming from.
  923.  
  924. URL grabber changed. We now keep a list in memory. We can use the new
  925. command /url to manipulate this list. 
  926.     /url http|ftp on|off
  927.     /url save|clear|list
  928.  
  929. With help from Rosmo BitchX has been ported to OS/2 vio window. It actually
  930. runs better under OS/2 than under win95/nt.
  931.  
  932. Merged in changes from epic 032. Including one other patch for return
  933. statements.
  934.  
  935. Merged in changes from epic 033 as well as fixing several bugs in epic 033.
  936.  
  937. Added TIMER_HOUR hook which should go off on a hourly basis only.
  938. Added /cdcc stats
  939. Modified getcdcc() to return number of packs available when getcdcc(0) is
  940. used.
  941. Various other fixes made.
  942.  
  943. Attempted fix for SunOS/AIX possibly others problems with /cset and friends.
  944.  
  945. AIX2 doesn't like WANT_DLL so we specifically undefine it in config.h
  946.  
  947. Couple of commands CONTINUE and CONNECT out of order. As well I forget
  948. UNCLEAR_TEXT as a key binding.
  949.  
  950. Added sendcdcc() which accepts a nick and a pack number to send.
  951.  
  952. Added hook cdcc_send_nick which is called whenever someone requests a cdcc
  953. pack. this can be used to keep stats on who's the top downloaders and stuff.
  954. from, userhost, command, pack#, # of files, # of gets, filelist and desc 
  955. are all passed in. If the file is queued command is pre-pended with Q. For a
  956. local send userhost is "unknown".
  957.  
  958. Cdcc now saves the type of send requested to the queue so that queued file
  959. sends will follow the requested type.
  960.  
  961. Stack on was causing a problem in scripts using it.. Possibly fixed as
  962. this alias no longer causes a core.
  963. alias buggy if (![$0]) {echo use /buggy <nick>}{
  964.   fe (311 318) num {^stack push on $num}
  965.   ^on ^311 * {@_n=[$1]}
  966.   ^on ^318 * {fe (311 318) num {^stack pop on $num}}
  967.   ^wi $0
  968. }
  969.  
  970. The /toggle auto_reconnect was broken due to auto_rejoin.
  971. due to complaints the xterm status bar change code is now a toggle.
  972. And /wset status_f will now return all the status formats for that match.
  973.  
  974.  
  975.  
  976. 73p2
  977. Fixed ${format_version} for scripts.
  978. Fixed status bar overwrite on long lines.
  979. Fixed annoying problem with scrollback, using new epic display code.
  980. Added new flood checking using hash'd lists instead of an array.
  981. Other changes made for /set -format for compatibility.
  982. a /cset in the .bitchxrc file would core.
  983. window.c/status.c changed ala epic. My own modifications added for split
  984. menu bar. 
  985. window split and window triple fixed up to work properly in epic's new code.
  986.  
  987.  
  988.  
  989. 73 released on 09/08/97
  990. Still a speeling error in commands.c /ight was in wrong place.
  991. Added a /ctcp ident. User must have a password.
  992. Slight fix in dcc.c involving read(). We should read the MAX_DCC_BLOCK_SIZE,
  993. not just dccBlockSize().
  994.  
  995. Some possible overruns fixed in bot_link.c
  996.  
  997. Added Resume to /dcc help
  998.  
  999. Added two new status variables. %& and %| will display dcc stats and cdcc
  1000. stats.
  1001.  
  1002. dcc exempt +nick  will add a nick to the autoget list. This list has nicks
  1003. that do not trigger dcc/cdcc flood protection and as well even if the dcc
  1004. autoget is off, the files will still be autogotten. Nicks are saved in the
  1005. BitchX.sav file.
  1006.  
  1007. addnoflood nick added. This nick will not trigger flood protection at all.
  1008.  
  1009. Changed /hostname for linux systems.
  1010.  
  1011. Added new /tcl bind type for hooks.
  1012.  
  1013. Fixed a problem with p_part() and send_2comm() which was causing segfaults
  1014. when leaving channels.
  1015.  
  1016. Some fixes from firebug incorporated into bx and passed onto epic.
  1017.  
  1018. A long standing bug in convert_output_format() %l fixed. Damn p++
  1019.  
  1020. Added $isignored(nick) which will check the ignorance list to see if that
  1021. nick is ignored.
  1022.  
  1023. Fixed a bug in the cdcc queue system which could core you.
  1024. in BOT_MODE a nick has to be on the userlist in order to have auto-chat
  1025.  
  1026. The cdcc queue should now be more respectful of the DCC_SEND_LIMIT
  1027.  
  1028. Also people requesting a remote queue list, will not recieve garbage back.
  1029. As well as fixing a potential core dump of the client.
  1030.  
  1031. Fixed some possible flood problems in cdcc. Only one mesg is send for a
  1032. queued file request or a full queue. Changed some msgs in cdcc.
  1033.  
  1034. More /toggle's added by request.
  1035.  
  1036. $checkshit returns more info now
  1037.  
  1038. output_line() make_status(), status_make_printable() modifed heavily.
  1039.  
  1040. do_unkey() didn't like NULL being passed into vsprintf() on SUN's
  1041.  
  1042. Added all ircII variables to tcl output. All except the FORMAT's
  1043.  
  1044. Fixed /toggle oper to actually do the toggle and window create. As well
  1045. toggle will take multiple args and toggle each of those.
  1046.  
  1047. New ctcp uptime will return the current uptime of the client.
  1048.  
  1049. chanst would core if you were not on a channel and didn't specify one on
  1050. the command line.
  1051.  
  1052. Some kinda souls noticed an extra d in the msg we send back when away.
  1053.  
  1054. $channel() or $channel(#chan) will return the channel nicks in a list with
  1055. a . - normal, @ - op, + - voice. if the user is an ircop then * is first.
  1056.  
  1057. Status bar ansi bugs fixed.
  1058.  
  1059. Kill parser for Operview rewritten in an attempt to make it process faster.
  1060.  
  1061. Fixed up a couple of minor glitches with /toggle /chanst /nwhois
  1062.  
  1063. Added bots and clients commands to tcl. tcl 1.3
  1064.  
  1065. Major changes to the output routines from epic. status bars/screen output
  1066. code has all been rewritten.
  1067.  
  1068. Fixed a small /back bug with the number of mesg's recieved while away
  1069.  
  1070. A new command /signore for ircops added. /set SHOW_ variables have now been
  1071. removed as redundant and unnessary. Some changes to the handle_oper_vision()
  1072. function were made.
  1073.  
  1074. Several fixes done on new epic scroll routines. add_to_window(),
  1075. split_up_line() and put_echo().
  1076.  
  1077. A new command which set's MSGLOG_LEVEL implemented. /awaylog will set what
  1078. we want to log in the away log. Started adding moRe logmsg()'s in the code.
  1079. Need to add some help for this command. /set format_msglog is used to define
  1080. what is put into the mesg log.
  1081.  
  1082. Ok, repeating timer added. /timer -rep 10 command will repeat the command
  1083. every 10 seconds until deleted.
  1084. FORMAT_TIMER modified to include Repeat as a Yes/No variable.
  1085.  
  1086. Renamed /signore to /swatch.
  1087.  
  1088. Changed /timer -rep to /timer -rep times   where -1 will repeat forever, and
  1089. >1 number's will repeat times times. a 0 rep will do nothing. /timer -r
  1090. changed to /timer -ref to remove any ambiguity.
  1091.  
  1092. Bonehead mistake in ircaux strmcat/strmopencat fixed.
  1093.  
  1094. Fixed up $statsparse(%>%M)  so it actually pads.
  1095.  
  1096. Getting ready to revamp the help system including /help. A possibility of
  1097. using the BitchX.help file internally.
  1098.  
  1099. Major revamp of /cset using Sheik's cset code. Added /wset to compliment
  1100. this.
  1101.  
  1102. Some memory leaks on the status bar fixed up. This may have been where we
  1103. were losing memory.
  1104.  
  1105. Modified /cset according to sheik to handle * and channel names. This same
  1106. thing can be applied to windows and window names. So /wset * status_Format1
  1107. will modify/display the status_format1 variable for displayed windows or
  1108. just for windows with certain names. 
  1109.  
  1110. Fixed a bunch of complaints mainly todo with /cset /wset. msg counts when
  1111. /away were slightly borked as well. increased the alias cache to 30. 
  1112. To see what this is do /alias /s . 
  1113.  
  1114. Added /wilm /wiln  for last message and last notice recieved whois
  1115.  
  1116. Fixed screen/status bar problem with long lines.
  1117.  
  1118. Changed check_channel_match() to use next_in_comma_list() which should make
  1119. it faster. Possible fix for ajoin of channel with keys. 
  1120.  
  1121. Added /dump timer. Also changed /unload to dump the running timers.
  1122.  
  1123. Modifed /ov so that if the operview window is open we can /ov
  1124. hide/+hide/-hide this window at will
  1125.  
  1126. Recent changes in the way we handle /set ignore_time cause us to ignore
  1127. someone for 0 seconds. which in turn causes us to unigore immediately. So
  1128. check /set ignore_time it should be in seconds. as well check
  1129. pubflood_ignore_time
  1130.  
  1131. Fixed awaylog timestamping for good.
  1132.  
  1133. Added support for ircu's ># <# filter. /list -ircu -min # -max # *irc*
  1134. Support for this could be automated in scripts quite easily.
  1135.  
  1136. Fixed NICK statement usage in .bitchxrc or .ircrc files so a segfault
  1137. doesn't occur. If found all we do is copy this nick into the default
  1138. nickname statement. 
  1139.  
  1140. Added /fset for the format variables. /set format still works (bonus) but a
  1141. /set will not display the format variables. /fset WILL replace /set format
  1142. in the future.
  1143.  
  1144. Added /set CLOCK_FORMAT  which uses strftime() to set the clock format. 
  1145.  
  1146. Re-arranged some source code. modules.c fset.c var.c.
  1147. Re-wrote /Fport to use non-blocking connects.
  1148.  
  1149. Found annoying bug with disappearing messages in rite() update_all_status().
  1150. recursive split_up_line() output_line() is a real no win.
  1151.  
  1152. A problem with excessively long lines found and fixed. Dcc chat messages
  1153. were not being displayed properly on send.
  1154. A couple of bugfixes for NT/95 Bitchx specific versions introduced.
  1155.  
  1156.  
  1157. 72p1 released on 072097
  1158. Fixed a couple of SunOS bugs. /cdcc list and switching servers no longer
  1159. cores.
  1160. Fixed that annoying little problem with the status bar appearing during a
  1161. /exec or a /redirect. This bug appears in all clients that update the status
  1162. bar frequently (ie during dcc transfers and a status update).
  1163. bx-wall now uses format_bwall for output to you as well as incoming.
  1164. identd server built-in for win95/nt. Simple to code.
  1165. identd server removed from windows... Simple, but cygwin too buggy for now.
  1166. Added $winlen(opt_win_refnum)  returns the length of a window.
  1167. Added -R -X and -Y flags to XECHO. basically does a direct screen write,
  1168. without logging. no update of the internal structures takes place. Ideas
  1169. from ShadowImg. -R is a Raw write, no cursor positioning is used.
  1170. STATUS_FORMAT2 changed slightly. Removed Aw from the format. Added
  1171. STATUS_MSGCOUNT to format the away msgcount variable.
  1172. Lotz of other bug fixes which I forgot to keep track of.
  1173. /dme and /qme commands added. /me is to a channel. /dme goes to the first
  1174. dcc chat found /qme is for a /query.
  1175. FORMAT_BWALL used in /wall for output.
  1176. /loadtcl and /tcl -file will now search the LOAD_PATH for tcl scripts to
  1177. load.
  1178. 72 changelog
  1179. Little bug fixes in mail and in speeling mistakes I made. /set aop and /cset
  1180. aop were broke. 
  1181. epic pre 0.38 patches incorporated into the client.
  1182. /lastlog -file filename  support added.
  1183. /lastlog -clear to clear the lastlog buffer.
  1184. maybe fixed up /addidle and /unidle.
  1185. Added some epic pre 0.39 patches.
  1186. Rewrote /rel and friends. I think maybe they might actually even be usable
  1187. now. -kick, -wall, -notice, -msg, -wallop, -topic, -kill, -kboot and -list 
  1188. are the flags for /rel*. Need to test each one as the formats will need to 
  1189. be modified.
  1190. Fixed lagtime indicator. Seems we forget to check if the server was
  1191. connected or not.
  1192. Ctrl-F was not working at all. switch to split server.
  1193. Not that suicides count_ansi wasn't any good, but we have a internal
  1194. count_ansi() function already. $countansi() returns the number of ansi chars
  1195. that are in a string.
  1196. More /ignore types added. /ignore * quits fixed up to actually work. As well
  1197. parts, nicks, pongs and squits are implemented.
  1198. Started to change cdcc.c to allow packs for servers. 
  1199. Small buglet with channel names with % in them. sprintf() was attempting to
  1200. translate that into valid variables and failing miserably. Only a few places
  1201. in the client needed to be changed to support the proper thing todo.
  1202. Small changes to convert_output_format() which allows limited recursion
  1203. levels. Hairy.
  1204. Small tcl changes. New bind check_help_tcl() which you can use to display
  1205. help for tcl / commands. The function name + _help is used to check for a
  1206. bind of that name. and it is then called with no parameters. tcl_versionstr
  1207. added to help alleviate some aggravation on what is the newest tcl.o file
  1208. for a system.
  1209. format_version has changed to include tcl and 1.0 if possible as params.
  1210. Hashed the channel's nicklist. 
  1211. Hashed the whowas list of nicks.
  1212. Fixed /stub which wasn't working at all.
  1213. /tog disp_ansi  now should do the correct thing with the status bars and
  1214. input prompt.
  1215. Several other problems fixed. most notable was the problem with scripts that
  1216. used $cparse() and the built-in exec protection in it. Source should now
  1217. compile either on unix or cygwin systems
  1218. /cdcc describe now works as advertised.
  1219.  
  1220. patch from Nimrod Zimerman to add a /set AUTO_COMP_CHAR variable. Setting
  1221. this variable defines the char to look for when using nick completion. If
  1222. set FORMAT_NICK_COMP is undefined then it is also used for display in the
  1223. channel. What follows is his description of how it works.
  1224.  
  1225. This input:
  1226.    "Lon, What's going on with the Shadows?"
  1227. Will not be changed under usual condition.
  1228.  
  1229. However, after executing:
  1230.    /SET AUTO_COMP_CHAR ,
  1231. (the comma above is part of the command!)
  1232. and:
  1233.    /SET -FORMAT_NICK_COMP
  1234. The same input will be completed to form:
  1235.    "Londo, What's going on with the Shadows?"
  1236.  
  1237. Had we neglected deleting FORMAT_NICK_COMP, however, the completion would
  1238. have been:
  1239.    "Londo: What's going on with the Shadows?"
  1240. (assuming default value in FORMAT_NICK_COMP).
  1241.  
  1242. Worked around problem with channel actions appearing in wrong window.
  1243. Changed hash'd whowas/wholeft and nicklist hashing function to one that
  1244. hash's everything.
  1245. Fixed numeric 317 format_whois_idle to return the last on info returned from
  1246. the command /wii
  1247. /on will no longer bug out when displaying ansi. A simple call to stripansi
  1248. added to show_hooks()
  1249. Fixed up /chanst so statistics are correct...
  1250. fixed up /chanst -ALL again. I had disabled it quite some time ago.
  1251. Cleaned up update_stats() decifer_mode() and p_kick(). They might even be
  1252. faster now on mass deops due to less lookups occurring.
  1253. Fixed idle_timer 
  1254. Added timed unban for most of the flud's.
  1255. /set AUTO_UNBAN is the timeout in seconds for timer'd unbans. setting this
  1256. to zero will make the timer not go off.
  1257. join flooding was broked. did we really need two checks for Join floods? 
  1258. removed one in p_channel()
  1259. Broke non-userlist'd joins when re-arranging p_channel().
  1260. Fixed up last of /rel commands so they should all display properly. /rel?
  1261. -help displays a help message.
  1262. We will now rejoin channels in correct windows on kills. Removed
  1263. clear_channel_list() from /reconnect, which allows us to reconnect to all
  1264. channels. Fixed rejoin to proper hidden windows.
  1265. Added some changes from epic4 pre040. Skipped new scandir(). Added new
  1266. method of auto-joining, reconnecting to channels.
  1267. Added /map by popular request. output looks similar to scrollz. FLiER's code
  1268. was handy as an example.
  1269. Added a little check on no such nickname to remove any pending dcc's.
  1270. Added a userhost on numeric 433 nick in use.
  1271. Added a /unload command to unload 95% of the things a script changes
  1272. Added a call to add_to_join_list() in /window channel to preserve the 
  1273. window refnum.
  1274. Typing /w on a channel now updates the internal nicklist. This fixes up the
  1275. /away's and the ircop counter.
  1276. Changes from epic4 pre041 worked in. Highlights are - 
  1277.     3 new sets. CPU_SAVER_AFTER, CPU_SAVER_EVERY and STATUS_CPU_SAVER 
  1278.     %J for a new status format. displays value of cpu saver.
  1279.     CPU_SAVER key bind to turn this feature on immediately.
  1280.     small bug fix in reg.c
  1281. Client now compiles unmodified on win95/nt with Cygnus tools.
  1282. Added small hack to set_dcc_bits() to prevent lossage of dcc counts.
  1283. Fixed up who_left() and show_whowas().
  1284. Added new /igt and /ight for timed ignore's. We use /set ignore_time for the
  1285. time to ignore this nick or host.
  1286. Added /reld and /reldt for /rel dcc and rel dcc topic. last 10 saved.
  1287. Small fix to expand_alias() which should fix problems observed with /eval
  1288. echo $ 
  1289. Changed FORMAT_VERSION for the last time. $4 $5 are the tcl version strings
  1290. if they are enabled.  
  1291. AUTO_COMP_CHAR renamed to NICK_COMPLETION_CHAR by request of the author of
  1292. the patch.
  1293. Fixed /eval echo \ core'g the client.
  1294. Some patches from Tomas Ogren <stric@ing.umu.se> applied to the client. I
  1295. didn't agree with the way some of them were done, so they were not applied.
  1296. I did however introduce special handling of the chr(255) within
  1297. convert_output_format(). It is now converted directly to a space character.
  1298. It's used as a kind of place holder for the parser. So we know exactly what
  1299. argument is where on certain format's this is required. ie format_users and
  1300. the dcc output parser. This will fix up those non-iso fonts I think, so that
  1301. a space is correctly shown, instead of some funny character.
  1302. Fixed a epic /me bug with /query =nick.
  1303. Fixed a status bar problem with +v in decifer_modes(); BlackJac found this.
  1304. Some changes to the DLL module loading procedure to make it easier foR
  1305. module writers to write a module and insert it. 
  1306. xavvy requested a $longip() function. to convert a numeric ip into a network
  1307. long.
  1308. Fixed up unbanning of people who are banned by someone.
  1309. Experimental ignore exception text. 
  1310. /ignore #channel %ALL text "some other text"
  1311. This adds "text" and "some other text" to the ignore exception. Any lines
  1312. with "text" or "some other text" appearing in them will be output. No others
  1313. lines from that channel will appear. Currently this is restricted to
  1314. privmsgs and notices appearing on a channel.
  1315.  
  1316. [oweff] ive setup http://crackrock.melnibone.org tho i doubt anyone 
  1317.     will remember that addy. =]
  1318. [raistlin] raistlin.toledolink.com is mirror'g bitchx.stuph.org. Thanks
  1319. Blu3Viper foR bitchx.stuph.oRg.
  1320.  
  1321.  
  1322. 71p3  Released May 28/97
  1323. Small amount of changes. All mis-ordered vars are now in order.
  1324. Fixed ignore of nickname on msg floods.
  1325. Added epic4 pre034 changes.
  1326. Fixed /wait -name 
  1327. Fixed message_from() so it works again. This solves a coredumping problem on
  1328. SunOS.
  1329. /set window_quiet on turns off window messages
  1330. /window update updates all windows with the current set of global values
  1331. /window bind  fixed.
  1332. If you kicked from a channel on another window, the kick stays on that
  1333. window.
  1334. Thomas Niederreiter sent me a patch for #define ONLY_STD_CHARS and
  1335. REVERSE_WHITE_BLACK for those who are using normal xterms or want a reverse
  1336. color xterm.
  1337. Fixed alias_server to return correct servername for the current window.
  1338. Fixed /cdcc resend so it actually resends a file not just sends
  1339. Added /ignore exceptions. so /ignore *!*@* ALL except *!*@*.com will ignore
  1340. everything except .com .
  1341. /reinit which will reinitialize all string /set's to the defaults
  1342. New /ignore types added. KICKS JOINS QUITS MODES SMODES
  1343. WINNT defines removed completely from the source. Added new WINNT defines
  1344. and created BitchX97 for 95/NT using cygnus tools. term.c completely rewrote
  1345. for it.
  1346. /set REASONFILE removed. 
  1347. /set APPEND_LOG added. default is on. This effects all logfiles /set log on
  1348. and the away log.
  1349. /chguh to change a nick's userhost added.
  1350. /addshit nick * 5   adds nick to the auto-ignore shitlist option.
  1351. /query -cmd cmdname (target)  will set the cmd to use for the query. Valid
  1352. types are msg, privmsg, notice, csay, cmsg, and any matching commands from a
  1353. dll that's loaded (ie be cautious).
  1354. /on partial_hook_name  returns all matching hook names and displays what's
  1355. on them.
  1356. rewrote get_builtins() so it returns builtin aliases. So now command
  1357. completion will return builtin aliases.
  1358. A /cdcc send nick #1 woUld fail. 
  1359. $statsparse() will return the information from the status variables.
  1360. so $statsparse(%N %C %L) returns  "root #bitchx [Lag 0]" as a string.
  1361. requested by suicide.
  1362. Some small changes with duplicated code in ctcp functions. New ctcp uptime
  1363. added. It is ignored for everyone but those on your userlist.
  1364. /window triple on   will create a triple status bar. Some caution is urged
  1365. with this.
  1366. $winquery(nick <server num>) returns the window that nick has a query on.
  1367. removed a stripansicodes() from outgoing dcc raw/chat. We will see if this
  1368. causes any trouble.
  1369. dcc raw listens were broken with dcc_fast on. dcc_raw_listen uses a port
  1370. number for the write, which caused us to attempt a FD_ISSET() on some
  1371. numbers. This in turn caused a seg fault.
  1372. /USERINFO nick comment added. if comment isn't specified then comment is
  1373. deleted.
  1374. $getinfo(nick) will return userinfo for nick
  1375. $setinfo(nick comment) will set userinfo to comment or remove it. 
  1376. getcomment, setcomment,_getinfo, _setinfo, _statsparse _winquery 
  1377. added to tcl functions.
  1378. FORMAT_FRIEND_JOIN can be modified to return the comment as well. Default is
  1379. to not display comment.
  1380. Modified tcl matchattr  slightly. 
  1381. Some small fixes to some of the internal check_tcl functions, so that the
  1382. handle is passed properly.
  1383. $absstrlen() returns the absolute strlen() of a string after taking out ansi
  1384. sequences. requested by suicide.
  1385. /Usershow to show user comments added.
  1386.  
  1387.  
  1388. 71p1
  1389. Minor bugs fixed. Forget a #ifdef around TRANSLATION_VAR in vars.h. This was
  1390. causing minor problems with /set. FORMAT_MSGCOUNT FORMAT_MSG were in the
  1391. wrong order as well.
  1392.  
  1393. 71 Changelog. Released 042397
  1394.  
  1395. netsplit handling corrected.
  1396. tabkey handler rewritten 3 times over.
  1397. input editing was coredumping.
  1398. readlog will now correctly read the logfile backwards
  1399. fixed? /dc nick adding the nick and the =nick to the tabkey
  1400. Changed output of /nwhois and /chanst
  1401. fixed /away for scripter's.
  1402. Added -ping to /whereis to use ping instead of version
  1403. refnum display for show_timer was screwed up.
  1404. Novalogic noticed that /deop protection worked, but /kick prot didn't.
  1405. Oweff and TimeCop requested /on CDCC_NOTE 
  1406. /ftp changed to internal ftp client. /dcc ftp  added.
  1407. /msg -some.ftp.site used to support ftp.
  1408. ls cd get put  all supported  /dcc ftp some.site username passwd fixed.
  1409. dTM noticed that /window new hide channel #channel bind #channel was
  1410. failing.
  1411. with two windows and several channels bitchx would cause you to rejoin on
  1412. the wrong server if you were kicked. p_kick()
  1413. cleared up the Your not on a channel error message in p_Mode()
  1414. Changes made to hide_window() to correct and error in window size recalc.
  1415. umode is sent on numeric 001 which should correct some problems with the
  1416. server ignoring the umode.
  1417. /say -c -a -e  for cool annoy and eleet type say's
  1418. /ctcp now shows what it was sending by request of BlackJac.
  1419. Added -* flag to XECHO. displays mesg in ALL windows. Requested by TheAsp 
  1420. and Sheik
  1421. $stripmirc() now correctly strips mirc color codes completely
  1422. $getreason(nick filename) will use filename as a random reason file
  1423. replacing $0 with nick.
  1424. /cdcc queue             displays number in queue
  1425. /cdcc queue remove #|nick      removes # (3- 1-7 etc) or nick from queue.
  1426. /cdcc queue list        lists contents of queue
  1427. /cdcc queue list nick        lists contents of queue for nick
  1428. /cdcc list modified        output is differant
  1429. /cdcc send            modified. if filename starts with a number
  1430.                 check pack numbers otherwise send filename.
  1431. refixed logmsg() after some changes were attempted for separate channel
  1432. logging. This doesn't seem possible. use /log instead.
  1433. /window set stat wasn't printing the fullname of the variables (suicide)
  1434. renamed VERBOSE_CTCP to CTCP_VERBOSE
  1435. /stats flag servername  will output in a nicer format now. c h i k l m o u y  
  1436. /trace flags added. -s -u -o   will trace for servers,users,ircops.
  1437. Added a HACK_OPS mode. BITCH mode should be on as well as HACK_OPS.
  1438. check_shit() now checks PROTECT_CHANNELS 
  1439. Added password checking into check_auto(). If user is passwd protected, then
  1440. auto-ops are not given. they have to /ctcp yournick op #channel passwd
  1441. Fixed /chat and /nochat.
  1442. Added time to dcc_glist output for dcc chats/ftp/bot modes.
  1443. Multiple dcc cdcc sends are possible. Comma separated list of nicks instead
  1444. of one nick, will send the file to all the nicks in the list.
  1445. Changed addlist_cmp to use strcasecmp instead of strcmp. wonder how many
  1446. scripts this'll break.
  1447. Bans are not enforced if the shitlist for that channel is off (ie /cset).
  1448. Also the protect_channels var can be used to change the channel that's we
  1449. protect.
  1450. Added Ctrl-O bind. it ig's the the tab msg nicks.
  1451. Changed /set so we can list the dll variables with a partial match.
  1452. Changed tcl slightly for the raw and input binds. returning 1 from a tcl
  1453. function will cancel the ircII handling of the information.
  1454. Modified internal tabkey to hold the type of command we want to use. (csay)
  1455. Modified /cdcc type and /cdcc echo with no args, displays current. Any other
  1456. args will toggle.
  1457. Added /dump channel   for dumping channel stats
  1458. Some changes to tcl.c required. msg, say, notice, desc added as tcl
  1459. commands. They use the internal ircII parsers.
  1460. Internal functions are now available to the tcl parser. To avoid any name
  1461. space polution we renamed the internal BitchX functions with a "_" so
  1462. _addshit from tcl accesses the internal function.
  1463. Coredump in  /back noticed by shadz.
  1464. Fixed /l #channel so it leaves a channel
  1465. Fixed problem in /set when using dll variables...
  1466. Changed the way /rel* sent text to the server.
  1467. Major Changes to alias/assign code. EPIC 4's alias caching changes merged.
  1468. Mail handler modified. /set Mail 0 1 2
  1469. Fixed some variables that have been missing for some time now. Misplaced
  1470. ones. See ircii-EPIC0.028 UPDATES for complete list of changes for this
  1471. version of BitchX
  1472. immortal pointed out that /window new segfaults the client (happens in all
  1473. irc clients). fix was in add_window_to_list() and new_window().
  1474. prepare_command now sets active_server = -1. helps prevent segfault.
  1475. Tweaked cdcc again. modified add_to_queue() to check for duplicate entries
  1476. in the queue. Modified dcc_sendfrom_queue() to not check DCC_SEND_LIMIT.
  1477. check_channel_match() modified so if the first char is ! we won't auto-op on
  1478. that channel, but will on any others that have been specified.
  1479. FORMAT_HELP added. to be used with /help output.
  1480. Fixed /chg commands to work properly. Added /chgpass.
  1481. Fixed check_array_size() and move_array_items()
  1482. Noticed that the default chan vars are not being updated properly.
  1483. Added new dcc type. /dcc tsend /dcc tresend /dcc tget /dcc treget. This is a
  1484. ackless dcc type which responds to filesize for finding the eof. Simple
  1485. testing shows that this is aprox 150kb/s faster than normal dcc's
  1486. segfault in netsplit handling fixed.
  1487. /listdll command added.
  1488. /mb was segv'g on some systems. fixed.
  1489. /<esc><esc> handling fixed. This seems to have solved crackrock's tabkey
  1490. handling as well.
  1491. EPIC pre0.29 changes added... Still to come are the userhost caching and
  1492. new whois queue.
  1493. 71alpha11 released for people to try.
  1494. Prob one of the longest standing bugs in the history of Bitchx was squished.
  1495. cdcc queue sends were crashing once in awhile. bad lamage here.
  1496. /foreach fixed.
  1497. /who *netcom.com* would add users to the users on the current channel, not
  1498. quite what was supposed to happen.
  1499. flood warning only happens if the internal flood handler doesn't do
  1500. anything. /on FLOOD will override the internal flood handler. Flood handling
  1501. was terribly broken for some reason (what was I smoking when I put > instead
  1502. of < )
  1503. 71alpha12 had a short life. rest in peace.
  1504. 71alpha13 fixed segfault cause by WHO on join. partially server fault I
  1505. think. Still a segfault in add_to_channel() I believe. Need more testing.
  1506. Server handling of /who and /whois has been changed in CsR29 servers. 
  1507. oweff pointed out some problems with cdcc hooks. Fixed. Broke 100% of
  1508. scripts that handle cdcc output when I added the "type" of msg we are
  1509. supposed to send according to the internal cdcc. ie NOTICE or PRIVMSG added
  1510. to CDCC_PREPACK CDCC_PACK CDCC_POSTPACK and CDCC_NOTES.
  1511. Afte mucho bitching /set mircs actually does something. It converts mirc to
  1512. ansi when on. But only for non-scripts. So those of you using a script,
  1513. you'll have to bug your script author about using $mircansi()
  1514. bans on usernames of greater than 10 chars could fail. bk pointed this out
  1515. as well as Cyan who explained it better.
  1516. /toggles operview was broken for the last 8 months.
  1517. /addidle should work as advertised.
  1518. /masskick might have been broken.
  1519. /bhelp dcc raw  was doing some strange things because of a $listen() in the
  1520. text. fixed.
  1521. set_dcc_bits() was missing a fast_dcc off setting. This was causing cpu
  1522. usage to skyrocket.
  1523. Kinda lame bug fix but it'll do  for now. For some odd reason we are getting
  1524. a NULL user in the whowas list's. We now check for this.
  1525. ctcp finger now works again. Thanks Jordy
  1526. /sk and /whereis removed due to the changes by removing WHO_ON_JOIN
  1527. should prevent flooding of the client on large channels and a netsplit
  1528. occuring
  1529. long standing bug in mircansi fixed.
  1530. fixed a problem with /set beep_on_msg. forgot to pass all the parameters to
  1531. the function
  1532. wait cmd structure could become corrupted if too many wait's were used.
  1533. Alpha18
  1534. /set kick_if_banned on/off will turn off kicking of users who have been
  1535. banned from the channel. Also nick floods check to see if it's you that's
  1536. doing the nickflooding before kicking.
  1537. FORMAT_DCC and FORMAT_MSGCOUNT added.
  1538. $winchan(number) returns the channel that a window is associated with
  1539. Added a #define to config.h for including translation tables back into the
  1540. client of those that require it.
  1541.  
  1542.  ------------ Change log from epic pre 0.29 client -----------------
  1543.  
  1544. *** News 03/31/97 -- New argument to /WAIT command, ``for''
  1545.     Yes, ``for'' without a hyphen.  This command guarantees that
  1546.     the code given as the argument is executed synchronously.
  1547.     That is to say, if the arguments, when executed, sent something
  1548.     to the server, the command will not return until that request
  1549.     has been completed (as if a wait had been done.)  But if the
  1550.     code does not send a query to the server, no wait is executed,
  1551.     and the command returns immediately after the code completes.
  1552.  
  1553.     Example:
  1554.         /wait for {
  1555.             if (arg) { who -line {echo $*} }
  1556.                  { echo Booya! }
  1557.             echo Foobar!
  1558.         }
  1559.  
  1560.     It is important to note that the implicit wait is done AFTER all
  1561.     of the arguments to /wait for have been executed.  However, any
  1562.     code that is after the server query (in this case, ``echo Foobar!''
  1563.     will be executed AFTER the WHO is launched, but BEFORE the 
  1564.     synchronouzation step.  If you needed it to be executed after
  1565.     the WHO completed, you would noT put it inside the /wait for.
  1566.  
  1567.     Note that you can nest /wait for's and /wait's and they will
  1568.     sort themselves out sanely:
  1569.  
  1570.         /wait for {
  1571.             if (arg) { who -line {echo $*};wait }
  1572.         }
  1573.  
  1574.     (This is a silly example, but bear with me.)  In this case, there
  1575.     is an explicit WAIT done after the WHO request.  Since a WAIT has
  1576.     already been completed, the /WAIT FOR will not wait again a second
  1577.     time.  That is to say, it will recognize that the WHO has already
  1578.     been waited on and will not delay further.
  1579.  
  1580.     As a side note, using /redirect within a /wait for loop, or 
  1581.     doing a /wait while you are using /redirect is *bad*, and you
  1582.     are strongly discouraged from doing so.  It is undefined behavior.
  1583.  
  1584.  
  1585. *** News 03/19/97 -- About the new who/ison (and soon userhost) queues.
  1586.     The client now keeps a FIFO (queue) of who/ison/userhost queries
  1587.     you make.  It is *critically* important that you do not confuse
  1588.     these queues (due to the nature of these server queries, there is
  1589.     no way to have any reasonable error recovery). 
  1590.  
  1591.     The following behaviors are forbidden (but the client wont stop
  1592.     you from doing them)
  1593.  
  1594.     * Using /ON ^RAW_IRC to wedge the 303, 351, or 315 numerics.
  1595.       If you do this, the queues wont be properly flushed, anyone
  1596.       waiting on a proper reply wont be handled, and any further
  1597.       reqeusts will be thought to be previous queries, and all hell
  1598.       will break loose.
  1599.     * Using /QUOTE to launch USERHOST, ISON, or WHO requests..
  1600.       If you do this, the client will whine at you when it gets
  1601.       unexpected replies and will eat the information.  If you launch
  1602.       another query before the invalid one finishes, all hell will
  1603.       break loose.
  1604.  
  1605.     *** THERE IS NO WAY TO RECOVER IF YOU DO THESE THINGS ***
  1606.     If youre stupid enough to do it, you get what you deserve.
  1607.  
  1608. *** News 03/18/97 -- Expanded syntax for $userhost()
  1609.     For your convenience, the $userhost() function now takes arguments:
  1610.     You may specify one or more nicknames as arguments to the $userhost()
  1611.     function, and the corresponding userhost(s) for the nick(s) specified
  1612.     will be returned.  The string <UNKNOWN>@<UNKNOWN> will be inserted
  1613.     for any nicknames whose userhost is not known.  The nickname(s)
  1614.     speified *must* be people who are on channels you are also on for
  1615.     the current server!  (See the second caveat)
  1616.  
  1617.     * Caveat -- Because it can take time for the WHO query to complete
  1618.     after you join a channel, there is no definite way to know if
  1619.     $userhost() for a person on your channel will succeed or not.
  1620.     You should probably be prepared to launch a /USERHOST query in
  1621.     case of failure.  This deficiency may be altered or modified in
  1622.     the future to block if an otherwise valid request is made while
  1623.     a WHO query is still pending.
  1624.  
  1625.     * Caveat -- This function will never be modified to launch a server 
  1626.     query.  That means that this function will only ever recognize those 
  1627.     nicknames that are common to channels you are on.  If you want to find 
  1628.     the userhost for other users, you should use the /userhost command.
  1629.     It is expected that the /userhost command will soon be able to
  1630.     take advantage of the userhost caching (but it does not yet.)
  1631.  
  1632. *** News 03/18/97 -- Expanded syntax for /who
  1633.     For your convenience, the /who command now takes two new arguments:
  1634.  
  1635.     -line {...}    The code inside the braces will be executed for each
  1636.             line returned by the who query.  The arguments are
  1637.             exactly the same as for the /on who hook, except that
  1638.             this flag is *gUaranteed* to override the default
  1639.             /on who, and will also *go away* when the current who 
  1640.             query is finished.
  1641.  
  1642.     -end {...}    The code inside the braces will be executed at the
  1643.             end of the who query, when the 315 numeric is parsed.
  1644.             The arguments are:
  1645.                 $0 - server queried
  1646.                 $1 - body of the query
  1647.             This is guaranteed to toverride the default /on 315,
  1648.             and will also go away once the current who query is
  1649.             completed.
  1650.  
  1651.     These command bodies will be executed asynchronously, which means
  1652.     that you must assume that the enclosing code scope will complete
  1653.     before the code is ever executed (e.g., the same rules as for the
  1654.     /userhost -cmd flag.) unless you use /wait.  You are encouraged
  1655.     to not use /wait if you can figure a way around it.  Code that is
  1656.     not concerned with being stricly backwards compatable with the
  1657.     stock client is ***strongly encouraged*** to use these new flags.
  1658.  
  1659.     Underlying this change is a new re-entrant WHO queue, which allows
  1660.     you to launch more than one WHO query simultaneously.  No longer do
  1661.     concurrent WHO requests have to wait for previous queries to complete,
  1662.     and no longer (with the above flags) does the caller need to put the
  1663.     WHO command in a /stack-/on-/wait wrapper.
  1664.  
  1665. *** News 03/17/97 -- /on 312, /on 319 changes
  1666.     All of the whois numerics: 311, 312, 313, 314, 317, 318, 319
  1667.     now pass $0 as the server name and $1 as the target of the 
  1668.     whois query.  All the rest of the arguments are passed as $2-.
  1669.     Previously, some of these numerics passed the target as $1,
  1670.     but not all of them.  I changed it this way for consistancy.
  1671.  
  1672. *** News 03/17/97 -- New: /ON STATUS_UPDATE and $status()
  1673.     /ON STATUS_UPDATE is hooked whenever any of the status lines
  1674.     for any of the visible windows changes **and you are in dumb mode**:
  1675.        $0  is the refnum for the window whose status line has changed
  1676.        $1  is the status line in that window that has changed
  1677.        $2- is the actual status line for that window.
  1678.  
  1679.     $status() can be used to fetch the current status line for any
  1680.     visible window.  Invisible windows do not have their status lines
  1681.     updated, so they may be inaccurate.  This problem may change in
  1682.     the future.  Pass two arguments:
  1683.        $0  is the refnum for a window
  1684.        $1  is the status line
  1685.  
  1686. *** News 03/02/97 -- Local variables can now span entire array tree
  1687.     The syntax:
  1688.         ``local x.y.''
  1689.     will define all variables in the subarray $x[y][...] to be
  1690.     implicitly considered local variables.  That is to say, the
  1691.     entire variable tree rooted at $x[y] is local to that scope.
  1692.     This was requested by a user for compatability with another
  1693.     client.  All local variables that are instantiated in this
  1694.     manner have the same scope as the explicit declaration above.
  1695.  
  1696. *** News 02/18/97 -- New built in variable, /SET CONNECT_TIMEOUT <seconds>
  1697.     Set this to the number of seconds you want your connect()ions to    
  1698.     block before they time out.  Note that this doesnt affect
  1699.     connect()ions that are already in progress, only those that are
  1700.     started after you set it.  The default is 30.
  1701.  
  1702. *** News 01/30/97 -- Expanded syntax for /LOCAL, /STUB
  1703.     You may now specify more than one name per command:  Each name
  1704.     will be treated independantly of all others.  The names must be
  1705.     seperated by a comma, and ***must not*** have any spaces between
  1706.     the commas and the names (that is, all of the names must form one
  1707.     logical word).  To declare both "foo" and "bar" as local vars,
  1708.             /local foo,bar
  1709.  
  1710.     You can do this to stub more than one alias/assign to the same
  1711.     file, as well:
  1712.             /stub foo,bar filename
  1713.  
  1714. *** News 01/29/97 -- New command /BLESS
  1715.     Currently this commanD ignores its arguments.  This will not be
  1716.     the case in the future (eg, arguments will be added)
  1717.  
  1718.     When given no arguments, the /bless command causes the current
  1719.     stack frame to not be atomic.  You are therefore free to reference
  1720.     local variables of the enclosing atomic stack frame.  Extreme
  1721.     care must be taken that there is indeed an enclosing stack frame 
  1722.     from which to reference local variables:  Otherwise havoc may ensue.
  1723.     Usually you can ensure this by doing a /wait after a local server 
  1724.     query.  When an enclosing stack frame "returns" (ie, an alias ends),
  1725.     any /on that is processed later due to a server request made by that
  1726.     stack frame must not use this command.
  1727.  
  1728.     Dont forget to clean up your messes when youre done with them. =)
  1729.     See the 'guh' script for a demonstration of how i used it.
  1730.  
  1731. *** News 01/27/97 -- New flag for /EXEC, -direct
  1732.     Syntax:
  1733.         /EXEC -direct <commands>
  1734.  
  1735.     This simulates the effect that unsetting the SHELL variable
  1736.     causes, that is, the command is executed directly, without
  1737.     invoking a subshell.  This is appropriate for those who wish
  1738.     to execute a command passing untrusted data as an argument:
  1739.     With this flag, there would be no shell to interpret metacharacters,
  1740.     thus cutting down on that ability to have an accidental back door.
  1741.  
  1742. *** News 01/27/97 -- New command, /SETENV
  1743.     Syntax:
  1744.         /SETENV <var-name> <new-val>
  1745.  
  1746.     Sets the process environment variable <var-name> to the value of
  1747.     <new-val>.  This command is noT neccesarily useful, nor is it 
  1748.     always appropriate, but it is provided for completeness.  There
  1749.     are several places in the code that can benefit from the ability
  1750.     to change environment variables after startup (eg, TZ).  It also
  1751.     allows you to set environment variables for /exec'd processes,
  1752.     and it is also possible to really foul things up if you mangle
  1753.     important environment variables such as DISPLAY and so on.
  1754.  
  1755. *** News 01/24/97 -- New, /ON ODD_SERVER_STUFF
  1756.     This is hooked whenever the server sends you something
  1757.     that the client cannot recognize.  This is usually when
  1758.     you try to connect to a non ircd server, or you use some
  1759.     extension that isnT yet supported.
  1760.     
  1761.     $0  is the server that sent it to you, '*' if unknown
  1762.     $1- is the unrecognized command and its arguments.
  1763.  
  1764. *** News 01/22/97 -- /FE, /FOREACH use local variables now
  1765.     The "control variables" for the /FE and /FOREACH command
  1766.     now are local variables.  They will not disturb global variables,
  1767.     but they will destroy any local variables you have by the same
  1768.     name.  You dont have to explicitly declare the variables as local,
  1769.     it is done automatically for you.  Note that the normal warnings 
  1770.     for local variables still apply -- dont use any variable name that
  1771.     is the same as a global variable you might want to use later in
  1772.     the same alias/on. 
  1773.  
  1774. *** News 01/18/97 -- Support for local variables
  1775.     You may define a local variable with the following command:
  1776.  
  1777.         LOCAL <varname> [<value>]
  1778.  
  1779.     It mirrors the ASSIGN command.  Note that local variables act
  1780.     in exactly the same way as normal variables, except you cannot
  1781.     get rid of them.  You also do not (yet) have any way to get at
  1782.     a global variable that has the same name as a local variable, so
  1783.     choose wisely.  An example:
  1784.  
  1785.         alias foobar
  1786.         {
  1787.             local b            (declare LOCAL var $b as []) 
  1788.             assign a 4        (assigns 4 to GLOBAL $a)
  1789.             local a 5        (assigns 5 to LOCAL $a)
  1790.             eval echo $a        (outputs '5' -- local)
  1791.             @ a = []        (clears LOCAL variable)
  1792.             eval echo $a        (outputs '' -- local)
  1793.         }
  1794.  
  1795.     Restrictions:
  1796.     * You cannot have local aliases -- only local variables
  1797.     * You cannot save local variables.
  1798.     * You cannot (yet) access a global variable with the same name
  1799.       as a local variable.
  1800.  
  1801.     This support is EXPERIMENTAL and still has a lot of development
  1802.     to go before it is mature.  Do not depend on any specific detail
  1803.     of the implementation to remain constant.  The interface should 
  1804.     remain unchanged, but it may also be expanded.  If you have a
  1805.     specific request about this implementation, feel free to ask.
  1806.  
  1807.  
  1808.  
  1809.  
  1810. 02-10-96 BitchX 70 released. We've come along way baby.
  1811.  
  1812. Seems some bugs cropped up right away... /window set and status.c window
  1813. pointer was being changed on status_notify which caused me some trouble with
  1814. seemingly random segfaults. $mircansi() had a bug with ^C1,243324324 and
  1815. ^C234723875 large numbers. Weird problem with /ftp /telnet possibly fixed...
  1816. for some reason calloc() isn't returning a 0'd memory location. Fix for
  1817. -parsekey type_text blah instituted. This affected both epic and BitchX,
  1818. Ctoolz, Scrollz and ALL other ircii clients including 2.9roof. /cdcc offer
  1819. was displaying the wrong pack number for a note. fixed. small bug that can't
  1820. happen very often found in built-in alias's. curr_scr_win->server has a
  1821. possible -1 value. screw() was screwed on certain length host names.
  1822. Various other small fixes here and there. ChanWallop does 8 nicks at a time
  1823. now. This gets around the lame server protection that some servers have
  1824. implemented. Notice small buglet in /addbanword where * was not recognized
  1825. as a valid channel. /kb and /ban will now check the whowas list for a 
  1826. matching nick and ban it if all else fails. Hacked around in decifer_mode().
  1827. Added some new botnet commands. /ctoggle and .xlink. with /ctoggle on,
  1828. someone can send a .xlink command where command is any valid ircii command.
  1829. so please to be careful with this. If you set a BOT_PASSWD then anyone
  1830. knowing this password can auto-chat as well as bot-link with you. xlink
  1831. commands default to off. and I will modify this highly to only recognize
  1832. certain commands. DLL loading for linux implemented. What this does is allow
  1833. someone to write a function/command in c and give it to people. They can
  1834. then dynamic load the function/command which then becomes a regular client
  1835. command. No source for the module need be distributed. This same method is
  1836. used in libtcl and I assume perl as well. All internal client functions are
  1837. available to the module IF we add -rdynamic to the client link stage.
  1838. Otherwise they are not available. Although untested, tcl functions should
  1839. also be available in TCL compiled clients. I modified the client to look for
  1840. dll commands and then commands, alias's etc. I also re-implemented the
  1841. Tcl_Eval portion of the command loop. It's one of the last things checked.
  1842. /loaddll function implemented for dynamic loading of functions, ctcp's and
  1843. commands. These lists are checked before all others so that authors can
  1844. replace internal's of the same name. /bk and /ban will now check the whowas
  1845. list for matching nicks and ban it when the nick is not on the channel or
  1846. has signed off. erase_display() had a off by one error. /reset was lame. and
  1847. screwed up the display. all fixed. $banonchannel(chan ban) added by request.
  1848. Checks to see if ban is on the internal banlist for the channel. Well
  1849. someone nicked goat found the alt char set ansi set would switch the console
  1850. into this mode. It looked like a flash, but wasn't. Required some rethinking
  1851. in FixColorAnsi(). NovaX found a bug with not checking the channel match for
  1852. bans on perm bans. Also found a bug with multiple windows and channels where
  1853. the away mesg was being displayed twice. FORMAT_SEND_AWAY added by request
  1854. from shade. /tignore added. it works like /tban. After some prodding I
  1855. modified the cdcc sends/resends to work with multiple numbers. "*" is also
  1856. recognized for send all. After removing the /me from /away found that the
  1857. away message doesn't display to the screen. /back doesn't prompt to delete
  1858. the away file if /set msglog is off. $winrefs() returns all window refnums.
  1859. shade and all his color changes on the status bar found a nasty little
  1860. problem with static buffers. so we increased the buffer sizes by a factor of
  1861. 2. Fixed /do say $repeat(5000 blah) to only return upto 2048 chars. Fixed a
  1862. few windowing bugs shade pointed out. Apatrix pointed out a couple of
  1863. deficiencies in /set bitch on. Maybe we cleaned it up. BarK0de pointed out a
  1864. little inconsistancy with /addword and /banword(s). $gethost(nick) returns
  1865. the hostname for the nick as stored internally. nick has to be on one of our
  1866. current servers channels and the first match is returned. local variable
  1867. support added from epic. BEEP_WHEN_AWAY fixed so it doesnt beep you when
  1868. your away for Flick^. some changes required in p_privmsg().
  1869. menus, history file support, translation and digraphs have all been removed
  1870. from the client for various reasons. Some buffer sizes have been reduced to
  1871. decrease memory footprint. This should make some admins happier. Cleaned up
  1872. vars.c by removing some old variables no longer used. removed nkill and
  1873. nhost commands as they require a hacked server to support them. Removed
  1874. WANT_ANSI from all source files. This cleaned up the source considerably.
  1875. /mode channel b wasn't displaying the modes for a channel. /set ov on/off
  1876. wasn't working properly. /window split on/off changed. /set double_status is
  1877. no longer required. fixed whoreply() to show up in the correct window.
  1878. Added new function variable %` for the uptime of the client.
  1879. destroy_call_stack was failing for whatever reason. Some more places where I
  1880. wasn't clearing the FD_SET() for writes found. /set nick_completion_type 0 1
  1881. 2  are valid. 0 nick is first word. 1 nick is somewhere in the string. 2 we
  1882. do match'g on the string. /set auto_response modified to allow more than one
  1883. word to trigger nick completion. wildcards are allowed. /finger now doesn't
  1884. block on connect. This one accomplished by adding a socket callback list.
  1885. Other functions could accomplish the same thing. maybe a rewrite of the link
  1886. looker is in order. /scani for scanning a channel for ircops added. Needed
  1887. some error checking for window->server in $MYCHANNELS(). added -max patch
  1888. for lastlog command from sheik. added support for colorization of /help (any
  1889. takers?    . Found bug this introduced in malloc_strcpy(). Added dll_variable
  1890. support now as well. Jeremy has done some major changes to EPIC3 and made
  1891. EPIC4. We've tried to follow along. term.c needed to be left the same but
  1892. support for some decrepatated systems has been removed ie ESIX. Changes to
  1893. configure have been made and make configuring tcl alot easier. Changes to
  1894. do_flood(). /ig /igh modified to accept a type as well as multiple nicks.
  1895. Nick completion changed, partial matching of a nickname is possible.
  1896. /ig /igh /unig /unigh will use whowas buffer if the nick can't be found.
  1897. /tignore was not woRking quite right. Someone pointed out that /dcc bot
  1898. worked without a passwd.  /sc bug fixed. Nick completion modified in
  1899. behaviour. Pattern matching of the nick will take place. ^R bound to
  1900. nick_completion() which takes the word behind the cursor and attempts to
  1901. match it with a nick on the current channel. So typing the following
  1902. will/should do the following.
  1903.     /msg pana<tab>     if nick is in tabarray then fill it in
  1904.     /msg pana<tab>       if nick is not in tabarray, check current channel
  1905.     pana^]           if nick in autoreply buffer fill it in.
  1906.     pana^]           if nick not in autoreply buffer but on current
  1907.                channel, fill it in.
  1908.     this is to pana^R  if nick is on current channel fill in the nick.
  1909.     ^R           cycle through current channel nicks
  1910.     <tab>           cycle through tabarray.
  1911.     ^]           cycle through current channel nicks
  1912.  
  1913. For some reason noT found yet (ie bug or feature) once one of these
  1914. functions is accessed in some cases we need to press the key again to bring
  1915. up the next nick. Depending on how annoying I find this, will determine how
  1916. long this takes to get fixed. /cdcc offer updated to take multiple file
  1917. specs on the line. ie  /cdcc offer *.c *.h Makefile  will create a package
  1918. with all those files in it. /SetAR -|d|pat's commanD added. Added $getvar()
  1919. function which will get an alias and return it. Protection was broked. Some
  1920. people are having trouble with the new term.c. Might possibly be termcap
  1921. related. topic bug found by shadz on newnet. buffer overflow problem.
  1922.  
  1923.  
  1924. BitchX 69 released. 12/28/96
  1925. Fixed dcc.c update_transfer_buffer() for the second time. noT sure what
  1926. happened in the first time I patched this file. Fixed cdcc load to get the
  1927. right number of files. A problem with /m . fixed. /relw and /relsw fixed.
  1928. Changed format of FORMAT_BWALL slightly. Added CtoolZ CWallop to notice.c.
  1929. Fixed bug in free_display() and erase_display(). Added triple status bar, as
  1930. well as /window split on/off. window split is far from perfect though.
  1931. Changes to switch_channels() which make the channels that a window owns
  1932. bound to that window. Pressing Ctrl-X to switch will not switch to a channel
  1933. that was not joined from the window. Active dcc check on exit changed. Now
  1934. we only check active dcc gets and regets. send_to_server() modified so that
  1935. network errors will make the client cycle on a server. Fixed /reli. Fixed
  1936. pgup and pgdn to display proper number of lines in window. Added %- as a
  1937. status bar symbol for displaying current topic. hook channel_switch added
  1938. for script writers to tell when a channel switch has been made. Added /rels
  1939. for server messages. We keep the last 10 msgs. Changes from epic 3.002 and
  1940. 3.003 merged. extended status_user functions added thanks to sheik. %!11
  1941. through %!19 are available now. %= displays voice on the status bar. /set
  1942. beep_always on/off. /input_char and /pause x added. WARNING major
  1943. incompatibility but new functionality. most of the /set status's are now
  1944. moved into /window set. Fixed /input and /input_char so more than one char
  1945. can be set in /input. Added /oRignick which will try and take back a nick
  1946. every 20/30 seconds. format_ctcp $3 and $4 are reversed just to make more
  1947. sense. /addlamenick and /unlamenick implemented. $stripmirc() will strip the
  1948. lame mIRC ^C from the input string. ex. 
  1949. /set format_public %b<%n$1%b>%n $stripmirc($3-)
  1950. Found and fixed a bug in /remlog. which was causing some grief. All
  1951. format_ctcp's are now changed to use $4- and $3 instead of $3 and $4-. much
  1952. easier on the client. Added /lamenicklist to show nick list.
  1953. New tcl bind type. Now we have a type for input. This is called just before
  1954. the command is sent to the irc interpreter. Input is then passed onto the
  1955. ircii interpreter. Removed NAMES_ON_JOIN in favor of SHOW_CHANNEL_NAMES.
  1956. Corrected the workings of this command. tcl command userhost added. Accepts
  1957. any number of nicknames. When the servEr responds, it sets userhost and
  1958. un-userhost wIth the appropriate responses. Added tcl getchanmode #channel.
  1959. Added new tcl bind input (Thanks robocod). It is checked just before the
  1960. line of input is sent to the interpreter. MAjor dessync problem found and
  1961. fixed. /quote JOIN #channel where you are already on #channel and channel
  1962. mode is +i would cause the client to remove the channel. The server actually
  1963. thought you were on the channel. Small buglet in new parse server notices
  1964. code, tended to core the client for some reason. Forgot to sync the userlist
  1965. with the channel nicklist when we did a chglevel/chgaop/chgprot/chgchan
  1966. operation. /set show_numerics on/off now works, but not in the same way that
  1967. it used to. The last current numeric is displayed. /set -show_numerics_str
  1968. now doesn't crash the client. /bki for boot kick ignore added. /fk added as
  1969. a command alias'd to /masskick ie filter kick. DCC sends have been speeded
  1970. up by a order of magnitude of 3-6 times. status updating on dcc sends and
  1971. recieves has been slowed down to occur on every 10th packet or so. Testing
  1972. was done using ircii ircii-hyper Scrollz eggdrop and a modified ComBot with
  1973. dcc file capabilies. A 19meg file was transferred repeatly over the course
  1974. of several days. It was done using localhost connect for highest possible
  1975. transfer speeds. ncftp was 3.8Mb/s. Scrollz was between 450kb/s-1017kb/s. 
  1976. ircii-hyper was around 650kb/s-1073kb/s (also had trouble with the eof 
  1977. even between two clients irc-hyper). BitchX to eggdrop 460kb/s. 
  1978. BitchX to combot was 806kb/s-1073Kb/s. BitchX 68e was a dismal
  1979. 275kb/s-490KB/s. BitchX to ircii-epic 3.003 was 450-700Kb/s. Ctoolz with 
  1980. DCC_BLOCK_SIZE of 2048 was 1100Kb/s and with 4096 was 1475Kb/s.
  1981. ircii 2.8.2 with DCC_BLOCK_SIZE of 4096 hit 1050Kb/s and with 2048 got
  1982. 1200Kb/s. And finally BitchX 68f to BitchX 68f was variable (*grin*) 
  1983. between 890kb/s and 2150kb/s. Reasons for variance was /set DCC_BLOCKSIZE 
  1984. was changed from 2048 to 4096 between runs and dcc status indicator was
  1985. turned off as well. (100mhz pent 64m ram. 6 shells open. basic Redhat running 
  1986. with irc server and 2-4 irc clients ide drives). Cpu Usage is down as well. 
  1987. The file used is an actual tar.gz file with data in it. All of dcc.c was 
  1988. colorized. 
  1989.  
  1990.        ╒═══════════════════════[dcc transfer stats]══════════════════════╕
  1991.        │                                                                 │
  1992.        │╓─[xferd in]─╓-[xferd out]─╖─[total files]─╓─[active]─╖─[limit]─╖│
  1993.        │║      241Mb ║       627Mb ║            52 ║        0 ║       6 ║│
  1994.        │╙────────────╜─────────────╙───────────────╜──────────╙─────────╜│
  1995.        │                                                                 │
  1996.        ╓────[in stats]───╓───[out stats]───╖──────────[toggles]──────────╖
  1997.        ║ max: 1755.8kb/s ║ max: 1755.8kb/s ║   autoget:  On   paths: Off ║
  1998.        ║ min: 236.44kb/s ║ min:  36.00kb/s ║ overwrite: Off   quiet: Off ║
  1999.        ╙─────────────────╜─────────────────╙─────────────────────────────╜
  2000.  
  2001. /set lastlog_ansi on/off for display of ansi in your lastlog file.
  2002. /set dcc_fast on/off to change fast dcc sends on the fly.
  2003. more binds for /window swap.. added 8 9 and 10. Added access to a internal
  2004. function called stripansicodes() which will strip all color from a string.
  2005. Chatted with some newnet oper-admins about there server software. Merged in
  2006. SOCKS support. Made configure understand some options about tcl,
  2007. non-blocking, socks, and default-server. Use configure --help to find them.
  2008. Url grabber. /set http_grab on/off. this will grab any http: string and
  2009. place in the file $CTOOLZ_DIR/BitchX.http. string can be a public or a msg.
  2010. As well /lastlog will also match grab any previously said url's. Small bug
  2011. with input prompt and NULL being inserted into the string (fyi all clients
  2012. suffer the same problem). ie "null char some text"  and press enter. /dc now
  2013. accepts a list of nicks to chat with. We also use the userhost queue to find
  2014. the nicks on irc before starting a chat with them. Added more register usage
  2015. to possibly speed up the client. modified p_mode to update the structures
  2016. first and then print out stats. This will increase the speed as well.
  2017. convert_output_format() takes some cpu to perform it's color parse. Small
  2018. bug fixed in addlamenick. check_mode_list_join() was getting a null and
  2019. crashing on a recycle in some cases. /window swap now set's the channel to
  2020. the bound channel or the current window channel. perm bans were broked.
  2021. /fkline was modified to use a differant method of scanning k-lines. Need new
  2022. match() routine that will handle wildcards on either side. Thanks ananda for
  2023. the mirc->ansi converter which I modified tobe a function. $mircansi() takes
  2024. a string of text and converts the mirc color codes to ansi. Added /ostat for
  2025. mperators and cleaned up operator messages considerably. Alot of format's
  2026. for operator messages added and defaults for efnet are given.
  2027.  
  2028. Changes for 68e
  2029. Added command matching. ie /m<tabkey> returns all commands starting with m
  2030. etc. Linking of clients now made easier with /clink command. Several other
  2031. commands like /cwho /cwhom /csay have been added. Things said over dcc chat
  2032. are progated across the link. Some changes in window handling which look
  2033. like they solve the windowing problems BitchX was having. Added 2 new user
  2034. auto-op levels for giving voice to someone. 3 is delay voice and 4 is
  2035. instant voice. other minor fixes. Removed my command matching in favor of
  2036. the internal command_completion routine. more changes to tabkey routine. 
  2037. /m roo  will return the nick that matches roo, /m root will cycle between
  2038. nicks. small change to tcl ircii command, so information is returned
  2039. cleaner. ie we can now do  /tcl set ircii-set [ircii set] so all
  2040. available ircii set's will be in the tcl variable ircii-set. Ansi stripping
  2041. is not done. This does have limitations however. Fixed passing 0 to tcl's
  2042. random(). Changed the party line. We now need to enter .chat to enter the
  2043. party line. Various other commands are available from the partyline.
  2044. including .help . /Wall from other BitchX users will now not display as a
  2045. wall. /set format_bwall can be used to modify the output. /dcx and /dcg
  2046. added. dcx kills chat request from nick. dcg kills all gets/regets of files
  2047. from nick. /lwk remove the current window. Note you cannot remove the very
  2048. last window. added .echo on/off or toggle to /msg =nick on the chat line.
  2049. Added /cdcc echo toggle cdcc output to yourself on/off. /cdcc type toggles
  2050. between notify and privmsg. Fixed dcc chat .boot to it informs the
  2051. partyline of the boot as well as the user that got booted. Wangel
  2052. contributed /rel to list msgs you have recieved. few other minor nitpicks
  2053. fixed here and there :) Mathe noticed that /remlog doesn't reset the away
  2054. msg count. Thanks to CyberD0g kicking me in the head, the status update
  2055. doesn't occur nearly as often as it was. This increases the speed of dcc
  2056. considerably on localhost transfers... ie I went from 89KB/s to 213KB/s over
  2057. 127.0.0.1. ctcp nick op #channel changed so that userlevel's > 49 can op
  2058. themselves, userlevels > 29 < 50 will voice themselves. Idea from mathe.
  2059. When away and send_away_msg is on, we will send back our away msg to the
  2060. person msg'g us. The format of this will more than likely change
  2061. considerably. The dcc status bar % is differant now. it will display upto 10
  2062. file dcc percentages. Might solve alot of problems people have been having
  2063. with dcc's and status bar updates.
  2064.  
  2065.  
  2066. Changes for 68
  2067. Changed some fundemental functions around a little after a chat with Sheik.
  2068. Added a new function for setting up channel params. This reduces code size,
  2069. because for just about any function() that oPerates on a channel we need
  2070. to do this. Added a new FORMAT_TOPIC_UNSET and a /untopic command. Changed
  2071. the /topic command around. We now no longer need to have a channel
  2072. specified. We use the default channel if none is specified. Changes to the
  2073. userlist started. Fixed major lossage from a /ctcp message. Emergency
  2074. release. Incompatible change with scripts on FORMAT_TOPIC_SETBY. use stime
  2075. instead of tdiff(). /relm and /reln now save the last 10 msg/notice's which
  2076. can be changed with a compile time #define MAX_LAST_MSG. FORMAT_RELM
  2077. FORMAT_RELN are used to format the output of these. So /rel[m-n] >[channel]
  2078. [number]> <-l>. /cset aop for channel specific auto-op. the meaning of the
  2079. /set aop has now changed because of this. Added ^W? key bind. fixed /4op and
  2080. /topic. Creation of a simple minded Bitch mode. /cset bitch  mode will
  2081. reverse certain modes placed by someone not on your botlist or your
  2082. userlist. Fixed core dump with /links command. Added portnum capability to
  2083. /dcc chat and /dcc bot(tcl) /dcc send and resend. Added a ascii from
  2084. acidjazz. Thanks. fixed /away sending ansi out to the server. was causing
  2085. havoc with non-ansi clients :). Replaced some occurance of nickinuser() with
  2086. a routine from Sheik. Modified slightly to fit in with BitchX's userlist
  2087. scheme. Mikh suggested a change for doing fast modes.
  2088. Implemented and tested. Fixed check_prot() so it actually proTects users on
  2089. the userlist. /userlist will now take several optional arguements. A channel
  2090. and/or a userhost mask will display only user's matching a certain type.
  2091. /botlist is also setup the same way. /notify will display the userhost of
  2092. those on your notify list if present. idle kick won't kick voice'd users or
  2093. mps if KICK_OPS is off. on channel join we check both the userlist and the
  2094. botlist and display using FORMAT_FRIEND_JOIN. (68c-T4).  Fixed mode #channel
  2095. so it displays the mode of a channel without having opz on the channel.
  2096. Modified /back so if /set -format_back is done it won't prompt for reading
  2097. the away file. Also won't give you your away time. Possible fix for not
  2098. displaying ansi with DISPLAY_ANSI off. Possible input prompt fix for ansi
  2099. input. Some fixes/suggestions from FLiER concerning status update, and
  2100. .bitchrc (w)SAVEA. nick and join floods now work as advertised. nick floods
  2101. should be quicker to catch as well. /randomnick now takes upto two optional
  2102. parameters, count and prefix to use. /window new channel #linux and window
  2103. swapping were not updating the input prompt at all. Channel joins were not
  2104. always announced. Still a bug with the nick->userlist in p_channel() not
  2105. being updated on the first announce of a join. $cparse() added for script
  2106. color parsing. mathe suggested $getreason(nick). It uses the color parser
  2107. so $0 and $1 are defined as nick and mynick. output is ansi-stripped. 
  2108. Replace BitchX.reasons quickly. level 5 userlist protection should work as
  2109. well. /jnw #channel  added. Ansi is allowed in dcc chat's if and only if
  2110. /set dcc_ansi is set on. Input prompt is now properly cleared. Sergs_ fixed
  2111. a little problem with check_auto(). Also fixed up a few other things in the
  2112. check_auto() check_prot() areas ie sent code. Added code to read BitchX.quit
  2113. which is a file of quit messages. It's passed through color parser so it has
  2114. $0 defined as well as any other $functions and variables. Lotsa other small
  2115. fixes added as well. Merged new epic changes in. This added $chmod()
  2116. $twiddle() and $uniq(). Also added /call to display the script call stack.
  2117. Added /set cdcc_prompt. Fixed /relm and /reln formats, as well as fixed the
  2118. send of /relm to a nick. Changed the output of whois to display the channels
  2119. if the nick is on any of the internal lists. /j added in as an alias for
  2120. /join again. Fixed /readlog. Modified  userlist once again. What happens is
  2121. this. If a nick is in the Botlist we ignore the userlist. A botlist entry is
  2122. an exact nick!user@host entry. If not in the botlist then we check the
  2123. userlist using *!user@host. We also check the shitlist entries even if they
  2124. are found in either of the two lists. Ctcp op/invite/Unban work the same way
  2125. now as well. Fixed a problem in /ctcp op and /ctcp invite noticed by
  2126. immortal. Added a new FixColorAnsi() from Flier which saves some work and
  2127. makes the screen output snappier. stripansicodes() was actually rather slow
  2128. because we stripped ansi everywhere. stripansicodes() is still used but in a
  2129. much more limited fashion. Setup home page www.sasknet.com/~pionh. Added
  2130. some debugging functions. /call will display a call stack for an alias. hmmm
  2131. maybe we should implement the saving of /relsw /relw /relt /relst *grin*. 
  2132. Added a new shitlist level 5 which perm ignores the *!*user@host of someone.
  2133. $uhost(nick) will return the userhost of someone on your channels. Multiple
  2134. returns can be expected. /set REVERSE_STATUS_LINE renamed to STATUS_REVERSE.
  2135. This allows us to be more compatible with scrollz as well as making much
  2136. more sense. I've also defaulted this to off. As on reverses the meaning of
  2137. the ansi from /set format_status*'s. Fixed $isuser() to not segfault on
  2138. shit'd users. 
  2139.  
  2140.  
  2141. Changes for 67 Released 090896
  2142.  
  2143. /away now converts the output format so we can do nicer things with it.
  2144. idle time on /wi was screwed up somewhat. ctcp.c has been revamped. Thanks
  2145. to FLiER of Scrollz fame for sending me a patch for a color input prompt.
  2146. Changes were minimal to incorparate this into BitchX/epic. %! displays
  2147. channel counts for ops/nonops/voice/ircops for the current channel. Fixed a
  2148. problem with the input prompt not updating properly on channel change when a
  2149. $T is in the input_prompt. Changes in status.c. Added color status bar
  2150. capabilities. Also added color backgrounds. %0 - %7 are background colors.
  2151. %8 is reverse and %9 is bold. Fixed some problems with new send_text() and
  2152. dcc support. Found a couple of memory leaks in dcc. But I don't think I
  2153. found the main one. Fixed /ftp and friends seg fault problems. Passwords can
  2154. now be used on the userlist and the botlist. This affects /ctcp's but not
  2155. auto-op stuff. Fixed a major memory leak that's been around from version
  2156. 64. A few new format's added for some numeric responses. Fixed ^L seen on
  2157. the status line. Changed parse_args() to read the file IDENT_HACK for the
  2158. username.
  2159.  
  2160. Changes for 65-66 released sunday Aug 25
  2161. Fixed to compile on SunOS and other systems. Solaris has a broken va_args()
  2162. function. This sucks. %c is taken as a int instead and de-promoted to a
  2163. char. forgot a set_non_blocking call in dcc.c. Some window commands were a
  2164. little screwy. ie /window new hide channel #warez the ^Wl command didn't
  2165. display properly. /whois while switched to this window would goto the
  2166. previous window and the current window. so we made whois display to the
  2167. current window. netsplit detection while we are on a channel works. netjoin
  2168. detection seems to work. Netsplit hacking remains to be checked. We should
  2169. no longer de-op people who had ops on the channel when the server re-joins,
  2170. within a certain length of time. After that time is up, then we will (or
  2171. should de-op that person). We are using a modified whowas routine to store
  2172. split nicks and check that against the person joining the channel.
  2173. Dakota pointed out that ctcp_reply wasn't being done properly. As well
  2174. Ctrl-K for invite's was a little problem. Ctr-T and Ctrl-E have the same
  2175. problem but until a solution hits me in the head :) will remain the way they
  2176. are. Color can now be used within the BitchX.help file. Topics can't be
  2177. colored yet, and we still need a couple of indentation spaces before we can
  2178. start the material for a topic. We now don't kick ourselves on floods and
  2179. stuff. FORMAT_ACTION* and FORMAT_NOTICE* and FORMAT_MSG and FORMAT_PUBLIC*
  2180. had a parameter removed. IT was a lame one, that I'd added to remain
  2181. compatible, but caused more problems that it solved. FORMAT_MODE now should
  2182. properly handle the case of a server mode. /list will now prompt you yes/no
  2183. before doing a /list * . FORMAT_VERSION is setup along with a /sv command.
  2184. Requested by IceBreak. /whokill /tracekill and /traceserv are re-added by
  2185. request of myc. get_reason() is used for getting random kick reasons from
  2186. BitchX.reasons. We now can use $ variables in here. $0 is the nick and $1 is
  2187. our nick. /encrypt will not segfault when we send/recieve a encrypted msg.
  2188. Enabled the FORMAT_ENCRYPTED_NOTICE/MSG vars as well. Due to popular request
  2189. FORMAT_NICK_AUTO, FORMAT_NICK_COMP and FORMAT_NICK_MSG were added. Because
  2190. of this we also added NICK_COMPLETION_TYPE. 0 nick has tobe the first word
  2191. on the line. 1 the nick can be anywhere on the line. Added /nochat and /chat
  2192. commands ala Icebreak. /p and /ping now do the right thing and ping a
  2193. channel if no arguement's given. /ver will version a channel or a person. 
  2194. /back is now separated from /away. /away will still do the same things as
  2195. previous. ie /away will still set you back /away message will set you away,
  2196. but /back will only put you back. We also give the option of reading and
  2197. deleting the log that might be created. /more will display a file of your
  2198. choice. New send_text() routine makes life easier. But is has one
  2199. consequence. I had to modify FORMAT_SEND_MSG and FORMAT_SEND_NOTICE to take
  2200. one other variable. The sender's nick is $2. It was either modify these two
  2201. or another two.... Damn it. fixed small bug in dcc_message_transmit().
  2202. Changed FORMAT_SEND_PUBLIC and FORMAT_SEND_PUBLIC_OTHER damn it.
  2203. $channicks(channel) returns a comma separated list of nicks on a channel.
  2204. Useful for those mass messaging types. /on nslookup just for BlackJac.
  2205. format_topic_change_header for BarK0de. Pent suggested format_names_banner, 
  2206. format_name_voicecolor and format_whowas_header. /msay will say something on
  2207. all your channels at once. Cdcc channels will now accept a * for All
  2208. channels and it takes all current channels and adds them to the list. Fixed
  2209. exec -o to actually tell us what it's doing again. Fixed a ignore returning
  2210. too soon on notice's. Fixed a problem with dcc stats giving wrong numbers.
  2211. Drastic suggested a /fproT on/off command. This is a simple toggle which
  2212. either turns on or off full flood protection. /offers command and a /c
  2213. command added. /c is for channel/user mode changes. /offers is for xdcc
  2214. list'g a channel, useful in something like #sexpics.
  2215.  
  2216. 081396 -------Changes for BitchX 64--------------- (Major Upgrade)
  2217. Lotza changes in tooo many places to even begin to list. Most have todo with
  2218. the ansification of the client. Most msg's output from the client can now be
  2219. completely user defined using /set FORMAT type variables. Thanks hellshock
  2220. for the wonderful idea. renamed /dirlm /dirln to /reln and /relm added /relsm
  2221. and /relsn commands. Fixed term reset todo the proper thing. clear the
  2222. screen and then reset. Some changes to dcc were made. dcc sends should now
  2223. be alot faster. Added new keybindings. Added Toggles for Cloak and
  2224. OperView. Added %K for status bar display of operkills/nick collisions.
  2225. Added MdVoice and Devoice commands. Same parameters as  deop and mdop. I was
  2226. asked to remove the cluster() from /addbot for security reasons. Bot's are
  2227. now matched on exact userhost's + any special server chars "+~-".
  2228. /scano /scanv /scann /scan will scan a channel for various types of users on
  2229. a channel. /toggle will display a a screen of toggles which a user can then
  2230. /toggle <command> to turn on/off. %K will display operkills on status var.
  2231. uses STATUS_OPER_KILL for the format. Ctrl-E Ctrl-K Ctrl-F Ctrl-X Insert and
  2232. Delete, F1-F5 and Esc-1 to Esc7 all have internal bindings. They can of
  2233. course be changed to whatever you like. /rel* functions made alot more
  2234. stable (ie they don't dump core.) Modified alias_special_char,
  2235. TruncateAndQuote and strformat() functions. We can now do $[30.]0 and
  2236. $[-30.]0 to pad a string with a certain character. fixed a small bug with
  2237. /window double on. When sending a msg/notice we now add that nick to the
  2238. internal tabkey list. Added ^W bindings for grow window, shrink window,
  2239. window kill, window hide, window balance, window list, window move, window
  2240. next and window prev. Added more FORMAT_* vars'. FORMAT_AWAY and FORMAT_BACK
  2241. FORMAT_NICKNAME_OTHER and quite a few others. Added some changes from new
  2242. EPIC beta. Fixed Away and back and others. Changed meaning of /set
  2243. SEND_AWAY_MSG to if on we send a msg to our channels. If off we don't.
  2244. Forgot to reset /Set AUTO_RESPONSE to our new nick on nick changes.
  2245. FORMAT_TOPIC_SETBY should now be working. put_it() will not output a blank
  2246. line. This allows me to get rid of the ERROR MESSAGE and allows the user to
  2247. set any FORMAT variable to NULL. /eval echo %Pthis is purple%w white%K and
  2248. bright black  now works. Ban times should now be stored correctly within the
  2249. client. /on clone_read now works. /set NICK_COMPLETION on/off turns nick
  2250. completion on or off. Undefined FAST_DCC_SENDS within the config.h file. If
  2251. you are on a ppp/slip site and require fast dcc sends and are prepared to
  2252. use some CPU (ie aprox 30%) then define this option. Otherwise leave this
  2253. alone, as your ISP will more than likely ban you :). Also you can now define
  2254. a DEFAULT_USERMODE. Because of the way things work within BitchX you need to
  2255. either define this to change your initial connect or /reconnect in order to
  2256. set your initial usermode. you can also export IRCUMODE=+iw to change your
  2257. usermode for the initial connect. /rel* and friends now will take a nick or
  2258. channel arguement. /set AUTO_AWAY on/off and /set AUTO_AWAY_TIME added. We
  2259. now will auto-setaway after auto-away_time. only 0 or 10+ minutes allowed.
  2260. Anything less than 10 is made to be 10. you can also specify this in
  2261. seconds. /env autoaway will set the default autoaway message. Numbers of
  2262. minutes the timer is set to is automatically added. hmmm until moRe can be
  2263. figured out with /echo we won't be using convert_color_format() in echo's.
  2264. It allows someone to $eval(rm -rf /*) your system. NOT good.
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271. --------------- BitchX client -----------------
  2272. 01/09/96
  2273.  
  2274. Fixed small buglet in the size of a alias allowed.. was crashing irc when
  2275. the alias hit a certain size. just increased size of buffers by double for
  2276. now.. look further for the rest of the solution later
  2277.  
  2278. 01/10/96
  2279. Added couple of new commands. readlog() and remlog() to deal with msglog's.
  2280. started adding /adduser  for storing info like a combot would.
  2281. fixed couple of bugs in /dcc dealing with ~ in filenames.
  2282. started looking for a way to deal with dcc_num field. also for dealing with
  2283. dcc_limits. have some ideas, but not implemented yet. Fixed a couple of 
  2284. memory leaks in names.c dealing with new fields added to NickList structure
  2285. and list_shit structures in pluto.c
  2286.  
  2287. 01/14/96
  2288. Started adding /cdcc and CDCC commands and on ctcp. Added AutoCtcpkick var
  2289. for kicking on /ctcp * send N :) Removed some duplicate code.
  2290.  
  2291. 01/16/96
  2292. Added /msg nick xdcc command sets. works with xdcc bdcc and cdcc.
  2293. fixed a strcmp in ctcp.c do_ctcp  so it actually does a my_stricmp.
  2294. When sending large numbers of files all at once on local system, a bus
  2295. error will occur.. Need to find this. Also new 2.9b6 server fucks up and
  2296. don't send a proper response to a nick collision. numeric codes 433 and 437
  2297. I combined into one number to make it work. Added 251-255 responses from
  2298. server /lusers works again :)
  2299.  
  2300. 01/21/96
  2301. fixed a couple of small bugs in cdcc handling of private and public msg's.
  2302. Due to a baby being born, no changes to the queue handling code has been
  2303. done. So do NOT /set dcc_send_limit. you have been warned.
  2304.  
  2305. 01/22/96
  2306. added auto join channel on invite toggle   /set auto_join on/off default on
  2307.  
  2308. 01/24/96
  2309. nothing new.. couple of bug fixes. crashed irc client on ig/nig combo.
  2310. also /friends /shit etc were fuxed up
  2311. fixed auto_join to only join channels when the user doing the invite is
  2312. on the bot list and authorized for that channel.
  2313.  
  2314. 01/25/96
  2315. well we fuxed with the user_list shit_list stuff.. maybe now they'll be
  2316. working properly. /userlist will display user's on the user list. need to 
  2317. expand that info at some point in time. /add_user should check the current
  2318. channel for the nick being added and reinit the info if found. not done yet
  2319. though. Some other functions may well be broken now though :) anything using
  2320. cluster will need some reworking as we now store the userhost together
  2321. instead of separately like before. Fixed some fuckup that either plutonium
  2322. or comstud created.. you never ever ever ever malloc some memory and then
  2323. started ++ the pointer to it. This really fux's up the memory manager :)
  2324. This fix by itself fixed most SIGSEV trouble we were having. user/host fixes
  2325. maybe put back in if it proves that this would be more advantegous. Release
  2326. this version to Lifendel and BuddhaX possibly Jondalar to get a couple
  2327. possible operating versions. Couple of small fixes to the bot list. Save bot
  2328. list done on /savelist. Auto join channel on invite is setup to only join
  2329. on invite from recognized bots on the bot_list and the authorized channel 
  2330. for that bot. Should solve most problems with joining 50 channels like
  2331. #spank_the_monkey_all_night_long type of deals :)
  2332.  
  2333. 01/26/96
  2334. well modified a shitload of source to get more compatible with EPIC. Comstud
  2335. is a idiot. May as well of started from scratch than use any of his source
  2336. in this client. Plutonium ain't much better though for using it. Anyways,
  2337. because of the wholesale changes in the client, some bugs may be present..
  2338. /notify nick  is working sorta... it don't notify you unless you ask whether
  2339. someone is online. gotta fix that. status functions changed to use static
  2340. variables instead of malloc'g em everytime you update. This increases the 
  2341. speed of the update considerably. added a %D for dcc stats on current
  2342. transfer. added a function ltoa and a dcc_active function. Replaced whole
  2343. file output.c with EPIC version as I accidently deleted mine :)
  2344.  
  2345. 01/28/96
  2346. ripped out the /aop /shit /friend /beepmsg .. code wasn't working on solaris
  2347. so fuck it. I'll rewrite so it's better, faster cleaner. we have da
  2348. technology :). /adduser does the /aop stuff anyways. and other than the
  2349. /shit the others were of limited value.
  2350.  
  2351. 01/29/96
  2352. ripped out da old irc_io and key binding routines. replaced em with the
  2353. ones from EPIC beta6. it looks alot cleaner and seems faster. Fixed a small
  2354. buglet with the double_status line and creating windows.. when the window
  2355. was marked hidden we had a problem with deleting the window. Fixed the
  2356. vars.h and keys.h to use enums like epic.. this gets rid of a problem I had
  2357. when I added a variable and forgot to type make in the include dir. Added
  2358. bonus is the client is now smaller. Almost 20k smaller now. Fixed little
  2359. buglet with static declared variables.. I though they were always set to
  2360. zero on declaration. obviously not. Status line was hit with this little
  2361. buglet. 
  2362.  
  2363. 01/30/96
  2364. oh why oh why did I not start with EPIC.. :) ahh well. I've replaced the
  2365. brain dead routine for opening a file now.. This version searches the path
  2366. for the file you want to load. It checks for .gz and .Z extensions and
  2367. uncompresses the file if needed. It slices it dices it... it... much better
  2368. than before with 10 copies of the same routine in the code.
  2369.  
  2370. 02/05/96
  2371. So many changes and I haven't documented them :)  EPIC7 and BitchX are
  2372. sharing there alias's file and a bunch of other stuff. Fixed quite a few
  2373. bugs I introduced as a result of this. which means there are bugs lurking.
  2374. ie. /alias save and then PageUp through the screen will core..  Probably
  2375. something to do with the size of that particular cz.irc alias. Changed
  2376. UserList a little and what it does. Delayed Auto-op is now working.
  2377. Userlevel for autoop has to be >= 50 in order for it to work. /adduser -nick
  2378. will now delete the user from the list. /bot -nick will delete the nick from
  2379. the internal bot list.  Rewrote a couple Comstud crap routines for masskicks
  2380. and stuff. they woUld be too slow on a large channel. Now they should be
  2381. alot quicker. I need to re-rewrite them to share alot of the code that is
  2382. common between masskicks/mass-deops/massbans etc... they almost do the exact
  2383. same thing, only differance is the semantics of the operation. Now have an
  2384. idea of how to do /dcc queue sends, so I guess that'll be next on the list
  2385. of things to-do. Also removed dead-code all over the client. Fixed a couple
  2386. of small EPIC7 bugs in the process as well. Hope they appreciate the effort.
  2387.  
  2388. 02/05/96
  2389. fixed bug with alias save from cz.irc.. Seems the line was being split a few
  2390. too many times for the liking of ircii.. Increased the number of times a
  2391. line can be split and problem is solved until the next time.. 80 * 80 should
  2392. be enough for now. Scrollback and ansi don't mix well at this point in time
  2393. although ansi can be turned off.. it does however not make for a pretty
  2394. sight.
  2395.  
  2396. 020796
  2397. due to popular request I've started re-implementing shitlist's.
  2398. Modified the way auto-op delay is done... using a callback timer function
  2399. now.. Maybe this will be easier?
  2400.  
  2401. 020896
  2402. Modified get_reason to accept a nick which is then used to help form
  2403. automated reasons like in kicks and stuff. This file is called reasons and
  2404. should be installed in the ~/.BitchX directory.  A %s placed in the string
  2405. will be replaced with the nickname. fixed reasons on the shitlist, was fuxed
  2406. up.  started looking for a good place to place the check_auto routine which
  2407. does Aop and shitlist's. Made the client to a automatic who on join to aid
  2408. in setting the userlist access. This needs to be done cleaner. Fixed /dirln
  2409. to display the last notice instead of the last msg.. stupid me.. EPIC don't
  2410. expand_twiddle filenames at all... so therefore we do. especially when we do
  2411. a rename on a file using ~/
  2412.  
  2413. 020996
  2414. automatic WHO <channel> is not a brite idea on large channels.. So we needed
  2415. to add some special logix to whoreply and numeric 315 to fix it. We still to
  2416. a WHO on join  but we turn off the display an pick up the nicks anyway. This
  2417. allows the userlist to get synced with the channel on join. Otherwise we'd
  2418. need to type /w in order to sync it when we join. Six of one, half dozen of
  2419. the other.  Fixed up link looking we think. Should be compatible with 
  2420. Ctoolz now and is done alot cleaner than what I had previously. LLOOK will 
  2421. display all servers in the list. /set llook on/off turns this feature 
  2422. on/off. LINKS (standard command) might have differant effects depending 
  2423. on the setting of the variable llook. little problem with the channel mode 
  2424. indicator fixed. we were not blanking it properly on channel switch.. 
  2425. This caused the mode indicator to seem to lock on the previous channel. 
  2426. Small change made to names.c:remove_channel concerning removing the current 
  2427. channel from the list. Limited nethack protection built in.. Defaults to
  2428. off. /set HACKING 0/1/2/3 will turn this on. users noT on the userlist or the
  2429. internal botlist will be de-op'd. Users on the shitlist are whatever you 
  2430. set it too :). So this should all work fine. Yeah right... One result of
  2431. this change is that we needed to change the args to check-auto in names.c to
  2432. pass the current channel according to get_channel_by_refnum
  2433.  
  2434. 021096
  2435. Fixed problem with being klined from a server and core dumping. Numeric 465
  2436. was the problem and the lousy code contained therein.  Also changed the way
  2437. we handle adding users to the userlist. If the nick to adduser is given as 
  2438. with ! and @ in it we do not annouce to the user what has happened. This
  2439. fixes a little problem when reloading the userlist on startup, we don't
  2440. really want to announce it every time we reload.
  2441.  
  2442. 021196
  2443. another buglet fixed when connecting to a server you don't have
  2444. authoRization for. We now successfully try a couple of times and then prompt
  2445. user to give us another servEr name, just like it's supposed to. Remember to
  2446. check your BitchX.sav file if something is not working properly. I've been
  2447. bitten by this several times now. Small bug concerning on exec -name
  2448. processes coredumping. Thanks Driz for sending me that TiME.irc script.
  2449.  
  2450. 021496
  2451. finally fixed server changes and modes once and for all. Channels rejoins 
  2452. will be attempted on server change. Channel modes on server change are
  2453. found. So no more lost modes and channels crashes.
  2454.  
  2455. 021596
  2456. Lifendel noticed a strange problem with the msglog. This might be fixed..
  2457. Looks like a old EPIC/ircii bug as well though.. limit checking should have
  2458. been implemented in both... passing the address of a char to a function
  2459. that's expecting a char * is not good... Mailed to ircii mailing list.
  2460. Lameness in /cdcc send is now fixed up.. This should now work instead of
  2461. core dumping.. Just needed to do some error checking. /cdcc notice now shows
  2462. you what it sent to the channel instead of just sending without showing the
  2463. user.. Added /ls and /ps commands. Could add others if needed. Fixed /j to
  2464. not require a leading # on channel. This doesn't fix the problem with
  2465. scripts but helps when not using a script. 
  2466.  
  2467. 021696
  2468. Added a call to delay-check_auto in numbers.c numeric 315 which allows us to
  2469. do auto-ops and autokicks on channel join. The actual work is done on a
  2470. timer of 3 seconds which fixes the problem where you join a channel but
  2471. don't have ops yet but try to do a bunch of kicks and bans. I just scan the
  2472. list of users and shit's to find and if they are on either then add a timer
  2473. call to check_auto. Seems to woRk well in limited testing.
  2474.  
  2475. 022496
  2476. Added a function called $flash() which returns a nasty flash sequence. /eval
  2477. +send $flash() will flash a channel :) .. Due to popular request /set cloak
  2478. on now cloaks /ctcp userinfo, finger, time and some others from users.
  2479.  
  2480. 022596 
  2481. protected users are now working so be careful in the use of this feature.
  2482. Re-ops/Deops/Kicks/KickBans are all implemented. Had another look at /Ub and
  2483. bans these might be working properly again.
  2484.  
  2485. 022696
  2486. ctcp invite has been implemented. user has to have >24 level and you have to
  2487. have op's and be on the that channel. delay opz now does moe checking than
  2488. before. it won't do anything unless the user is on the channel and not-opped.
  2489. Fixed Makefile.in and possibly configure. We'll see what solaris thinks
  2490. about the changes to term.c. A new function called $repeat() has been added
  2491. from EPIC8 soUrce. repeat(2 test file)  produces "test file test file" as
  2492. it's output. Might be handy for greeting someone :)
  2493.  
  2494. 022796
  2495. Fixed Flooding.. It was never finding a user in the userlist. Added /ctcp
  2496. whoami command. Fixed /unuser command to actually delete the proper user.
  2497. Fixed terminal support. I had upgraded the configure script and some defines
  2498. in the defs.h.in was forgotten. Caused some strangeness of sorts 
  2499.  
  2500. 022796
  2501. I removed the fake files list. This allowed phoenix with fluff to work.
  2502. Modified parse_command to allow //^ type commands. Added AJOIN command. 
  2503. Added a bunch of Ctoolz scripts I found to the package. cz-pent, lithium
  2504. chaos and druid scripts are now included. Added a new status line function.
  2505. It returns the number of times you have been msg'd while away. %^ on the
  2506. status line returns the count. Fixed a coRe dump on msg flood problem.
  2507. Made a new /set called MSGCOUNT to store the count of recieved msg's while
  2508. away. This was done for any scripts that might want to use it. kludge'd
  2509. around ^M's on display screen by checking if the eol is ^M nul it, in
  2510. add_to_screen. Added bitchsay to start replacing the use of say. Added a new
  2511. function called $isnum() returns 1 if the input is a number else 0. accepts
  2512. numbers, - and # as a number. Fluff modz compat function.
  2513.  
  2514. 022896
  2515. Flashes and ansi shit should be much more stable now. Only valid ansi
  2516. sequence we accept starts with esc. All other sequences are done like normal
  2517. irc ie bold em and make em printable. Had to make a special case in screen.c
  2518. just to handle this case. Epic suffers from this as well. ^N ^X and some
  2519. other chars are deadly to a vt100 screen. We still suffer if someone sets
  2520. for example a topic with a ansi bomb in it. Fixed Channel sync for those
  2521. scripts that like to hook who reply's just moved a check I use in parse.c
  2522. whoreply so the hook never happens..
  2523.  
  2524. 030196
  2525. Working on whois queue's and ison notification. Added hard Userhost
  2526. Signon's. /set HARD_UH_NOTIFY on/off  to enable or disable this. A new hook
  2527. for it as added as well. Command line parser from Epic was added. Have to
  2528. remove the server_list notification routines that are from epic.. too
  2529. fucking slow on startup. 23 servers and 20 NOTIFY's and look at the lag
  2530. indicator :) Although i did improve the speed somewhat by using just the
  2531. connected to servers it's still not enough. 
  2532.  
  2533. 030296
  2534. You can now specifY a string for BOLD/UNDERLINE/REVERSE of /ignore and
  2535. kther commands. Why?? you ask, well we can now use ansi escape's for those
  2536. strings. This saves us from having to use a script /on numeric which speeds
  2537. up the client. /dcc now shows the chat connections and then a graphical list
  2538. of /dcc file connections if there are any.
  2539.  
  2540. 030496
  2541. Added some statistics for a channel. New command is CHSTATS [channel].
  2542. This displays things that have been seen on a channel from join. Fixed up
  2543. sync_user_list. And created a new function check_sync. We now do a mode
  2544. #channel b, a mode #channel and a who  #channel on join. I think NOTIFY
  2545. needs to be put on a timer though, so when we first logon notify is put on a
  2546. 10 second timer. each time after though the results are immediate. New
  2547. commands AddIdle/UnIdle/ShowIdle have been added. AddIdle <#channel>
  2548. [seconds] to start idle checking on a channel. Every two minutes we check
  2549. the channel for new idlers. Unidle <#channel> removes idlechecking and 
  2550. showidle [#channel] show idle users on a channel. Structures for nicks and
  2551. channels have changes thanks to some advice I received from Sheik. Fixed a
  2552. small bug in .25 when I changed a structure. Changed new command chstats to
  2553. accept -all as a parameter. Idle kicks need to be modified a little to slow
  2554. em down :)
  2555.  
  2556. 030696
  2557. Added new functionality :)  changed parameters to $open to also accept a
  2558. mode so we now have $open(filename R B) for reading binary and
  2559. $open(filename W B) for writing binary. without the B writing is done in
  2560. append mode with the B files can be overwritten. This change was made for
  2561. compatibility with Ctoolz. Also added was a function called $bcopy() it takes
  2562. two parameters both file descriptors which must be opened using $oPen. What
  2563. does this all mean?? Well we can now play a .snd on events such as receiving
  2564. a message and quitting the program. The following alias shows how.. This was
  2565. ripped from Cubic Zirconium.
  2566. Alias playf {
  2567. if ([$Voice]==[ON]) {
  2568. @ rf = open(~/.CZSounds/$0 R B)
  2569. @ wf = open(/dev/audio W B)
  2570. @ bcopy($rf $wf)
  2571. @ close($rf)
  2572. @ close($wf)
  2573. }}
  2574. One word of warning though. The copying blocks, ie until the copy is
  2575. finished we can do nothing. So make your event sounds short oR else you'll
  2576. be waiting for awhile until the copy is done. Added two new
  2577. functions  $epic() returns 1, $bitchx() returns 1 and a $winsize()  which
  2578. returns the size of the specified window or the current window if nothing
  2579. passed in. 
  2580.  
  2581. 030796
  2582. Added more on hooks server_notice_local_kill server_notice_foreign_kill
  2583. server_notice_fakes server_notice_fakes_mychannel
  2584. server_notice_server_kill.. if you want to know what these are about take
  2585. a look at notice.c parse_notice() function. 
  2586.  
  2587. 030996
  2588. Fixed a bug in notify add_to_userhost_queue . This may have caused seg's on
  2589. SunOS 5 and definitely caused a small slowdown in joining a channel when we
  2590. first started the client actually about 40 secs of slowdown. I might have
  2591. broken hard_uh_notify though. Added command /Addbot to replace /bot .. It
  2592. makes more sense with /adduser and /unuser and /Addbot and /UnBot. Channel
  2593. will default to * if left out. This may also fix AIX compiles.
  2594.  
  2595. 031096
  2596. Added Bhelp command. Ctoolz.help must be renamed to BitchX.help and placed
  2597. in your .BitchX directory in order to work. Complaining does help and it was
  2598. actually a fairly simple command to add, we are using builtin array building
  2599. commands. In my small tests of this function it seems to work almost exactly
  2600. as Ctoolz chelp does. Started adding /dcc resend and reget functions. I may
  2601. have broken dcc in this case though. Sure hope not, dcc.c is a mess. Added
  2602. new script from Zircon. It includes a new help file with functions from sCZ.
  2603.  
  2604. 031196
  2605. Added new Ctoolz functions $addtabkey() and $gettabkey() support. These 
  2606. functions take single parameters. addtabkey takes a nickname and adds it to
  2607. the head of a list. gettabkey takes a number either 1 or -1 which is then
  2608. used to search either forwards or backwards through the list. The most
  2609. recent nickname on the list is returned first, and then added to the end of
  2610. the list. Really fixed HARD_UH_NOTIFY. I was only using it on the first
  2611. server. If you went to another server normal ison functions were used and
  2612. the userhost was not. //^ functions should now work and SWITCH command from 
  2613. EPIC was added to the client. 
  2614.  
  2615. 031296
  2616. Sheik made a good suggestion to add a dcc stats command so I did :)
  2617. /dcc stats gives statistics on dcc's this client has done such as Min and
  2618. Max rates for both incoming and outgoing files. Bytes in and Bytes out as
  2619. well as a total file count received and sent.  Added /usage command which
  2620. gives CPU statistics. Fixed /uptime and /chanst to look a little better as
  2621. well as give some memory statistics. EPIC script directory is included. This
  2622. is version .29 already. Enabled NON_BLOCKING CONNECTS. Had to make a couple
  2623. of fixes here and there, but it looks like it's working. Re-visited idle
  2624. kicks and we now mode +b then kick the user. one minute later we remove the
  2625. ban. Added more to /chanst command. Fixed linux kernel for getrusage() :)
  2626. and sent the patch to Linus. Maybe it'll make it into kernel 1.3.73. Fixed
  2627. /dcc stats command to correctly display bytes sent/recieved. Fixed $1- bug
  2628. that has plagued EPIC/Ctoolz/SCROLLZ/BitchX clients. Sometimes though a line
  2629. of output seems to be lost with fluff mods xdcc commands. Don't ever take a
  2630. negative index on a "" string. You can get odd results. NON-BLOCKING is
  2631. working for /dcc but logins seem to have a problem. Hard to fix though as
  2632. gdb gets sig-pipes all the time. Added /RELOAD command which reloads your
  2633. BitchX.sav file. Had another look at check_auto and friends. It worked, so
  2634. wonders never cease. We now use a wildcard in the nick so we match on the
  2635. *!*user@*.sasknet.ca if this causes trouble we may have to take alook at it
  2636. again. A variable was added called IDLE_CHECK, it's the time in seconds
  2637. between idle checks. MAX_IDLEKICKS sets the maximum number of idle kicksperformed at one time. MSGCOUNT is something I added awhile back. A user
  2638. should never have to set this. As it the number of recieved msgs while 
  2639. away. 
  2640.  
  2641. 031396
  2642. Changed some things around. Created a structure to hold channel stats in.
  2643. When we join a channel and its not in the list it's added to the list. When
  2644. we leave the channel it is not deleted. if we then rejoin a channel on this
  2645. list the stats from before are copied over. Complicated, yes. But it solves
  2646. a problem with the BitchX.sav list and the information stored there.
  2647. Eventually a lot more info may get stored in it. Such as the banlist. The
  2648. current channel's bans are already stored in the server_list channel list
  2649. structure for each channel. I want to rewrite the /unban /ban routines to
  2650. use this information.
  2651.  
  2652. 031496
  2653. busy working on non-blocking /dcc resend and reget's.. they should be
  2654. working now that I fixed the error of my ways. /dcc glist is now looking
  2655. alot better. 
  2656.  
  2657. 031696
  2658. Changed /ctcp user invite channel  to be a little more aggresive in it's
  2659. check for validation. So if the user is found on the userlist, and the
  2660. userlevel is greater than 24 and that user is allowed on that channel, then
  2661. we allow the invite, announcing to you that we are inviting someone.
  2662. Otherwise access is denied. Finally got a chance to try /dcc resend and 
  2663. reget in operation. It works so far. It's compatible with Ctoolz and prob 
  2664. Scrollz as well.
  2665.  
  2666. 031796 BitchX .32
  2667. Added new command /cset. To start with some sets are put into
  2668. a default channel list set. This default is copied to the new channel as you
  2669. join it. These channel sets then become specific for the channel. The
  2670. default channel options can be changed by modifying include/config.h. They
  2671. can be changed while running using /set. Userlist and shitlist are fixed up.
  2672. Seems that we were being a little redundant. Also make sure that we use
  2673. wild_match on both sides of a string. a New command /reload to reload you
  2674. BitchX.sav file into the client. The default kick reasons file has been
  2675. renamed to BitchX.reasons instead of reasons. I seen the new Ctoolz /dcc
  2676. glist but after some careful though decided that I don't wanna tie the
  2677. client into the script. Nick Kills and collides should be identified
  2678. properly in oper mode. Operator kills local and foreign are differianted.
  2679. I've removed the /msg user -invite channel  stuff. Use /ctcp instead. This
  2680. only allowed people on the userlist to invite themselves, but I didn't see a
  2681. reason to have two differant methods.
  2682.  
  2683. 031896
  2684. Link looking is fixed once again. Forgot about hooks and what happens when
  2685. someone hooks a numeric on me. Started working on various other flood types,
  2686. such as nick, deop, pub and kick floods. What a weird bunch of stuff.
  2687.  
  2688. 031996
  2689. kick on deop flood, kick on kick flood, kick on pub flood and kick on nick
  2690. change floods are now implemented within the client. They can be setup
  2691. channel specifically or globally for all channels. /ctcp ops channel and
  2692. /ctcp unban channel are implemented. Also the user list can be turned off
  2693. for specific channels as can the shitlist. Doesn't sound like i've changed
  2694. much, but some major changes internally to support all this. Renamed a
  2695. command called /nig to /unig put back in /unigh as well. (These are unignore
  2696. commands). Added /dcc path on/off to remove the path from /dcc'd files on
  2697. display. 
  2698.  
  2699. 032096
  2700. /dcc was a little bit broken, nothing too serious. Fixed I think. /dcc has
  2701. alot of commands the "standard" clients do not. Such as stats, paths, quiet,
  2702. auto, status line update, glist, resend, reget and active. /dcc stats
  2703. returns a status indicator of various things seen while on irc. paths turns
  2704. off display of the download path of the files in list. quiet toggles quiet
  2705. mode for dcc transfers. Auto is a toggle for /set dcc_autoget. status line
  2706. updates are meant for script writers. glist is a graphical display of active
  2707. dcc's. resend and reget are for aborted transfers, and active displays the
  2708. limits and bounds of various set's involving the number of active dcc's and
  2709. the limit on the number of active dcc's allowed. Also /dcc ? returns a help
  2710. screen. Added /Qk foR quote kicks. BitchX.reason is used from the .BitchX
  2711. directory. 
  2712.  
  2713.  
  2714. 032196
  2715. Hmmm discovered that I was hooking numeric 365 end of links number and not
  2716. doing my end of links routine, therefore link looking for only partially
  2717. working depending on what script you were using. Fixed /dcc chat #channel.
  2718. Problem was that we can cancel /dcc transfers by number now and of course we
  2719. use a # to denote this. Well this causes a problem with anyone dumb enough
  2720. to try and chat a channel. So we are now a little more paraniod about what
  2721. we'll accept as a dcc number. We also couldn't close that particular kind of
  2722. chat as we thought it was a number and treated it as such. We now reset the
  2723. timers and counts when we toggle a /cset on a channel. Otherwise some
  2724. strange things can happen. Right Jondalar :) Fixed a problem with mode
  2725. changes. I was incrementing the deop count for both +o and -o cases. Added a
  2726. new /user parameter. /user -stats returns the internal counts for deops,
  2727. kicks, publics and nicks changes. /user -ops -stats shows stats for only the
  2728. ops and /user -nonops -stats show stats for the nonops. Non-Blocking /dcc
  2729. connects work great. Non-blocking servers connects are working well. Only
  2730. problem seems to be that the Non-Blocking /dcc never time out. Have to have
  2731. a look at that. Anyone have any ideas on what a reasonable time-out would
  2732. be?  Corrected channel statistics to better reflect what is actually
  2733. happening on a channel. Had a couple of mistakes here and there. Channel
  2734. splits might disturb these statistics though.
  2735.  
  2736. 032396  BitchX .35
  2737. Lotza bug fixes. hooking the 251-255 numerics now. /dcc send *.zip was broke
  2738. due to some stupidity on my part. gettabkey and addtabkey now take an
  2739. optional second parameter AUTOREPLY. This second parameter defines what list
  2740. the is nick taken from. The default is the tabkey array. Two new functions
  2741. added to retrieve the last message and the last notice were created.
  2742. $lastnotice() and $lastmessage(). Added a sort function. So $sort( one two
  2743. three)  returns one three two in sorted order :) poor example. Merged EPIC 3
  2744. changes for alias.c,dcc.c, ctcp.c and others which fixes several functions.
  2745. dcc.c fixed for files of size 0. These files are automatically announced but
  2746. not autoget'd. If you do get the file, then it is rejected. All /dcc rejects
  2747. are also sent to the offending user as a notice. Last msg was fixed to
  2748. include the userhost of the user and the time the message was sent. Created
  2749. diff files for irc.c, dcc.c and server.c for EPIC development to have a look
  2750. at. Fixed WallMsg to check for arguments. If none then print usage message
  2751. and return. /dirlm and /dirln can take a optional second argument to specify
  2752. the channel to send to. May have fixed the problem with being set away on
  2753. server join. We now auto-join all previous channels on server change. 
  2754. This soLution is more elegant than what was previously implemented. 
  2755. Added /UnAjoin to remove a channel from your autojoin list. Channel has to
  2756. have been added to this list with /AJoin otherwise nothing happens. Added
  2757. some changes from EPIC 3-patch3. Still won't add the broken part though.
  2758. Horrible kludge done to /dcc glist. I actually set errno to zero. This fixes
  2759. a divide by zero error I haven't been able to find anywhere. The actual
  2760. divide by zero isn't happening within dcc_glist, but somewhere else in the
  2761. code. I added memmove() from inn distro for those systems that don't have
  2762. memmove(). I needed a feature of memmove so it now included. It only gets
  2763. compiled if HAVE_MEMMOVE is defined 0 in def.h. the source is in ircaux.c.
  2764. Please let me know if anyone has trouble compiling this.
  2765.  
  2766.  
  2767. 032596
  2768. fuked up on /savelist if you have /AJOIN's defined it'll lock. Arrggh
  2769. everyone was wondering what the new flag +r meant on the usermode.. Misread
  2770. a patch was the problem.. you couldn't unset it period because it did mean
  2771. you were logg'ed into a server., but it should never have been displayed.
  2772. Changed behavior of /dump. Be very cautious with this. It removes all
  2773. aliases or ons or vars or binds or everything loaded. But first everything 
  2774. is saved to BitchX.alias. Changed p_privmsg. First we check if the user is 
  2775. ignored then we check we do ctcp and stuff. Changed keys.c and config.h.
  2776. EMACS_BINDS is defined now and ALLOW_STOP_IRC define was removed so we can
  2777. always stop irc. Added /DF for disk free command. Added /banstat to show
  2778. channel bans optional parameters are channel and/or nick. I'm now using the
  2779. internal banlist which makes channel unbans reasonably fast :) It sounds
  2780. like i've done alot here, but most of this was already implemented.. Just
  2781. needed some "glue" functions.
  2782.  
  2783. 032696
  2784. Chasing some bug in /dcc with AIX systems. Fixed a bug with /msg nick cdcc
  2785. and nothing else on command line. Fixed /dcc glist. now we can send files of
  2786. 0-length but cannot receive em. /dcc glist doesn't crash if we are sending
  2787. one. Trying to find a fix for a memory problem involving too many m_strdup's
  2788. and not enough new_free's. Fixed a problem Frisbee found with not being able
  2789. to display bans on a channel when you're not in it. Nice thing is EPIC has
  2790. the same bug :). Lifendel says that with more than 12 dcc's he crashes. Not
  2791. sure yet what this is about. Fizzle_B says that his client tends to "lockup"
  2792. for about 10 secs. I think this has to do with hard_uh_notify and the amount
  2793. of notify's we're getting back. I started using USERHOST which is better
  2794. than ISON. ISON does tend to do this as we have to send individual requests
  2795. for each nick. USERHOST we can send 5 at a time. BlackJac mentioned that
  2796. phoenix runs fine with BitchX.. This has actually been working for awhile
  2797. now. Looked at Hellshocks dcc.c and whois.c but I don't think I'll add em
  2798. into the client. His modifications involve sending ansi codes directly from
  2799. the client. Personally I feel this should be the responsibility of the
  2800. script itself. Sheik agrees with me on this. /ignore works a little
  2801. differantly than expected. You need to specify the full nick!name@host where
  2802. nick, name or host can have a wildcard.  we can now ignore _Elfoo_'s lame
  2803. attempts of getting BitchX. Everyone should add /ignore
  2804. *Elfoo*!*@*.central.com ALL into their .ircrc file. Changed cdcc doffer. We
  2805. now don't need to use #1 we can use 1. Changed xdcc send to accept either #1
  2806. or 1 as the pack number. A queued message is sent to the user if our
  2807. active dcc count is greater than DCC_SEND_LIMIT. dcc queues are implemented
  2808. but not very well tested.
  2809.  
  2810. 032896 .37 released
  2811. Changed /dump. has a new parameter FILE which dumps to a file. It dumps
  2812. everything to a file called BitchX.dump in your $HOME directory. Also had
  2813. forgotten to dump keys for ALL parameter. Added changes from e3000s5 as
  2814. well. /fe has been changed and a couple of bugs in alias.c as well. Fixed a
  2815. overzealous m_strdup problem in BitchX/EPIC alias's. Fixed nslookup to work
  2816. on nicknames as well as hosts. Zircon sure finds them bugs :).
  2817. As much as I don't like it $unlink() and $rmdir() now are doing
  2818. expand_twiddle so stuff like $unlink(~/file.zip) expands to your $HOME
  2819. directory. Please be cautious with this. One nice thing is that low-level
  2820. functions like unlink don't accept wildcards at all. It has to be an exact
  2821. filename. loaded scripts and shit on numeric 001 and 004. Not quite sure how
  2822. well this will work, but what the hey. This has the benefit of us loosing
  2823. the Welcome to the irc network nickname crap, because we can hook it.
  2824.  
  2825. 032996
  2826. Fixed IRCUMODE so it works foR all servers. You may get a mode msg twice
  2827. though. Replaced dcc.c with one from EPIC, with my mods. We'll see if this
  2828. fixes the problem of AIX crashing the sender. I'm thinking that maybe a
  2829. misplaced FD_SET is the problem or a FD_CLR. One benefit of loading scripts
  2830. before anything else is that the client is snappier on startup.. Not much
  2831. left for almost complete Ctoolz compatibility. Guess we'd better open the
  2832. file before seeking to the end on resend's. Fixed dcc_dldir problems when i
  2833. replaced dcc.c with one from epic with bitchx mods. /Channel was broke. If
  2834. there were no channel modes a NULL was passed to the output. fixed dcc paths
  2835. problem in dcc.c, I might however have been overzealous in my use of it. dcc
  2836. numbers are reset back to one on /dcc close function. Have to wait and see
  2837. what happens when an error occurs. Fixed another couple of epic bugs. One
  2838. with revw. It should never return a NULL and another in the MatchingBracket
  2839. routine for $revw( without the closing bracket. Also ran epic regression to
  2840. a successful completion after fixing a couple of bitchx errors in
  2841. function_rpattern and function_rfilter.
  2842.  
  2843. 040396
  2844. Added changes from Epic3-6. Added nethack prot of a sort. 3 levels are
  2845. provided. 1 gives no warning but deops the splitter. 2 gives a warning and
  2846. deops the splitter. 3 gives a warning only. /cset hacking sets a channel and
  2847. +set hacking sets global changes. The user has to be on the userlist or your
  2848. botlist in order for them not to be de-op'd on a split. Added four new 
  2849. commands /chglevel, /chgprot, /chgchan and /chgautoop to change user stats 
  2850. on the fly. /chglevel nick number will change that users stats. This change 
  2851. is not permaneantly saved until you /savelist. The others are the same 
  2852. format. They should work, but if there are any problems let me know.
  2853. CAUTION. with this nethack prot turned on you could possibly really fuck a
  2854. channel badly.
  2855. Fixed a problem with PUBFLOOD. I wasn't checking to see if WE had ops on the
  2856. channel we were protecting. I never knew there were so many script writers
  2857. out there :) 
  2858. Fixed a small long-standing problem, noT a bug with the userlist. If we
  2859. added a user to the userlist we had to do a WHO command to setup the user
  2860. display properly. Not anymore. It's updated for every server and all
  2861. channels on add or on modify.
  2862.  
  2863. 040496
  2864. Fixed a problem with auto_rejoin. Fixed the /clear being missing.
  2865. NHprot is now a little more conservative about what it considers to be a
  2866. nethack. /Adduser will now take a list of channels instead of just a single
  2867. channel. Wildcards are allowed still. Someone pointed out that wildcards
  2868. /cdcc's are not great at the moment. If we happen to create a file while
  2869. offering of a type the matches the wildcard, it is sent out as well. I'll
  2870. have to make a list instead. Added 5 new hooks USERS, BANS and DCC.
  2871. USERS displays information from the userlist and the shitlist. BANS is for
  2872. the channel bans. DCC_STAT, DCC_STATF and DCC_STATF1 is for the /dcc glist
  2873. information. DCC_STAT returns info on chats, raw etc. DCC_STATF returns info
  2874. on files and DCC_STATF1 returns info on percentage, sizes etc for the
  2875. current file. Maybe hellshock will realize that this is better than just
  2876. adding ansi to the client.
  2877.  
  2878. 040896 .41 released
  2879. Added some more hooks for script writers. DCC_HEADER, CDCC_QUEUE,
  2880. CDCC_QUEUEH, CDCC_HEADER, CDCC_PACK and BOTLIST.  We now strip ansi on ALL
  2881. says, puts etc. What does this mean? Well thanks to Sheik, we can no longer
  2882. be ansi bombed. Fixed some problems with /server connects to K-lined servers
  2883. that caused core to be dumped.
  2884.  
  2885. 040996
  2886. Fixed chelp to allow blank lines instead of locking the client. Otiluke is
  2887. working on a bitchx help file. Was asking about ansi codes :). Took hooks
  2888. out of /dcc list  they were breaking things I don't want to break. Reconnect
  2889. is kinda fixed. Too many reconnect's quickly will confuse the client. This
  2890. is an effect of non-blocking connects. May have fixed the core on instant op
  2891. on join problem. Added voice to internal structures. /lk won't kick someone
  2892. with voice now. Replaced all occurances of gettimeofday except in ircaux.c
  2893. with call to get_time(). Fixed a bunch of warnings with this. Fixed several
  2894. kther warnings. Fixed the negative time on channel synch by using time_diff
  2895. instead of trying to calculate the time diff by subtracting. Made changes to
  2896. notice.c parse_server_notice so it actually uses the /set SHOW_*'s in
  2897. vars.c.  Made numbers.c USERS send all info that is required to the server,
  2898. this might fix the problem some are having with some servers. Someone was
  2899. asking about showing connections to a server.. I think this is actually a
  2900. server function. We should see them now if we're allowed to. Changed
  2901. check_channel_match so it's more generic. We can then use it for
  2902. PROTECT_CHANNELS var. so PROTECT_CHANNELS can now be a comma separated list
  2903. of channels to protect. If the CTOOLZ_DIR doesn't exist, it is created.
  2904.  
  2905. 041196 .42 was released.
  2906. Problem someone had with USER not enough params was caused by bad
  2907. permissions on /etc/passwd. So i may restore the old behaviour of cheating
  2908. :). Found a little problem with the new hooks in /dcc glist. forgot to
  2909. continue before the hook. fixed a little bug in process_incoming_listen.
  2910. Seems to not like a -1 passed to FD_CLR. previous problem was actaully in
  2911. function_listen.. it should have required a port number. Fixed finger nick
  2912. to actually finger someone. fixed CDCC_PACK hook so description is at the
  2913. end of the hook'd data instead of in the middle. Added new command /statsk
  2914. what it hopefully does is a grep for server bans matching a certain 
  2915. nick!user@host. Worked on /dcc glist some more. Changed some hooks in cdcc.c
  2916. CDCC_PREPACK from CDCC_HEADER. CDCC_POSTPACK added. Has the same info as the
  2917. PREPACK. Patch from epic e3000s7 added. SAVEFILE_LIST and SAVEFILEPOST_LIST
  2918. and SAVEFILEPRE_LIST hooks added. Modified Makefile's to create BitchX
  2919. client instead of irc client. modified /fuck to do a /addshit nick channel 3
  2920. as well.. Just like a hackbot. For a synopis of what was changed in the EPIC
  2921. patch read the doc/UPDATES file.. Several new commands were added, some
  2922. restrictions removed from some others, some useless code was removed.
  2923.  
  2924. 041396 .43 released
  2925. Thanks to piraeus for adding color to the main BitchX ascii. I made a couple
  2926. of changes for those that have terminals that cannot display ansi. /set
  2927. display_ansi determines whether or not the screen is displayed in color or
  2928. not. Some major internal modifications have been made. These are related to
  2929. the way that userlist entries are looked up on the internal userlist. The
  2930. lookup's don't happen all the time. instead we store pointers to the
  2931. userlist on the channel nicklist. this should speed things up quite abit.
  2932. Have to thank sheik for pointing this method to me. Modified some
  2933. structures, and hooks quite alot as well. Things like the botlist now have a
  2934. aop and prot value so the bot doesn't have to be on the userlist and the
  2935. botlist at the same time. Several hooks have changed the number of params
  2936. being passed. Added parts of whowas.c sheik donated to me :).. Has the
  2937. effect of speeding up re-joins because the info is actually stored
  2938. differently. Course this will be buggy until i figure out exactly how to use
  2939. it. What it does is on parts' it save the user info into a list, on join it
  2940. check's the list and if found uses that info. Otherwise it just creates the
  2941. info again. Saves somes lookups on join an other stuff.. names.c uses most of
  2942. the calls for this function in case your interested.
  2943.  
  2944. 041496 .44alpha :P
  2945. So many changes made in things internal, and not documented :) Most of the
  2946. changes were nitpicking things. But we found some lameness in the code as
  2947. well. ex. On join a entry is made on the channel nicklist. On /who these
  2948. entries are recreated again after being removed from the list. Duh. User
  2949. stats are now kept and a new command added. /Nwhois nick shows stats for a
  2950. user and this was the cause of most of the fixes. /chanst should be working
  2951. much nicer now. I put the whowas nicks on an expire timer as well. Some
  2952. changes from ircii-2.8.15 were made to the code. One noticable one is that
  2953. +window double now sets the double status bar. /set DOUBLE was removed as a
  2954. result of this change. New commands are UNTIL and UNLESS to complement IF
  2955. and WHILE commands. Some changes made to the non-blocking code from
  2956. ircii-2.8.15 as well.  
  2957.  
  2958. 041796 .44magnum released :)
  2959. Little bug in the new windowing discovered and fixed. Had to do with tog
  2960. opervision (hidden window) and then switching back and forth. you'd loose a
  2961. line of display when you did this. /cdcc timer would core. /cdcc save
  2962. [filename] command added to save your offer list. /cdcc load [filename] to
  2963. reload the offer list. You can reload this file offer list several times.
  2964. /cdcc secure will only allow people on the userlist to get files from you.
  2965. It is a toggle command. defaults to off
  2966.  
  2967. 042396 .45 release
  2968. Added new cdcc.c from ananda. Modified for BitchX hooks. I like it because
  2969. it's simple and elegant. 
  2970.  
  2971. 042496
  2972. Fixed a problem with /redirect help. Made DISPLAY_ANSI on/off mean exactly
  2973. that. If off all ansi strings are removed from output. We can define the
  2974. default behaviour of this in the Makefile. May have fixed a problem with
  2975. redirect, where garbage is displayed to the redirect. Changed /k to have a
  2976. reason if none given. /tban for interactive delete of bans added. /bantype
  2977. started. Should allow me to get rid of a bunch of useless almost duplicate
  2978. functions. strtoul is missing on some systems. We now check during configure
  2979. and supply a version if necessary. Same with memmove. Changes so that
  2980. .bitchxrc is loaded instead of .ircrc if foUnd. else .ircrc is used.
  2981. Fixed /bk of a non-existant user. /nwhowas to show the whowas queue. Fixed
  2982. /fuck of a user not on the channel to work properly. Lamerz beware. Removed
  2983. sitekickban and siteban commands in preparation of using /banstat.
  2984.  
  2985. 050196
  2986. Haven't updated this with all the fixes. /fuck should really work now.
  2987. /banstat is implemented.  /dcc glist now displays reget's and resends.
  2988. Offered and waiting are also possible. /dcc glist what a pain in the ass.
  2989. /bantype is implemented. A Screw ban is the same as a screw ban in phoenix
  2990. and many other scripts. It was also a pain to implement. /bantype takes 4
  2991. differant types of bans. dcc of small files or fairly large files over a
  2992. fast link could cause a floating point exception in some cases. Fixed a
  2993. small bug in /cdcc load ... the /n was confusing the client. Added
  2994. flood_checking. We will flood_check if FLOOD_PROTECTION is on. If the
  2995. userlevel is < 90 we will kick user from the channel if FLOOD_KICK is set.
  2996. And finally we will do a timed auto-ignore of the user for 10 minutes.
  2997. Several new hooks added at the request of Zircon. USERS, USERS_HEADER, STAT
  2998. and STAT_HEADER. Fixed a screw-up I had with glob. Forgot to include the
  2999. source for glob.c and glob.h :) If you need this you'll still have to edit
  3000. config.h to define NEED_GLOB if you want to include this functionality.
  3001.  
  3002. 050696
  3003. Due to some stupidity some types of floods were not being set properly. In
  3004. some cases we were double incrementing variables. Fixed /unig to actually
  3005. un-ignore a nick!. Fixed LameKick's to do a actual kick. Seems some changes
  3006. made previously to speed up access to the userlist has broken a couple of
  3007. functions here and there. We were forgetting to resync the channel userlist
  3008. after removing a user from the userlist. This could cause a crash. Shitlist
  3009. was not working. Fixed. shitlist & userlist were not updating the channel
  3010. nicklist properly. sync'd the botlist and the channel userlist better. Added
  3011. a new function $userver(nick) which returns the nicks server which we happen
  3012. to be storing in the the channel nicklist. Added a new command /sk to
  3013. perform a server kick :). Server can be wildcarded and a optional channel
  3014. can be specified otherwise the current channel is used. Turned FLOOD_PROT
  3015. off by default. Increased default FLOOD_RATE and FLOOD_USERS and
  3016. FLOOD_AFTER's. Memory is cheap :) Changed Screw bans to use a * for the
  3017. nickname. NetSplit hacking is being worked on. 
  3018.  
  3019. 051096  .49 released on net
  3020. Merged changes from EPIC 3001 beta. $mkdir(), $umask() and /hostname for
  3021. dynamic IP hosts were added. Not sure exactly what /hostname is needed for
  3022. though. Need to look at local_ip and re-add that to the client if possible.
  3023. server info for user was not quite right. /ping hopefully fixed up. Files
  3024. and chat's can now be encrypt'd when starting the transfer. /dcc send
  3025. panasync file.zip -encrypt mypasswd will enable this "feature". Removed some
  3026. lamege from EPIC beta involving malloc. Fixed up flood prot even more. A
  3027. separate /set CDCC_FLOOD_RATE and /set CDCC_FLOOD_AFTER is implemented. Do
  3028. we need a separate CDCC_FLOOD_KICK as well? FLOOD_KICK var is a global var.
  3029. Fixed a long standing bug with channel creation. Seems that we were not
  3030. getting the value of the proper variable. Added a new set NAMES_ON_JOIN
  3031. SHOWIDLE and SHOWIDLE_HEADER hooks provided by request. SHOWIDLE returns
  3032. nick, host, userlevel in the userlist and number of seconds idle.
  3033.  
  3034. 052096 .50 released (aprox date)
  3035. Been busy at a new job, so not much done recently. I found a silly stupid
  3036. bug in check_flooding. Fixed /unig to work once again. I think I need a new
  3037. wild_match routine, that checks both params for a wildcard. Added /cdcc
  3038. ptimer command. Added a set for the default dcc timeout value. A notice is
  3039. sent to the other end saying we closed the dcc. _CDCC_CLOSE_IDLE_TIME is the
  3040. set for this. Added /findports command.
  3041.  
  3042. 052996 Released .52
  3043. course flooding seems to be a little more difficult than I thought. Some
  3044. things have been put on hold due to this problem. I have fixed /kb and
  3045. friends to do a proper screw ban. Fixed /dcc timeouts. We now default to 35
  3046. seconds for a chat/raw etc and 3 * 35 for file sends/resends/regets etc.
  3047. Fixed a small flooding problem in the timer as well. wildcard sends are now
  3048. implemented a little better but I'm still not happy with it. Fixed the Hyper
  3049. DCC lamage with dcc multi sends. Fixed /dcc list to not core dump..
  3050. dcc_time() was a problem here. /set autokick_on_Version on/off for those
  3051. versioning fools. /set mircs on/off for something EFudd wanted. Think it has
  3052. todo with /ctcp sound. More work on cdcc stuff. /set cdcc_security is a
  3053. numeric variable which can be set to the userlevel required to get any cdcc
  3054. response from you. This effectively cut's out the cdcc flood problem if set
  3055. to anything greater than 0. Course then nobody can get a cdcc list other
  3056. than a user on the userlist. Also cdcc requests are ignored if there is
  3057. nothing offered. Flooders beware.
  3058.  
  3059. 053196
  3060. Changed CDCC_PREPACK to include some dcc_stats by request. dcc_max_rate_out,
  3061. dcc_bytes_out, dcc_max_rate_in, dcc_bytes_in are added to this hook. Changed
  3062. behaviour of CDCC_QUEUE_LIMIT a little. If it's set to 0 then in effect
  3063. there is no queue limit. fixed dcc stats command. Fixed a problem with cdcc
  3064. and noThing on the offer list. Just pass through the mesg. /ctcp is a little
  3065. harder todo though. Modified /JOIN to check for a # if it's not there then
  3066. we add it. Otherwise we just pass the command. Don't forget about the /set
  3067. SEND_IGNORE_MSG. Also new is a cdcc.irc that can be modified to change the 
  3068. output sent to a channel. It's basically an example of what to do. it'll
  3069. only work currently with scz-te.irc but this could be changed at your
  3070. convience. Changed behavior /cdcc offer to now accept a single filename on
  3071. the command prompt. So instead of prompting fOr a filename/description we
  3072. can then skip ahead to getting the description. Before you ask if we can
  3073. have multiple filenames on the prompt, I don't think this is possible from
  3074. the quick look I had at the code. Quickly implemented /cdcc minspeed
  3075. checking. It is in KB/s. So 5 would be 5KB/s. You can enter fractional Kb/s
  3076. as in 1.5KB/s as well. /cdcc timer was changed so it takes a number which is
  3077. then converted to minutes. We were just using seconds before.
  3078.  
  3079. 060396 .53 Released
  3080. Fixed some lameness in cdcc again. involving DCC_SENDS_LIMIT and
  3081. DCC_QUEUE_LIMIT. Forget to check for a equal to 0 value which should
  3082. effectively disable both of these items. Changed config.h to have a default
  3083. value for DCC_SEND_LIMIT of 5. Changed CDCC_PREPACK once again added one
  3084. more parameter for a total of 13 output. We now output the minspeed as sent
  3085. by you. Changed CDCC_POSTPACK to retrieve same info as the CDCC_PREPACK.
  3086. Fixed dcc_check_idle to check for a 0 value on _CDCC_MINSPEED_TIME which
  3087. nullifies the speed checking. Do we want to have differant speeds for
  3088. differant packs? If the AUTO_REJOIN for a channel is set to any thing other
  3089. than 0 some wonderful things can happen. If you have a hacked identd client
  3090. installed, you can change your username as well. There are several examples
  3091. of type of identd client. cidentd-1.0.tgz is available from sunsite.unc.edu
  3092. somewhere but the source in pluto.c will need to be changed to support the
  3093. $(HOME)/.authlie instead of the $HOME/.noidentd file currently used. The
  3094. routine to make this all happen is called do_newuser() in pluto.c. Fixed
  3095. /boot so it don't segfault with no args. Fixed compilation on SunOS 4.1.4. 
  3096. /cdcc doffer will now accept any number of arguements on either the command
  3097. line or the interactive prompt. /cdcc list will accept a pack number to
  3098. display. It then displays the files in a pack. /cdcc load and save functions
  3099. will take a optional filename argument. Default is to cdcc.save. File is
  3100. always relative to your home directory. Minor cosmetic changes to input's
  3101. in cdcc. /cdcc send and resend will now accept a filename. course we may
  3102. have a problem if the name of the file is a a number. A pack will be sent
  3103. matching the number first if possible before we check for a filename. Files
  3104. are taken from the current directory. /cdcc plist will take an optional
  3105. channel arguement. If given then that's the channel the plist is sent to.
  3106. Minimal checking is done on whether this is a valid channel or noT. A comma
  3107. separated list of channels is allowed. A sample script is provided for
  3108. script writers in order to provide some directions as to the use of the
  3109. hooks in cdcc. Added save of banwords command to savefile. Documented many
  3110. on hooks for script writers perusal. A couple of new hooks implemented.
  3111. CHANNEL_STAT for the /chanst command output. (32 parameters to this one).
  3112. USAGE hook for the usage of internal commands. Over the next couple of
  3113. versions of BitchX I expand the list of commands which can make use of this
  3114. particular hook. New Documentation and a modified BitchX.help file provided.
  3115.  
  3116. 061096 .54 released
  3117. Ping fixed we think. ping is still in the CTCP_REPLY list though. if you
  3118. hook CTCP_REPLY be prepared to handle ping responses. Took another look at
  3119. kther floods. Fixed /repeat with a off by one error. Took time to make
  3120. usage mesg's use the new hook and function. Ping is fixed. added rest of
  3121. command for BanWords. UnBanWords/UnWordKick and ShowWord commands.
  3122. DCC_TRANSFER_STAT was broke. Forgot to remove a couple of parameters from
  3123. hook.c. Added a new function $help() which takes a filename and a subject.
  3124. It uses the filename the same way that /chelp does. It searches the list for
  3125. the subject in the same way as well. Information from the help file is only
  3126. loaded once.
  3127.  
  3128. 061296 .55 Released
  3129. Added a new command /whereis foR looking up people that join and then leave
  3130. a channel and change nicks. Works well as long as they don't change servers
  3131. or there isn't more than one of them online at the same time or there
  3132. username doesn't change. Fixed up /Statsk which is a command for grepping
  3133. those pesky server bans. Changed chelp and $help(). Sorry script writers but
  3134. I decided to place the filename last as the parameter to $help(). This way
  3135. we can initialize it once and then forget it about passing the filename
  3136. altogether. chelp was changed to actually load the file on BitchX startup.
  3137. Reasons are that the help from the $help() function will overwrite the ones
  3138. that are loaded by chelp. So we preload the help, if they are overwritten
  3139. well not much we can do then except restart irc. $help() returns a long
  3140. string containing all information about a topic including the usage message.
  3141. I guess a hook for this might be nice as well. /cdcc minspeed's were a
  3142. little borked. Added a server sync routine. Fixed Channel keys being saved
  3143. after a part and a rejoin.
  3144.  
  3145. 061496
  3146. Fixed /whereis if the user is still on the channel. Stupidity here. $help()
  3147. changed once again. $help returns info differant from /chelp. It is upto the
  3148. script writer to format the information returned. A hook is also provided
  3149. which applies to both /chelp and $help(). Write the proper on hook and never
  3150. have to woRry about it again. Added SCRIPT_HELP_FILE. This is a full
  3151. pathname/filename. Default is CTOOLZ_DIR/BitchX.help. $help() needs to be
  3152. called the first time with a filename. It is expanded to a full pathname
  3153. automatically. DESYNC_MESSAGE hook provided. See README.hooks for info.
  3154. IDENT_HACK can be set to the name of the file to use for your hacked ident
  3155. to hide the username. Default is ".noident". This files needs to reside in
  3156. your $HOME directory, so ~/ is prepended and expanded automatically. 
  3157. If JOIN is hooked AUTO_NSLOOKUP wasn't happening. So we now do the lookup if
  3158. AUTO_NSLOOKUP is ON and pass that to the hook. You can no longer just "quit"
  3159. irc with active dcc's. A second prompt appears asking for verification.
  3160. Renamed command STATSK to /FKLINE. Integrated changes from ircii2.9base. 
  3161. Fixed a dumb problem in remove_channel(). Forgot to add the nicks to the
  3162. whowas buffer when we left a channel. This would cause some ghost problems
  3163. if we then left a channel, and some time later rejoined it. Created a save
  3164. BitchX variables routine. Only saves the specific BitchX variables to
  3165. BitchX.sav file. Linux glob functions don't seem to work properly. So I've
  3166. now enabled the included glob function by default. Added a WHOLEFT hook. We
  3167. are saving the info from a netsplit currently. type //Wholeft sometime.
  3168. We'll have to see whether this information is correct before implementing
  3169. more of it. Server oPs/deops bans/unbans are now incremented when they
  3170. occur. Affected changes to decifer_mode and update_stats. Added /cleartab
  3171. which will clear the tabkey array and /clearauto for clearing the
  3172. autoreply table. Started adding has_ops to whowas info. This is for netsplit
  3173. stuff. Eventually if a user splits away with opz, on rejoin we won't de-op
  3174. them. Sounds simple, but it's not. We'll have todo a little more work before
  3175. this can be a reality.
  3176.  
  3177. 0617  .56 released for comsumption.
  3178. Changed /set Log on to strip ansi escapes out of the output. Changed
  3179. behavior of /ban. we check the list of nicks to match the supplied ban. If
  3180. their is no match then we will either do one of two things. if a ! and a @
  3181. is in the ban spec then we just do a mode +b otherwise we search out the
  3182. match using whois and doing the ban that way. All nicks on the channel are
  3183. matched against the ban. Otherwise some could slip through the cracks.
  3184. Oops. .bitchxrc file was not being loaded properly due to a missing / .
  3185. Changed behaviour of /tban and /unban to follow the variable NUM_BANMODES
  3186. for the number of unbans todo in one shot. We now unban multiple bans in one
  3187. shot. Thanks to  BlackJac for the start of a great INSTALLATION file. It was
  3188. the first time he had compiled the client and made some notes for other
  3189. beginNers and some not so beginners to follow. Found the little bug with
  3190. .BitchX no being created with u+x permissions. Added BITCHX_HELP var. This
  3191. is the complete path/filename of the default BitchX.help file. Default is
  3192. ~/.BitchX/BitchX.help. Changed $help() to look at the SCRIPT_HELP var if no
  3193. filename is passed to it. This Allows us to set SCRIPT_HELP to a dir/helpfile
  3194. and then just call $help(some_topic). Notice the lack of filename. Default
  3195. is ~/.BitchX/BitchX.help still. Fixed small annoyance in /notify that could
  3196. possibly save a blank notify to the notify list. This caused the notify list
  3197. to display on startup. nasty bug in status.c fixed. Added a isuser()
  3198. function that returns info on a nick that is in your userlist,botlist or
  3199. shitlist. $isuser(nick userhost channel) is the syntax of this
  3200. useful little function. Channel can be left off in which case a * is
  3201. returned. The type of the list is returned as either USER|BOT|SHIT along with 
  3202. the relavent information to that particular type of list, thanks Jordy.
  3203. Jordy also sent code!! for a new function called $pad(). It accepts a number
  3204. that is either +/- and the string to pad. If negative it pads to the right,
  3205. else it pads to the left. Fixed /set LOGFILE to expand the path of the
  3206. filename passed to it. /Window double no args would core the client. Fixed.
  3207. Without DCC_* hooks /dcc quiet really means quiet. /lastlog now strips out
  3208. all ansi codes period. Some hooks were being used that echo'd the lastlog
  3209. info to the screen. Ansi - chr 27 looks really ugly displayed this way.
  3210. Increased default timeout on dcc chats to 55 seconds, files is 3 *  this
  3211. number.
  3212.  
  3213. 0624 .57 released
  3214. immediately BigHead noticed a bug with the /user command. Fixed a bug
  3215. icebreak reported with $cluster(). Fixed dban so if we do a *.me the count
  3216. is more correct. 3 new functions. $isban(channel nick) returns 1 or 0 if the
  3217. person is on the internal ban list. $isop(channel nick) returns 1 or 0 if
  3218. the person has ops on the channel on the internal userlist. 
  3219. ischanop(nick channel) is already implemented isvoice(channel nick) return 1 
  3220. or 0 if the person has voice on the channel.
  3221.  
  3222. 0626 .58 released
  3223. Fixed ctcp flooding I think. Had the wrong order of events necessary in
  3224. order to auto-ignore floods. Created a CTCP_DELAY variable. This is the
  3225. amount of time that is supposed to pass before we will accept another ctcp.
  3226. /ctcp niak xdcc list has a separate flood characteristic than normal ctcp.
  3227. These can be set using /set CDCC_FLOOD_AFTER and CDCC_FLOOD_RATE. Please do
  3228. understand what these represent before changing the default values. Also we
  3229. have CTCP_FLOOD_PROTECTION which can turn this on/off. Fixed a problem I
  3230. created with some color experimentation. Seems Bold was getting translated
  3231. into the color red. Changed output from dcc_transfer_struct. packet counts
  3232. were not exactly correct, due to differant buffering sizes between clients.
  3233. Changed status_msgcount to display a 0 for no away messages. Changed
  3234. flood_ignore to make the code a little more sensible. Anyone over 90 in the
  3235. userlist or the botlist can ctcp flood you without being kicked or ignored.
  3236. Due to some complaints on $help() formatting, we have now modified $help to
  3237. directly output the information to the user. A typical alias looks something
  3238. like the following   
  3239. alias shelp {@htopic = [$0]?[$0]:[index] ;$help($htopic) }
  3240.  
  3241. 062796 .59 Released
  3242. ctcp flood protection. If the current incoming ctcp is within CTCP_DELAY
  3243. seconds we drop the request. 3 works well for most situations. Someone
  3244. offering files may want to make this value 2 which is the default for
  3245. ircII2.9. Value is saved in the BitchX.sav file. Fixed a couple of other
  3246. nits with the wholeft commanD. Seems op kills were being interpreted as a
  3247. server split. Someone suggested using "))" as the fix. Seems to work. When
  3248. "we" left a channel it was being intrepreted as a server split as well. This
  3249. was in remove_channel(). /window double 1 on will create a double status on
  3250. window 1, /window double 2 on will create a double status on window 2 if it
  3251. exists else it does nothing. /mload now expand and searches paths for the
  3252. menu you'd like to load. /cdcc notice will now also accept a channel to
  3253. display the offerlist to. Added new ansi from reefa. Changed output of ctcp
  3254. version a little. Found a small bug in server.c where it was possible to
  3255. crash the client if we couldn't connect to a server. Found this while adding
  3256. /set NEXT_SERVER_ON_LOCAL_KILL to the client. Modified server_read_file to
  3257. check for a file called .ircservers in the $HOME directory. If found it is
  3258. parsed as a extra list of servers to be included after
  3259. /usr/local/lib/irc/ircII.servers. This behaviour might be modified later to
  3260. use one or the other and not both. Modified bans, kb etc to use one function
  3261. to create the ban string. Call it a code clean up. Fixed /ban to work
  3262. properly. Added User /bantype by request. Flooding once again. This time it
  3263. just might work. (if anyone ever asks you to add flood checking, tell em to
  3264. go f**k themselves). Added a new cset for PUBFLOOD_IGNORE_TIME. This is the
  3265. amount of time in minutes we will default ignore someone. if FLOOD_KICK is
  3266. off we don't kick someone that is pubflooding. We ignore them :). Whole
  3267. bunch of other minor details.
  3268.  
  3269. 070196 .60 released.
  3270. Fixed .ircservers usage to not require it to be in the users home directory.
  3271. Probably solved most segfaults due to server's not being found etc. Might
  3272. have also fixed some misc segs' on linux systems with this as well. 
  3273. Replaced two key bindings. TAB and ^] are setup as auto msg and auto
  3274. response by default within the client. Basically we can get rid of the
  3275. tabkey stuff from scripts. Changed $gettabkey and $addtabkey functions
  3276. around a little. Made /ClearAuto work as advertised. Moved clear_auto and
  3277. friend to a differant file (misc.c). Started adding /tlock and /modelock
  3278. functions. Cleaned up some code and some output fixes as suggested by
  3279. BarK0de who's creating a new helpfile for us. Added a new function called
  3280. $randomnick() which returns a string that could be useful as a nickname.
  3281. Also a command /randomnick will actually change your nick to some random
  3282. nickname. Patched in changes from new EPIC beta. /redirect might even work
  3283. now. minor speedups were involved here as well.
  3284.  
  3285. 070796  .61 Released
  3286. well BJ finds a bug due to some lameness on my part. fixed irc.c. Also fixed
  3287. configure for Ultrix systems. Need to fix for AIX -lld. Removed more ComStud
  3288. lameness. Fixed some of my own lameness on the init of the auto reply
  3289. string, which should be automatically set to your nickname. It wasn't
  3290. occurring properly. Found and fixed a problem with $read(). Lines with no
  3291. carriage return were screwed up (Thanks Flier). BlackJac noticed a problem
  3292. with the status bar channel modes not being properly updated. ChaosLord sent
  3293. in a small patch for modifying argv to hide BitchX from admins. edit
  3294. config.h and #define CLOAKED "emacs" or whatever and recompile. BitchX now
  3295. looks like it's emacs and noT irc client. Sheik suggested something that
  3296. sounded pretty good. The ability to /ignore a whole channel or just certain
  3297. things on a channel. Well we can now do this. /ignore #bitchx public  will
  3298. ignore all publics from the channel bitchx. The channel ignore is checked
  3299. after the regular ignore, so we can modify the behaviour of channel ignore
  3300. using dont_ignore for a nickname etc. Some types of ignores don't translate
  3301. well into channel ignore, so IGNORE_CRAP may not ignore everything you
  3302. normally would be used to on a channel wide basis. (And Sheik this was easy
  3303. to add :P). Added another var called SHOW_NUMERICS_STR. It's default at the
  3304. moment is the string from scz-te numerics. Basically you can now change this
  3305. on the fly, and add ansi in places you didn't think were possible. (Some
  3306. server responses for example). The default will change back to "***" after
  3307. awhile, but I want to leave it like this for a short time to make people
  3308. aware of it. Calculation of dcc rates on /dcc stats was corrected. Added
  3309. AR_REPLY hook which is called when user presses ^]. Nothing is added to the
  3310. input it's up to the script writer at this point to do something with this.
  3311. Added two new hooks AR_PUBLIC and AR_PUBLIC_OTHER. This makes some scripts
  3312. work a little strangely until the script writers catch on. :) Provided
  3313. better keybindings for pgup/pgdn/end. Modified do_screens to accomadate this
  3314. change. Found bug with /bind meta1 which would segfault the second time you
  3315. ran this command. Changed /w command just a little to default to something a
  3316. little better ie it now does a /w $C instead of a whois nickname by default.
  3317. Someone had pointed out that shitlist bans were not working. Added /tlock
  3318. command for locking the channel topic. Renamed a couple of variables to be
  3319. more consistant. So we now have MSGLOG_FILE and KILLLOG_FILE. Fixed some
  3320. more inconsistancies in various commands. Fixed /eval echo $f[e][  bug we
  3321. share with ePIC. stripansicodes used on /redirect output. /Tlock was not
  3322. quite right in the implementation of it. Fixed. 
  3323.  
  3324. 071896 62 released.
  3325. Added a new match() routine. we'll see how this works out. Routine is
  3326. wildmat routine from Rick Saltz and is almost a standard. Added a new
  3327. optional parameter to /unbot, /unuser and /unshit. -All will remove all
  3328. entries from the respective list. We also sync the channel nick list at the 
  3329. same time which effectively completely removes all traces of that list.
  3330. Changed some internals around to make auto-op/deop more effective after a
  3331. chat with Sheik. SEND_IGNORE_MSG is used more often in the source ie whois.c
  3332. Also SEND_AWAY_MSG is now used as well. Added /back to compliment /away
  3333. command. It's an alias. /sping <server> and internal lag indicator. %L will
  3334. display lag on the status bar. -b switch added to load the script -before-
  3335. we connect to the server. Changes to bans for 2.9 servers. Also have to make
  3336. sure that user@host bans strip ~ as well. Documented -n switch. Added -r
  3337. switch for reading a specified list of servers other than the default
  3338. .ircservers. This file is relative to ~ or your home directory. Added four
  3339. new functions which are basically untested. $opensocket(name port) returns a
  3340. socket number. $closesocket(socket_number) closes a open socket.
  3341. $readsocket(socket_number) returns 0, -1 or number of chars read and the
  3342. string. $writesocket(socket_number string) writes to open socket and returns
  3343. either -1 or the number of chars written to the socket. If your writing to a
  3344. irc server make sure and append \n to the output. STATUS_LAG can be used to
  3345. setup what the lag indicator looks like. /mvoice and /voice added.
  3346.  
  3347.  
  3348. -panasync    edwac@sk.sympatico.ca
  3349.  
  3350. Greetz to : 
  3351. ===========
  3352. Stumble, BlackJac, Lifendel, Hob, Jondalar, Sheik (CtoolZ), BuddhaX (my bro), 
  3353. Zircon, Fr|sbee, otiluke, bbb, BigHead, Suicide, Fury, EFuDD,
  3354. BrickMan, Jordy(Circ & ftp), icebreak, reefa, FLiEr (ScrollZ), JVaughn,
  3355. Masonry, |MaRe|, Hob, Wangel, Ananda, Hybrid, Trench(BitchX name), 
  3356. HappyCrappy, BlackRage, digriz, Capsta, MHacker, Dakota, Jackal_, Pent, 
  3357. mikh, insanity, path, Fury, Drastic, MadB0mber, MO^, Cres, scewp, Hammz,
  3358. novalogic and BarK0de. 
  3359. As well as any other's I may have forgotten over time.
  3360.  
  3361. Thanks for all the bug reports from those who run this client, you're
  3362. helping tremendously. And no Fizzle_B there are no backdoorz in this client
  3363. that i know of. 
  3364. ================
  3365.  
  3366. And finally death to the code rippers.
  3367.  
  3368.  
  3369.