From owner-freebsd-bugs Wed Aug 16 17:18:05 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id RAA05991 for bugs-outgoing; Wed, 16 Aug 1995 17:18:05 -0700 Received: from mail.zrz.TU-Berlin.DE (mail.zrz.TU-Berlin.DE [130.149.4.15]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id RAA05982 for ; Wed, 16 Aug 1995 17:17:55 -0700 Received: from marie.physik.tu-berlin.de by mail.zrz.TU-Berlin.DE with SMTP (PP); Thu, 17 Aug 1995 02:17:41 +0200 Received: (from jan@localhost) by marie.physik.tu-berlin.de (8.6.9/8.6.9) id CAA26895 ; Thu, 17 Aug 1995 02:17:37 +0200 From: Jan Riedinger Message-Id: <199508170017.CAA26895@marie.physik.tu-berlin.de> Comments: MTA at marie.physik.TU-Berlin.DE is now sendmail v8. Subject: termcap entries To: freebsd-bugs@freebsd.org Date: Thu, 17 Aug 1995 02:17:35 +0100 (MET DST) X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 871 Sender: bugs-owner@freebsd.org Precedence: bulk The following program doesn't display the string "INVERSE " inverse, if I'am working with cons25. If I start X, I get the wrong sequenzes for the function keys. E.g for F1 I get ESC [11~ but according to the termcap entry for xterm it should be ESC OP. The descriptio for the keymap entry in /etc/sysconfig is a little bit unclear ("Choose keyboard map from /usr/share/syscons/keymaps/* ...). How can know, that I don't have to specify the extension .kbd? #include int main() { WINDOW *win; win = initscr(); meta( win, TRUE ); nodelay( win, FALSE ); cbreak(); keypad( win, TRUE ); leaveok(win, FALSE); noecho(); werase (win); wattron(win, A_REVERSE); mvwaddstr(win, 10, 10, "INVERSE "); wrefresh( win ); endwin (); return 0; } Please tell my, how I can fix the "inverse" and xterm problems. Thank you Jan