Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Check out my new Operating System

Name: RMS Marx Stalin 2014-01-24 13:34

Hey, guys.
I wrote a great new operating system just for you!
I'm going to call it RMS's GNU with trivial support from Linux.
So here it is:
main(){
puts("Hello, World!");
}

Keep in mind that an operating system is not a kernel, it's a set of applications that run on a kernel.
I should know, I redefined the term personally so I could shill for GNU!

Also note that this code is licensed under the GPLv3 and any unauthorised usage will be met with the full force of my lawyers.

Name: Anonymous 2014-01-24 13:44

Also note that if you think I'm bluffing about the lawyers thing then think again.
I'm currently in the process of suing the estate of Dennis Ritchie for theft of my retroactively licensed Hello, World! program. By this time next year I will own his former house and all his former posessions for the greater good, ofcourse!
I'll also be renaming his book to GNU/The C programming language, as the current name doesn't give credit where credit is due.

Name: Anonymous 2014-01-24 15:14

Are you an anus? Only an ANUS would not show some respect for based RMS!

Name: Anonymous 2014-01-24 17:38

I'm going to call it RMS's GNU [subwith trivial support from Linux.[/sub]
I actually laughed out loud, well done.

Name: Anonymous 2014-01-24 17:39

[subw

FUCK

Name: Anonymous 2014-01-24 17:56

Name: Anonymous 2014-01-24 20:08

>>5
>le pedophile sage

Name: alan_b.stard M P 2014-01-24 20:11

Does " hello " OS give us a template like 4 chan?

Name: Anonymous 2014-01-24 22:29

" faggot  quotes "

Name: Anonymous 2014-01-25 14:23

" faggot  quotes "

Name: Anonymous 2014-01-25 14:56

``check `em''

Name: Anonymous 2014-01-26 7:05

install BSD/Gentoo

Name: Anonymous 2014-01-26 11:55

muh captcha

Name: Anonymous 2014-01-27 23:04

RMS MARX STALIN MARX STALIN MARX STALIN MARX STALIN MARX STALIN

Name: Anonymous 2014-01-28 0:03

>>14
quality post/10 but still
>le pedophile sage

Name: Anonymous 2014-01-30 21:03

Hi, RMS.
I'm a huge fan of yours.
I'm just a first year undergraduate of computer science, but when I haerd about your project "opern source software" I really wanted to help!
I want to make the world a better place by suing everybody, renaming other people's projets after you, and spouting /g/ memes!

Name: Anonymous 2014-01-31 17:34

/* hello.c -- print a greeting message and exit.

   Copyright 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005,
   2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>;.  */

#include <config.h>
#include "system.h"
#include "progname.h"
#include "xalloc.h"

static const struct option longopts[] = {
  {"greeting", required_argument, NULL, 'g'},
  {"help", no_argument, NULL, 'h'},
  {"next-generation", no_argument, NULL, 'n'},
  {"traditional", no_argument, NULL, 't'},
  {"version", no_argument, NULL, 'v'},
  {NULL, 0, NULL, 0}
};

/* Different types of greetings; only one per invocation.  */
typedef enum
{
  greet_traditional,
  greet_new
} greeting_type;

/* Forward declarations.  */
static void print_help (void);
static void print_version (void);
static void print_frame (const size_t len);

int
main (int argc, char *argv[])
{
  int optc;
  int lose = 0;
  const char *greeting_msg = _("Hello, world!");
  wchar_t *mb_greeting;
  size_t len;
  greeting_type g = greet_traditional;

  set_program_name (argv[0]);

  /* Set locale via LC_ALL.  */
  setlocale (LC_ALL, "");

#if ENABLE_NLS
  /* Set the text message domain.  */
  bindtextdomain (PACKAGE, LOCALEDIR);
  textdomain (PACKAGE);
#endif

  /* Even exiting has subtleties.  On exit, if any writes failed, change
     the exit status.  The /dev/full device on GNU/Linux can be used for
     testing; for instance, hello >/dev/full should exit unsuccessfully.
     This is implemented in the Gnulib module "closeout".  */
  atexit (close_stdout);

  while ((optc = getopt_long (argc, argv, "g:hntv", longopts, NULL)) != -1)
    switch (optc)
      {
    /* --help and --version exit immediately, per GNU coding standards.  */
      case 'v':
    print_version ();
    exit (EXIT_SUCCESS);
    break;
      case 'g':
    greeting_msg = optarg;
    break;
      case 'h':
    print_help ();
    exit (EXIT_SUCCESS);
    break;
      case 'n':
    g = greet_new;
    break;
      case 't':
    g = greet_traditional;
    greeting_msg = _("hello, world");
    break;
      default:
    lose = 1;
    break;
      }

  if (lose || optind < argc)
    {
      /* Print error message and exit.  */
      if (optind < argc)
    fprintf (stderr, _("%s: extra operand: %s\n"), program_name,
         argv[optind]);
      fprintf (stderr, _("Try `%s --help' for more information.\n"),
           program_name);
      exit (EXIT_FAILURE);
    }

  len = mbsrtowcs(NULL, &greeting_msg, 0, NULL);
  if (len == (size_t)-1)
    {
      fprintf (stderr, _("%s: conversion to a multibyte string failed\n"), program_name);
      exit (EXIT_FAILURE);
    }
  mb_greeting = xmalloc((len + 1) * sizeof(wchar_t));
  mbsrtowcs(mb_greeting, &greeting_msg, len + 1, NULL);

  /* Print greeting message and exit. */
  if (g != greet_new)
    wprintf (L"%ls\n", mb_greeting);
  else
    {
      print_frame (len);
      wprintf (L"| %ls |\n", mb_greeting);
      print_frame (len);
    }
  free(mb_greeting);

  exit (EXIT_SUCCESS);
}


/* Print new format upper and lower frame.  */

void
print_frame (const size_t len)
{
  size_t i;
  fputws (L"+-", stdout);
  for (i = 0; i < len; i++)
    putwchar (L'-');
  fputws (L"-+\n", stdout);
}


/* Print help info.  This long message is split into
   several pieces to help translators be able to align different
   blocks and identify the various pieces.  */

static void
print_help (void)
{
  /* TRANSLATORS: --help output 1 (synopsis)
     no-wrap */
  printf (_("\
Usage: %s [OPTION]...\n"), program_name);

  /* TRANSLATORS: --help output 2 (brief description)
     no-wrap */
  fputs (_("\
Print a friendly, customizable greeting.\n"), stdout);

  puts ("");
  /* TRANSLATORS: --help output 3: options 1/2
     no-wrap */
  fputs (_("\
  -h, --help          display this help and exit\n\
  -v, --version       display version information and exit\n"), stdout);

  puts ("");
  /* TRANSLATORS: --help output 4: options 2/2
     no-wrap */
  fputs (_("\
  -t, --traditional       use traditional greeting\n\
  -n, --next-generation   use next-generation greeting\n\
  -g, --greeting=TEXT     use TEXT as the greeting message\n"), stdout);

  printf ("\n");
  /* TRANSLATORS: --help output 5+ (reports)
     TRANSLATORS: the placeholder indicates the bug-reporting address
     for this application.  Please add _another line_ with the
     address for translation bugs.
     no-wrap */
  printf (_("\
Report bugs to: %s\n"), PACKAGE_BUGREPORT);
#ifdef PACKAGE_PACKAGER_BUG_REPORTS
  printf (_("Report %s bugs to: %s\n"), PACKAGE_PACKAGER,
      PACKAGE_PACKAGER_BUG_REPORTS);
#endif
#ifdef PACKAGE_URL
  printf (_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
#else
  printf (_("%s home page: <http://www.gnu.org/software/%s/>;\n"),
      PACKAGE_NAME, PACKAGE);
#endif
  fputs (_("General help using GNU software: <http://www.gnu.org/gethelp/>;\n"),
     stdout);
}



/* Print version and copyright information.  */

static void
print_version (void)
{
  printf ("%s (%s) %s\n", PACKAGE, PACKAGE_NAME, VERSION);
  /* xgettext: no-wrap */
  puts ("");

  /* It is important to separate the year from the rest of the message,
     as done here, to avoid having to retranslate the message when a new
     year comes around.  */
  printf (_("\
Copyright (C) %d Free Software Foundation, Inc.\n\
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>;\n\
This is free software: you are free to change and redistribute it.\n\
There is NO WARRANTY, to the extent permitted by law.\n"), COPYRIGHT_YEAR);
}

Name: Anonymous 2014-01-31 18:35

‮testing

Name: Anonymous 2014-01-31 18:38

The Jews are quoting me.

Name: Anonymous 2014-01-31 20:01

>>19
The question still stands. Who are YOU quoting?

Name: Anonymous 2014-01-31 20:53

>>20
Shalom!

Name: Anonymous 2014-01-31 21:21

Who are you checking?

The answer better be ``'em''

Name: Anonymous 2014-02-01 21:55

The Jews

Don't change these.
Name: Email:
Entire Thread Thread List