It occured to me that you can use shell mode in emacs, and use the builtin history recall mechanism to get a limited readline support for nscp. I map the history recall to the up/down arrows using the following emacs incantation:
(add-hook 'shell-mode-hook
(function
(lambda ()
(define-key comint-mode-map 'up 'comint-previous-input)
(define-key comint-mode-map 'down 'comint-next-input))))
It also works for sql mode when you're forced to use oracle and work with sqlplus
(add-hook 'sql-interactive-mode-hook
(function
(lambda ()
(define-key comint-mode-map 'up 'comint-previous-input)
(define-key comint-mode-map 'down 'comint-next-input))))
I don't care what people say, emacs rules.