Debian bug report logs - #1340 , boring messages ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1340: ncurses setupterm() handles unknown terminals badly. Reply-To: Bill Mitchell , debian-bugs@pixar.com Resent-From: Bill Mitchell Resent-To: debian-devel@pixar.com Resent-Date: Sat, 09 Sep 1995 18:18:04 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: ncurses X-Debian-PR-Keywords: Received: via spool for debian-bugs; Sat, 09 Sep 1995 18:18:04 GMT Received: with rfc822 via encapsulated-mail; Sat, 09 Sep 1995 18:09:17 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0srUK5-000FT6C; Sat, 9 Sep 95 11:08 PDT Received: from motgate.mot.com by pixar.com with SMTP id AA17125 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 9 Sep 1995 11:07:59 -0700 Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.8) with ESMTP id NAA24546 for ; Sat, 9 Sep 1995 13:08:11 -0500 Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.8) with SMTP id NAA01112 for ; Sat, 9 Sep 1995 13:08:10 -0500 Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1) id AA19685; Sat, 9 Sep 95 11:08:09 PDT Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1) id AA14527; Sat, 9 Sep 95 11:08:07 PDT Date: Sat, 9 Sep 1995 11:08:07 -0700 (PDT) From: Bill Mitchell X-Sender: mitchell@bb29c To: debian-bugs@pixar.com Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII PACKAGE: ncurses VERSION: 1.9.3 terminfo(3ncurses) terminfo(3ncurses) [...] int setupterm(char *term, int fildes, int *errret); [...] int setterm(char *term); [...] If errret is not null, then setupterm returns OK or ERR and stores a status value in the integer pointed to by errret. A status of 1 in errret is normal, 0 means that the terminal could not be found, and -1 means that the terminfo database could not be found. If errret is null, setupterm prints an error message upon finding an error and exits. [...] Script started on Sun Sep 10 10:47:26 1995 root:~# cat x.c #include #include main() { int rv; rv = setupterm((char *) 0, 1, (int *) 0); exit(rv); } root:~# TERM=crap root:~# time ./x "/etc/termcap", line 5: terminal 'linux', Unknown Capability - 'sb' "/etc/termcap", line 38: terminal 'xterm', Unknown Capability - 'kn' [... continues in this vein for several hundred lines ...] "/etc/termcap", line 3618: terminal 'scoansi', Unknown Capability - 'Gu' "/etc/termcap", line 3618: terminal 'scoansi', Unknown Capability - 'Gv' [... very long delay ...] 'crap': Unknown terminal type. Command had non-zero exit status 1 66.94user 1.84system 1:09.98elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (41major+368minor)pagefaults 0swaps root:~# Script done on Sun Sep 10 10:49:23 1995 Note that this took over a minute to complete. mitchell@mdd.comm.mot.com (Bill Mitchell) ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: Bill Mitchell Subject: Bug#1340: Acknowledgement (was: ncurses setupterm() handles unknown terminals badly.) In-Reply-To: References: Thank you for the problem report you have sent regarding Debian GNU/Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. If you wish to submit further information on your problem, please send it to debian-bugs@pixar.com, but please ensure that the Subject line of your message starts with "Bug#1340" or "Re: Bug#1340" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov