> Oh, please, use /bin/ed for such purposes, not vi (or emacs, or ...) How about /usr/bin/ex? Is it there only for the case that one can use no screen??? (Okay, I'll try to look into ex/vi's sources where I've never been, after my "Obon" holidays. Seems wonderful places. :-) Regards, Masao