• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

Help! Any info on dumpping linux X terminal text

Does anyone know how I can get a dump of the ASCII text on the screens of my X terminals?  In an experiment I have 5 thin clients running xterminals off a server, I need to be able to dump the text on the terminals screens periodicly or as a stream into a dump file.  If anyone has any ideas about this your help would be appreciated.

Thanks
Steve
0
iqula
Asked:
iqula
1 Solution
 
badrulnmCommented:
I use 'script' command. Basically, type: "script" to start, and press CTRL-D to stop. Default output file is 'typescript'.

To quote the man page:

NAME
     script - make typescript of terminal session

SYNOPSIS
     script [-a] [-f] [-q] [-t] [file]

DESCRIPTION
     Script makes a typescript of everything printed on your terminal.  It is
     useful for students who need a hardcopy record of an interactive session
     as proof of an assignment, as the typescript file can be printed out
     later with lpr(1).

     If the argument file is given, script saves all dialogue in file.  If no
     file name is given, the typescript is saved in the file typescript.
0
 
iqulaAuthor Commented:
Hi, thanks for that, will that work if my users are in KDE, ie will it capure the text in an opened openoffice doc?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now