"Fossies" - the Fresh Open Source Software Archive

Member "linux_logo-6.0/defaults.h" (8 May 2020, 3478 Bytes) of package /linux/misc/linux_logo-6.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "defaults.h": 5.11_vs_6.0.

    1 /* This is the defaults.h file that can be used to change the default *\
    2 \* Behavior of the linux_logo program.                                */
    3 
    4 #define S_(String) String
    5 
    6 /* This is the default format of the output file.  See the README for more *\
    7 \* information on how to configure this option.                            */
    8 char DEFAULT_BANNER_FORMAT[]= S_("#O Version #V, Compiled #C\n#N #M #X #T #P, #R RAM, #B\n#H\n");
    9 char DEFAULT_CLASSIC_FORMAT[]= S_("#O Version #V\nCompiled #C\n#N #M #X #T #P, #R RAM\n#B\n#H\n");
   10 /* Plural.  With the coming of i18n you really can't assume plurals can */
   11 /* be made by adding a string to the end.  Hopefully this can fix it for*/
   12 /* most languages.  If they require significant word-order changes then */
   13 /* we'll have even more problems */
   14 char PROCESSOR_SINGULAR[]= S_("Processor");
   15 char PROCESSOR_PLURAL[]= S_("Processors");
   16 
   17 /* This option picks the default mode of the linux_logo program.            *\
   18 \* If a 1 is picked, banner mode will be the default mode.                  */
   19 /* If a 0 is picked, classic mode (which some people prefer)will be default.*\
   20 \* You can over-ride this with the -banner and -classic switches.           */
   21 #define DEFAULT_BANNER_MODE 1
   22 
   23 /* By setting this option to 1 you can have linux_logo always run in plain *\
   24 \* ascii mode.                                                             */
   25 #define DEFAULT_PLAIN_ASCII 0
   26 
   27 /* This mode sets whether you want the output to defaultly display uptime  *\
   28 \* or not.  This is useful if you are using linux_logo on the fly or in    */
   29 /* Server side includes; it is not useful if you are using linux_logo to   *\
   30 \* create motd or issue files.                                             */
   31 #define DEFAULT_SHOW_UPTIME 0
   32 
   33 /* This mode sets whether you want the load average displayed by default. */
   34 #define DEFAULT_SHOW_LOAD 0
   35 
   36 /* Default width of the screen.  Change if you wish to use a wider screen. *\
   37 \* This option is over-ridden by the -wX command line option               */
   38 #define DEFAULT_WIDTH 80
   39 
   40 /* This Option, if set to 1, makes the Classic Logo appear better to some *\
   41 \* people.  It has no affect on the banner mode logo.                     */
   42 #define DEFAULT_NO_PERIODS 0
   43 
   44 /* This option will make linux_logo default to saving cursor position *\
   45 \* if the option is set to 1.                                         */
   46 #define DEFAULT_PRESERVE_XY 0
   47 
   48 /* This option will make linux_logo skip the bogo-mips check on non-linux   *\
   49 \* platforms if set to 1.  This can speed up linux_logo on these platforms. */
   50 #define DEFAULT_SKIP_BOGOMIPS 0
   51 
   52 /* Use this to set the default offset of the logo towards the middle of the *\
   53 \* screen.  You can override this with the -oNum command line option.       */
   54 #define DEFAULT_OFFSET 0
   55 
   56 /* By setting this option to 1, linux_logo will default to clearing the *\
   57 \* screen each time the program is run.                                 */
   58 #define DEFAULT_WIPE_SCREEN 0
   59 
   60 /* By setting this the logo only is 79 chars wide, instead of 80... this *\
   61 \* can help if linux_logo used to make an issue.net file                 */
   62 #define DEFAULT_NARROW_LOGO 0
   63 
   64 /* By setting this, the system_info parsing will "tidy up" your system   *\
   65 \* info.  That is, try to make Megahertz's on proper numbers, report your*/
   66 /* K6 as a K6 and not the "AMD K6 with Multimedia Extensions" that       *\
   67 \* /proc/cpuinfo returns, etc.  I reccommend you keep it on.             */
   68 #define DEFAULT_PRETTY_OUTPUT 1
   69