Restore historical behavior where more(1) does not check for dumb terminals.

Reported by:	rwatson on -current
Tested by:	keramida, rwatson
Approved by:	re (rwatson)
This commit is contained in:
Xin LI 2007-09-04 13:54:09 +00:00
parent 3ec35e52b8
commit aaa7bc6cf4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172045

View File

@ -244,7 +244,7 @@ main(argc, argv)
quit(QUIT_OK);
}
if (missing_cap && !know_dumb)
if (missing_cap && !know_dumb && !less_is_more)
error("WARNING: terminal is not fully functional", NULL_PARG);
init_mark();
open_getchr();