Operating System - HP-UX
1846713 Members
3406 Online
110256 Solutions
New Discussion

Re: Terminal emulation problem?

 
Steven Chen_1
Super Advisor

Terminal emulation problem?

Though it is SGI IRIX unix system, I still want to get some idea from HP guru:

I issue the command of
'tar tvf /dev/rmt/tps0d3nsv /tmp/abc' and the command finally went on to display what I want. But it does not return to prompt and you have to use Ctrl+C to terminate it to prompt sign.

There is no other problem using other command.

I am wondering if sth is wrong on teminal emulation.

Please help and thanks a lot.

Steven
Steve
6 REPLIES 6
John Palmer
Honored Contributor

Re: Terminal emulation problem?

It's possible that tar was waiting for the tape to rewind, how long did you leave it before issuing the kill?

It's unlikely to be an emulation problem.
Steven Chen_1
Super Advisor

Re: Terminal emulation problem?

I waited for 10 minutes. It is a 2G DDS tape.
Steve
Danny Engelbarts
Frequent Advisor

Re: Terminal emulation problem?

Hey Steven,

This has nothing to do with your emulation, tar will search the tape for any occurence of /tmp/abc before rewinding it and finally give you your prompt back, this can take 10 minutes easily! (specially if the tape is full)

Greetz, Danny.
MANOJ SRIVASTAVA
Honored Contributor

Re: Terminal emulation problem?

You will have to wait till it read the whole of the tape and it expect to contain the same file with different time stamps .Also make sure that u are using the device which has a rewind option so that it rewinds after it reads the whole tape.

Rick Garland
Honored Contributor

Re: Terminal emulation problem?

Gotta read and rewind the tape. Do the command again and wait for it to return back to you.
Dennis Kennedy
Advisor

Re: Terminal emulation problem?

waz up!

forget waiting. Use local user. If you have to do it more than once then make a script off the tar and fire it off with
"script.sh &" and let it run on its own as a backround process. The process will tell you when its finished. Works on all unixs.

hope that helps
later,
D
just do it!