SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have installed slackware 8.1 on both my desktop and one of my servers. The server is running qmail, imap, pop and squirrelmail webmail, and is working fine. One problem is bugging me however. I get termcap problems when using vi, instead of giving me a full terminal window with vi in it I get only the bottom par of the screen running vi with the cursor in the wrong place. This doesn't greatly bother me as I am a joe user but a couple of my users are less than happy with this state of affairs. When running screen I get the error message:
"tgetent: warning: termcap entry too long". Should I replace /etc/termcap with a more suitable termcap and if so, where should I find a better one.
Thanks
spook
.
I have looked at my /etc/termcap file and it appears OK, I didn't see any corruption present. Please investigate your file to see if corrupted. Verify that you have a TERM variable set properly for you and your users. Should be at the console mode, TERM=linux, if X then, TERM=xterm. Use "echo $TERM" to view setting. If not then, from bash prompt try "export TERM=linux" for console mode or "export TERM=xterm" in X session. You should also be able to verify the two term types in the termcap file. If the TERM variable is not set correctly then investigate the /etc/profile file. I think that is the initial setting at login for console mode.
A possible corruption that is not visible could be created if the termcap file was edited in DOS ASCII mode. It would add CRLF to the end of each line. If the file is corrupted, check for a file termcap-Linux, it should be a copy of the original. Else, copies are on the 2nd CD of the 8.1 distribution under the /live/etc directory. If that is not available then look in the /slackware/a directory of your installation set at the packages there. I think it is the etc-5.0-noarch-7.tgz package. You could attempt to extract just the termcap-Linux file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.