aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/more/ch.c
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1999-06-05 20:27:08 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1999-06-05 20:27:08 +0000
commit296697bb162af9eb4e6a875c00dd2509fb6b19f6 (patch)
tree29bf9ff2464dd7ff0005ddf54cf6f048d1f9c009 /usr.bin/more/ch.c
parent4738fa0970d55602dfb822216d2d4bdf2d0853ce (diff)
downloadsrc-296697bb162af9eb4e6a875c00dd2509fb6b19f6.tar.gz
src-296697bb162af9eb4e6a875c00dd2509fb6b19f6.zip
- When trying to decide if $EDITOR == "vi", match against only the first
two characters of $EDITOR. This allows things like "vim" and "vi -G" (although nvi would fail...oh well). - Avoid certain cases where the editor is passed an invalid line number.
Notes
Notes: svn path=/head/; revision=47766
Diffstat (limited to 'usr.bin/more/ch.c')
0 files changed, 0 insertions, 0 deletions