^M in Stata

Michael A O Ash mash at econs.umass.edu
Wed Feb 9 21:17:05 CET 2000


Yes, this worked.  Thank you very much.  I assume that I can put the line
in .emacs?

Regards,
Michael

On Wed, 9 Feb 2000, Rich Heiberger made the following suggestion:

> Try this out and tell me if it works.  I don't use stata myself, but
> this is the standard emacs response to control-M characters.  Let me
> know if it works.  If it does, Tony will put it in the next revision.
> 
> Go to the *scratch* buffer.  Copy this line
>   (add-hook 'comint-output-filter-functions 'shell-strip-ctrl-m nil t)
> 
> place the cursor at the end of the line and enter control-J
> Go to the stata buffer and type something.  The ^M should no longer appear.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list