I must be going senile or something. You're absolutely right of course. I just
dug up my old telnet patches from 1989 that implemented the command history in
the client. All that we need today is a patch for GNU readline that makes it
mostly do nothing when EXTPROC mode is set on the tty.
We still need to be able to forward on <TAB> of course. We can define
additional forwarding characters using VEOL or VEOL2, but I think they also
have the semantic of terminating the input line, which is not what we want
here. Since they are so rarely used for their original purpose, would it be a
terrible thing to subvert them to this purpose, or can we just add a new VFWD
character to the tty driver?
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
--