Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ncar!ames!oliveb!felix!dhw68k!bob From: bob@dhw68k.cts.com (Bob Best) Newsgroups: comp.os.minix Subject: Re: Less pager for minix 1.3, Part01/04 Summary: Correction to intro remarks Message-ID: <13842@dhw68k.cts.com> Date: 25 Oct 88 14:50:08 GMT References: <13757@dhw68k.cts.com> Reply-To: bob@dhw68k.cts.com (Bob Best) Organization: Wolfskill residence; Anaheim, CA (USA) Lines: 18 In the introductory remarks to the Less pager posting, I mentioned that the '+n' linenumber option can be enabled by removing line 733 from command.c. This was in error. The actual line number is 732, displayed here: c = 0; /* mined doesn't accept '+n' syntax */ It should be straightforward to modify this section of code if your editor uses different options to start at a specific line number. Also, the default editor for the 'v' command can be set by using the $EDITOR environment variable. This eliminates the need to recompile after changing EDIT_PGM in defines.h. The default is mined. Bob -- Bob Best uucp: ...{trwrb,hplabs}!felix!dhw68k!bob InterNet: bob@dhw68k.cts.com