How to modify termcap and profile files for Kernel 1.3.24

How to modify termcap and profile files for Kernel 1.3.24

Post by Siqi F » Sun, 17 Sep 1995 04:00:00



Recently I upgrade my kernel from 1.2.0 to 1.3.24 using gcc 2.6.3 (from
the Slackware 2.2.0 distribution).  Everything seems fine except that,
when booting, it displays the following error message:

/bin/setterm: could not find termcap entry for Linux.

And because of that, I have to set the terminal environment myself.

So, how should I modify the termcap and the profile files ( I use bash)
to eliminate this problem?

Thanks in advance.

Siqi Fu
==========

 
 
 

How to modify termcap and profile files for Kernel 1.3.24

Post by Tony Nugen » Sun, 17 Sep 1995 04:00:00



>Recently I upgrade my kernel from 1.2.0 to 1.3.24 using gcc 2.6.3 (from
>the Slackware 2.2.0 distribution).  Everything seems fine except that,
>when booting, it displays the following error message:

>/bin/setterm: could not find termcap entry for Linux.
>And because of that, I have to set the terminal environment myself.
>So, how should I modify the termcap and the profile files ( I use bash)
>to eliminate this problem?

There really should be some mention of this in the README with the
1.3.x kernels!

Add another alias to the /etc/termcap entry for `console':

console|linux|con80x25|dumb:\
...etc...

And make sure that you have this link:

% ls -alF /usr/lib/terminfo/c/console
lrwxrwxrwx 1 root root 10 Jun 14 05:38 /usr/lib/terminfo/c/console -> ../l/linux

% ls -alF /usr/lib/terminfo/l/linux
-rw-r--r--   1 root     root         1347 Jan 19  1995 /usr/lib/terminfo/l/linux

Cheers
Tony
           __                                              __
        __/\_\       .             Tony Nugent            /_/\__
     __/\_\/_/   _--_|\        Griffith University        \_\/_/\__
    /\_\/_/\_\  /     *\ Brisbane, Queensland, Australia  /_/\_\/_/\


          \/_/                                            \_\/

 
 
 

1. Kernel 1.3.24 reports version 1.3.22

I've noticed something odd.  I got and compiled the source for kernel
1.3.24 and it runs fine.  But I noticed my /etc/issue and /etc/motd
kept reporting that I was running 1.3.22, even if I changed it
manually and rebooted.  So I did a 'uname -a' and got kernel 1.3.22.
So I looked at the /usr/src/linux/include/linux/version.h file and it
says 1.3.22

So, was the source file mis-named or did some files just not get
changed between patchlevels that should have been changed?

                                                -Michael

--
Michael David Knight         "I christen thee              |     |
Georgia Tech (404)206-1119   Eagle.  May you               |  _  |
Aerospace Engineering        reign supreme    _____________|_( )_|_____________

2. changing resolution

3. Kernel 1.3.24 Shutdown Error Msg

4. How to use PGP-encryption in NCSA Mosaic and httpd ??

5. Installing kernel 1.3.24

6. Advice on selecting server hardware

7. Bad Checksum in my 1.3.24 kernel

8. "Segmenation Fault" by running gcc

9. Kernel 1.3.24 compile problem!!

10. can't compile 1.3.24 kernel

11. Broken IDE cdrom in 1.3.24

12. Apache 1.3.24 make install error

13. Apache 1.3.24 + mod_perl 1.26 + ipv6 patch build fails