Download modes/linux-mode.js from Snapkitty/apple-ii-universal-machine: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/Snapkitty/apple-ii-universal-machine/resolve/main/modes/linux-mode.js
- Command line
-
hf download hf://Snapkitty/apple-ii-universal-machine/modes/linux-mode.js
-
curl -L -o linux-mode.js https://huggingface.co/Snapkitty/apple-ii-universal-machine/resolve/main/modes/linux-mode.js
1.42 kB
| var LinuxMode = { | |
| name: 'linux', | |
| label: 'Linux', | |
| theme: 'terminal-amber', | |
| prompt: '$ ', | |
| helpExtra: function() { | |
| return [ | |
| 'ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ', | |
| 'β LINUX MODE β Shell-focused commands β', | |
| 'β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£', | |
| 'β Focus: Boot, Status, Runtime, Export, About β', | |
| 'β Emphasis on system commands and shell simulation β', | |
| 'ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ' | |
| ].join('\n'); | |
| }, | |
| filterCommands: function(cmds) { | |
| var allowed = ['help', 'boot', 'status', 'runtime', 'export', 'about', 'clear', | |
| 'adastatus', 'contracts', 'astatus', 'lhelp', 'leval', | |
| 'asstatus', 'registers', 'opcodes', 'prostatus', 'bfstatus', | |
| 'swstatus', 'wbstatus', 'osstatus', 'wasstatus', 'vms']; | |
| return cmds.filter(function(c) { return allowed.indexOf(c.cmd.toLowerCase()) >= 0; }); | |
| } | |
| }; | |