-
TF's visual mode uses "scrolling regions" to allow the upper output region to scroll without affecting the lower input region. However, this interferes with the scrollback mechanisms of some terminals, including OSX Terminal.app. I am not aware of any workaround for TF 4 and Terminal.app.
TF 5.0, however, provides its own scrollback mechanism as part of its virtual window model...
2009-10-14 00:31:42 UTC in TinyFugue - MUD client
-
"/if (expr)" and "/while (expr)" are special in that macro body expansion is NOT done on the expressions before evaluating the expressions. /test is not special; when used in a macro, the command and its arguments DO go through macro body expansion, and the resulting expanded string is then given to /test, which evaluates the expression it contains.
So, if you have...
2009-09-02 00:51:12 UTC in TinyFugue - MUD client
-
%P variables are changed by regexp uses in called macros. E.g.
/def foo = /test regmatch(".*", "foo")%; /echo %P0%; /bar%; /echo %P0
/def bar = /test regmatch(".*", "bar")
/foo
prints:
foo
bar
Complication: macros that use /split depend on this behavior. So if you change the %P scoping, you'll have to do something to make /split still work, like make it a builtin.
2009-08-21 18:07:34 UTC in TinyFugue - MUD client
-
Re the %P variables: your expectation is certainly reasonable, and agrees with the documentation. Unfortunately, the implementation disagrees with the docs, and a straightforward fix to the implementation would be backwards incompatible with macros that use /split, which depends on this unexpected %P scoping. A workaround is to store the %P values elsewhere before calling anything that might...
2009-08-21 17:56:54 UTC in TinyFugue - MUD client