]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- When trying to decide if $EDITOR == "vi", match against only the first
authorhoek <hoek@FreeBSD.org>
Sat, 5 Jun 1999 20:27:08 +0000 (20:27 +0000)
committerhoek <hoek@FreeBSD.org>
Sat, 5 Jun 1999 20:27:08 +0000 (20:27 +0000)
commit13cbe1ac51786f84501357ea28b64d5726806f92
treedc684f1765b22e896be803460f3c4045b0ae9d57
parent3d024af49f01fc8f796d7a8ab04aa5d8cde988cc
- 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.
usr.bin/more/command.c