# Re: irb and readline

**URL:** <https://www.ruby-forum.com/t/re-irb-and-readline/99283>\
**Category:** Ruby\
**Created:** [July 21, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/re-irb-and-readline/99283 "2006-07-21T15:16:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torben\_WSSSSlm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7ab992/32.png) [@Torben\_WSSSSlm](https://www.ruby-forum.com/u/Torben_WSSSSlm)\
**Post date:** [July 21, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/re-irb-and-readline/99283/1 "2006-07-21T15:16:50Z")

</div>

> removed\_email\_address@domain.invalid wrote:
> 
> > Got it. So, is there anyway to shut off history from the windows  
> > console? That would probably solve the large-line-bug while still  
> > allowing tab completion.
> 
> I was able to lower buffer size and number of buffers to 1, but it  
> didn’t solve the problem. (The console did keep a 1 line history,  
> though, so this still might be the problem.)

I tried

C:\>DOSKEY /listsize=0

That seems to remove the history in cmd.exe?

HTH  
torben

---

<div class="post-metadata">

**Author:** ![Torben\_WSSSSlm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7ab992/32.png) [@Torben\_WSSSSlm](https://www.ruby-forum.com/u/Torben_WSSSSlm)\
**Post date:** [July 21, 2006, 4:09pm UTC](https://www.ruby-forum.com/t/re-irb-and-readline/99283/2 "2006-07-21T16:09:40Z")

</div>

Hi,

I have tried irb after this command:

> C:\>DOSKEY /listsize=0

That bug is still there. But when I use the old [command.com](http://command.com) it’s all  
good. Thanks Dave for this tip !

–  
Martins

---

<div class="post-metadata">

**Author:** ![Torben\_WSSSSlm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7ab992/32.png) [@Torben\_WSSSSlm](https://www.ruby-forum.com/u/Torben_WSSSSlm)\
**Post date:** [July 21, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/re-irb-and-readline/99283/3 "2006-07-21T22:16:54Z")

</div>

Torben Wölm wrote:

> I tried
> 
> C:\>DOSKEY /listsize=0
> 
> That seems to remove the history in cmd.exe?

Yes, it does - thanks.

Unfortunately, irb’s readline still doesn’t work, so my theory was  
wrong. Oh well.

---

<div class="post-metadata">

**Author:** ![Torben\_WSSSSlm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7ab992/32.png) [@Torben\_WSSSSlm](https://www.ruby-forum.com/u/Torben_WSSSSlm)\
**Post date:** [July 22, 2006, 6:29am UTC](https://www.ruby-forum.com/t/re-irb-and-readline/99283/4 "2006-07-22T06:29:59Z")

</div>

fr listserv:

# Yes, it does - thanks.

# 

# Unfortunately, irb’s readline still doesn’t work, so my theory was

# wrong. Oh well.

fwiw,  
on my windows cmd.exe properties, i have:

Screen buffer size:  
width: 80  
height: 999

Window size:  
width: 80  
height: 41

uncheck: Let system position window
