On 6/11/07, ????? ????? <gusevfe at gmail.com> wrote:
>
> And if do smth like
> MAXIMA> (setq linel 150 $linel 150)
You don't need to do this in Lisp. In Maxima, you can set linel:150, and
Maxima takes care of setting the internal linel.
> ...terminal width can be found with (maxima-getenv "COLUMNS").
The environment variable COLUMNS isn't always set, but if it is, I suppose
it would be a good idea to ini
The last thing to do is to add smth like
> (setq linel (maxima-getenv "COLUMNS") $linel (maxima-getenv
> "COLUMNS") )
> to the place, where user hits his enter key
Can the environment variable really change dynamically, or is it enough to
check this at initialization time?
To convert a string to a number, use read-from-string, but make sure to
cover all the error cases.... The right place to put things looks like the
cl-user::run function, right after set-locale.
-s