Mike, please do. We discussed a few months back, on this list,  
whether or not to switch to highline vs. termios, and I was lukewarm  
to the idea then. I'm willing now to consider a patch, though.

Thanks,

Jamis

On Jan 12, 2007, at 5:15 AM, Mike Bailey wrote:

>
> Someone submitted a ticket to deprec's trac pointing out that by
> requiring termios I locked Windows users out of installing the gem.
> Termios doesn't install on Windows so I'm going to remove the
> dependency from deprec.
>
> Although deprec doesn't call termios directly  I made it a dependency
> because I think not echo'ing the sudo password to the screen is
> *really* important. Too important to leave it to the user to read the
> docs and install it manually.
>
> My mystery submitter sent an example of how cross platform lib
> 'Highline' can do the work of Termios.
>
> Jamis, if I put together a patch to replace the termios code would
> you consider using Highline?
> The library looks pretty good and may be useful for other Capistrano
> tasks. It's even got validation.
>
>>> require 'highline/import'
>>> zip = ask("Zip?  ") { |q| q.validate = /\A\d{5}(?:-?\d{4})?\Z/ }
> Zip?  d3
> Your answer isn't valid (must match /\A\d{5}(?:-?\d{4})?\Z/).
> ?  43223
> => "43223"
>
> http://highline.rubyforge.org/doc/
>
> - Mike
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to