From p.dalgaard at biostat.ku.dk  Tue Jan 24 01:26:21 2006
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: 24 Jan 2006 01:26:21 +0100
Subject: [Rd] --gui=Tk window does not stretch (PR#8520)
In-Reply-To: <20060123234012.2B3B0CD3F@slim.kubism.ku.dk>
References: <20060123234012.2B3B0CD3F@slim.kubism.ku.dk>
Message-ID: <x2psmieaj6.fsf@turmalin.kubism.ku.dk>

greg.kochanski at phon.ox.ac.uk writes:

> When you grab the corner of the Tk-R (R's console) window,
> the window stretches, but the useable area does not.
> It remains firmly fixed at the (rather small) value of
> 24 lines.
> 
> In fact, you end up with a grey border  of wasted pixels
> around the active white area that contains the text.
> 
> (And, please don't tell me that it's not a bug because
> it's been that way for 15 years, or because the S
> documentation states that the terminal window is
> 24 lines high.   That would shatter my dreams
> and illusions.)

It's not a bug, it's an unimplemented feature...

As you're bound to discover, the Tk console is mainly a
proof-of-concept with shortcomings in many other areas as well. It's
been largely undeveloped (as has the Gnome GUI) because we had very
little feedback to indicate that people were actually interested in
getting it to work better. Patches might be considered.

The particular issue is just a matter of sending suitable options to
the Tk geometry manager. This can be fixed in the console.tcl script,
and in fact also from within the running GUI using

with(.GUIenv, tkpack("configure", Term, expand=TRUE, fill="both"))


-- 
   O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



[Rd] --gui=Tk window does not stretch (PR#8520)
Peter Dalgaard