#1255: HighLine Gem - stty: stdin isn't a terminal -------------------------------------+-------------------------------------- Reporter: umairsiddique@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Consider the following code. {{{ require 'rubygems' require 'highline' h = HighLine.new h.ask("Password: ") {|x| x.echo = "*"} }}} The last line is supposed to let you type in masked characters (masked with *), but instead this is what MacRuby nightly (05/03) produces. {{{ Password: stty: stdin isn't a terminal speed 9600 baud; lflags: -icanon -iexten -echo echoke echoctl iflags: -icrnl -ixon -imaxbel iutf8 ignbrk -brkint oflags: -opost -oxtabs cflags: cs8 -parenb => "" }}} The weird indentation is neither mine nor Trac's. I'm pasting direct from the console. -- Ticket URL: <http://www.macruby.org/trac/ticket/1255> MacRuby <http://macruby.org/>