[comp.emacs] Request for Information: Recording the keystrokes

sanjiv@hoss.unl.edu (Sanjiv K. Bhatia) (12/15/90)

I am looking for a program that runs under Unix which can record
a user's keystrokes inside an editor like Emacs.  The user
would just be using Emacs (or some other full screen editor)
in the normal way, but all of their keystrokes, including
cursor motion, would be written in a file.  

Do you know of any program that could do this (or something
similar)?

I would like to find the same kind of programs for PC, either
IBM or Mac.  Any ideas on that?

Thanks,
Susan Wiedenbeck

--
Sanjiv K. Bhatia				Department of Computer Science
sanjiv@fergvax.unl.edu				Ferguson Hall 115
voice: (402)-472-3485				University of Nebraska - Lincoln
fax:   (402)-472-7767				Lincoln, NE 68588-0115

loic@adesign.uucp (Loic Dachary) (12/16/90)

	You can probably hack something with the recent-keys function
of GNU-emacs :

recent-keys:
Return string of last 100 chars read from terminal.

	You can also get a log of the output with the function open-termscript.
Be advised that it doesn't work with emacs acting as an X-window client (at
least in 18.55).

open-termscript:
Start writing all terminal output to FILE as well as the terminal.
FILE = nil means just close any termscript file currently open.

	I hope this helps,
-- 
Loic Dachary 	loic@adesign.uucp or floic@afp.uucp 
Voice		+33 1 40 35 20 20