On Mon, 4 Jun 2001, William Schelter wrote:
> I have added a little file gcdex.mc in the share/gcdex.mc
Thank you! It does exactly what I want. I did found the corresponding
function in Pari ("bezout") but it's nicer to have everything in one
program, ie. Maxima.
> use the lisp (setq linel (si::getenv "COLUMNS") ) or some such thing in the
> init.lsp loaded from your directory where you start maxima. xmaxima is supposed
Env. variable COLUMNS is probably rarely used, I think there's an ioctl to
do that. It should be easy to add a new Lisp function (written in C) to
return the current line width. Would you like a patch if I make one (when
I have some time)? How it should be called, "si::get-line-length"?
One should also listen for SIGWINCH signals to know when the terminal is
resized, but that's over my skills.