80 lines
1.6 KiB
JSON
80 lines
1.6 KiB
JSON
{
|
|
"banner" : "blash version 0.1<br/>" +
|
|
"Copyright (C) 2010 BlackLight <blacklight@autistici.org>" +
|
|
"<br/>Licence GPLv3+: GNU GPL version 3 or later " +
|
|
"<<a class=\"bannerLink\" href=\"http://gnu.org/licences/gpl.html\">" +
|
|
"http://gnu.org/licences/gpl.html</a>><br/><br/>" +
|
|
"This is free software; you are free to change and " +
|
|
"redistribuite it.<br/>There is NO WARRANTY, to the " +
|
|
"extent permitted by law.<br/>" +
|
|
"Type '<span class=\"brief\">man blash</span>' for help on usage and available commands<br/><br/>",
|
|
|
|
"user" : "guest",
|
|
"machine" : "localhost",
|
|
"shellName" : "blash",
|
|
"basepath" : "/",
|
|
"promptText" : "[#{800}%n#{888}@#{800}%m#{888} %W] $ ",
|
|
"promptSequences" : [
|
|
{
|
|
"sequence" : "%n",
|
|
"default_text" : "blacklight",
|
|
"text" : function () {
|
|
return shell.json.user;
|
|
},
|
|
},
|
|
{
|
|
"sequence" : "%m",
|
|
"default_text" : "localhost",
|
|
"text" : function () {
|
|
return shell.json.machine;
|
|
},
|
|
},
|
|
{
|
|
"sequence" : "%W",
|
|
"default_text" : "~",
|
|
"text" : function () {
|
|
return shell.path;
|
|
},
|
|
}
|
|
],
|
|
|
|
"directories" : [
|
|
{
|
|
"path" : "/",
|
|
"type" : "directory",
|
|
},
|
|
{
|
|
"path" : "/home",
|
|
"type" : "directory",
|
|
},
|
|
{
|
|
"path" : "/home/blacklight",
|
|
"type" : "directory",
|
|
},
|
|
{
|
|
"path" : "/home/blacklight/mbox",
|
|
"type" : "file",
|
|
"content" : "No new mail",
|
|
},
|
|
{
|
|
"path" : "/etc",
|
|
"type" : "directory",
|
|
},
|
|
{
|
|
"path" : "/initrd",
|
|
"type" : "file",
|
|
"href" : "http://www.google.com",
|
|
},
|
|
],
|
|
|
|
"commands" : [
|
|
"cat",
|
|
"cd",
|
|
"find",
|
|
"ls",
|
|
"man",
|
|
"pwd",
|
|
"whoami",
|
|
],
|
|
}
|
|
|