Hi Wesley, hi Andrey,

thank you for bringing this bug to my attention.

On Mon, Dec 31, 2012 at 08:45:09AM -0700, Wesley J. Landaker wrote:
> I just tried installing and using ticgit on unstable. Here is the
> result:
> 
> $ ti
> /usr/lib/ruby/vendor_ruby/ticgit-ng/cli.rb:156:in `ioctl': Inappropriate 
> ioctl for device (Errno::ENOTTY)
>       from /usr/lib/ruby/vendor_ruby/ticgit-ng/cli.rb:156:in `try_using'
>       from /usr/lib/ruby/vendor_ruby/ticgit-ng/cli.rb:145:in 
> `reset_window_width'
>       from /usr/lib/ruby/vendor_ruby/ticgit-ng/cli.rb:240
>       from /usr/lib/ruby/vendor_ruby/ticgit-ng.rb:37:in `require'
>       from /usr/lib/ruby/vendor_ruby/ticgit-ng.rb:37
>       from /usr/bin/ti:10:in `require'
>       from /usr/bin/ti:10
> 
> This error appears when attempting *any* ti subcommand.

I am able to reproduce the problem you are describing; whether or not it
occurs depends on the version of the kernel.  I’m not convinced that
ticgit’s way of determining the size of the terminal (tentatively
calling ioctls) makes a lot of sense, so I’m probably going to make it
parse the output of stty instead.

Cheers,
-- 
Michael Schutte                   | michi@{uiae.at,debian.org}
Innsbruck, Austria                | happily accepting encrypted mail
OpenPGP: 0x16fb 517b a866 c3f6 8f11 1485 f3e4 122f 1D8C 261A


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to