aboutsummaryrefslogtreecommitdiff
path: root/toys/net/netstat.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-09-07 00:12:42 -0700
committerRob Landley <rob@landley.net>2019-09-07 03:21:17 -0500
commitacc9e87d164dcb037ab86cd2ecff7262d4b13792 (patch)
tree8587c125270ceac8fe96b507a0ae25ede03f2048 /toys/net/netstat.c
parent08a810562cfc41f8cc2f51b361b932cbe6e47009 (diff)
downloadtoybox-acc9e87d164dcb037ab86cd2ecff7262d4b13792.tar.gz
vi: small fixes.
I really needed to be able to edit a file on the device, and this was the nearest thing handy, and it turns out to be more or less usable for basic editing, so... Support cursor keys. Support :q (since there's currently no record of whether the file's modified or not, :q is the same as :q!). Add 'A' to insert at end of line. Add 'n' to find next after '/'. Fix backspace all the way to get out of ex command mode. Fix escape sequences to not hard-code assumptions about the terminal's default background and foreground colors. Fix 'spesial' typo for 'special', and remove explicit array sizes.
Diffstat (limited to 'toys/net/netstat.c')
0 files changed, 0 insertions, 0 deletions