In debugging console (w/ iPython),
tput unknown terminal 'emacs' is repeatedly appearing.
pycharm installation dir./helpers/pydev/_pydev_bundle/pydev_ipython_console.py, $TERM is hard-coded
line6: os.environ['TERM'] = 'emacs' #to use proper page_more() for paging
- This overwrites your $TERM setting if you use iPython console when debugging.
- If your env doesn't have terminfo for emacs, then it fails.
- Add terminfo for emacs
- I just copied terminfo of dumb-terminal as emacs's terminfo, and it worked. (at least stopped showing messages)
- Or, edit `pycharm installation dir./helpers/pydev/_pydev_bundle/pydev_ipython_console.py``
って内容を PyCharm の Issue Tracker に書いた． 少しは役に立つといいけど．