Menu

Tree [26ed1a] master /
 History

HTTPS access


File Date Author Commit
 index 2016-09-19 b.jaeggi b.jaeggi [aae158] Better directory structure. Do not change it. P...
 jBash 2020-06-17 Nicht Krishna Nicht Krishna [c48c8b] Manuals working again.
 manuals 2020-06-15 Nicht Krishna Nicht Krishna [29b2ea] Updated bank information
 LICENSE 2016-09-14 ben0bi ben0bi [b8cb03] Initial commit
 README.txt 2020-06-17 ben0bi ben0bi [b52eb7] Update README.txt
 index.htm 2020-06-17 Nicht Krishna Nicht Krishna [26ed1a] Updated info
 index.html 2020-06-17 Nicht Krishna Nicht Krishna [26ed1a] Updated info
 jBash_config.json 2016-09-24 b.jaeggi b.jaeggi [d203d1] v1.0alpha with much new fancy stuff like a conf...
 localdeploy 2016-09-14 b.jaeggi b.jaeggi [f98a05] Initial commit on github.
 style.css 2016-09-24 b.jaeggi b.jaeggi [d203d1] v1.0alpha with much new fancy stuff like a conf...
 upload 2016-09-14 b.jaeggi b.jaeggi [f98a05] Initial commit on github.

Read Me

jBash.js
JavaScript Text Console
needs jQuery
by Beni Yager @ 2016

Version 1.0alpha

Just make a div and load jQuery and jBash.

You just need the jBash.js file. All the other files are nice-to-haves
and not really important. All the overhead code is commented out and only
te most important commands are registered.

Then call 
	jBash.initialize("#mydivid");

Add commands with
	jBash.registerCommand("mycommandname", myfunction);

myfunction is a JS-function provided by you, with one parameter.
The parameter is an array with the given line text, split by space.
param[0] = command name
param[1] = first "parameter"
...

Use {cmd} to view all registered commands.
	cmd

Clear the screen with {cls}:
	cls

newest: all the "more" functionality taken out (commented out) for
extendable basic functionality.

v1.0 brings even more functionality: 
+ uploading files: {put} and {uploads}
+ manual pages: {man mycommand}
+ json configuration file with all the paths. 
	(public pages for {l}, uploaded files, manual pages, php directory.)
	(maybe you need to change the path in jBash/server_php/configurationLoader.php, too)

Have fun!

v1.0: 
	Loading json configuration file on JS and PHP side.
	Uploading files with {put} and {uploads}.
before v1.0:
	All the other stuff.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.