diff options
Diffstat (limited to '')
-rwxr-xr-x | telem.lua | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -13,10 +13,17 @@ table = require("table") unistd = require("posix.unistd") _BBS_ROOT = "/var/bbs/" -_EDITOR = os.getenv("EDITOR") +_EDITOR = os.getenv("BBSED") if not _EDITOR then - _EDITOR = "/usr/bin/vim.tiny" + _EDITOR = os.getenv("VISUAL") end +if not _EDITOR then + _EDITOR = os.getenv("EDITOR") +end +if not _EDITOR then + _EDITOR = "nano" +end + _COLOURS = { red=31, green=32, |