Here is minor bugfix patch for irb version 0.9(02/07/03) contained in debian package vesion 1.8.2-5, *fixes missing linefeed* "\n" when exiting by pressing Ctrl-D i.e \C-d (^D).
-------- 8< --------
--- irb.rb.orig 2003-06-10 05:22:16.000000000 +0000
+++ irb.rb 2005-04-29 02:14:53.261022103 +0000
@@ -69,7 +69,6 @@
catch(:IRB_EXIT) do
irb.eval_input
end
-# print "\n"
end
def IRB.irb_exit(irb, ret)
@@ -135,6 +134,8 @@
if @context.verbose?
printf "Use \"exit\" to leave %s\n", @context.ap_name
end
+ else
+ print "\n"
end
end
l
-------- 8< --------
Hope that helps,
Regards,
···
--
Dr Balwinder Singh Dheeman Registered Linux User: #229709
CLLO (Chief Linux Learning Officer) Machines: #168573, 170593, 259192
Anu's Linux@HOME Distros: Ubuntu, Fedora, Knoppix
More: http://anu.homelinux.net/~bsd/ Visit: http://counter.li.org/