igor-liferenko / mf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
      gawk -v RS=R '{print;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


Languages

Language:CWeb 74.4%Language:Yacc 9.4%Language:xBase 6.0%Language:Perl 4.3%Language:Lex 3.4%Language:Makefile 1.3%Language:sed 0.6%Language:Python 0.5%