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: [EMAIL PROTECTED]
>> 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
>([EMAIL PROTECTED])
>+---
>| This is the LINUX5250 Mailing List!
>| To submit a new message, send your mail to [EMAIL PROTECTED]
>| To subscribe to this list send email to [EMAIL PROTECTED]
>| To unsubscribe from this list send email to [EMAIL PROTECTED]
>| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
>+---
>
>

+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to