Skip to content

igor-liferenko/mf

Repository files navigation

Based on https://w3-o.cs.hm.edu/users/ruckert/public_html/web2w/

Add this `mf' script to PATH:

    #!/bin/sh
    export edit=/tmp/edit.$$
    export screen_size=WIDTHxHEIGHT
    /path/to/mf/plain "$@"
    ret=$?
    if [ -t 0 ] && [ -t 1 ]; then
      stty -icanon -echo
      tput u7
      awk -v RS=R '{ print $1; exit }' | sed -n '/.*;1$/!e echo'
      stty icanon echo
    fi
    [ -e $edit ] && sed 's/.* /You want to edit file &at line /' $edit
    rm -f $edit
    exit $ret

Adjust path.ch and search.ch

Use either hello-wayland or http://github.com/igor-liferenko/mf-wayland
(set path to hello-wayland in screen.ch)

-------------------------------

To view online display you must click on it. After mf exits, online
display, created by it, becomes orphaned, but it remains available.
Before creating online display, mf destroys orphaned online displays.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published