On Tue, Jul 01, 2003 at 05:39:51AM +0900, Josef 'Jupp' Schugt wrote: > A very portable way is this: > > rubout = 8.chr * 4 More portable: rubout = "\b" * 4 \b = backspace; maybe somebody runs Ruby on an old IBM mainframe or something which doesn't use ASCII :-) But if you're just trying to move the cursor back to the start of the line, "\r" is easier as you don't have to count characters. Regards, Brian.