| 1 |
@(#)$eterna: OLDNEWS,v 1.2 2001/08/12 15:42:26 mrg Exp $ |
| 2 |
|
| 3 |
Changes since ircII 2.2.9: |
| 4 |
|
| 5 |
New functions: |
| 6 |
|
| 7 |
o onchannel(nick #channel) is `nick' on `#channel' ? |
| 8 |
o pid() returns the pid of this client |
| 9 |
o ppid() returns the parent pid of this client |
| 10 |
o chanusers(#channel) returns a list of the users on this channel |
| 11 |
o for() like c's for with the separator being `,' not |
| 12 |
`;'. (hop) |
| 13 |
o fe() and fec() an alternative to recursion. (hop) |
| 14 |
|
| 15 |
New commands: |
| 16 |
|
| 17 |
o beep sends a beep to the terminal |
| 18 |
o rbind function shows the keys bound to `function' |
| 19 |
o stack action list arg `action' is either push or pop. list is one |
| 20 |
of `on', `alias', `assign', `bind', or `set'. |
| 21 |
only `on' is implemented currently |
| 22 |
o window remove nick the opposite of window add. |
| 23 |
o window number num changes the refnum of a window, forcing a |
| 24 |
swap if so needed. |
| 25 |
o window bind #chan permanently bind a channel to a window. |
| 26 |
o window unbind [#chan] remove permanent binding to a window. |
| 27 |
o abort drops a core file, and a saved file (hop). |
| 28 |
o disconnect [ser [reason]] disconnects from the named server (number) with |
| 29 |
the given reason. |
| 30 |
|
| 31 |
Fixed commands: |
| 32 |
|
| 33 |
o set help_window now works again. |
| 34 |
o dcc close send nick file no longer requires the full path for `file'. |
| 35 |
o transpose_characters now works with the cursor at the `end' of the |
| 36 |
screen. |
| 37 |
o topic * now works as expected. |
| 38 |
|
| 39 |
Changed commands: |
| 40 |
|
| 41 |
o userhost [nicks] -cmd now accepts any number of nicks. |
| 42 |
o save [-all] [...] save `all' values, or any part. valid parts |
| 43 |
are: assign, alias, all, bind, notify, on, |
| 44 |
set and digraph. |
| 45 |
|
| 46 |
o clear -unhold as well as clearing the screen, it also |
| 47 |
unholds one screen. same as the binding |
| 48 |
clear_screen |
| 49 |
|
| 50 |
New scripts: |
| 51 |
|
| 52 |
o newaway does `set show_away_once on' in scripts and |
| 53 |
with as many nicks as you want |
| 54 |
o uhnotify gives userhost with the notify list. works |
| 55 |
much better with the new userhost syntax. |
| 56 |
o complete, compl.mods tcsh-like complete scripts. see script for |
| 57 |
more information. |
| 58 |
o imap creates an irc map. see script for more info. |
| 59 |
o undernet script to make ircII understand undernet extras. |
| 60 |
|
| 61 |
Changed scripts: |
| 62 |
|
| 63 |
o 2.8script updated for 2.8 |
| 64 |
o finger updated |
| 65 |
o newformat updated |
| 66 |
o netsplit updated |
| 67 |
o tabkey fixes for nicks with \'s in them. |
| 68 |
|
| 69 |
New variables: |
| 70 |
|
| 71 |
o realname changes the value of your `realname' the |
| 72 |
next time you change servers (or use |
| 73 |
`/quote quit'). |
| 74 |
o notify_handler three values. `noisy', `quiet', and `old' |
| 75 |
old makes /notify work like it did for 2.2, |
| 76 |
`noisy' and `quiet' make it work on a lot |
| 77 |
more events. join/quit/message/etc trigger |
| 78 |
the notify, the difference being that `quiet' |
| 79 |
won't show these extra differences, where as |
| 80 |
`noisy' will. they both add/remove the |
| 81 |
name to the internal `notified' list. |
| 82 |
o screen_options this is orthogonal to xterm_options for |
| 83 |
/window create. |
| 84 |
|
| 85 |
Other things: |
| 86 |
|
| 87 |
o redirect works much better. it doesn't `catch' things it shouldn't in |
| 88 |
most cases. |
| 89 |
o lots and lots and logs of bug fixes |
| 90 |
o ctcp flooding is handled better. |
| 91 |
o lots and lots of bug fixes. |
| 92 |
o on dcc_raw dcc close works. |
| 93 |
o all dcc messages go to level dcc |
| 94 |
o level all contains `dcc' again. |
| 95 |
o lots of bug fixes. |
| 96 |
o gnu `autoconf'ified. |
| 97 |
o did i meantion lots of bug fixes? |
| 98 |
o if you add #define DYNAMIC_SLIP, you don't need to restart ircii |
| 99 |
for it to notice the ip number of the local machine has changed. |
| 100 |
note: this has since been obsoleted by a smarter, more general method. |
| 101 |
o /window create might be stabler. really this time. |
| 102 |
o new `-q' switch does `quick start' (no .ircrc processing) |
| 103 |
|
| 104 |
|
| 105 |
New things for ircII 2.2 |
| 106 |
^^^^^^^^^^^^^^^^^^^^^^^^ |
| 107 |
|
| 108 |
Commands that have changed. |
| 109 |
It is now possible to redirect to a DCC CHAT connecoitn with |
| 110 |
REDIRECT =nick |
| 111 |
You can have some command execute on the results of USERHOST with |
| 112 |
USERHOST -CMD command |
| 113 |
You can, and are recommented to, use WAIT different now with |
| 114 |
WAIT -CMD command |
| 115 |
You can have ircII create new winodows on screen or xterm's with |
| 116 |
WINDOW CREATE |
| 117 |
The IF and WHILE commands have changed. |
| 118 |
New in 2.2.2 |
| 119 |
You can delete a server from the server list with |
| 120 |
SERVER -DELETE <num> |
| 121 |
Two new IGNORE levels, CRAP and CTCP. |
| 122 |
|
| 123 |
New commands |
| 124 |
WHICH script - returns which script will be loaded with LOAD |
| 125 |
FOREACH - to iterate over a list. |
| 126 |
TIMER seconds command - executes `command' after `seconds' seconds. |
| 127 |
INPUT "prompt" command - executes `command' when input is read from |
| 128 |
the keyboard. |
| 129 |
PING nick - uses CTCP PING to work out how many seconds a remote |
| 130 |
is from you. |
| 131 |
PARSEKEY key - acts as though a key bound to `key' was pressed. |
| 132 |
SENDLINE line - is the same as typing in the line. |
| 133 |
HOOK line - does an ON HOOK check. |
| 134 |
EVAL line - passes `line' to the inline parser, to be executed. |
| 135 |
CTCP UTC - A time CTCP. |
| 136 |
MLOAD - loads a menu. |
| 137 |
New in 2.2.1 |
| 138 |
CTCP ECHO - Similar to CTCP ERRMSG. |
| 139 |
WINDOW LOGFILE - Sets the logfile for that window. |
| 140 |
New in 2.2.2 |
| 141 |
WINDOW NOTIFY_LEVEL - sets notify level for that window. |
| 142 |
XTYPE - gives full control over /type |
| 143 |
|
| 144 |
(Set help files for these) |
| 145 |
|
| 146 |
New alias variables: |
| 147 |
$W $V $H $U $~ |
| 148 |
|
| 149 |
New SETable variables |
| 150 |
NO_CTCP_FLOOD |
| 151 |
SHOW_STATUS_ALL |
| 152 |
STATUS_USER1-3 |
| 153 |
MENU |
| 154 |
HIGHLIGHT_CHAR |
| 155 |
HELP_PROMPT |
| 156 |
HELP_SERVICE |
| 157 |
HELP_PATH |
| 158 |
DCC_BLOCK_SIZE |
| 159 |
LOAD_PATH |
| 160 |
DEBUG |
| 161 |
VERBOSE_CTCP |
| 162 |
SCROLL_BACKWARD |
| 163 |
SCROLL_FORWARD |
| 164 |
SCROLL_END |
| 165 |
TRANSLATION |
| 166 |
BOLD_VIDEO |
| 167 |
New in 2.2.1 |
| 168 |
SHOW_WHO_HOPCOUNT |
| 169 |
New in 2.2.2 |
| 170 |
XTERM_OPTIONS |
| 171 |
EIGHT_BIT_CHARACTERS |
| 172 |
NOTIFY_LEVEL |
| 173 |
|
| 174 |
And STATUS_FORMAT has these new variables |
| 175 |
%W %X %Y %B %# %@ |
| 176 |
New in 2.2.2 |
| 177 |
%> |
| 178 |
|
| 179 |
New/changed on hook's. |
| 180 |
ON DCC_RAW |
| 181 |
ON HOOK |
| 182 |
ON INPUT |
| 183 |
Several of the numeric ON's have changed. |
| 184 |
New in 2.2.1 |
| 185 |
ON SERVER_NOTICE ***** THIS HAS CHANGED ***** |
| 186 |
New in 2.2.2 |
| 187 |
ON PUBLIC ***** THIS HAS CHANGED ***** |
| 188 |
|
| 189 |
New bindable keys. |
| 190 |
ERASE_TO_BEG_OF_LINE |
| 191 |
REFRESH_INPUTLINE |
| 192 |
META3_CHARACTER |
| 193 |
META4_CHARACTER |
| 194 |
|
| 195 |
New functions. |
| 196 |
$ENCODE() |
| 197 |
$DECODE() |
| 198 |
$TOUPPER() |
| 199 |
$TOLOWER() |
| 200 |
$TDIFF() |
| 201 |
$CONNECT() |
| 202 |
$LISTEN() |
| 203 |
$ISCHANNEL(word) |
| 204 |
$ISCHANOP(nick channel) |
| 205 |
$WORD(number wordlist) |
| 206 |
$WINNUM() |
| 207 |
$WINNAM() |
| 208 |
New in 2.2.2 |
| 209 |
$MYCHANNELS(window) |
| 210 |
$MYSERVERS() |
| 211 |
|
| 212 |
Other |
| 213 |
You can no longer use \n in a line to separate commands. |
| 214 |
Functions are now access with $name(). $%name() is not supported. |
| 215 |
You can access varibles in structures by using struct[index] |
| 216 |
as well as struct.index. |
| 217 |
You can use { } style braces around aliases. |
| 218 |
You can connected to the server via Unix domain sockets. |
| 219 |
The display defaults to OFF while loading a script. |
| 220 |
You can #define SCROLL_AFTER_DISPLAY to get 2.1.5 like scrolling. |
| 221 |
New in 2.2.2 |
| 222 |
New command line option, -v, which prints the version |
| 223 |
and internal version (release date). |
| 224 |
You can use literal ^M's and ^J's to seperate the input line. |
| 225 |
|
| 226 |
New in 2.2.3 |
| 227 |
The character atribute chars have changed in this version. They |
| 228 |
are now: |
| 229 |
^_ does underline |
| 230 |
^B does bold |
| 231 |
^V does inverse. |
| 232 |
^O turns them all off. |
| 233 |
|
| 234 |
old HISTORY file: |
| 235 |
2.2.9 |
| 236 |
fixed memory leak |
| 237 |
|
| 238 |
2.2.7 |
| 239 |
DCC SEND/GET now shows the size, if it exists. |
| 240 |
|
| 241 |
You can now use \ to escape newlines in scripts. |
| 242 |
|
| 243 |
2.2.5 |
| 244 |
New key binding, SCROLL_START, which moves the scroll |
| 245 |
buffer to the start of the lastlog buffer. Bound to |
| 246 |
meta1-< by default. |
| 247 |
|
| 248 |
New arguemnt to /LASTLOG, -LITERAL, which allows you |
| 249 |
to specify the next argument as the pattern to match. |
| 250 |
Allows matching of numbers, eg |
| 251 |
/LASTLOG -LITERNAL 6667 |
| 252 |
|
| 253 |
Channel keys, if set, are now shown in STATUS_MODE. |
| 254 |
|
| 255 |
When DCC connections become connected, the remote IP number |
| 256 |
is shown, for additional security. |
| 257 |
|
| 258 |
2.2.3 |
| 259 |
I think the Makefile and config.h file are easier to use |
| 260 |
now. |
| 261 |
|
| 262 |
The control characters for bold, inverse and underline |
| 263 |
have been changed to ^B ^V and ^_ respectively, so make |
| 264 |
some sort of visual connection (B to bold, _ to underline) |
| 265 |
with these characters. |
| 266 |
|
| 267 |
2.2.2 |
| 268 |
New command, XTYPE. Happens like this; |
| 269 |
XTYPE [-LITERAL] <text> |
| 270 |
|
| 271 |
This text gets added to the input cursor, like /type does, |
| 272 |
except bindings are ignored with the -LITERAL switch is |
| 273 |
used. |
| 274 |
|
| 275 |
New function $CURPOS() which returns the postition from the |
| 276 |
start of the input line to where the cursor is now. |
| 277 |
|
| 278 |
New STATUS_FORMAT variable, %> which makes anything beyond |
| 279 |
it right justified. |
| 280 |
|
| 281 |
It is now possible to close all DCC connections and kill all |
| 282 |
EXEC'ec process by sending the client a SIGUSR1. |
| 283 |
|
| 284 |
ON PUBLIC has now got this format: |
| 285 |
$0 sender |
| 286 |
$1 channel sent to |
| 287 |
$2- message |
| 288 |
|
| 289 |
New variable, NOTIFY_LEVEL, and window command NOTIFY_LEVEL, |
| 290 |
which affect the notification of hidden windows. Same |
| 291 |
arguments as LASTLOG_LEVEL. |
| 292 |
|
| 293 |
Two new level of /IGNORE, CRAP, and CTCP. |
| 294 |
|
| 295 |
New functions, MYCHANNELS() and MYSERVERS() added. |
| 296 |
MYCHANNELS() takes a window refnum (defaults to current |
| 297 |
window), and returns a string with a list of channels on that |
| 298 |
windows server. MYSERVERS() returns a string of the names of |
| 299 |
the servers you are connected to. |
| 300 |
|
| 301 |
New variable, XTERM_OPTIONS, which are passed to xterm, when |
| 302 |
using WINDOW CREATE. Note that -geom switches are already |
| 303 |
generated by ircII, so these will be ignored by xterm. |
| 304 |
|
| 305 |
New variables, EIGHT_BIT_CHARACTERS, which, if set, allows |
| 306 |
you to input 8 bit characters (such as the Swedish character |
| 307 |
set). |
| 308 |
|
| 309 |
New SERVER option, -DELETE, allows you to remove servers |
| 310 |
from the internal server list. |
| 311 |
|
| 312 |
New command line option, -v, which prints the version |
| 313 |
and internal version (release date). |
| 314 |
|
| 315 |
2.2.1 |
| 316 |
New WINDOW command LOGFILE has been added. It takes one |
| 317 |
argument, the file name of the logfile to be used for this |
| 318 |
window. Nothing is appended to this name, if you use |
| 319 |
WINDOW LOG. If you don't set a logfile for the window, and |
| 320 |
use WINDOW LOG, then ircII creates a name for you (old way). |
| 321 |
|
| 322 |
ON SERVER_NOTICE has been changed, and any script which used |
| 323 |
this will most likely not work any more. In the new format, |
| 324 |
$0 is the server name, and $1- is the notice itself. |
| 325 |
|
| 326 |
New variable, SHOW_WHO_HOPCOUNT, which if set will not filter |
| 327 |
out the hopcount on a who reply. |
| 328 |
|
| 329 |
2.2c |
| 330 |
New CTCP, ECHO, which just returns what you sent. |
| 331 |
|
| 332 |
2.2 |
| 333 |
New alias variables `$W', `$V' and `$H' which expand to the |
| 334 |
current working directory, the internal ircII release date, |
| 335 |
in YYYYMMDD format, and the current numeric being processed, |
| 336 |
respectively. |
| 337 |
|
| 338 |
/ME and /DESCRIBE no longer add a period to the end. |
| 339 |
|
| 340 |
New variable NO_CTCP_FLOOD has been added. When set, it makes |
| 341 |
your client only send out one CTCP REPLY each second, and will |
| 342 |
ignore anyothers it gets for that second. |
| 343 |
|
| 344 |
New BINDable key function, REFRESH_INPUTLINE, which, amazingly, |
| 345 |
refreshes the input line. |
| 346 |
|
| 347 |
Several /ON NUMERICS's have been changed such that $0 is now the |
| 348 |
server name of the originating. These include the 31x series |
| 349 |
(/WHOIS replies), which in turn is /ON WHO and /ON WHOIS. |
| 350 |
Numberics 401, have also been changd for this. |
| 351 |
|
| 352 |
MSG -channel is no longer supported. Multi-channal make |
| 353 |
this switch unreliable. |
| 354 |
|
| 355 |
IRCII now supports CTCP PING. You can call this with |
| 356 |
/PING nick[,nick[,nick...]] |
| 357 |
And it will show you how many seconds to takes to get a |
| 358 |
message to them and back. Be warned that too many nick |
| 359 |
will cause the server flood control to be used, making |
| 360 |
the times calculated wrong. |
| 361 |
|
| 362 |
You can now redirect in to a dcc chat connection, with |
| 363 |
REDIRECT =nick command. |
| 364 |
|
| 365 |
2.2pre8 |
| 366 |
New command, INPUT has been added. It takes arguments like: |
| 367 |
/INPUT "prompt" command args |
| 368 |
|
| 369 |
Where it displays "prompt" and then calls command, with args, |
| 370 |
and with the line prompted for as $*. The use of this is |
| 371 |
strongly encouraged over the use of variable $"..". Similar |
| 372 |
problems that occur in /wait. |
| 373 |
|
| 374 |
USERHOST and HOST commands have been changed to allow |
| 375 |
asymnronous command execution, depening on the return of |
| 376 |
the userhost reply. The form is |
| 377 |
/USERHOST <nick> -CMD <commands> |
| 378 |
|
| 379 |
Where $0 - $4 expand to the nick, oper status, away status, |
| 380 |
username and hostname respectively. |
| 381 |
|
| 382 |
If you want the screen to be scrolled like it was in 2.1.5 |
| 383 |
and before (A line at the bottom), edit source/window.h and |
| 384 |
define SCROLL_AFTER_DISPLAY. |
| 385 |
|
| 386 |
DCC CHAT has be improved. No longer will a collision cause |
| 387 |
nasty things to happen - the client will automatically connect |
| 388 |
if a collision is detected. |
| 389 |
|
| 390 |
LASTLOG has been changed so that you can now use it like this: |
| 391 |
/LASTLOG <pattern> <count> to get the last <count> lines that |
| 392 |
match <pattern>. |
| 393 |
|
| 394 |
LIST -TOPIC has been fixed, and its functionality changed, |
| 395 |
so that it do NOT over ride other switches, but works with |
| 396 |
them. |
| 397 |
|
| 398 |
Three new variables STATUS_USER1-3 have been added, to combine |
| 399 |
with the new STATUS_FORMAT variables, %X, %Y and %Z. <poxaV> |
| 400 |
|
| 401 |
New command, PARSEKEY, added. The argument is one of the key |
| 402 |
functions, and the effect is the same as would be if you |
| 403 |
pressed a key bound to that function. |
| 404 |
|
| 405 |
New command, SENDLINE added. The arguments parsed to it |
| 406 |
are processed like normal text input, except they are not |
| 407 |
caught by ON INPUT. |
| 408 |
|
| 409 |
ON INPUT changed to catch all inputted text, not just |
| 410 |
text being send to a channel or a nick. New variable |
| 411 |
INPUT_PROTECTION added to stop people shooting their |
| 412 |
own foot with the new ON INPUT. |
| 413 |
|
| 414 |
One new BIND functions has been implimented - |
| 415 |
ERASE_TO_BEG_OF_LINE (not bound to anything by default), |
| 416 |
erases from the current cursor position to the beginning |
| 417 |
of the input line - <poxaV> |
| 418 |
|
| 419 |
Added new variable HIGHLIGHT_CHAR. That is /setable to either |
| 420 |
BOLD, INVERSE, or UNDERLINE. It effects the character that |
| 421 |
ignore + uses. |
| 422 |
|
| 423 |
Made dcc chat messages show the time after them, if away, |
| 424 |
like normal messages. |
| 425 |
|
| 426 |
Made ctcp not reply to global messages, either in the form |
| 427 |
of $*.domain, or #*.domain. |
| 428 |
|
| 429 |
Added a new command line argument. `-S'. It does the |
| 430 |
oppsite of the `-s' option, and also made -s the default. |
| 431 |
Make then run ircserv if they want it, not if they don't |
| 432 |
know. |
| 433 |
|
| 434 |
Rewrote BreakArgs() in parse.c trying to fix a bug with |
| 435 |
referencing NULL pointers on domain/ox. |
| 436 |
|
| 437 |
More of the source files reformatted. Starting to get some |
| 438 |
distance with this finally. |
| 439 |
|
| 440 |
We now understand that &channel are channels, for the 2.8 servers |
| 441 |
that will be arriving soon. |
| 442 |
|
| 443 |
DCC LIST now shows the start time, and the number of bytes |
| 444 |
sent, and read on a dcc connection. |
| 445 |
|
| 446 |
Added a ctcp reply to dcc.c so that when a dcc collision |
| 447 |
occurs, we also inform the other client of the event, rather |
| 448 |
than them not knowing about it. (obsoleted) |
| 449 |
|
| 450 |
Added new functiality to the /TIMER command. If it is called |
| 451 |
with out arguments, then it list the commands that were |
| 452 |
added with /TIMER, that are pending to be executed. If it is |
| 453 |
called with the -DELETE flag, and given a refnum (first column |
| 454 |
in the timer list), it will attempt to delete the timer. You |
| 455 |
can also specific the TIMER command to use a refnum of your |
| 456 |
choice, with the -REFNUM n flag. It generates an error if |
| 457 |
the refnum already exists, or you specify a negative number. |
| 458 |
It is illegal to remove a timer from itself. |
| 459 |
|
| 460 |
Added new functionality to /window server command. You can now |
| 461 |
do /window server server.name:port:password:nick, and the nick |
| 462 |
will be set properly for that server. |
| 463 |
|
| 464 |
Two new functions, $ENCODE() and $DECODE(). They work as a |
| 465 |
pair, such that $ENCODE($DECODE(blah)) will return blah, and |
| 466 |
the other way around. The primary use is tha $ENCODE() always |
| 467 |
returns a value that is suitable for a variable name, so that |
| 468 |
the well used $strip_chan() alias is not needed. <Daemon> |
| 469 |
|
| 470 |
Added -WIDE flag to /LIST. Shows the channel names, and their |
| 471 |
sizes in as little space as possible. <Troy> |
| 472 |
|
| 473 |
HELP now works properly again. No recusive calls to irc_io, and |
| 474 |
no ping timeouts, but with the same functionality as 2.2pre7. |
| 475 |
|
| 476 |
New variable added, HELP_PROMPT. If set ON, nothing different |
| 477 |
happens, but if set OFF, then ircII will not prompt for more |
| 478 |
help after showing a file. |
| 479 |
|
| 480 |
All the header files reformatted, and some of the source files. |
| 481 |
|
| 482 |
Fixed bug in window server which caused the client to become |
| 483 |
confused about nicks for each window. |
| 484 |
|
| 485 |
Fixed bug that caused ircII to continue trying to connect to the |
| 486 |
last server in the server list if it failed on every other one, |
| 487 |
and often flooded umode s people. Nasty Nasty. |
| 488 |
|
| 489 |
Fixed bug in status.c/window.c that caused the window_notify |
| 490 |
to be out of date on occasion. |
| 491 |
|
| 492 |
When changing servers, or when the last window to a server is |
| 493 |
closed, the QUIT is actually sent. |
| 494 |
|
| 495 |
2.2pre8.troy |
| 496 |
A new command has been added - /TIMER. This takes the form: |
| 497 |
|
| 498 |
TIMER seconds command |
| 499 |
|
| 500 |
and causes the given command to be executed after the specified |
| 501 |
number of seconds. Any number of timers can be issued, and |
| 502 |
they do not need to be issued in order. For example, the following |
| 503 |
alias: |
| 504 |
|
| 505 |
ALIAS JUMBLE TIMER 10 echo one;TIMER 5 echo two; \ |
| 506 |
TIMER 15 echo three |
| 507 |
|
| 508 |
will cause "two", "one" and "three" to be printed at 5 second |
| 509 |
intervals, starting with "two" in 5 seconds. Using /TIMER should |
| 510 |
be the preferred approach over /SLEEP. |
| 511 |
|
| 512 |
ircII can now take advantage of X windows and screen to create |
| 513 |
windows in different xterms or screen windows. The command to |
| 514 |
create such a window is /WINDOW CREATE. Each window created in |
| 515 |
this manner gets its own input line. This feature is |
| 516 |
particularly useful if you use multiple channels. There are |
| 517 |
still some things to be fixed with this. In particular, |
| 518 |
prompted input can give unexpected results ($"..", /Oper and |
| 519 |
server passwords, confirmations), as can the old form of the |
| 520 |
/WAIT command. In short, when using multiple windows, |
| 521 |
expect the unexpected. To use this feature you will have to |
| 522 |
define WINDOW_CREATE in source/window.c. |
| 523 |
|
| 524 |
A new form of the WAIT command, /WAIT -CMD command, |
| 525 |
(or WAIT -CMD %process command) causes the given command |
| 526 |
to be executed after the wait condition has occured. |
| 527 |
For example, the following alias: |
| 528 |
|
| 529 |
ALIAS BACKWARDS wait -cmd echo hello there;echo hi there |
| 530 |
|
| 531 |
Will actually display "hi there" before "hello there", because |
| 532 |
the "hello there" echo is not executed until a WAIT token is |
| 533 |
received from the server. |
| 534 |
|
| 535 |
This new form of /WAIT is to be used in preference over the |
| 536 |
old form. The old form has innumerable problems, among them being: |
| 537 |
|
| 538 |
If one WAIT is executed while another is pending, |
| 539 |
both will be registered as satisfied when the first |
| 540 |
returns. A warning is now issued when this happens. |
| 541 |
|
| 542 |
If you are in a prompted input sequence (such as oper |
| 543 |
password, confirmation prompts, and $".." input), |
| 544 |
results can be unpredictable. |
| 545 |
|
| 546 |
It is not consistant with the message driven programming |
| 547 |
model which exists in ircII. |
| 548 |
|
| 549 |
With multi window enhancements the problems with WAIT become even |
| 550 |
more prohibitive, unless used in the -CMD form. |
| 551 |
|
| 552 |
If you are echoing output to the screen from within the WAIT -CMD |
| 553 |
form, it is probably a good idea to record the current window |
| 554 |
and use XECHO -WINDOW to ensure that output goes where it should. |
| 555 |
|
| 556 |
2.2lynx.pre8 |
| 557 |
Modified /me (edit.c) to automatically append periods, |
| 558 |
feature used by new 'action' script. |
| 559 |
|
| 560 |
Revamped many scripts, the config.h, little changes to |
| 561 |
Makefile and help files. |
| 562 |
|
| 563 |
Globally replaced all put_it("*** .. by new function say() |
| 564 |
and changed put_it_always into yell. |
| 565 |
|
| 566 |
|
| 567 |
2.2pre7.myc6.phone |
| 568 |
Added Megre support of irc 2.8, there is still a long way to |
| 569 |
go here. Code for the user mode e has been written, but not |
| 570 |
added, as it probably won't be in the server. |
| 571 |
|
| 572 |
Added window refnum to the output of the WINDOW LIST command. |
| 573 |
|
| 574 |
Notify bug on start up fixed. |
| 575 |
|
| 576 |
Two new functions GETPID() and GETPPID() added to allow the |
| 577 |
process ID, and parent process ID to be accessable with in |
| 578 |
a script. These have been left out for now. |
| 579 |
|
| 580 |
Changed the KICK command, to allow the sending of kick |
| 581 |
comments. |
| 582 |
|
| 583 |
Bug in QUIT_ON_OPERATOR_KILL fixed, where last time was |
| 584 |
not `seen' for long enough to be read. |
| 585 |
|
| 586 |
Mail checking bug fixed. |
| 587 |
|
| 588 |
Added new variable SHOW_STATUS_ALL. When set, it shows everthing |
| 589 |
in every (visible) status line. When not set, it only show |
| 590 |
things that (I think) are relevant to that window, and are |
| 591 |
not the same as the current window. Things like nickname, |
| 592 |
usermode, are only shown on one window, if connected to only |
| 593 |
one server. |
| 594 |
|
| 595 |
Made DCC with no arguments the same as DCC LIST. |
| 596 |
|
| 597 |
Added the window notification status to WINDOW command (no args). |
| 598 |
|
| 599 |
Away changed to allow different away messages on different |
| 600 |
servers. Two flags -ONE and -ALL (-ONE default) for the sending |
| 601 |
of the away message to the servers you are on. |
| 602 |
|
| 603 |
Bug in $RAND() fixed <Daemon>. |
| 604 |
|
| 605 |
2.2pre7.myc6 |
| 606 |
HELP_SERVICE and HELP_PATH are now SETtable variables. |
| 607 |
|
| 608 |
Memory leak in add_to_window() is fixed. |
| 609 |
|
| 610 |
WHICH doesn't wedge the client (by corrupting load_depth) any more. |
| 611 |
|
| 612 |
MSG *, QUERY *, CTCP *, REDIRECT *, NAMES *, LIST *. [Daemon] |
| 613 |
|
| 614 |
$U inserts cut buffer. [Daemon] |
| 615 |
|
| 616 |
$RAND() is a bit more portable and doesn't use floating point. |
| 617 |
|
| 618 |
Scripts updated to use `:' as noop rather than `#'. |
| 619 |
|
| 620 |
2.2pre7.myc5 |
| 621 |
QUOTE USERHOST *really* doesn't core dump any more. B-) |
| 622 |
|
| 623 |
`voice' script updated for new script parser. |
| 624 |
|
| 625 |
2.2pre7.myc4 |
| 626 |
The Makefile now handles making the symlink for config.h. This |
| 627 |
has the advantage of being slightly easier to use on a machine |
| 628 |
without symbolic links; you just change the `LN' variable in the |
| 629 |
top-level Makefile to `cp'. It also has the advantage that we |
| 630 |
won't see patch files with two copies of the diffs for config.h |
| 631 |
any more. B-) |
| 632 |
|
| 633 |
Makefile.proto has been rearranged somewhat, and the dependencies |
| 634 |
have been updated. |
| 635 |
|
| 636 |
DCC GET bug from myc2 fixed. |
| 637 |
|
| 638 |
2.2pre7.myc3 |
| 639 |
All the bloody #defines at the beginning of keys.c are now in |
| 640 |
keys.h.proto, and are handled by `count'. |
| 641 |
|
| 642 |
Stupid inverse (and bold) video bug from myc2 fixed. |
| 643 |
|
| 644 |
2.2pre7.myc2 |
| 645 |
^Os are no longer appended to lines before storing them in the |
| 646 |
lastlog. This avoids adding ^Os to lines in the log file when |
| 647 |
using /LASTLOG. Bleah. |
| 648 |
|
| 649 |
New commmand :, which is a noop. Using # as a noop command is |
| 650 |
strongly discouraged, as it is treated differently in scripts. |
| 651 |
(# at the beginning of a line in a script (ignoring spaces) means |
| 652 |
to ignore the whole line.) |
| 653 |
|
| 654 |
Bug in handling quoted braces from 2.2pre7.myc1 fixed. |
| 655 |
|
| 656 |
`DCC GET nickname' gets the first file offered by `nickname'. |
| 657 |
|
| 658 |
KICK comments are now displayed, if present. |
| 659 |
|
| 660 |
Removed silly whitespace limitation in scripts. |
| 661 |
|
| 662 |
JOIN no longer automatically adds a `#' to a channel name if missing. |
| 663 |
[Avalon] |
| 664 |
|
| 665 |
2.2pre7.myc1 |
| 666 |
New commands WINDOW BACK, NEXT, PREVIOUS. [phone] |
| 667 |
|
| 668 |
New commands ON HOOK and HOOK. [Daemon] |
| 669 |
|
| 670 |
DCC SEND and GET now display speed when transfer is finished. [Avalon] |
| 671 |
|
| 672 |
(Rest of these by Mycroft:) |
| 673 |
|
| 674 |
Added declaration for `newexp' in whilecmd() which Troy left |
| 675 |
out. |
| 676 |
|
| 677 |
Removed line discipline code for AIX. |
| 678 |
|
| 679 |
Fixed ON_KICK. |
| 680 |
|
| 681 |
Tabs now display in reverse video after limit reached, so you |
| 682 |
can actually see them. |
| 683 |
|
| 684 |
-c works again. |
| 685 |
|
| 686 |
ON WINDOW doesn't recurse (and thus doesn't crash). |
| 687 |
|
| 688 |
TOPIC and ACTION messages go in the right windows. |
| 689 |
|
| 690 |
PAUSE_AFTER_MOTD is now a compile-time option and actually |
| 691 |
works. |
| 692 |
|
| 693 |
QUOTE USERHOST doesn't crash. |
| 694 |
|
| 695 |
QUOTE ISON does something sensible. |
| 696 |
|
| 697 |
USERHOST and ISON with no arguments no longer corrupt the |
| 698 |
whois queue. |
| 699 |
|
| 700 |
\ is no longer converted to \\ by /SAVE and in the history. |
| 701 |
|
| 702 |
/MSG FOO, does the right thing. |
| 703 |
|
| 704 |
/TYPE \^ now types out a caret, which you couldn't do before. |
| 705 |
|
| 706 |
White space around braces is less important. The main effect |
| 707 |
is that K&R style braces now work. You should be able to use |
| 708 |
whatever indenting style you prefer. Note that braces inside |
| 709 |
a command should be quoted now, a la \{ and \}. |
| 710 |
|
| 711 |
2.2pre7 |
| 712 |
Meta4 is now sticky. That is, Meta4-C-D-E-F-G invokes the |
| 713 |
meta4 versions of C, D, E, F and G. This effect lasts until |
| 714 |
meta4 is invoked again. Additionally, the Meta4 characters |
| 715 |
^h, SPACE, h, i, j, k, x, H, I, J, K, L and X have been |
| 716 |
bound in such a way that BIND ^[ META4_CHARACTER now |
| 717 |
gives a vi editing mode. |
| 718 |
|
| 719 |
Bugs in complex '@' expressions fixed. |
| 720 |
|
| 721 |
Thu Jun 11 09:48:47 1992 Charles Hannum ([email protected]): |
| 722 |
|
| 723 |
* Makefile: Change RS/6000 support. |
| 724 |
|
| 725 |
* config.h (DEFAULT_STATUS_CHANNEL): Delete duplicate definition. |
| 726 |
|
| 727 |
* script/action: Remove `on's. |
| 728 |
|
| 729 |
* script/bigcheese: Convert to 2.2pre6 syntax. |
| 730 |
script/finger.who, script/fnet, script/killpath: Likewise. |
| 731 |
script/kpstat, script/log, script/nicks, script/repeat: Likewise. |
| 732 |
script/shell, script/voice: Likewise. |
| 733 |
|
| 734 |
* script/version: Update version number. |
| 735 |
script/netsplit: Rewrite to handle multiple splits. |
| 736 |
script/brc: Fix typo. |
| 737 |
|
| 738 |
* source/alias.c: Change function prototypes to match definitions. |
| 739 |
source/ctcp.c, source/edit.c, source/status.c: Likewise. |
| 740 |
source/term.c, source/translat.c, source/vars.c: Likewise. |
| 741 |
source/window.c: Likewise. |
| 742 |
|
| 743 |
* source/edit.c: Put comment delimiters around text after #endif. |
| 744 |
source/help.c, source/hold.h, source/irc.h, source/ircaux.c: Likewise. |
| 745 |
source/lastlog.h, source/term.h: Likewise. |
| 746 |
|
| 747 |
* source/exec.c: Add support for AIX 3. |
| 748 |
source/help.c, source/irc.h, source/ircserv.c: Likewise. |
| 749 |
source/log.c, source/newio.c, source/scandir.c: Likewise. |
| 750 |
* source/ircaux.c: Rename _RS6000 to _IBMR2. |
| 751 |
source/status.c: Likewise. |
| 752 |
* source/term.c: Remove unnecessary code for AIX 3. |
| 753 |
|
| 754 |
* source/vars.c: Replace NULLs with 0s in integer context. |
| 755 |
|
| 756 |
* source/status.c (convert_sub_format): Make bletch an array to |
| 757 |
prevent being put in readonly storage. |
| 758 |
(status_channel): Use format string even if *private*. |
| 759 |
|
| 760 |
* source/notice.c (parse_server_notice): Don't call |
| 761 |
reconnect_all_channels and reinstate_user_modes if first connect |
| 762 |
(phone bug). |
| 763 |
|
| 764 |
* source/menu.c: Make sure menu cursor doesn't get redrawn if menu |
| 765 |
disappears. |
| 766 |
|
| 767 |
* source/exec.c: Make sure messages get redirected after EXEC output. |
| 768 |
|
| 769 |
* source/edit.c (evalcmd): Fix EVAL when subargs == NULL. |
| 770 |
source/if.c (ifcmd, whilecmd, foreach): Likewise for IF, WHILE, |
| 771 |
and FOREACH. |
| 772 |
|
| 773 |
* source/if.c (whilecmd): Copy exp on every iteration, as parse_inline |
| 774 |
destroys it. |
| 775 |
|
| 776 |
* source/irc.c: Update version number. |
| 777 |
|
| 778 |
* source/dcc.c: Include arpa/inet.h for prototypes. |
| 779 |
|
| 780 |
* script/ping, script/whowas: New scripts. |
| 781 |
2.2pre6 |
| 782 |
WARNING. 2.2pre6 will almost certainly require changes |
| 783 |
to your .ircrc and script files due to changes in the |
| 784 |
parsing. The intention at this point is to keep the new |
| 785 |
syntax forever. That is, unless there's something I |
| 786 |
have missed, there will be no further script breaking |
| 787 |
changes. |
| 788 |
|
| 789 |
DISPLAY now defaults to OFF in scripts. |
| 790 |
|
| 791 |
Two new meta keys have been added. Meta3 is bound by |
| 792 |
default to META1-[, and Meta4 is left unbound. |
| 793 |
|
| 794 |
DCC SEND now checks that a file exists before sending |
| 795 |
the request. Memory allocation bugs when using DCC |
| 796 |
file transfers with ~ pathnames fixed. |
| 797 |
|
| 798 |
If you have experienced corrupted output from ircII, |
| 799 |
this should be fixed. |
| 800 |
|
| 801 |
Several display bugs, including a memory leak related |
| 802 |
to using windows have been fixed. |
| 803 |
|
| 804 |
Missed PINGs when in the help pager fixed. |
| 805 |
|
| 806 |
A new command, EVAL, has been added. EVAL causes |
| 807 |
its arguments to be passed through variable substitution |
| 808 |
and executed. |
| 809 |
|
| 810 |
Alias substitution is no longer performed in scripts, |
| 811 |
regardless of the setting of INPUT_ALIASES. To force alias |
| 812 |
substitution, use EVAL. |
| 813 |
|
| 814 |
A command beginning with '@' is taken to be an |
| 815 |
alias expression as would be normally parsed |
| 816 |
from within ${}. The expression is substituted and |
| 817 |
the substituted value discarded. |
| 818 |
|
| 819 |
The script loading path is now accessible as the SET |
| 820 |
variable, LOAD_PATH. Additionally, if you are unsure |
| 821 |
as to which directory a script being loaded is in, |
| 822 |
the /WHICH command will display the full path to a |
| 823 |
script. eg. /which global shouls give something on all |
| 824 |
systems. |
| 825 |
|
| 826 |
Bugs in Menus which caused core dumps have been fixed. |
| 827 |
|
| 828 |
Bug in DCC which caused incoming DCC messages not to be |
| 829 |
directed to window level DCC fixed. |
| 830 |
|
| 831 |
Bug with +s channels and /names fixed. |
| 832 |
|
| 833 |
Connections to servers on UNIX domain sockets are now |
| 834 |
supported. |
| 835 |
|
| 836 |
Aliases can now be recursive up to a maximum level |
| 837 |
as specified in the variable MAX_RECURSIONS. |
| 838 |
|
| 839 |
The inline variable parser now substitutes \n, \r, \0 |
| 840 |
and \p too their equivalents in the CTRL-P convention. |
| 841 |
|
| 842 |
Having ! as the first character for the INDEX function |
| 843 |
no longer causes just unescaped characters to be matched. |
| 844 |
It is now a normal character in this context. |
| 845 |
|
| 846 |
The $%FUNCTION syntax is no longer supported. You can |
| 847 |
still use functions - just remove the '%'. |
| 848 |
|
| 849 |
The parser used when INPUT_ALIASES is on has been changed |
| 850 |
again. Text between brackets (...) and {...} is no longer |
| 851 |
subject to alias expansion, unless the opening bracket is |
| 852 |
escaped (ie... \( or \{ ). This affects alii and input when |
| 853 |
INPUT_ALIASES is on. |
| 854 |
|
| 855 |
Additionally, You can return to full alias substitution |
| 856 |
within ${...} by enclosing the substitution text in |
| 857 |
[...]. Thus if $0 == test, and $bear == black |
| 858 |
${[$0]} expands to "test" |
| 859 |
${[$bear]} expands to "black" |
| 860 |
${bear} also expands to "black" |
| 861 |
${ bear == [black] } expands to "1", |
| 862 |
${ [$0] == [test] ) expands to "1" |
| 863 |
${ [$0] == [black] ) expands to "0" |
| 864 |
${ [$0](this) } expands to the return value of $test(this) |
| 865 |
|
| 866 |
There is a new form for the if command. This is: |
| 867 |
if (expr) {then_commands} {else_commands} |
| 868 |
Note that because the expression, the then_commands |
| 869 |
and the else_commands are between brackets, they are |
| 870 |
not expanded in alias expansion. This is taken care of |
| 871 |
in the if statement itself. The expression is treated |
| 872 |
as if it were enclosed in ${...}. Thus all the comparisons, |
| 873 |
groupings, arithmetic and boolean operations that a |
| 874 |
available in ${...} can be used in the expression. |
| 875 |
Also note that you can have more than one command in |
| 876 |
each of the then and else parts of the condition. |
| 877 |
|
| 878 |
The result is that what used to look like this: |
| 879 |
|
| 880 |
on ^send_public * if "$^!^=^>^<C=$^!^=^>^<0" \ |
| 881 |
"echo $%format(11 <$N>) $^"1-" \ |
| 882 |
"echo $%format(10 <$N):$^"0> $^"1-" |
| 883 |
|
| 884 |
can (and must) now be expressed like this: |
| 885 |
|
| 886 |
on ^send_public * if ( C == [$0] ) \ |
| 887 |
{ echo $format(11 <$N> $1- } \ |
| 888 |
{ echo $format(10 <$N):$0> $1- } |
| 889 |
|
| 890 |
Note that this means there is no longer any need for using the |
| 891 |
^ escaping, and this may disappear in a later version unless |
| 892 |
there are strong objections. |
| 893 |
|
| 894 |
The same thing has happened to while and foreach, which now |
| 895 |
have the syntax: |
| 896 |
WHILE (expr) {commands} |
| 897 |
AND |
| 898 |
FOREACH structure index {commands} |
| 899 |
|
| 900 |
The effect of this on WHILE and FOREACH is that you no longer |
| 901 |
need to double up occurrences of '$'. You can still get this |
| 902 |
effect if you wish by escaping the leading bracket in the |
| 903 |
appropriate expression. Additionally, both while and foreach |
| 904 |
can now be recursive. Thus the following works as expected: |
| 905 |
|
| 906 |
assign a.1.1 one one |
| 907 |
assign a.1.2 one two |
| 908 |
assign a.2.1 two one |
| 909 |
assign a.2.2 two two |
| 910 |
alias fe |
| 911 |
{ |
| 912 |
foreach a i |
| 913 |
{ |
| 914 |
foreach a.$i j |
| 915 |
{ |
| 916 |
echo $i $j $a[$i][$j] |
| 917 |
} |
| 918 |
} |
| 919 |
} |
| 920 |
|
| 921 |
THE OLD SYNTAX FOR IF, WHILE AND FOREACH IS NO LONGER SUPPORTED. |
| 922 |
|
| 923 |
In scripts, lines beginning with '{' and containing other text |
| 924 |
are joined on to the previous line with one space placed between |
| 925 |
the two lines, thus the above example could have been written as: |
| 926 |
|
| 927 |
on ^send_public * if ( C == [$0] ) |
| 928 |
{ echo $format(11 <$N> $1- } |
| 929 |
{ echo $format(10 <$N):$0> $1- } |
| 930 |
|
| 931 |
Additionally, the {..} syntax for grouping within scripts |
| 932 |
can now be nested. Nested {...} pairs must have the brackets |
| 933 |
placed on their own line, and the brackets are included in the |
| 934 |
resulting text. Thus the following is equivalent to the above: |
| 935 |
|
| 936 |
on ^send_public * if ( C == [$0] ) |
| 937 |
{ |
| 938 |
echo $format(11 <$N> $1- |
| 939 |
} |
| 940 |
{ |
| 941 |
echo $format(10 <$N):$0> $1- |
| 942 |
} |
| 943 |
|
| 944 |
Or, for a little more verbosity: |
| 945 |
|
| 946 |
on ^send_public * if ( C == [$0] ) |
| 947 |
{ |
| 948 |
echo Current Channel: |
| 949 |
echo $format(11 <$N> $1- |
| 950 |
} |
| 951 |
{ |
| 952 |
echo Another Channel: |
| 953 |
echo $format(10 <$N):$0> $1- |
| 954 |
} |
| 955 |
|
| 956 |
2.2pre5 |
| 957 |
Bug in "Password" prompt for server passwords fixed. |
| 958 |
|
| 959 |
Bug in WINDOW REFNUM fixed. <phone> |
| 960 |
|
| 961 |
Bug in ON DCC_CHAT which prevented interaction with |
| 962 |
the server fixed. <phone> |
| 963 |
|
| 964 |
Bug which caused +w'd non-opers to see their own WALLOPs |
| 965 |
twice fixed. <phone> |
| 966 |
|
| 967 |
Additional operators have been added to the ${...} |
| 968 |
expresions. They are the equality and inequality |
| 969 |
operators (==, !=, >, >=, <, <=), the unary NOT |
| 970 |
operator (!), and the conjugation operators (&&, ||, ^^). |
| 971 |
These take 0 as false and any other number as true, |
| 972 |
and return 1 as true and 0 as false. |
| 973 |
|
| 974 |
On top of these are the assignment operator (=) and the |
| 975 |
string concatenation operator (##). The assignment operator |
| 976 |
means that the following now makess sense, and causes the value |
| 977 |
of first_name and last_name to be concatenated with a space |
| 978 |
inserted between them, and the value assigned to full_name. |
| 979 |
|
| 980 |
@ full_name = first_name ## [ ] ## last_name |
| 981 |
|
| 982 |
The following is also possible: |
| 983 |
|
| 984 |
@ a = b * (c + d) |
| 985 |
|
| 986 |
A new variable has been added for script developers. |
| 987 |
The DEBUG variable enables three types of debugging |
| 988 |
output dependant on the settings of various bits. |
| 989 |
bit value purpose |
| 990 |
0 1 Display all commands executed |
| 991 |
1 2 Display all alias substitutions made |
| 992 |
2 4 Display all function calls and return values |
| 993 |
|
| 994 |
More changes to parsing have occured. Firstly, there |
| 995 |
is no longer any '\' substitution on input. Thus, when |
| 996 |
you type text to a channel, in a /msg or elsewhere, it |
| 997 |
comes out exactly as you type it. |
| 998 |
|
| 999 |
On the other hand, '\' processing does exist anywhere |
| 1000 |
that alias expansion occurs. The result is that if you |
| 1001 |
have INPUT_ALIASES ON, you won't notice the difference. |
| 1002 |
Also, aliases and ons still get the '\' substitution |
| 1003 |
performed on them. All \c pairs where c is any character |
| 1004 |
are collapsed to just 'c' after all parsing has been done, |
| 1005 |
with the exception of ", !, =, < and >, which are |
| 1006 |
required by if and while. This shouldn't be the case |
| 1007 |
for much longer. |
| 1008 |
|
| 1009 |
Function and array index expansion now only observes |
| 1010 |
unescaped bracket delimiters. Thus $%index(\) abc\)def) |
| 1011 |
returns 3. |
| 1012 |
|
| 1013 |
Finally, the '%' is no longer needed for functions. |
| 1014 |
Thus you the above example is the same as |
| 1015 |
$index(\) abc\)def) |
| 1016 |
|
| 1017 |
The net result of all the changes to parsing in this |
| 1018 |
version should be to make both command entry and alias |
| 1019 |
construction much more intuitive. |
| 1020 |
|
| 1021 |
A new function, TDIFF, has been implemented. |
| 1022 |
TDIFF takes as its argument a time interval in seconds |
| 1023 |
and returns it as the english representation of |
| 1024 |
that number in the form: |
| 1025 |
|
| 1026 |
dd days hh hours mm minutes ss seconds |
| 1027 |
|
| 1028 |
omiting any zero values, unless all values are zero, |
| 1029 |
in which case the seconds field is returned. |
| 1030 |
|
| 1031 |
Bugs in dumb mode fixed. |
| 1032 |
|
| 1033 |
The parsing of ${} expressions has been changed. When |
| 1034 |
mathematical expressions are being used, order of |
| 1035 |
operations is respected and brackets are recognised |
| 1036 |
and treated correctly. Additionally, functions can |
| 1037 |
be referenced (without needing the % qualifier), and |
| 1038 |
functions and aliases can be mixed to give versatility. |
| 1039 |
This may break some numeric expressions, but will make |
| 1040 |
a lot more a whole lot more legible and intuitive. For |
| 1041 |
example, the following: |
| 1042 |
|
| 1043 |
${3*(INDEX(x abcxdef)+2)} |
| 1044 |
|
| 1045 |
Yields 3*(3+2) = 15 |
| 1046 |
or, if you have an alias: |
| 1047 |
|
| 1048 |
ALIAS TEST echo ${INDEX(x $0)*5} |
| 1049 |
|
| 1050 |
and then type: |
| 1051 |
|
| 1052 |
/TEST abcxdef |
| 1053 |
|
| 1054 |
you will get back 15 |
| 1055 |
|
| 1056 |
Then, if you have a set of functions, A.1, A.2, A.3, |
| 1057 |
and the variable IND is set to 2, then ${A[$IND]()} |
| 1058 |
will resolve to an invocation of A.2 as a function. |
| 1059 |
|
| 1060 |
If you have a function, F, and a pair of arrays A |
| 1061 |
and B, each with elements numbered 1-10, and F returns |
| 1062 |
either A for 1 and B for 2, then the following: |
| 1063 |
|
| 1064 |
${F(2)[5]} |
| 1065 |
|
| 1066 |
returns element 5 from array B. |
| 1067 |
Because order of operations is now respected, both |
| 1068 |
${3*2+5} and ${5+2*3} return 11. |
| 1069 |
|
| 1070 |
2.2pre4 |
| 1071 |
/WHO * now results in failure if you are not on a channel. |
| 1072 |
|
| 1073 |
Behaviour of positioning when menus are being used has been |
| 1074 |
corrected. There's the possibility that I broke something |
| 1075 |
else while doing it though. |
| 1076 |
|
| 1077 |
The worst of the memory leaks has been fixed. There are |
| 1078 |
still some memory leaks apparently present. If you compile |
| 1079 |
with ALLOC_DEBUG defined, then when the memory tracking |
| 1080 |
table gets full (indicating a leak), IRCII will abort, |
| 1081 |
generating a debug.log which lists all allocated blocks |
| 1082 |
with their sizes and contents in ASCII. This should |
| 1083 |
prove helpful in tracking leaks. |
| 1084 |
|
| 1085 |
The slosh (\) no longer quotes characters which have no |
| 1086 |
special meaning, thus allowing you to enter a '\' in the |
| 1087 |
text without doubling it up. Additionally, The \n sequence |
| 1088 |
no longer works. Use ';' in aliases instead, and quote the |
| 1089 |
CR or NL character to get the same effect interactively |
| 1090 |
(ie. ^Q^J or similar). |
| 1091 |
|
| 1092 |
Fixes to the multitude of bugs in pre3. |
| 1093 |
|
| 1094 |
2.2pre3 |
| 1095 |
If the environment variable "MAIL" is set, IRCII now uses |
| 1096 |
it to determine which file to check for mail. |
| 1097 |
|
| 1098 |
The VERBOSE_CTCP variable has been fixed. |
| 1099 |
|
| 1100 |
A new function, CONNECT(), gives access to TCP sockets |
| 1101 |
at the application level. The arguments are the destination |
| 1102 |
host and port number, and the return value is the |
| 1103 |
file descriptor (fd) associated with that socket. |
| 1104 |
A null file descriptor indicates that the host could |
| 1105 |
not be resolved, and a negative descriptor indicates |
| 1106 |
that an error occured in connecting. |
| 1107 |
|
| 1108 |
To test this facility, create a connection to the |
| 1109 |
echo service on some machine with: |
| 1110 |
|
| 1111 |
/alias socktest echo $%connect(host 7) |
| 1112 |
|
| 1113 |
Which will echo the file descriptor. |
| 1114 |
Then send messages to it with: |
| 1115 |
|
| 1116 |
/dcc raw fd host message |
| 1117 |
|
| 1118 |
These will be echoed back at you by the remote host. |
| 1119 |
Incoming messages can be intercepted with ON DCC_RAW, |
| 1120 |
which has the following formats: |
| 1121 |
|
| 1122 |
fd host D data |
| 1123 |
fd host C |
| 1124 |
fd host N port |
| 1125 |
fd host E port |
| 1126 |
|
| 1127 |
The D message indicated incoming data. |
| 1128 |
The C message indicates that the socket has been closed. |
| 1129 |
The N message indicates that a socket listening on the |
| 1130 |
specified port has accepted a connection. fd in this case |
| 1131 |
is the file descriptor for the new connection. |
| 1132 |
The E message is generated when a CONNECT() results in a |
| 1133 |
successful connection. |
| 1134 |
|
| 1135 |
The LISTEN() function creates a listening socket. It takes |
| 1136 |
a single argument - the port number on which to listen. If |
| 1137 |
this is zero, then a port number is assigned. The return |
| 1138 |
value is the port number on which the socket is listening |
| 1139 |
for connections. A port number below 1025 results in an |
| 1140 |
error. |
| 1141 |
|
| 1142 |
Conventions to be used for the socket access: |
| 1143 |
|
| 1144 |
Scripts using sockets should never use the |
| 1145 |
serial number 0 in their hooks. As their first |
| 1146 |
act before using the DCC_RAW hooks, they should |
| 1147 |
set: |
| 1148 |
|
| 1149 |
ON ^DCC RAW * # |
| 1150 |
|
| 1151 |
To ensure that all raw DCC sockets produce no |
| 1152 |
output. |
| 1153 |
|
| 1154 |
A new set of hooks should be created for each |
| 1155 |
active socket at a chosen serial number. One |
| 1156 |
must always exist to detect the close message, |
| 1157 |
and as its last act must remove all the hooks |
| 1158 |
for that file descriptor. |
| 1159 |
|
| 1160 |
|
| 1161 |
You can now "send" a message to a command. For example, |
| 1162 |
/msg /echo this is a test |
| 1163 |
is the same as |
| 1164 |
/echo this is a test. |
| 1165 |
The primary use of this is to allow a /QUERY of a command. |
| 1166 |
Thus if you /query /echo, everything you type to the |
| 1167 |
current window will simply be echoed back, and if you |
| 1168 |
/query /exec, you can use IRCII as a shell. Note that |
| 1169 |
when querying a command, you may need to use XECHO -WINDOW |
| 1170 |
to ensure output goes to the right place. |
| 1171 |
|
| 1172 |
CTCP UTC has been added. This is primarily for robots |
| 1173 |
to send date and time information to users and have it |
| 1174 |
displayed in local time. The format of the UTC |
| 1175 |
CTCP is: |
| 1176 |
UTC number |
| 1177 |
where number is the ASCII representation of the 32 bit |
| 1178 |
integer representing the time as is used on UNIX machines. |
| 1179 |
When IRCII receives this CTCP, it replaces the text of |
| 1180 |
the local time expressed in the local language back into |
| 1181 |
the original message. Thus if you send the following: |
| 1182 |
|
| 1183 |
/NOTICE nick The time is ^AUTC 702777074^A |
| 1184 |
|
| 1185 |
The user might see: |
| 1186 |
|
| 1187 |
-yournick- The time is Thu Apr 9 09:51:14 1992 |
| 1188 |
|
| 1189 |
(if their timezone is Australian Eastern Standard Time). |
| 1190 |
|
| 1191 |
Menus have been added. The menus are totally user |
| 1192 |
configurable and a test menu has been provided in |
| 1193 |
the top level directory of the IRCII source distribution. |
| 1194 |
To use this menu, copy it to your home directory, |
| 1195 |
run IRC, and to the following: |
| 1196 |
|
| 1197 |
/MLOAD test |
| 1198 |
/SET menu Main Menu |
| 1199 |
|
| 1200 |
Control-R is bound to ENTER_MENU, and while in the menu |
| 1201 |
you can use vi-like keys or EMACS-like keys to move |
| 1202 |
through the options, and either '.' or SPACE to select |
| 1203 |
an option. The format of the menu file is as follows |
| 1204 |
|
| 1205 |
A line beginning with a '#' represents a comment. |
| 1206 |
Blank lines are ignored. |
| 1207 |
A line beginning with the word "MENU" starts a new menu |
| 1208 |
and gives it a name. |
| 1209 |
A line beginning with the word "OPTION" adds a new option |
| 1210 |
to the menu, gives it a name and describes what it does. |
| 1211 |
|
| 1212 |
For more information, see the demonstration menu shipped |
| 1213 |
with the sources. |
| 1214 |
|
| 1215 |
Bug which cleared the input line when calling WAIT from |
| 1216 |
ON TIMER fixed. |
| 1217 |
|
| 1218 |
Bug which left channel names from a previous connection |
| 1219 |
in the channel list even if they could not be rejoined |
| 1220 |
fixed. |
| 1221 |
|
| 1222 |
User modes are now restored after a disconnect/reconnect. |
| 1223 |
|
| 1224 |
Bug which caused the scrollback buffer to duplicate messages |
| 1225 |
when HOLD_MODE is on fixed. |
| 1226 |
|
| 1227 |
USERHOST is now used in place of WHOIS to retrieve IRC-Op |
| 1228 |
information on WALLOPing users and in the case of 2.6.2 |
| 1229 |
servers, user@host information for IGNORE. This means |
| 1230 |
that there are now three commands going through the WHOIS |
| 1231 |
queue - WHOIS, ISON and USERHOST. It is not a good idea |
| 1232 |
to /quote these, as you will be likely to corrupt the |
| 1233 |
WHOIS queue. USERHOST can now be issued with /HOST and |
| 1234 |
/USERHOST |
| 1235 |
|
| 1236 |
It is now possible to have more than one ON hook executed for |
| 1237 |
each event triggering a hook. This has been done by adding a |
| 1238 |
new serial number concept to the ON command. Each ON hook has |
| 1239 |
a serial number attached. Serial numbers can be any number |
| 1240 |
from -maxint to maxint, with the default being 0. |
| 1241 |
|
| 1242 |
When an event triggers a hook, IRCII now goes through the ON |
| 1243 |
hooks added for that event, and for each serial number used |
| 1244 |
by ON hooks in that hook type, finds the best match out of those |
| 1245 |
ON hooks which have that serial number and executes that ON |
| 1246 |
hook. The hooks are executed in order of serial number. Thus |
| 1247 |
if you set up the following set of MSG hooks. |
| 1248 |
|
| 1249 |
ON #^MSG -666 * echo Message coming: |
| 1250 |
ON ^MSG * echo Message from $0: $1- |
| 1251 |
ON #^MSG 666 * echo I got one, I got one! |
| 1252 |
ON #^MSG 666 WiZ echo WiZ hath spoken |
| 1253 |
|
| 1254 |
will cause the following to appear when you receive a message: |
| 1255 |
|
| 1256 |
Message coming: |
| 1257 |
Message from nick: text |
| 1258 |
I got one, I got one! |
| 1259 |
|
| 1260 |
And the following if you receive a message from WiZ: |
| 1261 |
|
| 1262 |
Message coming: |
| 1263 |
Message from WiZ: text |
| 1264 |
WiZ hath spoken |
| 1265 |
|
| 1266 |
The default serial number is 0, and the serial numbers are always |
| 1267 |
executed in order, starting with the lowest, and ending with the |
| 1268 |
highest. |
| 1269 |
|
| 1270 |
Although the '^' modifier can be used with any serial number, |
| 1271 |
it will only suppress the decault action if used with serial |
| 1272 |
number 0. Thus if the only message hook you have is: |
| 1273 |
|
| 1274 |
ON #^MSG -666 * echo Incoming: |
| 1275 |
|
| 1276 |
You will see the following when you receive a message: |
| 1277 |
|
| 1278 |
Incoming: |
| 1279 |
*nick* text |
| 1280 |
|
| 1281 |
It is advisable to place any ON hooks which do not suppress the |
| 1282 |
default action in a serial number other than 0. In particular, |
| 1283 |
TIMER hooks, which are generally not intended to exclude other |
| 1284 |
TIMER hooks, should be placed at different serial numbers wherever |
| 1285 |
possible, and never on 0 (since 0 is the most likely place to |
| 1286 |
get a clash if anybody does use it). |
| 1287 |
|
| 1288 |
The # modifier (bind to current server) for ON commands has been |
| 1289 |
changed to '&'. |
| 1290 |
|
| 1291 |
Fixed display bug with reverse and bold modes which caused |
| 1292 |
these modes to be turned off if a line wrapped. Also fixed |
| 1293 |
NOTIFY and LINKS problems. |
| 1294 |
|
| 1295 |
The bug in user mode processing when a MODE command makes no |
| 1296 |
actual changes to the user mode has been fixed. |
| 1297 |
|
| 1298 |
A new status line variable, %B, gives the number of lines |
| 1299 |
in the hold buffer for the current window. Its format |
| 1300 |
is controlled by the STATUS_HOLD_LINES variable. %B is only |
| 1301 |
updates once for every ten lines. |
| 1302 |
|
| 1303 |
New status line variable, %# added. This returns the current |
| 1304 |
user mode. Its format is controlled by the STATUS_UMODE |
| 1305 |
variable. |
| 1306 |
|
| 1307 |
The behaviour of FLUSH when HOLD_MODE is on has changed. |
| 1308 |
it now clears the hold buffer for the current window before |
| 1309 |
flushing further output from the server. The result is that |
| 1310 |
with HOLD_MODE on it is now impossible to get into a |
| 1311 |
situation where you are being flooded by server output |
| 1312 |
with no hope of reprieve. |
| 1313 |
|
| 1314 |
2.2pre2 |
| 1315 |
^G bug fixed. A couple of small things cleaned up. |
| 1316 |
|
| 1317 |
2.2pre1 |
| 1318 |
Note that there have been several new variables added in |
| 1319 |
this version, so old config.h files won't work. Also the |
| 1320 |
IRCIIhelp service is being regionalised. You should set |
| 1321 |
HELP_SERVICE to the nearest IRCII help service in config.h |
| 1322 |
|
| 1323 |
Three new BIND functions have been implimented - |
| 1324 |
SCROLL_BACKWARD (bound by default to ESC-p), SCROLL_FORWARD |
| 1325 |
(bound by default to ESC-n), and SCROLL_END (bound by |
| 1326 |
default to ESC-e). These allow you to scroll through the |
| 1327 |
output stored in LASTLOG without having to use the |
| 1328 |
LASTLOG command. SCROLL_BACKWARD causes IRCII to scroll |
| 1329 |
half a window of LASTLOG data on to the screen, pushing |
| 1330 |
whatever is in the window towards the bottom. ESC-p |
| 1331 |
reverses this, thus looking at newer parts of the LASTLOG |
| 1332 |
history. ESC-e exits this scrollback buffer facility |
| 1333 |
at any time. This facility is probably best used with |
| 1334 |
HOLD_MODE set to ON, and requires SCROLL to be set to ON. |
| 1335 |
If you use this facility with HOLD_MODE off, then when you |
| 1336 |
leave the scrollback buffer, either by SCROLL_FORWARDing |
| 1337 |
to the end of it or SCROLL_ENDing, all text that has been |
| 1338 |
accumulated will be printed. If you have HOLD_MODE on, |
| 1339 |
the window will be held until you manually unhold it. |
| 1340 |
|
| 1341 |
Provision has been made for memory allocation debugging |
| 1342 |
for developers. Add -DALLOC_DEBUG to the CFLAGS, and |
| 1343 |
IRCII will abort (generating a core dump) should memory |
| 1344 |
be freed which was never allocated. Additionally, a |
| 1345 |
dump will be made showing the locations of all allocated |
| 1346 |
memory with the two preceding long integers in memory. |
| 1347 |
Additionally, SEGV will be trapped and will generate |
| 1348 |
a similar log, with the addition that if you are using |
| 1349 |
an IBM RS6000 it will dump a heap walk. People on other |
| 1350 |
platforms will need to either add heap walk code for |
| 1351 |
those systems or manually walk the heap using the |
| 1352 |
debugging information. The dump is stored in debug.log |
| 1353 |
|
| 1354 |
A new XECHO flag, -WINDOW, has been implimented. Thus: |
| 1355 |
XECHO -WINDOW 1 |
| 1356 |
always sends output to window 1, and |
| 1357 |
XECHO -WINDOW JUNK |
| 1358 |
always sends output to the window named "junk". If the |
| 1359 |
window does not exist, the -WINDOW flag has no effect, |
| 1360 |
except to cancel any earlier -WINDOW flag. |
| 1361 |
|
| 1362 |
Two new modifiers have been added to /ON. If the first |
| 1363 |
character of the first argument (the hook name or numeric |
| 1364 |
number) is '#' or '@', the ON only affects things relating |
| 1365 |
to the current server. Additionally, if it is '@', and there |
| 1366 |
is no match for things in the list of ONs applying to the |
| 1367 |
current server, it will not resort to the default list. |
| 1368 |
[Changed in pre3] |
| 1369 |
|
| 1370 |
WHO -LUSERS (returns only non-operators) and |
| 1371 |
WHO -NICK <nickname> (returns only people matching the |
| 1372 |
nickname argument) have been implimented. |
| 1373 |
|
| 1374 |
A new variable, DCC_BLOCK_SIZE controls the size of |
| 1375 |
blocks sent when sending files using DCC SEND. |
| 1376 |
The default is normally 512. Increasing this number |
| 1377 |
increases network efficiency. Decreasing this number |
| 1378 |
slows down the transfer, but also decreases the chances |
| 1379 |
of the transfer being aborted over bad links. |
| 1380 |
|
| 1381 |
Use of real estate when SCROLL is ON has been improved. |
| 1382 |
There is no longer a blank line between the text and |
| 1383 |
the status bar. This takes a little getting used to, |
| 1384 |
as now the screen scrolls before a line is printed |
| 1385 |
rather than after. |
| 1386 |
|
| 1387 |
You can now include text modification characters |
| 1388 |
(^B, ^V, ^_ and ^O) in STATUS_FORMAT. If you change |
| 1389 |
the format at the start of STATUS_FORMAT, you will |
| 1390 |
have to do it again after any %C or %U, as these |
| 1391 |
both reset it to reverse video. |
| 1392 |
|
| 1393 |
You can no longer abbreviate QUIT, SIGNOFF, BYE or EXIT |
| 1394 |
in NOVICE mode. |
| 1395 |
|
| 1396 |
All restrictions on IGNORE by user@host removed. |
| 1397 |
|
| 1398 |
Internals given a decent reworking. There could be bugs here. |
| 1399 |
You should now never see ircd's colons marking the last |
| 1400 |
argument. |
| 1401 |
|
| 1402 |
Added two new wildcards to the pattern matching system. |
| 1403 |
'%' matches any sequence of characters except a space. |
| 1404 |
'?' matches any single character. |
| 1405 |
|
| 1406 |
International character set support added. Translation |
| 1407 |
tables are supplied for various terminal types. To activate |
| 1408 |
the appropriate character set, /SET TRANSLATION charset_name |
| 1409 |
eg. For an IBM PC set up for US English (Code page 437), |
| 1410 |
/SET TRANSLATION CP437 |
| 1411 |
The translation tables assume that text transmitted on the |
| 1412 |
servers adheres to ISO 8859/1. If your terminal understands |
| 1413 |
ISO8859/1, set TRANSLATION to LATIN_1. The default is ASCII, |
| 1414 |
due to the fact that nothing can be safelt assumed about any |
| 1415 |
terminal. |
| 1416 |
|
| 1417 |
Bug in /set history 1 fixed |
| 1418 |
|
| 1419 |
Bug with redirecting to yourself fixed. It is now illegal |
| 1420 |
to redirect to yourself. |
| 1421 |
|
| 1422 |
$P (Chanop status variable) fixed, and a new status line |
| 1423 |
substitution, %@, which subsitutes to STATUS_CHANOP if |
| 1424 |
you are chanop on the channel shown on the status bar. |
| 1425 |
|
| 1426 |
$~ now substitutes to the last word on a line. |
| 1427 |
|
| 1428 |
New functions: |
| 1429 |
|
| 1430 |
ISCHANNEL(word) Returns 1 if word is a valid |
| 1431 |
channel name. |
| 1432 |
ISCHANOP(nick channel) Returns 1 if nick is a chanop |
| 1433 |
on the given channel. |
| 1434 |
WORD(number wordlist) Returns the specified word from |
| 1435 |
wordlist. The first word is |
| 1436 |
numbered 0. |
| 1437 |
WINNUM() Returns the current window number. |
| 1438 |
this is always the window which is |
| 1439 |
indicated by STATUS_WINDOW. |
| 1440 |
WINNAM() Returns the current window name. |
| 1441 |
this is always the window which is |
| 1442 |
indicated by STATUS_WINDOW. |
| 1443 |
If the window has no name, it returns |
| 1444 |
nothing. |
| 1445 |
|
| 1446 |
INVERSE_VIDEO variable and beyond fixed. |
| 1447 |
|
| 1448 |
A new character attribute, bold, has been added. This |
| 1449 |
is enabled and disabled with ^_. Disabling bold has |
| 1450 |
the side effect of disabling inverse and underline |
| 1451 |
without recording it internally. You should allow for |
| 1452 |
this when using bold text. Bold text can be enabled |
| 1453 |
and disabled with the BOLD_VIDEO variable. |
| 1454 |
|
| 1455 |
The status line problems with attribute characters |
| 1456 |
have been fixed. You can now include attribute characters |
| 1457 |
in the status line and they will take effect. One |
| 1458 |
application of this is to change the status bar from |
| 1459 |
inverse text to bold or underlined by including ^_ or |
| 1460 |
^V at the start of STATUS_FORMAT. |
| 1461 |
|
| 1462 |
You can now refer to the elements of structures |
| 1463 |
(normally Structure.Element) as Structure[Element]. |
| 1464 |
When you do this, Element is evaluated as an expression |
| 1465 |
before it is appended to Structure. Thus if A has the |
| 1466 |
value "TEST", and there is a variable "B.TEST" with the |
| 1467 |
value "Message": |
| 1468 |
echo $B[$A] |
| 1469 |
yields: |
| 1470 |
Message |
| 1471 |
These can be repeated, as in: |
| 1472 |
$MATRIX[0][0] |
| 1473 |
which becomes "$MATRIX.0.0". The result is a pseudo-array |
| 1474 |
effect. |
| 1475 |
|
| 1476 |
New command, FOREACH has been added. The format is |
| 1477 |
FOREACH structure variable command |
| 1478 |
This causes command to be executed once for each |
| 1479 |
element in the named structure, with variable |
| 1480 |
substituted to the name of the element. Thus |
| 1481 |
if you have assigned: |
| 1482 |
/ASSIGN A.1 ONE |
| 1483 |
/ASSIGN A.2 TWO |
| 1484 |
/ASSIGN A.3 THREE |
| 1485 |
/ASSIGN A.4 FOUR |
| 1486 |
/ASSIGN A.5 FIVE |
| 1487 |
and have an alias: |
| 1488 |
/ALIAS SHOWA FOREACH a i ECHO $$i |
| 1489 |
and type |
| 1490 |
/SHOWA |
| 1491 |
The output will be: |
| 1492 |
1 |
| 1493 |
2 |
| 1494 |
3 |
| 1495 |
4 |
| 1496 |
5 |
| 1497 |
Alternatively, you can use: |
| 1498 |
/ALIAS SHOWA FOREACH a i ECHO $$a[$$i] |
| 1499 |
to get: |
| 1500 |
ONE |
| 1501 |
TWO |
| 1502 |
THREE |
| 1503 |
FOUR |
| 1504 |
FIVE |
| 1505 |
Note that if you use numbers, 11 comes before 2. |
| 1506 |
The easiest way around this is to start numbering |
| 1507 |
elements at a higher number, such as 100. |
| 1508 |
Note that FOREACH, like WHILE, does variable |
| 1509 |
substitution once when the FOREACH command is |
| 1510 |
evaluated, and once for each iteration. This |
| 1511 |
means that in general you will need to double |
| 1512 |
up any occurences of '$'. |
| 1513 |
2.1.5b-2.1.5g |
| 1514 |
|
| 1515 |
Functionality of WHO -HOST and WHO -SERVER returned. |
| 1516 |
|
| 1517 |
New WHO flags, -HERE and -AWAY added. |
| 1518 |
|
| 1519 |
New functions: |
| 1520 |
|
| 1521 |
MATCH(pattern word-list) Returns an index into the word |
| 1522 |
list of the first word that matches |
| 1523 |
the pattern, starting at 1 and |
| 1524 |
returning 0 for no match. |
| 1525 |
RMATCH(word pattern-list) Returns an index into the pattern |
| 1526 |
list of the pattern that word best |
| 1527 |
matches. |
| 1528 |
STRIP(charlist line) Strips all occurrences of characters |
| 1529 |
contained in charlist from the line. |
| 1530 |
|
| 1531 |
You no longer need to supply the leading # to JOIN and PART. |
| 1532 |
If the leading # is omitted, and you are on a 2.7 server, |
| 1533 |
it will be inserted. Notable exceptions to this rule are |
| 1534 |
channel '#', which would have no name if the # were omitted, |
| 1535 |
and channels beginning with '##'. |
| 1536 |
|
| 1537 |
CTCP Action format changed so as not to interfere with channel |
| 1538 |
text. ON ACTION and ON SEND_ACTION added. You can now suppress |
| 1539 |
ACTION text with these, or reformat it. |
| 1540 |
|
| 1541 |
Many bugs fixed. |
| 1542 |
|
| 1543 |
2.1.5-2.1.5a |
| 1544 |
|
| 1545 |
New functions: |
| 1546 |
|
| 1547 |
USERHOST() Returns the user@host of the sender |
| 1548 |
of the message currently being |
| 1549 |
processed. |
| 1550 |
|
| 1551 |
WHO -HOST and -SERVER is no more supported. (This is reenabled |
| 1552 |
in a later version). |
| 1553 |
|
| 1554 |
The contents of an alias can now be surrounded by '{' and '}' |
| 1555 |
in and broken over multiple lines. See script/finger for an example. |
| 1556 |
|
| 1557 |
Indentation with leading tabs and spaces is now permitted in script |
| 1558 |
files. See /HELP LOAD. |
| 1559 |
|
| 1560 |
HOLD_MODE no longer holds when you are being active in that window. |
| 1561 |
|
| 1562 |
If you have SHOW_AWAY_ONCE on, away messages are remembered and |
| 1563 |
only displayed when they change. |
| 1564 |
|
| 1565 |
Notification of the receipt of a CTCP request no longer occurs |
| 1566 |
unless VERBOSE_CTCP is on. |
| 1567 |
|
| 1568 |
Prompts from EXECed processes now appear in the input window if |
| 1569 |
$T appears in INPUT_PROMPT. |
| 1570 |
|
| 1571 |
Scripts and help files can now be stored in compressed format. |
| 1572 |
They will be uncompressed as they are used. |
| 1573 |
|
| 1574 |
All the scripts have been updated and many helpfiles written and |
| 1575 |
rewritten. Many bugs have been fixed, support of newer server |
| 1576 |
features added. Server 2.7 compatibility improved. |
| 1577 |
|
| 1578 |
There have been major changes in the command parser. Commands |
| 1579 |
are not expected to have a leading / unless entered interactively, |
| 1580 |
if you experience incompatibilities, you will have to add 'say' and |
| 1581 |
'send' wherever you have made aliases that send to the channel or query. |
| 1582 |
See also /help ircII programming for this. Also the ';' has a new |
| 1583 |
meaning as command seperator within ALIAS, BIND and ON. You might have |
| 1584 |
to \escape it. |
| 1585 |
|
| 1586 |
CTCP ACTION has been implemented which permits you to send |
| 1587 |
descriptions of actions/'feelings' to other people on channels |
| 1588 |
and even through queries. You can use it with /me and the action |
| 1589 |
script. See also: /help load action. |
| 1590 |
|
| 1591 |
* 2.1.5 (by lynX) Text is historically from new to old, that is - read it from bottom to top! |
| 1592 |
|
| 1593 |
Updated help files: NEWS LOAD/* WHOIS IRCII/IRCII IRCII/PROGRAMMING |
| 1594 |
ALIAS/ALIAS BIND/PARSE_COMMAND BIND/EXAMPLES ON/ON CTCP/* ME DESCRIBE |
| 1595 |
ON/SIGNOFF SEND SAY NOTIFY SET/COMMAND_MODE ALIAS/SPECIAL RESTART |
| 1596 |
SET/LASTLOG_LEVEL |
| 1597 |
|
| 1598 |
Threw out /who -s and -h, they were superflous and bad. |
| 1599 |
Cleaned up the vars.h and hook.h by cleaning the protos... FINALLY! |
| 1600 |
Wrote count.c and the proto headerfiles, adapted the Makefile.proto |
| 1601 |
Added underlining mechanism with put_it-code ^V. |
| 1602 |
Updated man page a bit. |
| 1603 |
Added optional code to limit the notify list length (MAX_NOTIFY). |
| 1604 |
Removed lots of do_hook-numeric if's by splitting the numeric's switch. |
| 1605 |
Rewritten /notify list. |
| 1606 |
Simplified notify.c and whois.c to no more support channel notify. |
| 1607 |
(If ISON doesn't, why should we then?). |
| 1608 |
Added Troy's alias functions MATCH and USERHOST, but no HELPs. |
| 1609 |
Added support for { } constructs in scripts and indentation. |
| 1610 |
|
| 1611 |
Removed the oper-flags from the IRC commands, if you issue oper commands while |
| 1612 |
you're not one, you get the beautiful ircd error messages. |
| 1613 |
|
| 1614 |
Seem to have fixed the problem in the status_mail sprintf... |
| 1615 |
Changed the handling of 2.7 UserHost in PRIVMSG etc. |
| 1616 |
The $, is now also set when you get an invitation. |
| 1617 |
Added oneself's nickname as command alias for /me. "/lynx smiles." |
| 1618 |
Improved HOLD_MODE: it no more holds a window if the user is being active on it. |
| 1619 |
Added some numeric codes in numbers.c for 2.7 compatibility. |
| 1620 |
Added support for ~ in IRCPATH, but only referring to the user's own home-dir. |
| 1621 |
Suspended a piece of new code in mail.c which seems to cause weird problems. |
| 1622 |
Introduced lastlog_level 'ACTIONS' to log in and outgoing CTCP ACTION lines. |
| 1623 |
Made 317 (whois-idle) a tiny bit smarter (seconds or minutes). |
| 1624 |
Added #ifdef SVR4 code. |
| 1625 |
Added SHOW_AWAY_ONCE and VERBOSE_CTCP vars. |
| 1626 |
Replaced QUIT_ON_KILL variable by a #define. |
| 1627 |
Applied Allanon's patches to ctcp.c and dcc.c, removal of DCC/SENDCRC + GETCRC. |
| 1628 |
Added support for numeric 364 (new LINREPLY). Old LINREPLY code not removed. |
| 1629 |
|
| 1630 |
New handling of process prompts. In the past they were put into the window->prompt |
| 1631 |
and then inserted into the INPUT_PROMPT var mask, which looks *ugly*, also the |
| 1632 |
input would not get echoed. Now it does this: If a prompt is detected you are |
| 1633 |
elegantly prompted, as if you were in the program itself, when you enter your |
| 1634 |
datum prompt and input are displayed in the window the way it would look outside |
| 1635 |
ircII. This is a great step towards using ircII as an interface to all kinds of |
| 1636 |
things, ircII + /bin/sh as a replacement for tcsh.. Ha ha I'm kidding. Well, for |
| 1637 |
a MUD client it's fine. ircII can now be used as MUD client. |
| 1638 |
BTW, I had to do profound changes in the handling of prompts throughout the source. |
| 1639 |
|
| 1640 |
Fixed ancient bug concerning process-query: you can now type 'just CR' into an exec. |
| 1641 |
|
| 1642 |
Fixed strange bug with /save prompt. Still don't know what was actually wrong, |
| 1643 |
but it behaves correctly now. :-I |
| 1644 |
|
| 1645 |
Away messages are only displayed ONCE. |
| 1646 |
|
| 1647 |
Added #ifdef into new_free() to hunt for free's that should not take place. |
| 1648 |
If you have spare time hunt some of those.. ;) |
| 1649 |
|
| 1650 |
Added the commands '<text> and :<text> which only work in COMMAND_MODE and |
| 1651 |
act like /send and /me respectively. This is a MUD standard. |
| 1652 |
|
| 1653 |
Added /restart, /xtra and /host which calls USERHOST. The last two have no |
| 1654 |
/help files. |
| 1655 |
|
| 1656 |
Introduced Allanon's implementation of ZCAT help file display. |
| 1657 |
Also scripts (files for /load) can be stored in compressed format if one likes. |
| 1658 |
|
| 1659 |
Patched /save to work with totally dumb terminals, with -d it saves without prompting. |
| 1660 |
|
| 1661 |
Added special sequence '$D' to the alias parser. Thanks to The_Edge for the idea. |
| 1662 |
Added binding ESC-G to the 'commander' script that uses it. |
| 1663 |
|
| 1664 |
Applied Veggen's patch to alias.c concerning uninitialized variables. |
| 1665 |
|
| 1666 |
Removed /set VERBOSE_QUERY since the same can be achieved with /^query... |
| 1667 |
(If you want it use /alias quer ^query) |
| 1668 |
|
| 1669 |
Added DCC SENDCRC and GETCRC by Allanon. These functions transmit and receive |
| 1670 |
files with checksum. It has to be tested and decided if a checksum is needed |
| 1671 |
or futile by TCP definition. The commands are temporary and should replace |
| 1672 |
the current SEND/GET or be removed away again. Since this decision affects |
| 1673 |
other client coders, too, it should be discussed via USENET or interactively. |
| 1674 |
|
| 1675 |
Added ';' handling: In ALIASes, ONs and BINDs it is legal to use ; as command |
| 1676 |
seperator instead of \\n while in LOAD and interactive mode ';' is considered a |
| 1677 |
normal character (to be able to type ;-) ). With a little magic I managed to make |
| 1678 |
it possible to escape the ; with \; in aliases if you want it as character. *PHEW* |
| 1679 |
|
| 1680 |
Repaired /whois 317 (idle time output). |
| 1681 |
Added /whois <server> <nick>[,<nick2>..] format to /whois command. |
| 1682 |
|
| 1683 |
Added commands /me and /describe to produce ACTION messages. |
| 1684 |
|
| 1685 |
Added CTCP ACTION handling. |
| 1686 |
|
| 1687 |
Disabled GLOBAL_IRCRC, replaced by automatic /load of 'global' which is |
| 1688 |
supposed to be in the IRCPATH. This permits easier debugging and developing |
| 1689 |
of scripts by redirecting everything into an other directory. |
| 1690 |
|
| 1691 |
If a person has an .ircrc the person is assumed to not be a novice, the /HELP NEWUSER |
| 1692 |
notice is not output. |
| 1693 |
|
| 1694 |
Added variable QUIT_ON_KILL to select if one wants to /quit when |
| 1695 |
one is killed. /ON KILL has not been implemented for obvious |
| 1696 |
reasons of possible misuse.. :-( |
| 1697 |
|
| 1698 |
Added #ifdef AUTO_RECONNECT to make ircII not auto-reconnecting. |
| 1699 |
|
| 1700 |
Added CTCP TIME by Veggen. |
| 1701 |
|
| 1702 |
Added 'signoff reason' to signoff message. Modified some messages concerning |
| 1703 |
CTCP and NOTIFY for beauty or better elequence... |
| 1704 |
|
| 1705 |
Added /send command which sends something to the current query or channel |
| 1706 |
as if it were typed. Acts as replacement to bare text, since that is now |
| 1707 |
interpreted as commands |
| 1708 |
|
| 1709 |
Added /say command which does the same as '/ <text>' |
| 1710 |
and /# (or # in script mode) command which is the same as /comment. |
| 1711 |
|
| 1712 |
Introduced script (command) mode and COMMAND_MODE variable. |
| 1713 |
|
| 1714 |
Removed some code that would never get used, as my optimizer told me. |
| 1715 |
|
| 1716 |
Bug fixes concerning buffers, /if command with HP/UX, ... |
| 1717 |
by Allanon and Veggen. |
| 1718 |
|
| 1719 |
* 2.1.4c |
| 1720 |
Some bug fixes, including the CTCP DCC bug and substitution |
| 1721 |
of '\' in alias expansion. |
| 1722 |
|
| 1723 |
Bug in SAVE with "-d" mode fixed. |
| 1724 |
|
| 1725 |
* 2.1.4b |
| 1726 |
Support for server version 2.7 |
| 1727 |
|
| 1728 |
* 2.1.4a |
| 1729 |
Bug fixes. |
| 1730 |
|
| 1731 |
* 2.1.4 |
| 1732 |
$N now substitutes correctly to the nick on the current server. |
| 1733 |
|
| 1734 |
Bug with changing servers when on multiple channels fixed. |
| 1735 |
|
| 1736 |
ISON based NOTIFY has been implemented. In addition, the |
| 1737 |
code has been modified so that NOTIFY will cause much lower |
| 1738 |
network loads. |
| 1739 |
|
| 1740 |
/TOPIC can now change the topic of a # channel on a 2.6.2b |
| 1741 |
or newer server. The new format for /TOPIC is: |
| 1742 |
/TOPIC [<channel>] [<topic>] |
| 1743 |
|
| 1744 |
Aliases and ASSIGNed variables can now include a dot |
| 1745 |
('.') in their names. When listing aliases and assigned |
| 1746 |
variables, anthing after a dot in the variable name |
| 1747 |
is suppressed, unless typed explicitly. If two variables |
| 1748 |
have the same name after this, only the first occurence |
| 1749 |
is printed. This allows a structure-like effect. |
| 1750 |
|
| 1751 |
/ASSIGN A.A This is a |
| 1752 |
*** Assign A.A added |
| 1753 |
/ASSIGN A.B this is B |
| 1754 |
*** Assign A.B added |
| 1755 |
/ASSIGN A.C This is c |
| 1756 |
*** Assign A.C added |
| 1757 |
/ASSIGN A |
| 1758 |
*** Assigns: |
| 1759 |
*** A <Structure> |
| 1760 |
/ASSIGN A. |
| 1761 |
*** Assigns: |
| 1762 |
*** A.A This is a |
| 1763 |
*** A.B this is B |
| 1764 |
*** A.C This is c |
| 1765 |
/ALIAS A.A alias a |
| 1766 |
*** Alias A.A added |
| 1767 |
/ALIAS A.B alias b |
| 1768 |
*** Alias A.B added |
| 1769 |
/ALIAS A.C alias c |
| 1770 |
*** Alias A.C added |
| 1771 |
/ALIAS A |
| 1772 |
*** Aliases: |
| 1773 |
*** A <Structure> |
| 1774 |
/ALIAS A. |
| 1775 |
*** Aliases: |
| 1776 |
*** A.A alias a |
| 1777 |
*** A.B alias b |
| 1778 |
*** A.C alias c |
| 1779 |
|
| 1780 |
Note that structures are effectively in a different naming |
| 1781 |
space to non structures. Thus, you can have a structure called |
| 1782 |
'A' and a normal variable, also called 'A'. |
| 1783 |
|
| 1784 |
Server notices are now displayed with the SNOTE level. |
| 1785 |
Four additional lastlog levels, USERLOG1-USERLOG4, are |
| 1786 |
reserved for users. These can be used by displaying text |
| 1787 |
with the XECHO command. |
| 1788 |
|
| 1789 |
Four new alias substitutions: $O substitutes to the value |
| 1790 |
of STATUS_OPER if you are an operator, $P to '@' if you are |
| 1791 |
a channel operator on the current channel, $M to the modes |
| 1792 |
on the current channel, and $A to the current away message. |
| 1793 |
* 2.1.3c |
| 1794 |
A new DCC command, rename, changes the name of a file sent |
| 1795 |
to you by somebody else. DCC file transfer should also accept |
| 1796 |
the ~ now. |
| 1797 |
|
| 1798 |
Some bug fixes. |
| 1799 |
* 2.1.3b |
| 1800 |
A new log level, OPNOTE, has been added. This level applies |
| 1801 |
to notices sent to operators, such as KILL notices. |
| 1802 |
|
| 1803 |
A new status line variable, %F, lists the hidden windows in |
| 1804 |
which there has been activity since they were made hidden. |
| 1805 |
An associated IRCII variable, STATUS_NOTIFY, sets the format |
| 1806 |
for this to be displayed. |
| 1807 |
|
| 1808 |
New ONs: CHANNEL_NICK and CHANNEL_SIGNOFF are executed once |
| 1809 |
for each channel from which the user changes nick or signs off. |
| 1810 |
If all the CHANNEL_NICK and CHANNEL_SIGNOFF hooks which are |
| 1811 |
matched suppress output, then the default output and the NICKNAME |
| 1812 |
and SIGNOFF hooks will be suppressed. |
| 1813 |
|
| 1814 |
Various bug fixes. |
| 1815 |
* 2.1.3a |
| 1816 |
Various bug fixes. |
| 1817 |
* 2.1.3 |
| 1818 |
Added support for the Tektronix XD88 |
| 1819 |
|
| 1820 |
Added DCC talk. To use this, /DCC TALK user@host. DCC talk |
| 1821 |
will only send an announcement once, rather than an infinite |
| 1822 |
number of times. |
| 1823 |
|
| 1824 |
Fixed bug with functions which have no arguments. Added RINDEX |
| 1825 |
function. |
| 1826 |
|
| 1827 |
* 2.1.2.2 |
| 1828 |
New help files RULES and IMPORTANT included. You should |
| 1829 |
read these before installing help and decide on a site |
| 1830 |
by site basis if you wish to install them. If not, remove |
| 1831 |
them from the help directory. |
| 1832 |
|
| 1833 |
Hopefully fixed the WHOIS queue once and for all. |
| 1834 |
|
| 1835 |
Fixed some bugs outstanding from 2.1 (HELP paging with |
| 1836 |
HOLD_MODE ON, Core dumps after a WHOIS or WHOWAS if the |
| 1837 |
WHOIS queue was empty, core dumps when the status line |
| 1838 |
is an empty string) |
| 1839 |
|
| 1840 |
* 2.1.2 |
| 1841 |
Added DCC file transfers (GET and SEND), and DCC CLOSE |
| 1842 |
|
| 1843 |
Added new window command - NOTIFY. This toggles the |
| 1844 |
notification status of the current window. A window with |
| 1845 |
notification on causes a message to be printed in the |
| 1846 |
current window if output to that window occurs while |
| 1847 |
it is hidden. |
| 1848 |
|
| 1849 |
Changed group message ([$#]*.domain) handling so that such |
| 1850 |
messages are treated more like WALLs than MSGs. (Meaning |
| 1851 |
that it beeps if you have WALLs set in BEEP_ON_MSG, not |
| 1852 |
if you have MSGs set). |
| 1853 |
|
| 1854 |
The type of the MAIL variable has been changed from BOOLEAN |
| 1855 |
back to INTEGER. If set to 2, it will now display some of the |
| 1856 |
headers from incoming mail. Setting it to 1 is the same as |
| 1857 |
setting it to ON used to be. |
| 1858 |
|
| 1859 |
/ON SERVER_NOTICE processes messages sent from the server |
| 1860 |
as NOTICEs, including MOTDs and many server status messages. |
| 1861 |
The easiest way to see what is trapped by this is to do a |
| 1862 |
/ON ^SERVER_NOTICE * /echo [SNOTICE] $* and see what happens. |
| 1863 |
|
| 1864 |
/WHO -FILE performs a /WHO, displaying only those nnicks |
| 1865 |
contained in the named file. This allows a larger list to |
| 1866 |
be kept of people you know on IRC but not well enough to |
| 1867 |
put them in the NOTIFY list. |
| 1868 |
|
| 1869 |
If a channel name exceeds the channel name width in the output |
| 1870 |
of /NAMES or /WHO, the last character that would be displayed |
| 1871 |
is shown as a '>'. |
| 1872 |
|
| 1873 |
Added NOVICE variable. Causes a new user message to be printed |
| 1874 |
after .ircrc has been loaded if it is still set to ON, and |
| 1875 |
refuses to allow any ON commands to be executed. |
| 1876 |
|
| 1877 |
Added /ON RAW_IRC to deal with any unknown commands coming from |
| 1878 |
the server. This is primarily of use to people working on server |
| 1879 |
code, or people using servers with new commands which IRCII does |
| 1880 |
not yet recognise. |
| 1881 |
|
| 1882 |
Direct Client Connections implemented. /DCC CHAT opens a direct |
| 1883 |
connection to another client. The user at the other end can either |
| 1884 |
accept the chat with a /DCC chat or ignore it. Messages are sent |
| 1885 |
across DCC CHAT connections with DMSG or DQUERY. A new status |
| 1886 |
specifier, %D (STATUS_DQUERY) is supported, which substitutes |
| 1887 |
the DQUERY value. Two more /ONs, DCC_CHAT and SEND_DCC_CHAT, deal |
| 1888 |
with DMSG messages. |
| 1889 |
|
| 1890 |
* 2.1.1 |
| 1891 |
Version 2.1.1 supports user defined functions. A user |
| 1892 |
defined functions is an alias that ASSIGNs a value to |
| 1893 |
FUNCTION_RETURN. Another alias can substitute the return |
| 1894 |
value with $%FUNCTION(ARGUMENTS). See /HELP ALIAS FUNCTIONS |
| 1895 |
|
| 1896 |
Pattern matching has been improved. IRCII now has an idea |
| 1897 |
of the "best" match. This allows #* to be treated differently |
| 1898 |
to * in /ON NAMES, for example. |
| 1899 |
|
| 1900 |
IF and WHILE now only use unescaped operators. Thus if it |
| 1901 |
is possible for a substitution in an if or while to produce |
| 1902 |
an operator, such as a channel name containing !, it can |
| 1903 |
be entered as $^!CHANNEL, escaping the ! and making IF |
| 1904 |
and WHILE work as expected. |
| 1905 |
|
| 1906 |
Support has been added for privileged ports. If IRCII is |
| 1907 |
installed setuid->root it will attempt to bind the local |
| 1908 |
socket to a privileged port, allowing some servers to |
| 1909 |
verify connecting users on this basis. The PP_OBJS and |
| 1910 |
PP_DEFS macros in Makefile must be uncommented. |