Re: ROOT processing of the command line input

Fons Rademakers (Fons.Rademakers@cern.ch)
Wed, 11 Jun 1997 19:12:00 +0200


Hi Pasha,

it is not intentional that we only display 80 characters.
The getline line editing package we use has a routine to set
the line width. Up till now I did not connect this call to
an xterm SIGWINCH signal. I'll do that.

Concerning the insertion speed. This is normally due to some
xterm/hpterm/dterm setting. In my dterm and xterm character
insertion is instantaneous (independent of the number of
characters already in the line).

Cheers, Fons.

Pasha Murat wrote:
>
> Hi,
>
> there are two issues related to how ROOT is processing the command line input:
>
> - is it intentional that ROOT doesn't display more than 80 characters
> in the command line? - regardless the X-window size instead of
>
> root [5] TFile* f = new TFile("/data34/upgrade/ift/murat/isl/mbr_proc_001.3.cl./upgrade/ift/murat/isl/mbr_proc_001.3.cl.root")
>
> ROOT displays either
>
> root [5] TFile* f = new TFile("/data34/upgrade/ift/murat/isl/mbr_proc_001.3.cl$
>
> or
>
> $4/upgrade/ift/murat/isl/mbr_proc_001.3.cl.root")
>
> - the second remark is very technical:
> when deleting or inserting a character in the middle of ROOT command one
> observes *very* large (in the relevant time scale) delays between the moment
> when key is pressed and the corresponding change occurs on the screen. It
> points out to a pretty inefficient implementation of the command line editing.
> What about using GNU readline library, for example?
>
> Thanks, Pasha

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910