diff --git a/bench/benchctxswitch.cpp b/bench/benchctxswitch.cpp index 407f7e41..b74dac51 100644 --- a/bench/benchctxswitch.cpp +++ b/bench/benchctxswitch.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + benchctxswitch.cpp + Benchmarks the speed of context switches. + +*******************************************************************************/ + #include #include #include diff --git a/bench/benchsyscall.cpp b/bench/benchsyscall.cpp index f78868cc..a004fc3d 100644 --- a/bench/benchsyscall.cpp +++ b/bench/benchsyscall.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + benchsyscall.cpp + Benchmarks the speed of system calls. + +*******************************************************************************/ + #include #include diff --git a/games/conway.cpp b/games/conway.cpp index 3a97ab75..c2b00b75 100644 --- a/games/conway.cpp +++ b/games/conway.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + conway.cpp + Conway's Game of Life. + +*******************************************************************************/ + #include #include #include diff --git a/games/pong.cpp b/games/pong.cpp index 58662baf..14ca9d84 100644 --- a/games/pong.cpp +++ b/games/pong.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + pong.cpp + Two-player pong. + +*******************************************************************************/ + #include #include #include diff --git a/games/snake.cpp b/games/snake.cpp index c2b7ce9e..9c62bf0b 100644 --- a/games/snake.cpp +++ b/games/snake.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + snake.cpp + Single-player snake. + +*******************************************************************************/ + #include #include #include diff --git a/utils/calc.cpp b/utils/calc.cpp index 78ac3a77..9e698a6e 100644 --- a/utils/calc.cpp +++ b/utils/calc.cpp @@ -1,4 +1,4 @@ -/****************************************************************************** +/******************************************************************************* COPYRIGHT(C) STEVEN DOUGHERTY 2011. COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. @@ -13,13 +13,13 @@ 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 . + You should have received a copy of the GNU General Public License along with + this program. If not, see . calc.cpp A simple reverse polish calculator. -******************************************************************************/ +*******************************************************************************/ #include #include diff --git a/utils/cat.cpp b/utils/cat.cpp index 0d4f7069..035621e7 100644 --- a/utils/cat.cpp +++ b/utils/cat.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + cat.cpp + Concatenate files and print on the standard output. + +*******************************************************************************/ + #include #include #include diff --git a/utils/clear.cpp b/utils/clear.cpp index 03679235..d540742e 100644 --- a/utils/clear.cpp +++ b/utils/clear.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + clear.cpp + Clear the terminal screen. + +*******************************************************************************/ + #include int main(int argc, char* argv[]) diff --git a/utils/column.cpp b/utils/column.cpp index 9255f17c..8bd9b5df 100644 --- a/utils/column.cpp +++ b/utils/column.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2012. + + 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 . + + cat.cpp + Columnate lists. + +*******************************************************************************/ + #define _SORTIX_SOURCE #include #include diff --git a/utils/cp.cpp b/utils/cp.cpp index 912bebbd..f8b717ee 100644 --- a/utils/cp.cpp +++ b/utils/cp.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + cp.cpp + Copy files and directories. + +*******************************************************************************/ + #include #include #include diff --git a/utils/echo.cpp b/utils/echo.cpp index adf3e667..5165a56f 100644 --- a/utils/echo.cpp +++ b/utils/echo.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + echo.cpp + Display a line of text. + +*******************************************************************************/ + #include #include diff --git a/utils/editor.cpp b/utils/editor.cpp index d9fbf4b0..25fc6bcd 100644 --- a/utils/editor.cpp +++ b/utils/editor.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + editor.cpp + A simple and hacked together text editor. + +*******************************************************************************/ + #include #include #include diff --git a/utils/head.cpp b/utils/head.cpp index 0da9642c..ce42915a 100644 --- a/utils/head.cpp +++ b/utils/head.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2012. + + 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 . + + head.cpp + Output the first part of files. + +*******************************************************************************/ + #define HEAD #include "tail.cpp" diff --git a/utils/help.cpp b/utils/help.cpp index 925f04c7..ab14dd1c 100644 --- a/utils/help.cpp +++ b/utils/help.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + help.cpp + Prints a friendly message and ls /bin. + +*******************************************************************************/ + #include #include #include diff --git a/utils/idle.cpp b/utils/idle.cpp index ddec8cea..76dec3b0 100644 --- a/utils/idle.cpp +++ b/utils/idle.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + idle.cpp + This is the system idle process run when the kernel has nothing else to do. + +*******************************************************************************/ + int main(int argc, char* argv[]) { // It is crucial that this process never terminates and always is runnable. diff --git a/utils/init.cpp b/utils/init.cpp index c9e1b12f..4451237d 100644 --- a/utils/init.cpp +++ b/utils/init.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + init.cpp + Initializes the system by setting up the terminal and starting the shell. + +*******************************************************************************/ + #include #include #include diff --git a/utils/kernelinfo.cpp b/utils/kernelinfo.cpp index 1ca0afc9..4df5ed55 100644 --- a/utils/kernelinfo.cpp +++ b/utils/kernelinfo.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2012. + + 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 . + + kernelinfo.cpp + Prints a kernel information string. + +*******************************************************************************/ + #include #include #include diff --git a/utils/kill.cpp b/utils/kill.cpp index 8d46461a..f1f9a979 100644 --- a/utils/kill.cpp +++ b/utils/kill.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + kill.cpp + Send a signal to a process. + +*******************************************************************************/ + #include #include #include diff --git a/utils/ls.cpp b/utils/ls.cpp index b33f251a..10702b59 100644 --- a/utils/ls.cpp +++ b/utils/ls.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + ls.cpp + Lists directory contents. + +*******************************************************************************/ + #include #include #include diff --git a/utils/memstat.cpp b/utils/memstat.cpp index 1742f9d9..38353a90 100644 --- a/utils/memstat.cpp +++ b/utils/memstat.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + memstat.cpp + Prints system memory usage information. + +*******************************************************************************/ + #include #include #include diff --git a/utils/mxsh.cpp b/utils/mxsh.cpp index 85af6eda..64207016 100644 --- a/utils/mxsh.cpp +++ b/utils/mxsh.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + mxsh.cpp + A simple and hacky Sortix shell. + +*******************************************************************************/ + #include #include #include diff --git a/utils/pager.cpp b/utils/pager.cpp index ff9e5e63..4a6fe942 100644 --- a/utils/pager.cpp +++ b/utils/pager.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2012. + + 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 . + + pager.cpp + Displays files one page at a time. + +*******************************************************************************/ + #include #include #include diff --git a/utils/pwd.cpp b/utils/pwd.cpp index c829106d..1b3d48a4 100644 --- a/utils/pwd.cpp +++ b/utils/pwd.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2012. + + 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 . + + pwd.cpp + Prints the current working directory. + +*******************************************************************************/ + #include #include diff --git a/utils/rm.cpp b/utils/rm.cpp index 0df66688..32575097 100644 --- a/utils/rm.cpp +++ b/utils/rm.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + rm.cpp + Remove files or directories. + +*******************************************************************************/ + #include #include #include diff --git a/utils/tail.cpp b/utils/tail.cpp index cb0ce0ee..56171eea 100644 --- a/utils/tail.cpp +++ b/utils/tail.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2012. + + 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 . + + tail.cpp + Output the last part of files. + +*******************************************************************************/ + #include #include #include diff --git a/utils/uname.cpp b/utils/uname.cpp index d19f12b6..e50551e2 100644 --- a/utils/uname.cpp +++ b/utils/uname.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011, 2012. + + 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 . + + uname.cpp + Print system information. + +*******************************************************************************/ + #include #include #include diff --git a/utils/uptime.cpp b/utils/uptime.cpp index 7bb0c59e..164c386f 100644 --- a/utils/uptime.cpp +++ b/utils/uptime.cpp @@ -1,3 +1,25 @@ +/******************************************************************************* + + COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2011. + + 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 . + + uptime.cpp + Tell how long the system has been running. + +*******************************************************************************/ + #include #include