From f10993353398ec045b595054397dcb1747768a23 Mon Sep 17 00:00:00 2001 From: Lisa Milne Date: Sat, 9 Dec 2023 16:30:34 +1000 Subject: [PATCH] add license (BSD 3 clause), bump version, and update docs --- clite/core.js | 5 +++-- data/filesys.txt | 1 + license.txt | 26 ++++++++++++++++++++++++++ readme.txt | 10 +++++++--- 4 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 license.txt diff --git a/clite/core.js b/clite/core.js index ad4fa11..7388929 100644 --- a/clite/core.js +++ b/clite/core.js @@ -1,6 +1,6 @@ var clite = { state:{ - version:'0.3.9', + version:'0.4.0', isinit:false, runlevel:1 }, @@ -448,7 +448,8 @@ clite/core.js:/usr/clite/core.js:0:0:-rw-r--r-- clite/core.css:/usr/clite/web/core.css:0:0:-rw-r--r-- data/intro.txt:/usr/share/introduction:0:0:-rw-rw-r-- data/about.txt:/usr/share/site/about:0:0:-rw-rw-r-- -readme.txt:/usr/clite/readme:0:0:-rw-r--r--`; +readme.txt:/usr/clite/readme:0:0:-rw-r--r-- +license.txt:/etc/license:0:0:-rw-r--r--`; init2(d); return; } diff --git a/data/filesys.txt b/data/filesys.txt index 2736475..f77ebe0 100644 --- a/data/filesys.txt +++ b/data/filesys.txt @@ -18,3 +18,4 @@ readme.txt:/usr/share/docs/readme.txt:0:0:-rw-r--r-- readme-libs.txt:/usr/share/docs/readme-libs.txt:0:0:-rw-r--r-- readme-programs.txt:/usr/share/docs/readme-programs.txt:0:0:-rw-r--r-- readme-internals.txt:/usr/share/docs/readme-internals.txt:0:0:-rw-r--r-- +license.txt:/etc/license:0:0:-rw-r--r-- diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..8e6a3ae --- /dev/null +++ b/license.txt @@ -0,0 +1,26 @@ +Copyright 2023 Lisa 'TicklishHoneyBee' Milne + +Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/readme.txt b/readme.txt index aa22d16..c2af438 100644 --- a/readme.txt +++ b/readme.txt @@ -4,8 +4,8 @@ Welcome to CLIte (pronounced like 'site' with an added L, or like 'slight'). CLIte is an experimental javascript project based on answering the question no one asked: "What if a website worked like a Unix Terminal?" -CLIte is licensed under the GNU Affero General Public License, V3. - Though this may change. +CLIte is licensed under the "3 clause BSD" style license, which may be + viewed in license.txt or at /etc/license inside a running CLIte system. A functioning test instance of CLIte is available at http://www.ltmnet.com/clite/index.html @@ -31,6 +31,8 @@ less - simple text file viewer, up and down arrows will scroll the file - determines the file type +sh - the CLIte shell + reboot - reboots the system, this will force-reload all javascript, so helps get around issues with browser cache @@ -44,6 +46,8 @@ chmod - change file modes (permissions) mkdir - make a directory +date - view the current system date + Under Development: view - file viewer, should display files something like the way a @@ -53,7 +57,7 @@ view - file viewer, should display files something like the way a Running any command with the argument -? will give you help for that program. -The shell supports argument in "quotes" and 'single quotes', as well as +The shell supports arguments in "quotes" and 'single quotes', as well as $VARIABLES (environment variables include PATH, USER, PWD, and HOME). Support for `command substitution` is in progress. Some tabfill support is functional, but more work is needed to tabfill