1837512 Members
3859 Online
110117 Solutions
New Discussion

Re: term type

 
SOLVED
Go to solution
Randy_9
Regular Advisor

term type

I just restored my system from
a backup tape (make_tape_recovery). Now when I try to edit a file, I get (even if I set the TERM type and export prior)the message:

I don't know what kind of terminal you are on - all I have is 'dtterm'.
[Using open mode]:

If I try a listing (more works), I get:

# ls -al / |pg
pg: cannot find terminal type

Thanks,

Randy

16 REPLIES 16
Victor BERRIDGE
Honored Contributor

Re: term type

Hi Randy,
Are you on the console?

Best regards
Victor
Randy_9
Regular Advisor

Re: term type

Victor,

Happens on the console and
via rlogins using "dtterm".

Randy
Jeff Schussele
Honored Contributor

Re: term type

Hi Randy,

Be sure of your SHELL type. If for some ghastly reason you're running csh, your export command will be useless.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Volker Borowski
Honored Contributor

Re: term type

Hi Randy,

check if /usr/lib/terminfo/d/dtterm has been restored sucessfully.
It contains the curses lib for dtterm.
May be for whatever reason this directory was not part of ignite (/usr filesystem in vg01 ?)

Volker

Victor BERRIDGE
Honored Contributor

Re: term type

 
Randy_9
Regular Advisor

Re: term type

My shell is the "ksh". Under the /usr/lib/terminfo directory, all I have is
"h, v, w". There is no "d".

On the console, when I log in
I get "type 70096 unkown".

I did note in /etc/rc.log:

Start CDE login server
Output from "/sbin/rc3.d/S990dtlogin.rc start":
----------------------------
"/sbin/rc3.d/S990dtlogin.rc start" SKIPPED

Thanks,

Randy
Victor BERRIDGE
Honored Contributor

Re: term type

Have you tried something like TERM=hp ?
or TERM=vt100 ?
Tell us the result

Good luck
Victor
Randy_9
Regular Advisor

Re: term type

Victor,

Doesn't look good:

# pwd
/usr/share/lib
# ls
terminfo
# ls terminfo
h v w

Randy


Randy_9
Regular Advisor

Re: term type

If I use TERM=hp, I get garbage when I edit. If I use
TERM=vt100, things are fine.


Randy
Victor BERRIDGE
Honored Contributor

Re: term type

Trouble with /usr/lib?...
I forgot to mention above the links were from /usr/lib...
Now this is what I have on a 11.11 system in /usr/share/lib
/usr/share/lib/terminfo
$ cd ..
$ ll
total 138
dr-xr-xr-x 2 bin bin 96 Nov 15 2000 elm
dr-xr-xr-x 2 bin bin 1024 Nov 15 2000 kermit
dr-xr-xr-x 2 bin bin 1024 Nov 15 2000 macros
-r--r--r-- 1 bin bin 112 Nov 14 2000 mailx.rc
dr-xr-xr-x 2 bin bin 1024 Nov 15 2000 ms
dr-xr-xr-x 2 bin bin 96 Nov 15 2000 pub
dr-xr-xr-x 2 bin bin 1024 Nov 15 2000 sccshelp
-r--r--r-- 1 bin bin 5430 Nov 14 2000 sendmail.hf
-r-xr-xr-x 1 bin bin 2236 Nov 14 2000 suftab
dr-xr-xr-x 2 bin bin 1024 Nov 15 2000 tabset
dr-xr-xr-x 2 bin bin 1024 Nov 15 2000 term
-r--r--r-- 1 bin bin 43042 Nov 14 2000 termcap
dr-xr-xr-x 45 bin bin 1024 Nov 15 2000 terminfo
dr-xr-xr-x 7 bin bin 96 Nov 15 2000 terminfo_colr
dr-xr-xr-x 2 bin bin 96 Nov 15 2000 tmac
-r--r--r-- 1 bin bin 7680 Nov 14 2000 unittab
-r--r--r-- 1 bin bin 115 Nov 14 2000 vacation.def
$
Let me think how to restore /usr/lib /usr/share/lib an elegant way..
But I have to resolve in parallel my own bugs (ntp not working properly...)

Victor
Victor BERRIDGE
Honored Contributor

Re: term type

Randy what HPUX version?
Randy_9
Regular Advisor

Re: term type

Victor,

I remember when now the 1st "make_rec_tape" complained
about a link from /usr/share
to /var/share and hung there for quite a while, I actually
called support and was told
that that error was the kiss of death and I would need to
cold install. As I returned
with the Core O/S CD the program was asking for the 2nd tape (through it did so
5 -6 hours after I kicked it off. I realize you are busy,
I appreciate the help. I am looking at my daily backup via
Tivoli (ADSM) and I don't even
see /usr/share as a directory
to be backed up, although it is there. My O/S is 11.00.

Thanks,

Randy
Randy_9
Regular Advisor

Re: term type

Victor,

I have all the links in /usr/lib that you noted. But in /usr/share/lib all there is the "terminfo"
directory.

Randy
Victor BERRIDGE
Honored Contributor

Re: term type

Here is enclosed (gzipped) /usr/share/lib...
after I suppose you may be missing some links in /usr/lib

Good luck

Victor
Victor BERRIDGE
Honored Contributor
Solution

Re: term type

Sorry I tared the directory before I gzipped

All the best
Victor
Randy_9
Regular Advisor

Re: term type

Victor,

I found the "/usr/share" directory on my ADSM backup. For whatever reason, even though it is a directory it
wasn't showing up in the directory column, it would show up in the file column. I
restored it to /tmp and all
of the contents were there. I then moved them to /usr/share.
It looks like everything is there, it WORKS now. I think it
had something to do with the link that the "make_rec_tape"
program encountered and had a problem with. I will check your "archive" to make sure I have all of the needed links.
Thanks Victor!
And I Thank everyone else every much also,

Randy