comparison src/octave.cc @ 1106:676db72ec37c

[project @ 1995-02-14 22:48:07 by jwe]
author jwe
date Tue, 14 Feb 1995 22:48:07 +0000
parents 3535aa4d38c6
children 69fa46755c57
comparison
equal deleted inserted replaced
1105:05611efd5bfe 1106:676db72ec37c
372 372
373 static void 373 static void
374 verbose_usage (void) 374 verbose_usage (void)
375 { 375 {
376 cout << "\n" 376 cout << "\n"
377 << " Octave, version " << version_string 377 << OCTAVE_STARTUP_BANNER
378 << ". Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton.\n" 378 << "\n\n"
379 << " This is free software with ABSOLUTELY NO WARRANTY.\n"
380 << "\n"
381 << " usage: " << usage_string 379 << " usage: " << usage_string
382 << "\n\n" 380 << "\n\n"
383 << " V : enable verbose output in some cases\n" 381 << " V : enable verbose output in some cases\n"
384 << " d : enter parser debugging mode\n" 382 << " d : enter parser debugging mode\n"
385 << " f : don't read ~/.octaverc or .octaverc at startup\n" 383 << " f : don't read ~/.octaverc or .octaverc at startup\n"
546 initialize_readline (); 544 initialize_readline ();
547 545
548 init_dynamic_linker (); 546 init_dynamic_linker ();
549 547
550 if (! inhibit_startup_message) 548 if (! inhibit_startup_message)
551 cout << "Octave, version " << version_string 549 cout << OCTAVE_STARTUP_MESSAGE "\n" << endl;
552 << ". Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton.\n"
553 << "This is free software with ABSOLUTELY NO WARRANTY.\n"
554 << "For details, type `warranty'.\n" << endl;
555 550
556 if (read_init_files) 551 if (read_init_files)
557 { 552 {
558 saving_history = 0; 553 saving_history = 0;
559 execute_startup_files (); 554 execute_startup_files ();
732 { 727 {
733 Octave_object retval; 728 Octave_object retval;
734 729
735 ostrstream output_buf; 730 ostrstream output_buf;
736 output_buf << "\n Octave, version " << version_string 731 output_buf << "\n Octave, version " << version_string
737 << ". Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton\n" 732 << ". " OCTAVE_COPYRIGHT "\n\n\
738 << "\n\
739 This program is free software; you can redistribute it and/or modify\n\ 733 This program is free software; you can redistribute it and/or modify\n\
740 it under the terms of the GNU General Public License as published by\n\ 734 it under the terms of the GNU General Public License as published by\n\
741 the Free Software Foundation; either version 2 of the License, or\n\ 735 the Free Software Foundation; either version 2 of the License, or\n\
742 (at your option) any later version.\n\ 736 (at your option) any later version.\n\
743 \n\ 737 \n\