|
|
Message-ID: <CAPLrYERGYo6zuNYuKH=VHAbW5qnVcUt4Xa+Zor5s=He6jOfS9A@mail.gmail.com>
Date: Fri, 23 Nov 2018 17:48:01 +0100
From: Daniel Cegiełka <daniel.cegielka@...il.com>
To: sabotage@...ts.openwall.com
Subject: vis editor and netbsd-libcurses
Hi,
I'm trying to use the vis editor and netbsd-libcurses. Unfortunately,
I came across two problems. The first is the lack of strnames[] and
strfnames[], which are used by libtermkey:
https://github.com/o11c/libtermkey/blob/master/driver-ti.c#L186
https://github.com/o11c/libtermkey/blob/master/driver-ti.c#L201
I just copied it from ncurses (names.c):
const char *strnames[] = {
"cbt",
"bel",
"cr",
(...)
The second problem is the resetting of the terminal when the program
ends. I get something like that (a lot of spaces):
# ls
20180109 GNUmakefile genpc install.sh libform libpanel
nbperf tabs tic tset
COPYING README.md infocmp libcurses
libmenu libterminfo netbsd_sys terminfo tput
root:22#
Does anyone have any idea how to fix it? I need to run a reset every
time I use vis.
Best regards,
Daniel
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.