forked from kruton/tinyfugue
-
Notifications
You must be signed in to change notification settings - Fork 4
/
CHANGES
2065 lines (1910 loc) · 90.8 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Only the most recent version will have detailed changes described.
Some fixes are followed by the version in which the problem first appeared.
5.0
---
If you have not yet read all changes since 4.0 stable 1, please do now.
(read the CHANGES file directly, or type "/changes 5.0" in tf.)
If you have custom code to do any of the following in older versions,
you'll probably want to get rid of it or redesign it, since it is now
superceded by standard features: key bindings; text redraw (after world
switch, or resuming from sh or suspend); scrollback; status line
customizations; ...
5.0 beta 8 (2007-01-14)
----------
Added %max_hook to prevent infinite hook loops.
Added gethostname().
Added missing documentation for new "E" and "W" attributes. (50b7)
Added "inline" flag to decode_attr().
Added -a<attr> and -p options to /prompt.
Output of "/load testcolor.tf" now includes labels with r,g,b values.
May create a debugging log if tf crashes.
When invoked as a login shell, suspend is ignored, instead of hanging parent
(workaround for sshd, which does not correctly set TSTP signal handler).
Fixed: after a resize with visual=off, the screen was not redrawn. (50b7)
Fixed: after a resize with visual=off, an immediate backspace or other input
deletion would crash tf: "Internal error: output.c, line 2501". (50b7)
Fixed: server display attributes could be lost if they had wrapped from a
previous line and were followed by more attributes.
Fixed: /filter changed the idea of the virtual bottom line, so a subsequent
/unfilter redrew from the new incorrect bottom, and a subsequent
/filter used the new incorrect bottom as a starting point for applying
a new filter (resulting in a spurious "no lines match criteria" if the
only matching lines are between the correct and incorrect bottoms).
Fixed potential crashes in calling functions with invalid arguments:
strrep(), status_fields().
Fixed: on servers with terminated (GOAHEAD or EOR) prompts, tf could lose
the first part of a server line in the rare condition of tf sending a
line between receiving the first and second parts of the server line.
Fixed: non-time decimal values greater than 60 were sometimes formatted as
time values. (50b7)
Fixed fatal bug in moresize() on a world that has never been /connect'ed.
Fixed infinite loop when replace() is called with empty first argument.
Fixed: with visual=off, /dokey flush (^[j) did not clear the more prompt.
Fixed: /recordline ignored -a option if -p was not also given.
Fixed fatal bug on some systems in /listsockets when there are connectionless
sockets open.
Fixed: various bad things could happen if a trigger attempted to apply a
partial hilite to a line longer than 32767 characters.
Fixed bugs on 64-bit platforms: /fg -c (Debian bug #327448), some variable
assignments
Fixed: some cases of hostname resolution failure could cause a crash
More robust TELNET protocol handling reduces problems on noncompliant servers:
Ignores option subnegotiation if option has not been agreed on.
If IAC SB (0xff 0xfa) is received before any other telnet command, the
server is treated as a non-telnet server.
Upgraded configure.in to autoconf 2.59 (should affect developers only)
5.0 beta 7 (2005-04-17)
----------
Colors:
Added 16-color names: "gray", "brightred"..."brightwhite".
Added 256-color names: "rgb000"..."rgb555" and "gray0"..."gray23".
Added predefined codes for xterm 256-color extension.
Functions decode_ansi() and encode_ansi() work with xterm 256-color
extension codes.
Added "/feature 256colors".
Added "/load testcolor.tf" to test color functionality and appearance.
Added "E" and "W" attributes, with corresponding defintions in %error_attr
and %warning_attr.
Added encode_ansi() to generate a string with attribute control codes.
Added test() for backward compatiblity with version 4.0.
Added strcmpattr(), like strcmp() but also compares display attributes.
In commands that match macros (/list, /purge, /save), a color attribute will
match only the same color attribute, not just any color attribute.
/list, /listvar, /listworlds, and /listsockets can sort their results.
Added -n option to /listsockets to print host and port in numeric form.
%Pn, %L, and %R subs are now case sensitive, to reduce collisions with regular
variables.
/prompt preserves embedded display attributes in its argument.
CONNECT hook includes SSL cipher name.
Added -f (foreground) and -b (background) options to /world; documented -x
(SSL) option.
Uses system's copy of libpcre if possible.
Redefinition of macros or keybindings does not invoke the REDEF hook if the
new and old defintions are identical (so file reloading is less noisy).
If you used to gag REDEF to reduce noise, you may want to ungag it now
that it is less noisy and more informative.
Status bar changes:
Status bar can be multiple rows, determined by %status_height.
/status_{add,edit,rm} commands take an -r option to specify which row.
Added status_fields(<row>) to get fields of <row>.
Added /status_defaults to restore default status bar fields; use of
%status_field_defaults is deprecated.
Added "/status_save <name>" and "/status_restore <name>" to save and
restore a named set of status fields.
The variable width field may be right-justified by giving it width "-0".
Fixed: /status_edit did not work on a variable-width field.
Fixed: "/status_add -x name:width:attr" failed to detect existing field
with name if its width or attr were different.
Fixed: status_attr_{int,var}_* variables sometimes had no effect. (50b5)
Fixed: any attempt to set %status_pad in .tfrc failed if %visual had not
yet been explicitly set (also, in a RESIZE hook caused by a terminal
resize while in /suspend or /sh, but that's much less common). (50a13)
Other screen display changes:
Changing %wrappunct immediately rewraps everything on screen.
Eliminated extra screen redraw when the terminal is resized.
Fixed: under some conditions, rewrapping screen could cause entire
scrollback buffer to be redrawn, instead of just a screenful. (If
%more was on, this acted like a jump to the beginning of the buffer.)
Fixed: did not send new terminal size to server after resizing the terminal
in nonvisual mode.
Workaround for a window resize bug in Konsole.
Keyboard changes:
Workaround for incomplete linux console terminfo entry which was preventing
%keypad from working.
Added friendlier message for using undefined named keys.
Improved documentation for numeric keypad, including instructions for
using it with some specific terminal emulators. (See "/help keypad".)
Added missing names for numeric keypad keys: key_nkpTab key_nkpEnt
key_nkp* key_nkp+ key_nkp, key_nkp- key_nkp. key_nkp/ key_nkp=
Added default keybindings for shift-tab, sun function keys, and
vt220 function keys F13 - F20.
Fixed incorrect keybindings for bottom two rows of numeric keypad in some
environments.
Installation changes:
./configure now honors options --exec-prefix, --bindir, --datadir,
--program-prefix, --program-suffix, and --program-transform-name.
./configure --enable-version does not automatically --enable-symlink.
Installation directory for tf-lib now defaults to PREFIX/share instead of
PREFIX/lib (configurable with --datadir).
Fixed ./configure --enable-mailcheck=DIR.
ftime() now returns an empty string instead of an incorrect string if the time
is out of range (in addition to printing an error message).
Time period values of 60s or larger are printed in h:mm[:ss.u] format. This
applies to %alert_time, %maildelay, %prompt_wait, %ptime, idle(), sidle(),
and values derived from them (but not time() and mktime(), which are
absolute time values).
The CONFAIL and CONNETFAIL hooks did not previously behave as documented. The
CONNETFAIL hook has been removed; the new ICONFAIL hook is called for a
connection failure if there are more possible addresses to try, and the
CONFAIL hook is called for a connection failure on the last address. (If
you had worked around the buggy behavior by duplicating CONFAIL and
CONNETFAIL hooks, you will probably want to go back to using the CONFAIL
hook only.)
Improved error checking for /repeat arguments.
Fixed inappropriate expansion of command lines (outside of macros) starting
with /let, /set, /setenv, /test, /result, /return.
Fixed spurious error for "/break" without arguments at end of macro body.
Fixed: a macro with no other statements outside of an "/if (expr)" statement
was incorrectly treated as an error, causing any macro that called it
to abort.
Fixed: "/set var " (with trailing space) was setting var to blank instead
of printing its value.
/listworlds and /listsockets ignore trailing space.
Fixed: /runtime incorrectly evaluated its return value.
Fixed: new -= operator added instead of subtracted.
Fixed crash if left side of new += -= *= /= operators was not assignable.
Fixed crash in strip_attr(). (50b5)
Fixed crash in /list -P.
Fixed class of crashes involving certain generated empty strings in macros:
- attribute strings in echo(), substitute(), and decode_attr()
- macro names
- expression operands
- etc.
Fixed bug in binding local address on some systems.
Will not crash if a bug in tf or library code supplies an invalid string in
an error message.
Strengthened check for TERMCAP corruption by broken *csh.
Fixed moresize() and morepaused() with virtscreen=off (undocumented).
5.0 beta 6 (2004-08-04)
----------
Fixed: lines with "A" attribute were not ignored as they should have been by
activity_status.tf and world-q.tf. (50b5)
Fixed crashes and other problems caused by prompts in expnonvis mode. (50b5)
Fixed crash on SSL error. (50b5)
Fixed spurious error message when an SSL server closes its connection.
5.0 beta 5 (2004-07-26)
----------
Added an experimental side-scrolling variant of non-visual mode; see
"/help expnonvis".
/quit prompts for confirmation only if there are sockets with unseen text.
savehist.tf (undocumented) preserves attributes when saving and loading
histories.
Added %secho to echo lines sent to server.
Added %{k,m,q,s}echo_attr to set attributes for {k,m,q,s}echo.
Attributes in %{k,m,q,s}prefix are echoed by {k,m,q,s}echo.
Added encode_attr().
Added -p and -a<attrs> options to /recordline.
Added "A" (noactivity) attribute - lines with this attribute will not cause
an ACTIVITY hook or an activity counter on the status bar.
Added "L" (nolog) attribute.
Removed "d" (dim) and "f" (flash) attributes.
Added new arithmetic assignment operators: += -= *= /=
The invalid macro body substitution "% " is left alone instead of being
replaced with " ", for backwards compatibility.
Attributes generated by the status line system override any attributes
originally present in the text being printed in a status field.
If a /retry connection attempt (other than the first) succeeds, the socket is
not automatically foregrounded.
Spaces in TFPATH and TFMAILPATH may be escaped with backslash.
Eliminated %auto_fg, which didn't work in 5.0 anyway.
Mecho prints hook and trigger arguments.
Supports MCCPv1 in addition to v2.
cputime() returns -1 if not supported by system.
Fixed rounding error in times reported by /runtime.
Fixed visual=off display (redraw and "More" paging).
Fixed: when the connection to a background socket with no activity was lost,
the socket's virtual window was closed, losing the disconnect message.
Fixed: under certain conditions, a /connect in a DISCONNECT hook would
fail with "socket to <world> already exists".
Fixed: /quote -decho lost attributes.
Fixed: /dokey recall{b,f,beg,end} and search{b,f} did not honor %kbnum.
Fixed: when logging with wraplog=on, blank lines were not logged.
Fixed initial setting of %interactive and %visual. (50b4)
Fixed initialization of %status_attr from environment.
Fixed bug in handling more than 8192 bytes sent by server with MCCP enabled.
Fixed: when server disabled MCCP, tf discarded pending text.
Fixed a timing bug that may have caused many seemingly unrelated problems,
including processes not running on time, status bar not updating, and
keyboard or background worlds being ignored. (50a13)
Fixed handling of case where server sends ANSI display code followed by
backspace (not known to ever happen in practice, but fixed nontheless).
Fixed: in some cases, if TF already had a prompt from the server, it would
ignore a new prompt from the server.
Improved some error messages.
Improved detection of SSL libraries and handling of incomplete SSL setup.
Detects when csh or tcsh has corrupted the TERMCAP environment variable.
5.0 beta 4 (2004-02-17)
----------
Added /key_{shift,ctrl,meta}_{F1..F12} (for recent xterms).
All command options that require numeric arguments (including getopts() "#"
options) can take a numeric expression as an argument. (Actually added
in 50a13, documented now.)
/set, /setenv, and /let are reserved words (may not be redefined).
Added %interactive.
/quit prompts "Really quit?" if interactive. "/quit -y" forces quit.
Improved generated macro code.
Redraw (^L) recovers from garbled scroll region.
Workaround for yet another kind of bad getaddrinfo() implementation.
Warns about "%;" after "/if (...)", "/while (...)", or "/else".
Fixed crash in handling of invalid "@{...}" inline attribute specifications.
Fixed possible crash on trying to connect to bad host address.
Fixed: "/@name" was calling macro instead of builtin. (50b3)
Fixed "/let" with no args.
Fixed "{0}" in expressions. (5.0)
Fixed crash when sending to closed connectionless socket.
Fixed /replace to work on strings containing spaces (i.e., arguments 3..N,
not just 3).
5.0 beta 3 (2003-12-22)
----------
Draws dividing line between old text and new text when you bring a world
window to the foreground. Configurable with %textdiv and %textdiv_str.
Includes option to clear old text before drawing new text.
(Replaces separator.tf from 50a13).
Once a screen is cleared, it stays clear: hiding and unhiding it does not
redraw the cleared lines. You must scroll back to redraw them.
"ESC w" switches to next active world (i.e. world-q.tf is loaded by default).
activity_status.tf just replaces "@active" with "activity" field, it does not
redefine the entire status bar. activity_status2.tf moves and shrinks
other fields to make more room for the activity field.
Length of abbreviations can be limited by setting %status_abbr_max.
Fixed handling of commands disabled by --disable-process or --disable-history.
Increased default value of %max_trig.
Decreased default value of %refreshtime.
In recent versions of xterm, Meta-<NamedKey> acts like ESC <NamedKey>.
Added /key_shift_{insert,delete,home,end,pgup,pgdn} (for recent xterms).
Improved glob diagnostics.
Improved/fixed handling of small terminals.
moresize() returns number of lines scrolled.
Fixed: bodyless triggers sometimes didn't apply attributes if borg=0. (40g3)
Fixed: %max_trig could sometimes produce multiple warnings.
Fixed L and R partial hilites on zero-width regexp matches.
Some documentation improvements.
5.0 beta 2 (2003-12-12)
----------
Fixed: prompts were not displaying, and were making tf eat CPU time. (50b1)
Increased default value of %max_instr.
Fixed harmless configure error that appeared on some systems.
5.0 beta 1 (2003-12-10)
----------
Added documentation for PCRE regexp syntax under "/help pcre".
New named key system separates character sequence generated by key from
the function performed by the key. To change the meaning of named keys,
you should now redefine the key_<name> macro instead of redefining the
binding for the key. See "/help keys".
Up/down keys now default to moving up/down within a long line, unless cursor
is at the beginning/end of the line; then they do recallp/recallb.
Worlds defined with "/addworld -e" echo back any text sent to them.
This is useful on normal sockets to see what you're sending, or on
connectionless sockets for testing triggers or other advanced uses.
Connectionless sockets no longer echo back by default.
/at is defined by default, and can take a date in addition to time-of-day.
If %defcompile is on, macros are compiled (and thus syntax-checked) when
defined, instead of when first run.
Added %max_trig to prevent infinite trigger loops.
Replaced %max_iter with %max_instr.
/def gives error immediately if regexp is bad or -P value exceeds number of
subexpressions in regexp.
Keyboard movement commands beep only when they produce no movement at all,
not when they just don't move as far as intended.
/dc message appears in the world being disconnected as well as the fg window
(if they're different)
Literal time values may include microseconds (e.g. 12:30:01.145)
Added "how to sleep" example under "/help /repeat".
Added %expand_tabs.
Added decode_ansi().
Renamed BACKGROUND hook to BGTRIG (but old name still works).
Added BGTEXT hook.
Fixed activity_status.tf to update for lines generated by /echo -w.
Fixed: ACTIVITY and PREACTIVITY hooks didn't run in the world in which the
activity occured when caused by /echo -w.
Fixed order of /dc message relative to text already queued on socket.
Fixed: under certain conditions, a dead socket would not go away and could
not be foregrounded.
Fixed handling of IPv6 server address on system with getaddrinfo() but no
IPv6 kernel support.
Fixed bug in printing long IPv6 addresses (more than 27 characters).
Fixed "Invalid value for ai_flags" error during /connect on some broken
systems (FreeBSD 4.2).
Fixed spurious "Not connected" messages from certain library macros.
Fixed: tabs were not expanded upon receipt from server, so lines with tabs
weren't matched by triggers (regexp or glob) that matched in 4.0.
Fixed trailing ^@ on macro body when defined in loaded file with (incorrect)
trailing "%; \".
Fixed fatal bug in /expr, /test, /result, /return with an empty argument that
was generated by expansion. (50a13)
Fixed fatal bug in /ps when printing very large times.
Fixed handling of bad options of the form "--x".
Fixed compile error in output.c ("called object is not a function") when
configured to build without termcap. (50a3)
Workaround for compilation error "krb5.h: No such file or directory" on some
systems (Red Hat and Yellow Dog Linux) that keep ssl in standard location
but depend on kerberos which isn't in a standard location.
5.0 alpha 14 (2003-11-06)
------------
/paste -h invokes send hooks; plain /paste does not.
Fixed sometimes fatal bug in /def -P with multiple arguments.
Fixed compile error for systems with getaddrinfo() but without AI_ADDRCONFIG.
Fixed: executable was stripped even if configured with --enable-core.
5.0 alpha 13 (2003-10-30)
------------
If called from foreground, /connect foregrounds the new socket immediately,
before it is actually connected; if called from the background, it never
foregrounds the socket, even when the connection eventually succeeds.
New -f and -b options can change this behavior.
If a hostname corresponds to multiple IP addresses, /connect tries them all
until it finds one that works. Each one that fails invokes a CONSUBFAIL
hook; if they all fail, the CONFAIL hook is invoked.
Hook messages are now displayed _before_ executing any hooked macros.
An alert related to a background world is cleared if that world is brought
to the foreground.
If a status field is partially obscured by an alert, the visible part of
the field is still updated.
In world-q.tf, worlds with scrolled-back text are counted as active.
Added eval().
Renamed inline_attr() (50a10) to decode_attr(); added strip_attr().
Input completion does not print the list of possible matches until the
second time the completion key is pressed.
/def -P can take multiple subexpression/attribute pairs, separated by ';'.
/def -P recognizes L and R as subexpression identifiers.
/load and /lcd ignore trailing spaces in argument.
By default, up/down keys do recallb/recallf instead of cursor up/down.
"@" is accepted in front of keywords (e.g. "/@if").
Made it illegal to use "/return" or "/result" generated by substitution (e.g.
"/let cmd=return%; /%cmd 1").
Added %mccp flag to disable MCCP.
If TF crashes, it will dump a corefile only if configured with --enable-core.
After you /dokey selfush (^[J), reach the end of the text, and attempt to
scroll forward one more time, the screen is redrawn unfiltered (this is
necessary to avoid a mixture of filtered and unfiltered lines on screen).
During /limit, scrolling to any point, including the bottom, results in a
More prompt that shows the number of lines (possibly 0) below the status
line. In this state, /unlimit will leave the bottom visible line where it
is, and redraw the unlimited lines above it. But if you attempt to scroll
PAST the bottom during /limit, the More prompt changes to "LIMIT ON"; in
this state, /unlimit will redraw with the previously invisible last line
at the bottom of the screen.
Added morepaused().
Added PREACTIVITY hook.
Added activity_status.tf to display, on status line, number of lines in
active worlds.
Added separator.tf to draw a dividing line between old and new text in
background worlds.
Added status_width() to get width of a status field.
Fixed redraw after SIGINT (^C) or SIGQUIT (^\).
Fixed ordering of prompt processing relative to normal lines, including
prompt hooks and attributes embedded in prompts. (50a9)
Fixed: an alert caused by an event in a background world caused the status
line to be incorrectly updated with information from that world. (50a12)
Fixed /limit -a.
Fixed line count during /dokey selflush (^[J).
Fixed /dokey pause (^S).
Fixed: /echo -p lost original attributes of argument
Fixed possible crash after disconnecting from a world with a prompt.
Fixed: when wrappunct applied, space was ignored. (50a12)
Fixed bug in reverse scrolling after clear. (50a12)
Fixed use of kbnum in ^[c ^[u ^[l (capitalize, upcase, downcase) keybindings
Fixed: receipt of a character 251-254 was sometimes incorrectly interpreted
as a telnet option negotiation
Fixed handling of /break in complex nesting situations.
Fixed: float values (0.0 < abs(x) < 1.0) in /if and /while conditions were
interpreted as false instead of true.
Fixed: assigning a variable to itself in an expression (foo:=foo) could
incorrectly set variable to 0.
Fixed fatal error when "kbnum" is in environment and first keypress is a
digit.
Fixed IPv6 support (using RFC 3493 API) (50a10).
Fixed: speedwalk incorrectly matched lines containing only digits.
-
5.0 alpha 12 (2003-06-11; not released to public)
------------
moresize() takes an optional world argument, and defaults to operating on
current world (instead of foreground world).
Page Up and Page Down scroll a full screenful, not a half.
Added ^] keybinding for /bg.
Can wrap at punctuation other than space; %wrappunct controls it.
Can reverse scroll until first line is at bottom of window (useful with
/limit and /unlimit).
Documented new input completion keys. See /help complete.
Added %TFLIBDIR/teraterm.keyboard.cnf. TeraTerm users should copy this to
their TeraTerm directory to fix the editor keypad (insert/delete/home/
end/pgup/pgdn); this will help any application you use through TeraTerm,
not just TF.
Documented textencode() and textdecode().
Added warning about some new keybindings the first time they're used (unless
warn_5keys=off).
/relimit warns if there was no previous limit.
/clock with no argument resets clock_format to %H:%M.
Fixed: Gag was not correctly suppressing alert messages (e.g.,
/def -ag -hactivity gag_activity).
Fixed handling of invalid attribute specifications.
Fixed: long alert wasn't cleared when shorter alert was printed on top of it.
Fixed: /status_{rm,edit} could not find right-justified fields
Fixed: /status_add -B put spacer on wrong side of new field
Fixed: @world field in status bar sometimes displayed incorrect name during
a trigger or hook in a background world.
Fixed screen corruption and lockup in /dokey selflush (ESC J).
Fixed use of nameser.h when inet6 is enabled.
Fixed compilation problem on some systems with HAVE_LIBZ and HAVE_GETPWNAM.
Added --disable-ssl option to unix configure.
Fixed "make clean" etc.
Fixed garbage in "/help limit".
Fixed several bugs in use of {var} (with curly brackets) in expression. (5.0)
Optimized {var} expression values and %{var} macro substitutions.
More informative debugging output.
5.0 alpha 11 (2003-05-27)
------------
If you have not yet read changes since 4.0 stable 1, please do now.
Fixed fatal bug in /hook with no pattern.
Fixed compilation problems on MacOS X.
Fixed: More prompt area (8 dashes) sometimes scrolled into output window
when switching worlds. (50a10)
Fixed missing "/help /limit".
Disabled IPv6 support by default, since it is broken on some systems, and
there really aren't any servers that require it anyway. (To be fixed in
a future release).
Installation process creates PREFIX/bin and PREFIX/lib if needed.
5.0 alpha 10 (2003-05-26) - changes since 4.0 stable 1
------------
New screen handling. See "/help windows".
Per-world virtual windows, including More prompt.
True scrollback:
Half page backward (PgUp, ^X[) or forward (PgDn, ^X]),
full page backward (^X{) or forward (^X}),
line backward (^[^P) or forward line (^[^N).
/dokey_flush means jump to end, showing last screenful
/dokey_selflush shows last screenful of lines with attrs
Redraw after /suspend, /sh, and changing window size, %visual, or %isize.
Doesn't automatically leave a dead socket if the text hadn't been seen.
WORLD hook is silent.
A disconnected socket does not disappear automatically after displaying its
buffered text. It will dissappear if you /dc it again, or /fg another.
/dokey redraw (^L) actually redraws screen.
Added /dokey clear (^[^L) to clear screen.
%shpause defaults to on.
Eliminated all "Resuming TinyFugue" messages and RESUME hook.
Default status_int_world prepends "!" if foreground socket is a zombie.
Changing a status_{int,var}_* will cause the status line to update.
Added /dokey pause (^S)
@more status field counts physical lines (not logical lines); it shows
both old lines and new lines; when a /limit is in effect, only limited
lines are counted.
moresize() takes flags to request only limited, only new, or only new
limited lines.
bg_output and /fg -q mean jump-to-end when foregrounding
Some messages (activity/background/mail hooks, /limit error) appear as
temporary "alerts" on the status bar. %alert_time controls duration of
alert. %alert_attr controls attrs of alert. echo() to the "a" stream,
or /echo -A, displays arbitrary text as alert.
status field attrs are modified by variable "status_attr_{int,var}_<name>".
By default, wrapped lines are indented 4 spaces (%wrapspace=4).
Changed default keybindings to be more consistent with those in emacs, bash,
and other gnu readline applications. The old bindings can be restored with
"/load kb-old.tf" (not recommended). See "/help keys".
The most important changed keys are:
Old New Meaning
left right ^B ^F left right move cursor back/fwd
^B ^F ^[b ^[f move cursor one word back/fwd
^[b ^[f ^[{ ^[} ^[left ^[right prev/next socket
^L ^[L clear screen
(none) ^L redraw screen (with contents)
added /status_add, /status_rm, /status_edit, /clock {on|off}, %clock_format,
%status_field_defaults. You should not set %status_fields directly.
Variables used in status_fields do not need to exist.
Various keys are bound to /dokey_pg{up,dn} which in turn calls
/dokey_hpage{back,}. To make keys move a whole screenful, user should
not rebind the keys, but redefine /dokey_pg{up,dn} to call
/dokey_page{back,}.
Note: some emulators (NiftyTelnet, TeraTerm) incorrectly send ^[[3~ for
PgUp; the correct meaning of ^[[3~ is Delete (in vt220 emulation).
The PgUp key in these emulators will not work correctly in tf unless you
(preferred) fix your emulator, or (easier) "/bind ^[[3~ = /dokey_pgup"
(warning: may break your Delete key)
Replaced Henry Spencer's regexp pacage with PCRE (Perl Comaptible Regular
Expressions). It is backwards compatible, with one exception: the
character '{' introduces a quantifier, so you must use '\{' to match a
literal '{'. Also, regexps containing no uppercase letters default to
caseless matching. All regexps (including static strings in macros and
expressions, and regexps stored in variables) are now stored internally
in compiled form, making them much faster.
regmatch() returns any positive integer for success, not necessarily 1
(so you should write (regmatch(...)), not (regmatch(...) == 1)
Time is measured and printed with microsecond resolution:
%prompt_sec and %prompt_usec replaced with %prompt_wait
/recall: h:m[:s[.f]] is interpeted as time-of-day, s.f as absolute time.
ftime(): "%@" includes microseconds; added "%.", "%s", "%F", "%T" formats.
/ps, time(), idle(), sidle() print or return values to the microsecond.
Time values for /repeat, /quote, /at, %ptime, %maildelay can be specified
to the microsecond.
Display attributes in string values are preserved by just about every string
operation, including commands, variables, expression operators, functions,
regexp substitutions, $() command substitution, and status bar field
expressions.
/limit [-a] [-v] [-m<style>] <pattern>: redraws window, showing only lines
that match <pattern> and/or have attributes (-a). With no args, returns
1 if limit is in effect, 0 if not. Screen-specific. Default @more
status counts only limited lines.
/relimit repeats last limit
^[L (meta-shift-l) toggles last limit off and on.
Macros and expressions are stored internally in compiled form, making
them faster.
Expression variables are stored internally as natural types instead of
strings for greater efficiency and to avoid loss of floating point
precision.
Renamed log() to ln() to avoid confusion with /log.
Non-ANSI C compilers are no longer supported.
Lines beginning with '#' in /loaded files are comments (';' still works).
Supports IPv6 (RFC 2553 and 2133).
Supports Mud Client Compression Protocol (MCCP) v2.
New /paste options: -x (execute); -n (no prefix); -q (quiet); -s (strip
trailing space); -e<end> -a<abort> (set end/abort cookies).
/paste accepts "." to end.
%meta_esc=on always converts a typed meta bit to ESC; %meta_esc=nonprint
converts only if character is not printable. The LNEXT key (^V) overrides
%meta_esc.
Tabs are no longer confused by ANSI display codes from server.
Added -P option to /quote and /repeat to run on prompts, like %lpquote.
Prompted (-P or %lpquote) processes with a -w option are only run by prompts
from the specified world.
Added /runtime.
If an additive operation on integers would overflow, it is converted to real.
TF will not terminate on SIGHUP if SIGHUP was ignored when TF was started.
/ps lists processes in ascending order of pid.
Added -A, -B, -C options to /recall to print lines of context around each
matching line.
"/restrict file" disables /lcd.
Added %keepalive to prevent network timeouts and detect dead connections.
Added %keypad to control application keypad mode.
getopts() options can take time arguments.
Optional offset argument to strchr(), strstr().
Optional length argument to tolower(), toupper().
Simplified proxy customization (but an old proxy_command that worked in 4.0
will still work).
Clock defaults to 24 hour format (see /help clock).
Added %sigfigs.
Improved telnet protocol handling, and detection of telnet vs. non-telnet
servers. Apparent telnet commands commands are not stripped from data
stream if server doesn't use telnet protocol. /localecho may be delayed.
Added /purgealias to alias.tf.
Added /randline to textutil.tf.
Added is_connected().
bg_output is tested when socket is foregrounded (like /fg -q), instead of
when text is received.
Arguments to ftime() are optional.
ftime() supports %E and %O if system library does.
Added mktime().
Added "i" argument to /repeat for infinite count.
Optional <pid> argument to /ps.
Improved workaround for solaris terminal driver bug that could disable
keyboard after typing LNEXT (^V), FLUSH (^O), STOP (^S), or START (^Q);
also, in the extremely unlikely case that it does happen, it can be fixed
with any signal (e.g., ^Z or ^C) without quitting tf.
Fixed handling of bold-off display attribute code from server.
An error within a tfrc file does not cause tf to try to load an alternate
file.
When server requests window size (TELNET NAWS), tf sends %wrapsize instead of
the actual screen width.
Fixed: "/addworld" with no args clears the name of the first defined world.
Fixed: "/unset MAIL" crashed tf.
Added "substr" matching type.
Added %tfhost and "/addworld -s<srchost>" to define client address of
connections.
TF closes all open sockets, pipes, and files before the 'Press any key'
prompt when dumping core, so servers and other processes don't have to wait
for the keypress.
/trigger -n or -l lists matching macros without running them.
world names may not contain space.
"connectionless" (unconnected-but-open) world sockets (see /help connect).
Sending to connectionless socket echoes line (with \n) back.
Added is_open([world]).
new /listsocket flags: P=proxy, O=open-connectionless, C=connected,
X=connected-ssl
/fg -cN: repeat count
ESC and digits set %kbnum, which is used as a repeat count for many other
keybindings (/dokey {recall,search}{b,f}, recall{beg,end}, and macros
in kbfunc.tf; also, stack number for kbstack.tf).
Use ^G to abort kbnum. %max_kbnum sets upper limit on %kbnum (warning:
large kbnum may cause tf to exhaust all memory or do other bad things).
Added winlines().
Disables tty STOP/START to avoid problems and make ^S/^Q available to tf.
Synchronous processes can be interrupted.
Fixed: if a loaded file did not end with newline, the last line was executed
twice.
SSL: /addworld -x, addworld(..., "x"), /connect -x, /listsockets
getopts() numeric args can be signed
Added inline_attr() to interpret "@{attr}" display attribute codes in a
string.
-
added "/clock <format>"
strrchr() has optional offset argument.
added /features
world_info([<world>,] "cipher")
send() "h" flag and /send -h flag DO invoke send hooks.
/edit does not renumber the macro being edited.
more compact /ps format leaves more room for long commands.
If a multiply operation on integers would overflow, it is converted to real.
replace() is an internal function.
/listsockets shows number of old and new lines on each socket (total, not
just limited).
Fixed 'illegal macro name ""' in '/edit #<N>'.
Fixed: glob comparison of end of string against pattern "*{..." could give
incorrect results. (35a16)
-
UNDOCUMENTED
Fixed expansion of line pushed by kbpush (50a9).
Prints overflow error when converting too-large real to integer or time.
fake_recv(string, [world, [flags]]); fakes receiving a line from world.
flags="r" means raw (no implicit newline, before prompt processing)
vercmp() (in stdlib.tf)
/pfxgen and pfcmd() (in pcmd.tf)
Changed how attributes combine: colors always override, not OR; inline x
causes replacing of line attrs.
macro usage counts with /list -su.
Network/host unreachable does not cause disconnect, only loss of sent text.
%virtscreen (do not change while at a More prompt).
Added textencode.tf.
5.0 alpha 9 (2002-03-12; not released to public)
-----------
see above
4.0 stable 1 (1999-03-06)
------------
Workaround for solaris terminal driver bug that could disable keyboard after
typing LNEXT (^V) or FLUSH (^O).
4.0 gamma 3 (1999-01-31)
-----------
The prefix for /paste can be a tf command.
Recognizes '?' and '%' fields when copying MAILPATH to TFMAILPATH.
Minimized performance impact of triggers when borg==off or defined with -c0.
Fixed beginning cutoff of time range in /recall -g. (40b1)
Fixed spurious warning for readable password when redefining a world.
Fixed crash caused by beep on unsupported terminals.
Fixed crash caused by closing unconnected socket with buffered output.
Fixed problems related to failed nonblocking hostname resolution.
Will not busy loop if tty closes without killing tf.
Eliminiated warnings in /color_on.
4.0 gamma 2 (1998-11-15)
-----------
Worlds without type or mfile now use corresponding field of "default" world.
Improved prompt detection heuristics for typeless worlds.
/addworld can reset fields other than host and port for "(unnamedN)" worlds.
Clarified scope rules in "/help /for".
Fixed fatal error when reconnecting in a DISCONNECT hook. (40g1)
4.0 gamma 1 (1998-11-10)
-----------
Supports SOCKS5 in addition to SOCKS4.
/edit can delete a macro's body.
Improved prompt detection heuristics for typeless worlds.
/relog (in relog.tf) preserves leading/trailing space, and is more efficient.
Improved error messages for failed connection under SOCKS.
Improved error messages for disconnected sockets on some systems.
Avoids rounding error in displaying floating point numbers.
Refuses telnet SUPPRESS-GO-AHEAD option.
Fixed bug in using /connect in a world file; PROXY, CONNECT, or LOGIN hook;
or %status_int_world.
Fixed fatal bug in redefining the "default" world.
Fixed fatal bug in "/recall -t" when %time_format is unset. (40a9)
Fixed: floating point exception caused crash on some systems.
Fixed zombie processes left by failed nonblocking gethostbyname on unix.
Fixed possible "Bad file number" and "crossed connections" when reconnecting
in a DISCONNECT hook.
Fixed memory leak in expression stack overflow.
4.0 beta 3 (1998-10-05)
----------
Clarified documentation of function arguments (see "/help functions").
Restored old behavior of "/recall -t" when %time_format == "@". (40a9)
Fixed: nactive() returned old value in %status_int_world, %status_int_active,
and WORLD hook.
Fixed /revert in map.tf.
Fixed error in using %Pn subs after matching a blank regexp.
Fixed /nth to return an empty string when n <= 0.
Fixed handling of blank world name in addworld().
Eliminated spurious message from /qmud.
Workaround for nonblocking socket bugs in some operating systems (SunOS 5.x).
Fixed handling of /set visual=on when visual mode isn't supported.
Fixed /list'ing of macros with -p0.
Fixed compile error involving localtime() in output.c on AIX. (40a11)
4.0 beta 2 (1998-08-06)
------------
Documented new "telnet" login handling. See /help addworld.
Fixed tfclose() of tfin/tfout; closing tfout prevents output in a macro body.
Fixed compilation on systems (SunOS 4.1.4) without a putchar function. (40b1)
Fixed compile error in expand.c under non-ansi compilers. (40a5)
Fixed build problem in some versions of make. (40a11)
4.0 beta 1 (1998-07-27)
------------
"telnet" worlds require "login:" and "password:" prompts. See /help addworld.
Optional arguments for kbwordleft(), kbwordright(), kbmatch().
Optimized /recall by time on large world, local, or input history.
Improved login handling on "telnet" worlds.
Disabled useless and often confusing dsusp key (^Y).
Fixed: "/recall <time>" ignored <time>. (40a9)
Fixed /replace. (40a11)
4.0 alpha 11 (1998-07-22)
------------
Added "%@" conversion to and removed length restriction from ftime().
Added -i option to /fgrep and /egrep.
Improved precision of process timing.
/def -E interprets enumerated special variables as integers, not strings.
Skips signal handling confirmation prompts when input is not a terminal.
Disabled OS/2 hostname resolution error messages, which apparently do not
work on all versions of OS/2. (40a9)
Added codes for named keys when using HARDCODE terminal codes.
Numeric keypad keys now generate unique character sequences on more terminals
(this may break some existing keypad usage).
Repeated errors in mail files do not repeat error messages.
Fixed codes for named arrow keys on some terminals (vt100 in particular).
Fixed "color bleeding", where mid-line server attributes were sometimes
applied to the beginning of a line if lp=on.
Fixed handling of interrupted server attribute code with lp=on.
Fixed bugs involving unset {k,m,q}prefix.
Fixed autologin and localecho problems on some telnet worlds.
Fixed overflow in floating point significant figures.
Fixed potentially fatal error in failed nonblocking hostname resolution.
Fixed /tee in textutil.tf.
4.0 alpha 10 (1998-06-29)
------------
world_info() arguments are optional.
Fixed: unevaluated /if clobbered return value ("/return val%; /if..."). (40a9)
Fixed options for some compilers (like SunOS 4.1). (40a9)
4.0 alpha 9 (1998-06-24)
-----------
Added %TFMAILPATH, to check multiple mail files.
/recall -t<format> does not insert brackets.
Enabled floating point features and improved hostname resolution error
messages in OS/2 version.
Reduced spurious style warnings during /load. (40a7)
Invalid or "-?" command option produces an option summary.
/at interprets current time as that time tomorrow, not today.
Fixed reversed meanings of sidle(world) and idle(world). (40a8)
Fixed: -P trigger destroyed -ag attribute set by an earlier trigger. (40a5?)
Fixed listing of partial hilites with /listhilite, /listpartial, /savepartial.
Fix for unix systems without waitpid(). (40a8)
Fix for systems without standard case conversion. (35a)
Fixed return value of invalid /recall and /def.
Fixed memory leaks.
4.0 alpha 8 (1998-06-18)
-----------
Added textutil.tf library, containing /fgrep, /grep, /egrep, /copyio,
/readfile, /writefile, /head, /wc, /tee, /fmt, and /uniq.
Added /def -E<expression> for conditional trigger/hook matching.
Added substitute(), and -a -p options to /substitute.
Added %TFPATH.
Added /listvar -v to list values only.
Added /paste -p (paragraph mode).
Added sidle() to return time since last send on a socket.
Added /color_on and /color_off.
Added /_echo.
Added standard /loaded, so any file can be made to work with /require.
Added -q (quiet) option and -t<format> argument to /recall.
Added /replace to standard library.
/recall can be interrupted (^C).
Restored pre-40a5 meaning of /list -an; now, the "x" pseudo-attribute turns
off pre-existing attributes (see: /help attributes).
%TZ and locale variables are automatically exported, so they work as expected
even when not explicitly exported.
Fixed unreadable handles created by tfopen() with mode "p".
Fixed update of status field when there is no variable width field.
Fixed /echo -w (with no world name). If you used the replacement /echo
posted on the mailing list, you should get rid of it now. (40a5)
Fixed zombie processes left by /dc during nonblocking gethostbyname on unix.
Fixed loss of trailing spaces in escape().
4.0 alpha 7 (1998-04-14)
-----------
/listworlds displays in table format by default.
Many error and warning hook messages now include filename and line number.
Fixed bugs in calling addworld() with fewer than 6 arguments. (40a5)
Fixed /echo -w<name>. (40a5)
Fixed word concatenation bug in /unique (lisp.tf) and command line completion
(complete.tf). (40a5)
Fixed: on some systems (linux), changing %TZ did not affect the time zone.
Fixed counting of comments in error message line numbers. (40a5)
4.0 alpha 6 (1998-04-09)
-----------
Fixed fatal error for triggers and hooks in worlds without a type. (40a5)
Fixed value of idle() before first keypress.
4.0 alpha 5 (1998-04-09)
-----------
Added /result, which behaves like /return or /echo depending on context.
Added -c"command" startup option. See /help tf.
The "n" attribute turns off pre-existing attributes. See: /help attributes.
Added addworld() function (which can accept arguments containing spaces).
Replaced builtin /echo with echo().
Tiny* LOGIN hooks put quotes around a character or password containing spaces.
Added %binary_eol to determine end of line marker in TELNET BINARY mode.
Added "proxy" and "login" world fields (for use as world_info(<field>) or
$world_<field>).
Added tfflush(); tfwrite() flushes automatically by default.
Added morescroll().
Command line option -n is overridden by <world> or <host> <port>.
Added -s option to /quote ` to control the substitution level.
Added -rqw options to /ps.
Duplicate input lines are not suppressed by /log -i.
Filename completion (complete.tf) handles names starting with "~/".
The names of bodyless triggers are mecho'd.
Error messages during /load report the range of line numbers, not just the
misleading last line number, of the multiline command containing the error.
Workaround for broken compilers that failed initialization at variable.c:86.
Fixed evaluation of command in /qtf (in quoter.tf).
Fixed /restrict security hole in tfopen(). (40a1)
Fixed loss of -q flag with /edit.
Fixed return value of /eval (and /not). (40a1)
Fixed bug in parsing a comma after a non-color in attribute lists.
Fixed bug in strlen(substr()).
Fixed tfopen() with 0 arguments.
Fixed ambiguous error message for nonblocking connect on some systems (linux).
Fixed standard /proxy_command to honor /connect -l.
Fixed: on some systems, 8-bit characters were not accepted as input even
when the locale settings were correct.
Fixed spurious %pedantic warning in /elseif. (40a3)
Fixed spurious %pedantic warning in /wrap [on|off].
Fixed: executed code after /return, /while, /done inside /if or /while. (40a1)
Fixed evaluation of variables used as function parameters. (40a1)
Fixed /session in tintin.tf.
Fixed incorrect "more" count after /fg -q. (35a20)
4.0 alpha 4 (1997-12-28)
-----------
Added /exit to abort a /load.
Added %auto_fg, so automatic foreground after disconnect is optional.
Function forms of tr(), replace(), and grab() preserve spaces in arguments.
read() is obsolete. Use tfread() instead.
Reconnecting to a world with a "dead" Socket will re-use that Socket.
Variables used in %status_fields can not be unset.
ESC-w in world-q.tf does something useful after disconnect and /bg.
Restored old undocumented behavior of | and & returning value of last operand.
Eliminated spurious pedantic warning for string in integer context, for
special variables with value 0. (40a3)
Workaround for limitation in some versions (HP-UX) of "make".
Fixed "restrict" error under new gcc due to conflict with "C9X" draft.
Fixed handling of mod() by zero.
Fixed redraw bug for changing isize while visual=off (e.g., in .tfrc).
Fixed use of %? after error in /return or /test.
Fixed "/return variable" and "/test variable" returning an empty value.
Fixed %status_fields: right justification, strings containing ":". (40a3)
Fixed: interrupt during a tfread() from the keyboard disconnected sockets.
Fixed handling of world_info() with illegal field name. (40a1)
Fixed /list for macros with -Fp0.
4.0 alpha 3 (1997-11-20)
-----------
Blank space is not inserted automatically between fields of %status_fields.
%status_fields may contain string literals.
Added %pedantic to generate warnings about some potential problems in macros.
Attribute lists can now contain multiple colors, using a comma separator.
Eliminated misleading warning for "/more on". (40a2)
Fixed use of %0 in trigger, hook, or keybinding. (40a1)
Fixed bug in regexp triggers causing segfault at macro.c:1249, problems
with /dokey selfush (^[J), et al.
Fixed /unset status_fields. (40a1)
Fixed setting of executable name in unix/tfconfig. (40a1)
4.0 alpha 2 (1997-11-06)
-----------
Fixed parameter subs for macro-as-command called by macro-as-function
(including ismacro() and /more). (40a1)
Fixed use of color in %status_fields. (40a1)
Eliminated unneeded 1s updates of visual more status. (40a1)
Added warnings for new 4.0 semantics of old code.
4.0 alpha 1 (1997-11-05)
-----------
Ported to Win32 (requires Cygwin Development Kit).
%clock is no longer used. See "/help %clock".
%0 is the name of the executing macro. This will break all existing code
that uses %0 like %*.
Macros called as functions map function arguments to positional parameters.
This will break existing code that expects a single function argument
to be split into parameters by words.
Added /return (the old /return in map.tf is now called /revert).
Added the ability to format the visual status line ("/help %status_fields").
Added %| pipes ("/help evaluation").
Added floating point arithmetic.
Added sin(), cos(), tan(), asin(), acos(), atan().
Added abs(), exp(), log(), log10(), pow(), sqrt(), trunc().
Added tfopen(), tfclose(), tfread(), tfwrite() ("/help tfio").
Added inread(), nactive(), nlog(), nmail(), world_info(), fg_world().
Added /listvar.
Added %meta_esc.
Added /echo -p.
/listsockets -T<type> <name>.
/listworlds -u -m<style> -T<type>.
/purgeworld -T<type>.
/send -T<type>.
/load -q.
/unworld and /undef take multiple <name> arguments.
Added /edmac, /edvar, and /edworld in tools.tf.
Added NOMACRO hook.
getopts() supports numeric option arguments.
Improved mecho detail.
Macros can be called by number with "/#" syntax ("/help evaluation").
Counter in visual More prompt is better updated.
Partial attributes are always preserved by /recall.
Clearing input buffer resets index for /dokey SEARCH[BF] functions.
Optimized macro processing.
Improved interactive response when sockets are very active.
/list -s option may be mixed with other options.
Fixed /substitute within /trigger.
Fixed support for 8-bit locales, including support for LC_CTYPE, LC_TIME,
and LC_ALL variables. See "/help locale".
Fixed "tcsetattr: Bad file number" and disabled keyboard. (35b4)
Fixed rare sometimes fatal bug in handling server attributes with lp=on
and a slow connection.
Fixed duplicate command when /speedwalk and /mark (map.tf) are used together.
Fixed compilation error involving conditional and hstrerror under some
lame compilers (socket.c:788).
Fixed output misdirection during a read() inside a command sub.
Fixed rare bug causing command line to execute in wrong world when a
simultaneous background trigger occured.
Fixed /world with no arguments.
Fixed fatal input bug after /histsize -i. (35a21)
Fixed bug which disabled history recording after /recall on an empty history.
Fixed memory leaks in synchronous processes, etc.
Fixed "/lp off" while at a prompt.
Fixed opening of new descriptors after standard input redirection.
Fixed bug in handling trailing '-' in a glob [] character class.
3.5 beta 4 (1997-04-04)
----------
Fixed keyboard lockup or "Bad file number" during fast input. (35b3)
Added ./.tfrc and ./tfrc to the list of files searched for at startup.
3.5 beta 3 (1997-03-24)
----------
Can run without a terminal (e.g., with input redirected from a file).
Fixed /paste. (35b2)
Fixed sometimes fatal bug in hiliting server text. (35b2)
Fixed "handle_keyboard_input: read: Bad file number" during fast input. (35b2)
3.5 beta 2 (1997-03-21)
----------
The LOGIN hook no longer has <character> and <password> arguments; use
${world_character} and ${world_password} instead of %2 and %3.
Added /trigger -h, to call hooks.