Please add doc for how to make fish work in mistty in Android emacs (solution provided)
When using mistty in Android emacs, I got garbage chars when using e.g. fish or nushell, but no garbage chars when using bash. It turned out that this was a config problem with emacs builtin term. By default term does not use unicode for output. I found the fix for this here: https://stackoverflow.com/questions/6820051/unicode-characters-in-emacs-term-mode (add-hook 'term-exec-hook (function (lambda () (set-buffer-process-coding-system 'utf-8-unix 'utf-8-unix)))) Can you add a tip about this to the documentation? It took me quite a long time to realize what the problem was.
Thank you! I'll do that.
I wonder whether something like this could be safely added to the code, so it works on Android without extra configuration.
Great! Yes, one could define a variable in the mistty user interface, default nil, that when set to t will call add-hook for term-exec-hook.
Den ons 22 nov. 2023 kl 19:23 skrev Stephane Zermatten < @.***>:
Thank you! I'll do that.
I wonder whether something like this could be safely added to the code, so it works on Android without extra configuration.
— Reply to this email directly, view it on GitHub https://github.com/szermatt/mistty/issues/15#issuecomment-1823265229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7OP3X3E27WHGYQIMABTYFY7JVAVCNFSM6AAAAAA7WGU3S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGI3DKMRSHE . You are receiving this because you authored the thread.Message ID: @.***>
-- Johan Widén, tel: +46705367346 Risvägen 5 A, 192 73 Sollentuna, SWEDEN