From: andy eggers Date: 2007-04-11T12:05:09+09:00 Subject: Re: sending irb session to a file in windows Thanks, James, this is useful, although it appears that it only retains the history of commands I enter, without the irb output (return values, errors, etc). I'm surprised there's no way to send all of an irb session (input and output) to a file -- if I'm still missing something, please someone let me know. For what I want to do (mostly, I just want to pull out snippets from an irb session to describe code behavior), what works best for me so far is to put the command prompt in QuickEdit Mode and manually copy out sections to the clipboard. (I went a long, frustrating time without knowing about this -- to turn it on, click the mini-command prompt on the upper left of the command prompt window and adjust defaults or properties.) Andy On Apr 10, 1:38 pm, James Edward Gray II wrote: > On Apr 10, 2007, at 10:40 AM, aegg...@gmail.com wrote: > > > I'm looking to send an irb session to a file. How do people do this on > >Windows? > > Here's what you need: > > http://blog.bleything.net/2006/10/21/shell-style-history-for-irb > > James Edward Gray II