Qmgr doesn't handle emacs edit keys (in command history)


I am an emacs users… when I try and use the delete next character key (^D default mapping),
qmgr exits. I haven’t found a solution yet, but the issue is because the EOF_handler() function in qmgr.c (line 203) always returns CC_EOF instead of checking to see if the line is being edited.

A possible solution would be to return CC_EOF if and only if the current line is empty (i.e. EOF
at the begining on an empty line) otherwise, delete the next character at the current character pointer in the edit line.