Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does Meadow add a ^M at the end of each line in shell mode?

line Meadow mode Shell
0
Posted

Why does Meadow add a ^M at the end of each line in shell mode?

0

There are two possibilities: • 1) The coding system for the shell mode is not adequately set; or • 2) eol-type in the output from a specific command is different from others. If only a specific command adds ^M and you want to get rid of them, type: M-x shell-strip-ctrl-m If all the commands adds ^M, put (modify-coding-system-alist ‘process “.*sh\\.exe” ‘undecided-dos) or (add-hook ‘comint-output-filter-functions ‘shell-strip-ctrl-m nil t) in your `.emacs’.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123