LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   termcap bsd or termcap linux? (http://www.linuxquestions.org/questions/slackware-14/termcap-bsd-or-termcap-linux-261306/)

little_ball 12-01-2004 09:06 AM

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.

Cedrik 12-01-2004 09:09 AM

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 ?

little_ball 12-01-2004 09:23 AM

:) 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.

Cedrik 12-01-2004 09:32 AM

Try :
diff /etc/termcap-BSD /etc/termcap-Linux

;)

little_ball 12-01-2004 09:56 AM

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.

Cedrik 12-01-2004 10:22 AM

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


All times are GMT -5. The time now is 05:00 AM.