LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2002, 07:58 PM   #1
spook
LQ Newbie
 
Registered: Jun 2002
Location: UK
Distribution: slackware, freebsd, solaris,sunOS, IRIX
Posts: 18

Rep: Reputation: 0
termcap


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
.
 
Old 07-30-2002, 08:48 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
termcap phoenix7 Linux - Software 0 08-18-2005 11:47 AM
termcap-BSD merchtemeagle Slackware 1 03-08-2005 01:18 PM
termcap bsd or termcap linux? little_ball Slackware 5 12-01-2004 10:22 AM
termcap ixion Linux - General 0 01-23-2003 09:47 AM
/etc/termcap ugenn Linux - General 1 07-12-2002 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration