Date: Wed, 16 Aug 1995 02:09:19 +0100 (MET DST) From: Jan Riedinger <jan@physik.TU-Berlin.DE> To: freebsd-bugs@freebsd.org Subject: 2.1.0-SNAP Message-ID: <199508160009.CAA08595@marie.physik.tu-berlin.de>
next in thread | raw e-mail | index | archive | help
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 <ncurses.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508160009.CAA08595>