Deleted Added
full compact
tw.help.c (316957) tw.help.c (354195)
1/* $Header: /p/tcsh/cvsroot/tcsh/tw.help.c,v 3.27 2006/08/24 20:56:31 christos Exp $ */
2/* tw.help.c: actually look up and print documentation on a file.
3 * Look down the path for an appropriate file, then print it.
4 * Note that the printing is NOT PAGED. This is because the
5 * function is NOT meant to look at manual pages, it only does so
6 * if there is no .help file to look in.
7 */
8/*-
9 * Copyright (c) 1980, 1991 The Regents of the University of California.

--- 19 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36#include "sh.h"
1/* tw.help.c: actually look up and print documentation on a file.
2 * Look down the path for an appropriate file, then print it.
3 * Note that the printing is NOT PAGED. This is because the
4 * function is NOT meant to look at manual pages, it only does so
5 * if there is no .help file to look in.
6 */
7/*-
8 * Copyright (c) 1980, 1991 The Regents of the University of California.

--- 19 unchanged lines hidden (view full) ---

28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 */
35#include "sh.h"
37
38RCSID("$tcsh: tw.help.c,v 3.27 2006/08/24 20:56:31 christos Exp $")
39
40#include "tw.h"
41#include "tc.h"
42
43
44static int f = -1;
45static void cleanf (int);
46static Char *skipslist (Char *);
47static void nextslist (const Char *, Char *);

--- 162 unchanged lines hidden ---
36#include "tw.h"
37#include "tc.h"
38
39
40static int f = -1;
41static void cleanf (int);
42static Char *skipslist (Char *);
43static void nextslist (const Char *, Char *);

--- 162 unchanged lines hidden ---