From owner-freebsd-questions Tue Nov 2 6: 4:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0F7F214D74 for ; Tue, 2 Nov 1999 06:04:16 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from hades.hell.gr (patr530-a030.otenet.gr [195.167.115.30]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id QAA00479 for ; Tue, 2 Nov 1999 16:04:10 +0200 (EET) Received: (qmail 7478 invoked by uid 1001); 2 Nov 1999 01:46:14 -0000 To: freebsd-questions@freebsd.org Subject: Re: screen file References: <199911011457.IAA06890@barnes1.wustl.edu> From: Giorgos Keramidas Date: 02 Nov 1999 03:46:14 +0200 In-Reply-To: Wayne M Barnes's message of "Mon, 1 Nov 1999 08:57:36 -0600 (CST)" Message-ID: <86d7tthdi1.fsf@localhost.hell.gr> Lines: 29 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wayne M Barnes writes: > Dear FreeBSD, > > How to capture screen? > > You know how if I hit Scroll/Lock, I can then use the up > arrow to peruse what has rolled off the screen? > > I would like to capture this screen contents in a file. Or > is this already happening? If so, where is it? There is always the script command, which works like below: % script Script started, output file is typescript % YOUR COMMANDS HERE ... output and all such stuff % exit exit Script finished... Then you have everything that passed over your terminal in a file called typescript in the current directory. For more details "man script". -- Giorgos Keramidas, "What we have to learn to do, we learn by doing." [Aristotle] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message