[Idle-dev] IDLE "shell" (was: IDLE interpreter window)

Tony J Ibbs (Tibs) tony@lsl.co.uk
Tue, 7 Mar 2000 16:15:48 -0000


Guido van Rossum wrote:
> I've worked with systems where the input and output area were
> phyisically separate, and they confused me.

Ah...

> But I do like the bash-in-an-xterm model (For Windows 9x users,
> DOSKEY; for NT users, a DOS box): it looks like a single text area,
> and you can select text anywhere with the mouse for copying, but you
> can only ever edit the current command line.

Aha...

I don't particularly care whether there is a "physical" separator visible,
since as far as I can see that's the only difference between the two
approaches!

> My plan is for the next version of IDLE to *look* exactly the way it
> currently looks, but to completely disallow you from editing the text
> before the beginning of the current command.  This shouldn't be too
> hard (the undo framework already intercepts all changes, all I have to
> do is add a hook that rejects certain changes).

Well, it's not *quite* the time machine in action, but it certainly sounds
like it will make me happy (in the future) anyway...

Thanks in advance, Tibs

--
BikeCode0.2	http://www.tibsnjoan.demon.co.uk/bikecode.html
  P: [Tibs] Tc B10 K:++ i29:30" h1.65m n1960 H+:~ v~ A+ M+ Rg-
  B: [AnthroTech]   3tRu U1c w37" Wr19:406 Mfr SAf bDh[Sachs]:C
                    G3x7 8s Lrr1B Cb[Michael] VjsX col[MidnightBlue]
  T: [BurleyD'Lite] 2c2[Thomas] f++ VsX
My views! Mine! Mine! (Unless Laser-Scan ask nicely to borrow them.)