Re: Sending C-c to Emacs

2006-04-03 Thread [EMAIL PROTECTED]
I figured out the problem, fix involves modifying one of the lines in the original program (from http://groups.google.com/group/comp.lang.python/msg/de40b36c6f0c53cc) to: raw_lflag = self.lflag & ~(termios.ICANON|termios.ECHO|termios.ISIG) (termios.ISIG was added) Lorin -- http://mail.python.o

Sending C-c to Emacs

2006-04-03 Thread [EMAIL PROTECTED]
Hi all, I've written a Python script with functionality similar to the Unix "script" program, which keeps a record of shell commands issued (I capture some additional stuff like timestamps). The code is borrowed largely from http://groups.google.com/group/comp.lang.python/msg/de40b36c6f0c53cc Any