× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: unix "script" command (WAS:Re: Screen prints?)
  • From: Elias Mandouvalos <ocean@xxxxxxxxxxxx>
  • Date: Mon, 26 Jun 2000 17:38:59 +0300

I don't think script can be used here...
script captures everything that passes from your console int a file 
(e.g. script /tmp/myscreen.dump)
and terminates when the user presses ctrl-D

Therefore you would have to start it before executing tn5250 and end it after 
you end your session... not much help ...



Original message from: "Jason M. Felice"
>Tom Cross wrote:
>> 
>> On Fri, 23 Jun 2000, Sean Porterfield wrote:
>> 
>> > If you mean like the print key on a dumb terminal, then it's mapped to 
>Ctrl-P
>> > (I remapped mine to the Print Screen key)
>> >
>> > <Key>Print: string("\020") \n\
>> 
>> Ah, control-P makes the host screen print...  That would explain why
>> nothing comes out here when I hit that key.. :)
>> 
>> > If you want local print, someone else will have to help you :)
>> 
>> Yup, that's what I was looking for.  I tried playing with xterm's screen
>> print but that prints the color-escape codes too and makes it hard to
>> read.
>> 
>
>I just saw reference to a program called `script', which I find
>installed
>on my (RH62) box.  It supposedly transcribes a console session, and it
>might have some sort of print feature.
>
>> --
>> Tom Cross                     Voice: 320-253-1020    FAX: 320-253-6956
>> System Administrator                          E-mail: tomc@kendeco.com
>> Airgas Kendeco Tool Crib                        http://www.kendeco.com
>>        --> Now with new and improved extension number 207!!! <--
>>         St Cloud Area Linux Users Group: http://www.scalug.org
>> 
>
>-Jason M. Felice
>(jfelice@cronosys.com)
>+---
>| This is the LINUX5250 Mailing List!
>| To submit a new message, send your mail to LINUX5250@midrange.com.
>| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
>| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: david@midrange.com
>+---
>
>

+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.