def rl_unix_filename_rubout(count, key)
if (@rl_point == 0)
rl_ding()
else
orig_point = @rl_point
if (count <= 0)
count = 1
end
while (count>0)
c = @rl_line_buffer[@rl_point - 1,1]
while (@rl_point>0 && (whitespace(c) || c == '/'))
@rl_point-=1
c = @rl_line_buffer[@rl_point - 1,1]
end
while (@rl_point>0 && !whitespace(c) && c != '/')
@rl_point-=1
c = @rl_line_buffer[@rl_point - 1,1]
end
count -= 1
end
rl_kill_text(orig_point, @rl_point)
if (@rl_editing_mode == @emacs_mode)
@rl_mark = @rl_point
end
end
0
end