From: David Roberts Date: 2006-10-15T06:11:14+09:00 Subject: Re: redirect STDOUT yong wrote: > Hi all > > I'm writting a program to detect the cursor position with the vt100 > command "\x1b[6n". > > So I need to redirect STDOUT to a string. > > How can I do this? > > Thanks I suggest looking at the code for the win2console library, which gives an example of something similar. -- Posted via http://www.ruby-forum.com/.