Quantcast

Forums | MacLife

You are not logged in.

#1 2002-12-26 6:56 pm

dstaudigel
Member
From: San Diego CA USA Posts: 5105
Registered: 2000-10-04
Posts: 255

Terminal VT100 (or whatever) Busted

My Terminal is b0rked  eek

Basically, every app that is interactive (by that I mean vi, pico, ettercap...), fails, and the terminal launches up with this distressing message:

Code:

Last login: Thu Dec 26 16:47:27 on ttyp1
Welcome to Darwin!
tcsh: Cannot open /etc/termcap.
tcsh: using dumb terminal settings.
[daedalus:~] daedalus% 

My .tcshrc file:

Code:

[daedalus:~] daedalus% cat .tcshrc
#!/bin/csh

source /usr/share/tcsh/examples/rc
setenv PATH ~/bin/powerpc-apple-darwin:/Users/daedalus/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/Users/GMT/GMT3.4.1/bin/
setenv PATH /usr/local/bin:$PATH

Anything anybody can tell me?  I want my terminal back! sad

Daniel Staudigel

Offline

 

#2 2002-12-26 8:13 pm

Buzzword
Member
From: college, ny
Registered: 1999-03-21
Posts: 7255

Re: Terminal VT100 (or whatever) Busted

Well, do you have an /etc/termcap?  Type "ls -lh /etc/termcap", what do you get from that?  Also, what does "ls -lh /etc/.termcap.swp" give?


Just another CitiBank hacker...

Offline

 

#3 2002-12-26 11:11 pm

dstaudigel
Member
From: San Diego CA USA Posts: 5105
Registered: 2000-10-04
Posts: 255

Re: Terminal VT100 (or whatever) Busted

Neither file exists... what?

Offline

 

#4 2002-12-26 11:14 pm

thekingalrock
Please tell me what the hell is going on
From: MA
Registered: 2001-04-01
Posts: 5072

Re: Terminal VT100 (or whatever) Busted

Comment out the "source /usr/share/tcsh/examples/rc" part and see what happens. Try using screen or linux as your $TERM.


It places the lotion in the basket

Offline

 

#5 2002-12-27 3:13 am

Buzzword
Member
From: college, ny
Registered: 1999-03-21
Posts: 7255

Re: Terminal VT100 (or whatever) Busted

A little bit from my /etc/termcap:

#
# PURPOSE OF THIS FILE:
#
# This file describes the capabilities of various character-cell terminals,
# as needed by software such as screen-oriented editors.
#
# Other terminfo and termcap files exist, supported by various OS vendors
# or as relics of various older versions of UNIX.  This one is the longest
# and most comprehensive one in existence.  It subsumes not only the entirety
# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
# termcap file, but also large numbers of vendor-maintained termcap and
# terminfo entries more complete and carefully tested than those in historical
# termcap/terminfo versions.
#
# Pointers to related resources (including the ncurses distribution) may
# be found at <http://www.tuxedo.org/terminfo>.

That sounds important.  I'm using Linux, not OS X, but you probably should have that file.  I don't know what happened to it.  Could someone with OS X maybe confirm whether or not this file exists for yous types, and if it does, upload it for dstaudigel?


Just another CitiBank hacker...

Offline

 

#6 2003-01-12 1:32 am

Pro_
One skull short of a mousketeer reunion
From: my parents, thanks for asking.
Registered: 2002-12-07
Posts: 3866

Re: Terminal VT100 (or whatever) Busted

no termcap file here, and vi works as well as lynx for interactive programs.


http://www.sloganizer.net/en/style7,Procratination.png
http://www.clubhouse54.com/phpbb2/images/smiles/zomtie.png

Offline

 

#7 2003-01-12 1:35 am

dstaudigel
Member
From: San Diego CA USA Posts: 5105
Registered: 2000-10-04
Posts: 255

Re: Terminal VT100 (or whatever) Busted

Well, just reinstalled.  Works fine now...

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson