emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *shell* buffer in GNU Emacs 23.0.0 has faulty terminal control


From: Miles Bader
Subject: Re: *shell* buffer in GNU Emacs 23.0.0 has faulty terminal control
Date: Thu, 28 Sep 2006 19:25:27 +0900

Peter Dyballa <address@hidden> writes:
> Neither this nor the other method nor (GNU) tee work, neither in bash  
> nor in tcsh. All log files are empty. Git obviously is sending ANSI  
> escape sequences directly to the terminal.

Try running the git command inside a "typescript" session (which creates
a pty and captures all io to/from it):

   $ script /tmp/output
   Script started, file is /tmp/output
   $ echo -e 'hello\rworld'
   world
   $ exit
   exit
   Script done, file is /tmp/output
   $ cat -v /tmp/output
   Script started on Thu Sep 28 19:23:59 2006
   $ hello^Mworld
   $ exit

   Script done on Thu Sep 28 19:24:03 2006
   $ 

-Miles

-- 
`To alcohol!  The cause of, and solution to,
 all of life's problems' --Homer J. Simpson




reply via email to

[Prev in Thread] Current Thread [Next in Thread]