[ref] opnf()
commit82ff20b405ad7eba8d25ec6b90795df513f15296
authorafify <hassan@afify.dev>
Tue, 21 Jul 2020 11:54:35 +0000 (21 14:54 +0300)
committerafify <hassan@afify.dev>
Tue, 21 Jul 2020 11:54:35 +0000 (21 14:54 +0300)
treebdfe30500e1346a7ea1a14a47103c45866f3c3b9
parentab276390c3d7e98fbc53685dadffa29e044bdcf3
[ref] opnf()

- present error msg if proc failed
- move tb_shutdown() outside opnf()
- add frules -> find in rules array, return software if found, def NULL
- add getsw -> try find sw with frules, use EDITOR if not found,
  fallback vi
- add global fed (fallback editor)
config.def.h
sfm.c