Incomplete Termcap Entry - WTF?!?!

thedbp

Frantic Messenger of Hope
So i'm poking around the terminal and decide to try out vi to edit some text.

i get:

[cc603769-a:~] zjd% vi
ex/vi: Error: network: No such file or directory

So then I try pico:

[cc603769-a:~] zjd% pico
Incomplete termcap entry


I just want to change my hostname and its not letting me use any of my cool CLI tools!!!! What's going on? Has anyone else experienced this problem?

I checked in /usr/bin and both of those apps are there.....

any help would be awesome!!!
zeb
 
I can think of a couple things you should check. I'm assuming that since you were trying to use cryptic little vi for text editing, that you know your way around a UNIX command line. First, go to /usr/share/misc, and make sure that the termcap and termcap.db files are still there. If they are, compare them with my (assumed working) copies:
Code:
-r--r--r--    1 root     wheel      167799 Sep  2 16:53 termcap
-rw-r--r--    1 root     wheel      659456 Sep  2 16:53 termcap.db
Pay special attention to the size and permissions. The files haven't been modified to my knowledge, and should still be the same size as when the installer made them. If one of them looks truncated or is missing, let me know, and I'll tar/gzip it and post it here. That would be more convenient than reinstalling the whole system.
 
Back
Top