Charles Steinman wrote: > Nikolai Weibull wrote: > > % python > > Python 2.3.5 (#1, Apr 28 2005, 14:11:32) > > [GCC 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, > > ssp-3.3.5.20050130-1, pie- on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> quit > > >>> 'Use Ctrl-D (i.e. EOF) to exit.' > > >>> > > % > > Man, seriously. That's so fucking funny. Can't we make irb do > > something similar? I really hate that irb quits on me when I write > > "quit" at the prompt. I'd much rather have it exit on me on ^D only. I > > especially like how they take the time to explain that ^D is EOF, > Just put "def exit() 'Use Ctrl-D (i.e. EOF) to exit.' end" in your > ..irbrc file. Then you'll never have to worry about it again. The problem isn”Ēt exit, but quit. > Personally, I don't have a problem with involuntarily typing "exit" > into IRB. Anyway, the exit method is part of the standard library, not > a function of IRB. I don't think changing it by default in IRB would be > a good thing. Hm, perhaps not. One could give it a counter, so that if I type quit twice in a row it”Ēll first warn me that I should be uisng ^D, and then the next time it”Ēll actually quit, nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}