Tag Archives: xterm

csh: Cannot open /etc/termcap

Upon logging into my remote server with ssh, I started getting:

csh: Cannot open /etc/termcap.
csh: using dumb terminal settings.

There is no rxvt-unicode entry in /etc/termcap. You should specify one, but if you’re lazy, you can just

setenv TERM xterm

in your ~/.cshrc.

P.S. Nah, this doesn’t help. You have to put that line in /etc/csh.cshrc (via).


25h in vim and no cursor

Obviously from the code, it’s a piece of a terminal color sequence. I also got that idea because somewhere while working on the terminal (probably in vim also), I got an error message that “[[” should be used differently, or something like that.

Just like said elsewhere, if you get this error, you probably have something misconfigured somewhere. In my case, it was

setenv TERM xterm

in my .cshrc file.

I don’t know how it got there. No, seriously. There’s probably a hacker in my box.

Disabling the xterm beep (bell)

Here’s a great article. According to it, I just added

exec xset -b &

to .xinitrc and

set nobeep

to .cshrc.