Help! Any info on dumpping linux X terminal text

Posted on 2004-10-31
Last Modified: 2010-03-18
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.

Question by:iqula
    LVL 5

    Accepted Solution

    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:

         script - make typescript of terminal session

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

         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.

    Author Comment

    Hi, thanks for that, will that work if my users are in KDE, ie will it capure the text in an opened openoffice doc?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    IT Security CISA, CISSP & CISM Certification

    Master the advanced techniques required to protect network resources from external threats with the IT Cyber Security bundle. Built around industry best-practice guidelines, the IT Cyber Security bundle consists of three in-depth courses.

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now