1826460 Members
3074 Online
109692 Solutions
New Discussion

setting a dump terminal

 
SOLVED
Go to solution
David Khoo
New Member

setting a dump terminal

How to setup a small terminal that will receive and display the message/status from another shell window running a program/script.

The dump terminal is meant to act as an indicator to user about the status of the program during testing operation.
5 REPLIES 5
Joaquin Gil de Vergara
Respected Contributor

Re: setting a dump terminal

I think the eaiest mode is

open a telnet session and look at the device file

# who am i

From the terminal where you're running the script, before to run this run

# script

this saves all input/output against the file... and appears on the other window

good luck!
Teach is the best way to learn
Ravi_8
Honored Contributor

Re: setting a dump terminal

Hi,

There is no option to use dump terminal in this way.
May be you can check the logs(log files) generated by programs to know the status on the dump terminal
never give up
David Khoo
New Member

Re: setting a dump terminal

Hi, thanks for the replies. The question may be confusing. The dump terminal is not physical terminal. What I meant is to customize a shell window to be a small size dump terminal receiving status from another active shell window that is executing the program in a workplace.
If I want to send the status to the terminal, how do I get its device file during setup and customize it to be a display window only.

Appreciate the helps!
Ravi_8
Honored Contributor

Re: setting a dump terminal

Hi, david

Unix treat terminal as a file. If no o/p file is specified it writes to standard o/p (terminal/console) which is also a file.

you are trying to customize a shell window to be a small size dump terminal receiving status from another active shell window that is executing the program in a workplace.

Now the unix has to recognize the shell window has another o/p device, so this shell window must be a device file, which we can only dream
never give up
Joaquin Gil de Vergara
Respected Contributor
Solution

Re: setting a dump terminal

In window 1 do

sv1:/home/root>who am i
root pts/tc Sep 24 14:15
sv1:/home/root>Script started on Tue Sep 24 14:16:12 2002
sv1:/home/root>hola
sh: hola: not found.
sv1:/home/root>l
.ICEauthority, .TTauthority, .WindU, .Xauthority, .dt, .dtprofile,
.elm, .hh, .lsof_luna1, .netscape, .ovweb.conf, .profile,
.pvdrill_DISK.txt, .pvdrill_GLOBAL.txt, .pvdrill_PROCESS.txt,
.pvprinters_pattern, .rhosts, .sgmgr, .sh_history, .sw, .windu.hpito.seur.es,
CPU.csv, Mail, adviser.out, cfg, core, depotsg, etc, import,
kmtune_luna1, llll, mapfile, memoria.csv, nohup.out, nsmail,
sqlnet.log, swap.csv
sv1:/home/root>

In window 2

sv1:/home/root>script /dev/pts/tc
Script started, file is /dev/pts/tc
sv1:/home/root>hola
sh: hola: not found.
sv1:/home/root>l
.ICEauthority, .TTauthority, .WindU, .Xauthority, .dt, .dtprofile,
.elm, .hh, .lsof_luna1, .netscape, .ovweb.conf, .profile,
.pvdrill_DISK.txt, .pvdrill_GLOBAL.txt, .pvdrill_PROCESS.txt,
.pvprinters_pattern, .rhosts, .sgmgr, .sh_history, .sw, .windu.hpito.seur.es,
CPU.csv, Mail, adviser.out, cfg, core, depotsg, etc, import,
kmtune_luna1, llll, mapfile, memoria.csv, nohup.out, nsmail,
sqlnet.log, swap.csv
sv1:/home/root>

All that apperar in window 2 is copied to window 1 ....

try... it work!
Teach is the best way to learn