GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <fstream>
#include <iostream>
#include <string>
#include "cmd-edit.h"
#include "oct-env.h"
#include "singleton-cleanup.h"
#include "defaults.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "input.h"
#include "oct-obj.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.
Variables | |
static std::ofstream | external_diary_file |
static oprocstream * | external_pager = 0 |
static bool | flushing_output_to_pager = false |
static bool | really_flush_to_pager = false |
static bool | Vpage_output_immediately = false |
static bool | Vpage_screen_output = true |
static std::string | VPAGER = default_pager () |
static std::string | VPAGER_FLAGS |
static bool | write_to_diary_file = false |
|
static |
Definition at line 93 of file pager.cc.
References external_pager, procstreambase::pid(), and octave_child_list::remove().
Referenced by flush_octave_stdout().
|
static |
Definition at line 477 of file pager.cc.
References external_diary_file, octave_pager_stream::flush_current_contents_to_diary(), and octave_diary.
Referenced by Fdiary(), and open_diary_file().
|
static |
Definition at line 61 of file pager.cc.
References octave_env::getenv(), and OCTAVE_DEFAULT_PAGER.
|
static |
Referenced by F__diaryfile__(), Fdiary(), and open_diary_file().
Definition at line 143 of file pager.cc.
References octave_child_list::insert(), pager_command(), pager_event_handler(), and procstreambase::pid().
Referenced by octave_pager_buf::sync().
OCTAVE_EXPORT octave_value_list F__diaryfile__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 596 of file pager.cc.
References diary_file(), and ovl().
Referenced by root_figure::properties::get_diaryfile().
OCTAVE_EXPORT octave_value_list F__diarystate__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 605 of file pager.cc.
References ovl(), and write_to_diary_file.
Referenced by root_figure::properties::get_diary().
OCTAVE_EXPORT octave_value_list Fdiary | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 540 of file pager.cc.
References arg(), close_diary_file(), diary_file(), error_state, octave_value_list::length(), open_diary_file(), print_usage(), and write_to_diary_file.
Referenced by root_figure::properties::set_diary(), and root_figure::properties::set_diaryfile().
void flush_octave_stdout | ( | void | ) |
Definition at line 458 of file pager.cc.
References clear_external_pager(), flushing_output_to_pager, octave_stdout, action_container::protect_var(), and really_flush_to_pager.
Referenced by do_octave_atexit(), gh_manager::do_process_events(), F__octave_link_edit_file__(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), F__octave_link_message_dialog__(), F__octave_link_question_dialog__(), Fpause(), Frpl_fflush(), get_user_input(), interactive_input(), octave_base_reader::octave_gets(), verror(), and vwarning().
OCTAVE_EXPORT octave_value_list Fmore | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 621 of file pager.cc.
References arg(), error(), error_state, octave_value_list::length(), print_usage(), and Vpage_screen_output.
OCTAVE_EXPORT octave_value_list Fpage_output_immediately | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 682 of file pager.cc.
References SET_INTERNAL_VARIABLE.
OCTAVE_EXPORT octave_value_list Fpage_screen_output | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 704 of file pager.cc.
References SET_INTERNAL_VARIABLE.
Referenced by maximum_braindamage().
OCTAVE_EXPORT octave_value_list FPAGER | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 725 of file pager.cc.
References SET_NONEMPTY_INTERNAL_STRING_VARIABLE.
OCTAVE_EXPORT octave_value_list FPAGER_FLAGS | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 742 of file pager.cc.
References SET_NONEMPTY_INTERNAL_STRING_VARIABLE.
OCTAVE_EXPORT octave_value_list Fterminal_size | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 657 of file pager.cc.
References octave_value(), size(), command_editor::terminal_cols(), and command_editor::terminal_rows().
Definition at line 201 of file pager.cc.
References command_editor::terminal_cols(), and command_editor::terminal_rows().
Referenced by octave_pager_buf::sync().
|
static |
Definition at line 500 of file pager.cc.
References close_diary_file(), diary_file(), error(), external_diary_file, and octave_pager_stream::set_diary_skip().
Referenced by Fdiary().
|
static |
Definition at line 132 of file pager.cc.
References VPAGER, and VPAGER_FLAGS.
Referenced by do_sync().
Definition at line 105 of file pager.cc.
References octave_wait::ifexited(), and octave_wait::ifsignaled().
Referenced by do_sync().
|
static |
Definition at line 58 of file pager.cc.
Referenced by close_diary_file(), open_diary_file(), and octave_diary_buf::sync().
|
static |
Definition at line 49 of file pager.cc.
Referenced by clear_external_pager().
|
static |
Definition at line 90 of file pager.cc.
Referenced by flush_octave_stdout().
|
static |
Definition at line 88 of file pager.cc.
Referenced by flush_octave_stdout(), and octave_pager_buf::sync().
|
static |
Definition at line 82 of file pager.cc.
Referenced by octave_pager_buf::sync().
|
static |
Definition at line 86 of file pager.cc.
Referenced by Fmore(), and octave_pager_buf::sync().
|
static |
Definition at line 74 of file pager.cc.
Referenced by pager_command().
|
static |
Definition at line 77 of file pager.cc.
Referenced by pager_command().
|
static |
Definition at line 52 of file pager.cc.
Referenced by F__diarystate__(), Fdiary(), and octave_diary_buf::sync().