Re: Sending ^C

2009-12-21 Thread Grant Edwards
On 2009-12-21, Rick wrote: > I am to write script which is to read data from log file which > resides on remote host. It's a simple text file but grows to > couple of MBytes. I want to do ssh connection to remote, and > run 'tail -f _some_file_' command to read only new coming data > and process

Sending ^C

2009-12-21 Thread Rick
Hi, I am to write script which is to read data from log file which resides on remote host. It's a simple text file but grows to couple of MBytes. I want to do ssh connection to remote, and run 'tail -f _some_file_' command to read only new coming data and process them in the loop. The problem is

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