Mercurial > octave-nkf
comparison src/pager.cc @ 3584:aa31644d9779
[project @ 2000-02-07 09:24:38 by jwe]
author | jwe |
---|---|
date | Mon, 07 Feb 2000 09:24:41 +0000 |
parents | 4b1a93f83264 |
children | 41404c6f4e69 |
comparison
equal
deleted
inserted
replaced
3583:78827ee3508f | 3584:aa31644d9779 |
---|---|
494 static std::string | 494 static std::string |
495 default_pager (void) | 495 default_pager (void) |
496 { | 496 { |
497 std::string pager_binary = octave_env::getenv ("PAGER"); | 497 std::string pager_binary = octave_env::getenv ("PAGER"); |
498 | 498 |
499 #ifdef DEFAULT_PAGER | 499 #ifdef OCTAVE_DEFAULT_PAGER |
500 if (pager_binary.empty ()) | 500 if (pager_binary.empty ()) |
501 { | 501 { |
502 pager_binary = std::string (DEFAULT_PAGER); | 502 pager_binary = std::string (OCTAVE_DEFAULT_PAGER); |
503 | 503 |
504 if (pager_binary == "less") | 504 if (pager_binary == "less") |
505 { | 505 { |
506 pager_binary.append (" -e"); | 506 pager_binary.append (" -e"); |
507 | 507 |