From: Elias Athanasopoulos Date: 2004-05-28T02:28:31+09:00 Subject: save session in irb Hello! Okay, I know this one is a little bit strange, but... Is there a way to save an irb session meaning that a Ruby app will pop up irb, the user will execute some commands and exit irb and in the lifetime of the Ruby app will have the chance to start irb again and continue from where he/she left? To decode the above :-), what I am trying to do is to emulate the PyRun_InteractiveLoop() of the Python C API via Ruby's C API. I can use system() and friends to start irb via C, but the session is lost every time the user exits which, of course, is normal. Any wild hints? :-) Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky