|
84739 packages online
|
|
|
|
dev/lib/ncursesw.zip |
|
No screenshot available
|
Short: | ncursesw (ncurses with wide char support) |
Author: | Thomas E. Dickey, Juergen Pfeifer, Eric S Raymond, Alexander V Lukyanov, Philippe Blain, Sven Verdoolaege, Nicolas Boulenguez et al. / morphos port by uploader |
Type: | dev/lib |
Version: | 6.3 (build 2022.11.17) |
Architecture: | ppc-morphos |
Date: | 2022-11-17 |
Download: | dev/lib/ncursesw.zip - View contents | Readme: | dev/lib/ncursesw.readme |
Downloads: | 154 |
|
Welcome to Nurses!
==================
ncurses (new curses) is a programming library providing an application programming interface (API)
that allows the programmer to write text-based user interfaces (TUI) in a terminal-independent manner.
This version was compiled for MorphOS using the native gcc compiler and wide char support was enabled.
INSTALLATION
------------
Just untar the tarball and put it in /work/opt/ncursesw
e.g., supposing that you use the ksh shell an that you have ncursesw-6.3-build-2022.11.17.tgz on the RAM-disk
cd /ram
tar zxvf ncursesw-6.3-build-2022.11.17.tgz
mv ncursesw /work/opt/ncursesw
THE FOLLOWING CHANGES WERE DONE
-------------------------------
The biggest problem was the missing function "int wcwidth(wchar_t wc)" in the library of the native C compiler.
#include <wchar.h>
int wcwidth(wchar_t wc)
1. tty_update.c implemented morphos_wcwidth from https://github.com/termux/wcwidth
2. view.c used morphos_wcwidth that was defined in (1)
3. lib_acs.c same as (2)
4. frm_driver.c same as (2)
5. m_global.c same as (2)
6. ins_wide.c same as (2)
7. key_names.c same as (2)
8. ncurses.c same as (2)
9. savescreen.c same as (2)
10. test_add_wchstr.c same as (2)
11. test_addwstr.c same as (2)
12. new_pair.c added missing tdelete, tfind and tsearch using an implementation from https://github.com/davea42/tsearch-code
GETTING THE SOURCE CODE AND COMPILING FROM SOURCE
-------------------------------------------------
You can get the source code with
git clone https://github.com/Aigor44/ncursesw-morphos.git
Configure with
./configure-morphos
if everything works, at the end we should obtains a message like the following.
** Configuration summary for NCURSES 6.3 20221105:
extended funcs: yes
xterm terminfo: xterm-new
bin directory: /work/opt/ncursesw/bin
lib directory: /work/opt/ncursesw/lib
include directory: /work/opt/ncursesw/include/ncursesw
man directory: /work/opt/ncursesw/share/man
terminfo directory: /work/opt/ncursesw/share/terminfo
** Include-directory is not in a standard location
Now execute the make commands.
make
make install # this will copy under /work/opt/ncursesw (using amiga file name conventions this is work:opt/ncursesw)
|
Contents of dev/lib/ncursesw.zip
Archive: /home/aminet/aminet_root/doc//dev/lib/ncursesw.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
0 Stored 0 0% 2022-11-17 10:31 00000000 ncursesw/
2831688 Defl:N 2811713 1% 2022-11-17 10:25 4c9d4675 ncursesw/ncursesw-6.3-build-2022.11.17.tgz
-------- ------- --- -------
2831688 2811713 1% 2 files
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |