Skip to content

Fortran interface to the C readline(3c) library for providing interactive command line history editing

License

Notifications You must be signed in to change notification settings

urbanjost/M_readline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M_readline

A Fortran interface to the commonly available C procedure readline(3c). to provide a familiar command history interface for interactive programs.

BUILDING

    git clone https://github.com/urbanjost/M_readline.git
    cd M_readline/src
    # change Makefile if not using one of the listed compilers
     
    # for gfortran
    make clean
    make gfortran
     
    # for ifort
    make clean
    make ifort

    # for nvfortran
    make clean
    make nvfortran

This will compile the M_readline module and build the example programs in the app/ and example/ sub-directory.

SUPPORTS FPM fpm

Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )

     git clone https://github.com/urbanjost/M_readline.git
     cd M_readline
     fpm run

or just list it as a dependency in your fpm.toml project file.

     [dependencies]
     M_readline        = { git = "https://github.com/urbanjost/M_readline.git" }

DOCUMENTATION docs

About

Fortran interface to the C readline(3c) library for providing interactive command line history editing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published