version 1.33, 2021/10/09 15:27:18 |
version 1.34, 2024/04/14 18:11:54 |
|
|
extern int show_attn; |
extern int show_attn; |
extern off_t highest_hilite; |
extern off_t highest_hilite; |
extern char *every_first_cmd; |
extern char *every_first_cmd; |
extern char *curr_altfilename; |
|
extern char version[]; |
extern char version[]; |
extern struct scrpos initial_scrpos; |
extern struct scrpos initial_scrpos; |
extern IFILE curr_ifile; |
extern IFILE curr_ifile; |
|
|
if (strcmp(get_filename(curr_ifile), "-") == 0) { |
if (strcmp(get_filename(curr_ifile), "-") == 0) { |
error("Cannot edit standard input", NULL); |
error("Cannot edit standard input", NULL); |
break; |
break; |
} |
|
if (curr_altfilename != NULL) { |
|
error("WARNING: This file was viewed via " |
|
"LESSOPEN", NULL); |
|
} |
} |
/* |
/* |
* Expand the editor prototype string |
* Expand the editor prototype string |