keypress capture

Dan "clip Bush in 88..." Smith daniel at unicom.UUCP
Fri May 27 10:41:28 AEST 1988


In article <30 at idsnh.UUCP> ben at idsnh.UUCP (Ben Smith) writes:
>I know that I have done this, but (darn) I forgot how: capture the
>keypresses while running a program.  

	Chances are there are enough people out there who want to know
this, hence the net followup...

	"script" is a command that captures stdin, stdout... this is from
the man page:

	Script makes a typescript of everything printed on your ter-
	minal.   The  typescript  is written to file, or appended to
	file if the -a option is given.  It can be sent to the  line
	printer  later  with  lpr.   If  no  file name is given, the
	typescript is saved in the file typescript.

	The script ends when the forked shell exits.

			hope that duz it,

				dan

dan smith, island graphics, marin co, ca, good natured infonaut, hoopy frood
4000 civic center dr., san rafael 94903 | dis: they're solely my opinions...
uucp: {ucbvax!ucbcad,sun}!island!daniel | ph: +1 (415) 491 1000 (W), 332 FAST, 
uucp: {pacbell,pixar}!unicom!daniel     | 332 EASY (H)| unix/films/rock/feasts



More information about the Comp.unix.questions mailing list