From: "Michael W. Ryder" <_mwryder@...> Date: 2007-01-24T04:50:10+09:00 Subject: Re: Placing tabs in strings in irb Rob Biedenharn wrote: > > On Jan 22, 2007, at 9:31 PM, George Ogata wrote: > >> On 1/23/07, Michael W. Ryder <_mwryder@worldnet.att.net> wrote: >>> > I'm guessing this behavior is due to readline, which is normally >>> > compiled into into irb if available. If so, you can also insert tabs >>> > using M-TAB (a.k.a. alt-tab). Try "info readline" for more info (or >>> > google "info readline" if you don't have it available). >>> > >>> >>> Using alt-tab on my XP Pro computer results in another window popping up >>> and does not insert a tab character into the string. I will just have >>> to remember to use double quotes and \t for tabs. >> >> Ah, yes, readline is more of a unixy thing AFAIK. Sorry, I'm not sure >> about Windows. >> > > But M-TAB is just shorthand for ESC TAB (hit ESC then hit TAB). It > works for Mac, I'm guessing that it works the same for Windows. > That works but is harder to enter then \t so I will stay with the \t convention. Thank you for the tip on M-TAB being ESC-TAB. > -Rob > > Rob Biedenharn http://agileconsultingllc.com > Rob@AgileConsultingLLC.com > > >