26 #if ! defined (octave_pager_h)
27 #define octave_pager_h 1
29 #include "octave-config.h"
50 pager_buf (
void) : std::stringbuf (), diary_skip (0) { }
52 void flush_current_contents_to_diary (
void);
54 void set_diary_skip (
void);
81 void flush_current_contents_to_diary (
void);
83 void set_diary_skip (
void);
85 std::ostream&
stream (
void);
123 std::ostream&
stream (
void);
163 std::string
PAGER (
const std::string& s)
252 bool sync (
const char *msg,
int len);
305 void do_sync (
const char *msg,
int len,
bool bypass_pager);
313 #define octave_stdout (octave::__stdout__ ())
315 #define octave_diary (octave::__diary__ ())
std::ostream & stream(void)
diary_stream(const diary_stream &)=delete
bool page_output_immediately(void) const
bool page_screen_output(void) const
std::string PAGER_FLAGS(void) const
bool m_flushing_output_to_pager
bool sync(const char *msg, int len)
bool write_to_diary_file(void) const
diary_stream m_diary_stream
pager_stream & pager(void)
output_system(interpreter &interp)
output_system & operator=(const output_system &)=delete
diary_stream & diary(void)
std::string pager_command(void) const
bool m_page_output_immediately
oprocstream * m_external_pager
void clear_external_pager(void)
std::string diary_file_name(const std::string &nm)
~output_system(void)=default
std::string m_PAGER_FLAGS
interpreter & m_interpreter
pager_stream m_pager_stream
bool really_flush_to_pager(bool flag)
std::ostream & __stdout__(void)
std::string m_diary_file_name
bool page_output_immediately(bool flag)
std::string diary_file_name(void) const
bool page_screen_output(bool flag)
bool flushing_output_to_pager(bool flag)
output_system(const output_system &)=delete
bool m_write_to_diary_file
bool flushing_output_to_pager(void) const
bool really_flush_to_pager(void) const
void start_external_pager(void)
std::ofstream & external_diary_file(void)
bool m_really_flush_to_pager
std::string PAGER(const std::string &s)
bool write_to_diary_file(bool flag)
std::string PAGER_FLAGS(const std::string &s)
std::ostream & __diary__(void)
void do_sync(const char *msg, int len, bool bypass_pager)
bool m_page_screen_output
std::ofstream m_external_diary_file
std::string PAGER(void) const
std::ofstream ofstream(const std::string &filename, const std::ios::openmode mode)
std::ostream & __stdout__(void)
std::ostream & __diary__(void)