Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3180
| From | Markus Fischer <markus@fischer.name> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Telnet "More?" |
| Date | 2011-04-19 12:12 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <4DADC275.9090708@fischer.name> (permalink) |
| References | <0bc1be8ec871e5fbad7753c695247ddc@ruby-forum.com> <c90962a3c57ccedb81a073a7013f756c@ruby-forum.com> <ZRirp.31333$zn.21162@newsfe19.iad> |
On 19.04.2011 18:40, mouser wrote: > On 19-Apr-2011, Brian Candler <b.candler@pobox.com> wrote: > >> Of course, if the question is really "why does Microsoft hang with a >> 'More?' prompt when dir is issued a second time", then this isn't really >> the right solution. > > But I found that his code *does* work in 1.8.7 but not in 1.9.2, so it's not > just Microsoft's fault. It looked to me to be a difference in character > encodings between the two versions of Ruby causing some issues with regex > matching in the preprocess instance method. Is it maybe a similar issue I faced with Sinatra recently [1]? In 1.9 strings coming over network are in ASCII-8BIT usually and you've to convert them to char charset to work with them. HTH, - Markus [1] http://www.ruby-forum.com/topic/476119#989522
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar | Unroll thread
Telnet "More?" "Eric T." <erictetz@gmail.com> - 2011-04-17 02:10 -0500
Re: Telnet "More?" Christopher Dicely <cmdicely@gmail.com> - 2011-04-17 09:56 -0500
Re: Telnet "More?" "Eric T." <erictetz@gmail.com> - 2011-04-17 20:00 -0500
Re: Telnet "More?" 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-17 17:47 -0500
Re: Telnet "More?" "Eric T." <erictetz@gmail.com> - 2011-04-17 19:48 -0500
Re: Telnet "More?" Christopher Dicely <cmdicely@gmail.com> - 2011-04-18 00:37 -0500
Re: Telnet "More?" 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-19 12:21 -0500
Re: Telnet "More?" "mouser" <invalid@invalid.com> - 2011-04-18 04:18 +0000
Re: Telnet "More?" "mouser" <invalid@invalid.com> - 2011-04-18 04:22 +0000
Re: Telnet "More?" Brian Candler <b.candler@pobox.com> - 2011-04-19 04:18 -0500
Re: Telnet "More?" "mouser" <invalid@invalid.com> - 2011-04-19 16:36 +0000
Re: Telnet "More?" Markus Fischer <markus@fischer.name> - 2011-04-19 12:12 -0500
csiph-web