R
ruby talk
######code 1
print "monkey cat"
print "\x08\x08\x08"
### works remves cat
#########code 2
print "Enter password:\n"
pass = ''
while true
ca = STDIN.getc
print "\x08\x08\x08"
if ca.to_i ==10 then
break
end
pass << ca
end
pass.strip!
###### does not work
Any Help would be good. I also tried \b . I am running windows i am
using a bat file but i also tried rde it just prints the squares
print "monkey cat"
print "\x08\x08\x08"
### works remves cat
#########code 2
print "Enter password:\n"
pass = ''
while true
ca = STDIN.getc
print "\x08\x08\x08"
if ca.to_i ==10 then
break
end
pass << ca
end
pass.strip!
###### does not work
Any Help would be good. I also tried \b . I am running windows i am
using a bat file but i also tried rde it just prints the squares