diff options
| author | Ryan Kavanagh <rak@rak.ac> | 2019-07-17 12:06:10 -0400 | 
|---|---|---|
| committer | Solderpunk <solderpunk@sdf.org> | 2019-08-31 10:32:30 +0000 | 
| commit | 96b30b6ef5fe3491b5c7d80d2e94ce17ba1f8128 (patch) | |
| tree | 689057f6f2254e220ac2d631353961a69354f605 /telem.lua | |
| parent | Change thread "Author" to thread "Creator" (diff) | |
Document the who command
Document the who command in the command listing. Switch to using
the better-formatted output of finger.
Signed-off-by: Solderpunk <solderpunk@sdf.org>
Diffstat (limited to '')
| -rwxr-xr-x | telem.lua | 7 | 
1 files changed, 4 insertions, 3 deletions
@@ -329,6 +329,7 @@ function do_help()  	(c)olor ........ Disable/Enable ANSI color codes  	(H)ide ......... Disable/Enable hiding of old threads  	(o)rder ........ Toggle order of message listing +	(w)ho .......... List currently logged-in users  	(q)uit ......... Immediately quit the board  	]])  end @@ -689,8 +690,8 @@ function do_rules()  	cat_file(path.join(_BBS_ROOT, "docs", "rules"))  end -function do_who() -	os.execute("/usr/bin/w") +function do_finger() +	os.execute("/usr/bin/finger -sh")  end  -- MAIN PROGRAM BODY BELOW @@ -714,7 +715,7 @@ dispatch["q"] = do_quit  dispatch["t"] = do_type  dispatch["?"] = do_help2  dispatch["!"] = do_rules -dispatch["w"] = do_who +dispatch["w"] = do_finger  dispatch["s"] = do_scan  dispatch["o"] = do_order  dispatch["n"] = do_new  | 
