If the new comint is causing you more grief than you are willing to
put
with, then please revert to the versions of comint and shell tagged
pre-JJ-comint-sync.
My experience is that I will just end up with the same broken version
promoted to stable and causing the same grief.