[svk-devel] patch to prevent failure when you don't have a tty
Jesse Vincent
jesse at bestpractical.com
Wed Mar 26 14:02:53 EDT 2008
Thanks. Applied to trunk.
On Mar 25, 2008, at 2:39 PM, Mark Eichin wrote:
> Term::ReadKey::GetControlChars blows out with "Unable to read terminal
> settings in GetControlChars" if STDIN is not a tty, which happens more
> often than you'd think (this bit me once when trying to pipe "yes
> skip" to svk, and another time when running svk in a debian-lenny
> chroot without /dev/pts bindmounted.) Term::ReadKey::ReadKey and the
> rest work fine on a pipe, though, once you get past the blowout (and
> if you don't have a tty, you probably don't care about simulating
> erase-handling anyway.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/svk-devel/attachments/20080326/de7392f4/attachment.pgp
More information about the svk-devel
mailing list