I would like to know how we can map the keys Ctrl-D in ksh to exit the shell as it does in bash shell.Not much familiar with key binding in ksh.EditSee my comments below.$ echo $0bash$ exit    # I pressed Ctrl-D here, 'exit' string was placed and the shell exited$> echo $0ksh$> Use 'exit' to leave ksh  # I pressed Ctrl-D here, Got this message and returned to the ksh prompt$> echo $0ksh$> cat >> somefileSome text$>   # I pressed Ctrl-D here. So this key combination is taken as eof char for file, but not for exit.So, it's needs Ctrl-D to be mapped to exit the shell? How do I do that?
ksh - map Ctrl-D to exit shell
keyboard shortcuts;ksh;exit