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 12-01-2004, 09:06 AM   #1
little_ball
Member
 
Registered: Oct 2003
Location: teddy bears Land
Distribution: Slackware 10
Posts: 176

Rep: Reputation: 30
termcap bsd or termcap linux?


whatīs the difference between termcap-bsd or termcap-linux? if I run konsole termcap-BSD I get as prompt:

bash-3.00$

which indicates me that Iīm running termcap-bsd and not termcap-linux. But... why is the reason slackware brings termcap-bsd? for what an user could use it? this could be an stupid questions, but I havenīt saw that termcap stuff in other distros like mandrake, suse, debian, redhat, etc.

any benefits between using termcap bsd instead of the standard termcap linux?
I already had search google for info about termcap bsd vs termcap linux, but I still canīt get the answer about why choosing from one or another.
 
Old 12-01-2004, 09:09 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
If your prompt is bash-3.00$ that means that you use bash version 3.00 and your PS1 env variable
is not set, no informations about termcap here.

May I suggest you that you could create a ~/.bashrc file and set PS1 into it to get a nice prompt ?
 
Old 12-01-2004, 09:23 AM   #3
little_ball
Member
 
Registered: Oct 2003
Location: teddy bears Land
Distribution: Slackware 10
Posts: 176

Original Poster
Rep: Reputation: 30
oh cedrick, I say that about the prompt, cause if I use konsole as normal, just type konsole I get my user in the prompt like this:


If you continually give you will continually have.

little_ball@10:~$

And of course the fortune cookie behind. but if I type konsole termcap-BSD I get the bash stuff in the prompt, and no fortune cookie messages behind. So I guess that it shows me the bash prompt cause termcap bsd is on? but why should some user use termcap bsd instead of termcap linux? some extra benefits that linux term canīt offer? Iīm just guessing. cause I found in google that somebody used termcap bsd cause termcap linux didnīt offer remote access to cywgin but thermcap bsd had an entry for it. So I just thinking which one is better.

Last edited by little_ball; 12-01-2004 at 09:26 AM.
 
Old 12-01-2004, 09:32 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try :
diff /etc/termcap-BSD /etc/termcap-Linux

 
Old 12-01-2004, 09:56 AM   #5
little_ball
Member
 
Registered: Oct 2003
Location: teddy bears Land
Distribution: Slackware 10
Posts: 176

Original Poster
Rep: Reputation: 30
how can I read it? it all goes too fast and I canīt stop it. any command line to stop? and continue reading more above.
 
Old 12-01-2004, 10:22 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
diff /etc/termcap-BSD /etc/termcap-Linux | most

Look at the first char of the lines
> : content of /etc/termcap-Linux that differ
< : content of /etc/termcap-BSD that differ

Also you could open these files in two windows of a text editor if you prefer
 
  


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 ixion Linux - General 0 01-23-2003 09:47 AM
termcap spook Slackware 1 07-30-2002 08:48 PM
/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 10:23 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