> < ^ Date: Sat, 23 Mar 1996 21:11:00 +0100 (MET)
> < ^ From: Martin Schoenert <martin.schoenert@math.rwth-aachen.de >
> < ^ Subject: Re: GAP input buffer
Franz Gaehler wrote in his message of 1996/03/22

is it possible to increase the input buffer of GAP beyond the 8000
characters? When debugging I like to paste in code from an editor
window. When I do this with little more than a dozen lines, GAP
beeps angrily.

Simply edit 'src/system.c' and replace 'char syHistory [8192];' with
'char syHistory [65536];'. And recompile of course.

But very likely your problem is not due to GAP. The 8000 limits how much
GAP remembers of what you type and how long a *single* line can get.
Besides GAP doesn't beep when you enter more, it simply discards the
oldest characters. Also note that 8000 characters translates to 100
lines of 80 characters each, much more than the dozen lines you talk

More likely the problem is with the X window system. On many
implementations of X cutting and pastings more than a few hundred
characters causes lots of problems. Unfortunately I don't think
there is a fix for it.


-- .- .-. - .. -.  .-.. --- ...- . ...  .- -. -. .. -.- .-
Martin Sch"onert,   Martin.Schoenert@Math.RWTH-Aachen.DE,   +49 241 804551
Lehrstuhl D f"ur Mathematik, Templergraben 64, RWTH, 52056 Aachen, Germany

> < [top]