> I had to use mail(1) recently (after ~30 years break :). To my > surp^Wconfusion its editline inits itself to vi mode.
The real problem, here, is that line editing is being done in the wrong place. It should be done in the kernel as far as ordinary applications are concerned, though it really should be in a user-specific userland program (which is thus switchable, same as the shell is). Admittedly, this is Not Simple to do right. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML mo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B