From: Jannis Harder Date: 2004-12-11T01:07:05+09:00 Subject: Re: Duck images -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think the escape code "\e[;11H" is valid(works with xterm and Terminal.app(mac os x panther)) but I'm not sure. Replace it with "\e[0;11H" if it doesn't work. 108 byte (with newline) i=1;loop{puts"\e[2J\e[;11H_\n%9s(*)____,\n%9s(` =~~/ #{'~^~'[i%=2,2]*9}"%[i>0?'<':'Quack! >',''];i+=sleep 1} 109 byte (without newline) i=1;loop{puts"\e[2J\e[;11H_\n%9s(*)____,\n%9s(` =~~/\n#{'~^~'[i%=2,2]*9}"%[i>0?'<':'Quack! >',''];i+=sleep 1} my new sig : (200byte) "jp6iSZmkLp5ISZlEiW5C".unpack("m")[0].unpack("C*").map{|x|x.chr}.join. unpack("B*")[0].scan(/.{24}/){i=7;$&.scan(/..../){print\ "\e[3#{i-=1};1;40m ";$&.each_byte{|z|print" #"[z-?0,1]*2}};puts"\e[0m"} (200 byte) Jannis Harder "jp6iSZmkLp5ISZlEiW5C".unpack("m")[0].unpack("C*").map{|x|x.chr}.join. unpack("B*")[0].scan(/.{24}/){i=7;$&.scan(/..../){print\ "\e[3#{i-=1};1;40m ";$&.each_byte{|z|print" #"[z-?0,1]*2}};puts"\e[0m"} (200 byte) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (Darwin) iD8DBQFBucmi5YRWfc27RzQRAujoAKDoBGlLtJwrqYfnkx4yiRDKziDyygCg2VoZ 77qbjdCxIbIWEJWBt/G9CfI= =xd6s -----END PGP SIGNATURE-----