🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.kde
Article #5

Re: Printing a telnet page

#5
From: Michael F. Tomkins
Date: Mon, 15 Oct 2001 12:45
47 lines
3062 bytes
In article <MPG.1634f54293dd069f989752@news-server.vic.bigpond.net.au>, 
Mark Lambert <mark.nospamplease@lambcom.com.au> wrote:

> In article <3BCA3B59.6192B31C@hotmail.com>, munwin99@hotmail.com says...
> > Am running RH7.1, and one of our programs is running on a box I telnet
> > into. Have got this working. Have installed one of our HP networked
> > printers. This prints OK (from Netscape, etc,etc,etc). Now I wish to be
> > able to screen dump from the open telnet session. HOW ???
> > 
> > 
> two answers off the top of my head.
> 
> run your command (man page, screen, whatever) through tee
> as in
> man telnet | tee -a /tmp/screencap.txt
> tee casues a T in your output pipe.. one copy to screen, teh other to 
> file.
> 
> the other method is to log in twice and cut & paste from one window to 
> the other. 
> 
> native screen capture, that is, push a button and out pops a file/print 
> job, would be a function of your Telnet program, not Unix.
> 
> I use terraterm (with the ssh extenstions) and it has a copy/paste 
> function that can copy highlighted text,  but not a print screen 
> function. Others might. Some might even emulate the original vt100 "print 
> screen" function, but good luck finding one.

Also try script, info at the usual man pages.

$ script filename 

starts recording 

$ <Control>D 

ends the recording. 

Bonus is that it automatically appends the date at the start and end of 
filename.

-- 
Success is not the result                       Michael F. Tomkins
 of spontaneous combustion.      m.tomkins@student.canberra.edu.au
You must set yourself on fire.  University of Canberra, Australia.
                          http://student.canberra.edu.au/~u964617/
Technical Details
Message-ID: <m.tomkins-6E8EB6.22454115102001@newshost.anu.edu.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!clarion.carno.net.au!m.tomkins
References: <3BCA3B59.6192B31C@hotmail.com> <MPG.1634f54293dd069f989752@news-server.vic.bigpond.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baf0,89877545ea38bd73
X-Google-Attributes: gid10baf0,public
X-Google-Thread: 102983,89877545ea38bd73
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2001-10-15 05:46:59 PST
From: "Michael F. Tomkins" <m.tomkins@student.canberra.edu.au>
Newsgroups: comp.windows.x.kde,aus.computers.linux
Subject: Re: Printing a telnet page
Organization: The White Room
Distribution: aus
References: <3BCA3B59.6192B31C@hotmail.com> <MPG.1634f54293dd069f989752@news-server.vic.bigpond.net.au>
User-Agent: MT-NewsWatcher/3.0 (PPC)
X-Anon-Quote: No Silicon Heaven? But where do all the calculators go?
X-Face: )x?`Qs8_,HoKItDE4%xDP5wr^*5_#aU^."A"<FU~(.gaKMs8z1wNk@&08q3"d
        ]YqLH*+/Vs9z|DvCLNiU6N92Q){.HQStBP=nOo{jGJj'Kdgmgs~i=iW?~=|E^g-hm`MS
        ]iV"ip2qk
Date: Mon, 15 Oct 2001 22:45:41 +1000
Message-ID: <m.tomkins-6E8EB6.22454115102001@newshost.anu.edu.au>
NNTP-Posting-Host: 150.203.115.129
X-Original-NNTP-Posting-Host: 150.203.115.129
X-Trace: clarion.carno.net.au 1003149770 150.203.115.129 (15 Oct 2001 22:42:50 +1000)
Lines: 47
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!clarion.carno.net.au!m.tomkins