1/* $FreeBSD: head/contrib/less/main.c 237613 2012-06-26 23:17:33Z delphij $ */ |
2/* |
3 * Copyright (C) 1984-2012 Mark Nudelman |
4 * 5 * You may distribute under the terms of either the GNU General Public 6 * License or the Less License, as specified in the README file. 7 * |
8 * For more information, see the README file. |
9 */ 10 11 12/* 13 * Entry point, initialization, miscellaneous routines. 14 */ 15 16#include "less.h" --- 197 unchanged lines hidden (view full) --- 214 free(gfilename); 215#else 216 filename = shell_quote(*argv); 217 if (filename == NULL) 218 filename = *argv; 219 argv++; 220 (void) get_ifile(filename, ifile); 221 ifile = prev_ifile(NULL_IFILE); |
222 free(filename); |
223#endif 224 } 225 /* 226 * Set up terminal, etc. 227 */ 228 if (!is_tty) 229 { 230 /* --- 193 unchanged lines hidden --- |