From: Bertram Scharpf Date: 2009-02-10T12:30:41+09:00 Subject: Re: New to Ruby. Why does the command line pop up an then go awa Hi John, no harm meant indeed. Am Dienstag, 10. Feb 2009, 08:32:14 +0900 schrieb Raphael Clancy: > John Budd wrote: > > When ever I run a code file .rb > > The code, > > > > puts "Hello" > > > > I get the command prompt that flashes for a moment but does not stay up. > > This is not as correct as the other approaches, but you can also end > your code with "getc" then the program will pause until you press enter. ^^^^^ Unless you tweak "termios". What cannot be done on Windows... Did ever anyone count the unnecessary and dulling questions that arise by just running that wicked OS? Sorry, sorry, sorry. I cannot resist posting the truism. A score of times I refrained. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de