void putc(int c) { write(STDOUT, &c, 1); if(c == '\n') putc('\r'); } void puts(char *s) { while(*s) { putc(*s); s++; } } char *help = "cd [directory] Change directory.\n" \ "pwd Display current directory.\n" \ "> >>< | Everyone's favourite pipes!\n" \ "\n(Hint: Everything else is a command.)\n"; ----------------------------------------- puts(help) only displays up until "mand." in the last line. printf("%s", help) displays it all. Both call putc(). Thoughts?