Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/urbanjost/m_ncurses
Fortran interface to the Ncurses C library
https://github.com/urbanjost/m_ncurses
fortran fortran-package-manager ncurses tui
Last synced: about 6 hours ago
JSON representation
Fortran interface to the Ncurses C library
- Host: GitHub
- URL: https://github.com/urbanjost/m_ncurses
- Owner: urbanjost
- License: unlicense
- Created: 2020-09-14T02:10:22.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T00:10:01.000Z (7 months ago)
- Last Synced: 2024-03-30T01:23:21.360Z (7 months ago)
- Topics: fortran, fortran-package-manager, ncurses, tui
- Language: Fortran
- Homepage:
- Size: 1.16 MB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# M_ncurses.f90 and associated files
![example](docs/images/example.gif)
## Name
### M_ncurses - Fortran interface for the C Ncurses library
## Description
M_ncurses(3f) is a Fortran module that allows use of the ncurses(3c)
library for controlling and formatting terminal displays.## Download and Build with Make
```bash
git clone https://github.com/urbanjost/M_ncurses.git
cd M_ncurses/src
# change Makefile if not using one of the listed compilers
# for gfortran
make clean
make F90=gfortran gfortran
# for ifort
make clean
make F90=ifort ifort# for nvfortran
make clean
make F90=nvfortran nvfortran
```
This will compile the M_ncurses module and build all the example programs.## Download and Build with FPM ![fpm](docs/images/fpm_logo.gif)
To download the github repository and build it with
fpm ( as described at [Fortran Package Manager](https://github.com/fortran-lang/fpm) )```bash
git clone https://github.com/urbanjost/M_ncurses.git
cd M_ncurses
fpm test # run unit tests
```or just list it as a dependency in your fpm.toml project file.
```toml
[dependencies]
M_ncurses = { git = "https://github.com/urbanjost/M_ncurses.git" ,tag="v1.0.1"}
```## Documentation ![docs](docs/images/docs.gif)
- [M_ncurses](https://urbanjost.github.io/M_ncurses/index.html) -- An overview of the M_ncurses module
## Dependencies
The ncurses library must be available on the system. The home page for ncurses
describes various installation methods.#### ubuntu, mint, ...
```bash
sudo apt-get install ncurses-dev
sudo updatedb
locate ncurses.h
```