#include <fstream>
#include <iostream>
#include <string>
#include "child-list.h"
#include "cmd-edit.h"
#include "oct-env.h"
#include "oct-syscalls.h"
#include "defaults.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "input.h"
#include "interpreter.h"
#include "interpreter-private.h"
#include "octave.h"
#include "ovl.h"
#include "pager.h"
#include "procstream.h"
#include "sighandlers.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
Go to the source code of this file.
Functions | |
std::ostream & | __diary__ (void) |
std::ostream & | __stdout__ (void) |
static std::string | default_pager (void) |
OCTAVE_EXPORT octave_value_list | Fdiary (octave::interpreter &interp, const octave_value_list &args, int nargout) |
void | flush_stdout (void) |
OCTAVE_EXPORT octave_value_list | Fmore (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fpage_output_immediately (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fpage_screen_output (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | FPAGER (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | FPAGER_FLAGS (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fterminal_size (const octave_value_list &args, int) |
static bool | more_than_a_screenful (const char *s, int len) |
static bool | pager_event_handler (pid_t pid, int status) |
std::ostream& __diary__ | ( | void | ) |
Definition at line 499 of file pager.cc.
References output_system::__diary__(), and __get_output_system__().
std::ostream& __stdout__ | ( | void | ) |
Definition at line 492 of file pager.cc.
References __get_output_system__(), and output_system::__stdout__().
OCTAVE_EXPORT octave_value_list Fdiary | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 538 of file pager.cc.
References output_system::close_diary(), output_system::diary_file_name(), output_system::open_diary(), ovl(), print_usage(), and output_system::write_to_diary_file().
void flush_stdout | ( | void | ) |
Definition at line 260 of file pager.cc.
References __get_output_system__(), and output_system::flush_stdout().
Referenced by interpreter::execute_atexit_fcns(), F__event_manager_edit_file__(), F__event_manager_file_dialog__(), F__event_manager_input_dialog__(), F__event_manager_list_dialog__(), F__event_manager_question_dialog__(), Ffflush(), interpreter::shutdown(), sleep(), and error_system::vwarning().
OCTAVE_EXPORT octave_value_list Fmore | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 598 of file pager.cc.
References error(), ovl(), output_system::page_screen_output(), and print_usage().
OCTAVE_EXPORT octave_value_list Fpage_output_immediately | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 683 of file pager.cc.
References output_system::page_output_immediately().
OCTAVE_EXPORT octave_value_list Fpage_screen_output | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 707 of file pager.cc.
References output_system::page_screen_output().
OCTAVE_EXPORT octave_value_list FPAGER | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 730 of file pager.cc.
References output_system::PAGER().
OCTAVE_EXPORT octave_value_list FPAGER_FLAGS | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 749 of file pager.cc.
References output_system::PAGER_FLAGS().
OCTAVE_EXPORT octave_value_list Fterminal_size | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 635 of file pager.cc.
References error(), m, ovl(), print_usage(), command_editor::set_screen_size(), command_editor::terminal_cols(), command_editor::terminal_rows(), and x_nint().
|
static |
Definition at line 87 of file pager.cc.
References len, command_editor::terminal_cols(), and command_editor::terminal_rows().
Referenced by output_system::sync().
|
static |
Definition at line 58 of file pager.cc.
References wifexited(), and wifsignaled().
Referenced by output_system::start_external_pager().