23 #if defined (HAVE_CONFIG_H) 35 return "There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or\n\ 36 FITNESS FOR A PARTICULAR PURPOSE." 43 return html ? R
"(<a href=")" + url + R"(">)" + url + "</a>" :
url;
49 return "Additional information about Octave is available at " 50 +
format_url (html,
"https://www.octave.org") +
".";
56 return "Please contribute if you find this software useful.\n\ 57 For more information, visit " 58 +
format_url (html,
"https://www.octave.org/get-involved.html");
64 return "Read " +
format_url (html,
"https://www.octave.org/bugs.html")
65 +
" to learn how to submit bug reports.";
83 std::string sep = (html ?
"\n</p>\n<p>\n" :
"\n\n");
87 +
"This is free software; see the source code for copying conditions." 91 + R
"(Octave was configured for ")" 100 std::string sep = (html ?
"\n</p>\n<p>\n" :
"\n\n");
114 + (html ?
"\n</p>" :
"");
124 (html,
" For details, type 'warranty'.");
126 msg += (html ?
"<p>\n" :
"\n");
128 msg +=
"For information about changes from previous versions, type 'news'.";
130 msg += (html ?
"\n</p>" :
"");
std::string octave_startup_message(bool html)
static std::string format_url(bool html, const std::string &url)
std::string octave_bugs_statement(bool html)
std::string canonical_host_type(void)
std::string octave_www_statement(bool html)
std::string octave_contrib_statement(bool html)
std::string octave_name_version_copyright_copying_warranty_and_bugs(bool html, const std::string &extra_info)
static std::string octave_warranty_statement(const std::string &extra_info="")
std::string octave_name_version_and_copyright(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
std::string octave_name_version_copyright_copying_and_warranty(bool html, const std::string &extra_info)