From owner-freebsd-bugs Tue Aug 15 17:21:23 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id RAA25822 for bugs-outgoing; Tue, 15 Aug 1995 17:21:23 -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 RAA25816 for ; Tue, 15 Aug 1995 17:21:16 -0700 Received: from marie.physik.tu-berlin.de by mail.zrz.TU-Berlin.DE with SMTP (PP); Wed, 16 Aug 1995 02:20:32 +0200 Received: (from jan@localhost) by marie.physik.tu-berlin.de (8.6.9/8.6.9) id CAA08595 for freebsd-bugs@freebsd.org; Wed, 16 Aug 1995 02:09:21 +0200 From: Jan Riedinger Message-Id: <199508160009.CAA08595@marie.physik.tu-berlin.de> Comments: MTA at marie.physik.TU-Berlin.DE is now sendmail v8. Subject: 2.1.0-SNAP To: freebsd-bugs@freebsd.org Date: Wed, 16 Aug 1995 02:09:19 +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: 1090 Sender: bugs-owner@freebsd.org Precedence: bulk Hello! I have some problems with the termcap entries for cons25 and xterm. With cons25 ncurses doesn't work correctly. Try to display an inverse string with the following programm: #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; } The string won't be displayed inverse. If I start xterm, I get wrong sequenzes for the function keys. For F1 I get ESC [11~. According the xterm termcap entry it should be ESC [OP. The explanation for the keymap entry in /etc/sysconfig is a little bit unclear ("Choose keyboard map from /usr/share/syscons/keymaps/* ..."). How should I know, that I don't need to specify the extension .kbd? If there is a simple solution, please tell me, how I can fix the inverse and xterm bug (mabey it's only a problem :-), and I'am posting to the wrong mailing list ). Thank you Jan