From: Julian Snitow Date: 2003-04-01T01:36:32+09:00 Subject: Re: Hard coded newline characters David King Landrith wrote: > On Monday, March 31, 2003, at 10:27 AM, ts wrote: > >> or perhaps >> >> at_exit { endwin } > > > This is exactly the type of elegant solution that I'm looking for. > Unfortunately, this behaves exactly the same as trap 0, proc { endwin > }. (What is the difference between at_exit and trap 0?) > > On Monday, March 31, 2003, at 10:15 AM, Julian Snitow wrote: > >>>> Interesting but I doubt its necessarity and worthfulness. >>> >>> Likewise with your reply. >> >> Ouch. >> I'm sure antagonizing people will *really* make them want to help you... > > > Fair enough. I didn't intend to be antagonistic, but rather to answer a > flip response in kind. Always a temptation; rarely worth it in practice... ;-) I'd personally have given the benefit of the doubt by assuming that the original poster meant to question the necessity of changing ruby itself rather than finding an alternative solution. > This mailing list is sometimes frustrating > because of the preponderance of know-it-all types offering solutions > that (a) imply you know nothing about the Ruby and (b) --here's the > rub-- don't even work. > *grin* Here's my rule of thumb: when I'm posting something that I believe will work, but haven't tested, I'll say something to the effect of "why not try something like...", to imply that the following snippet should be read and adapted, or taken as an idea, not necessarily applied verbatim. When I promise to eat my hat, however... ;-D