Skip to content

Commit f033018

Browse files
committed
misc fixes
1 parent 2ab2a5a commit f033018

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,19 @@ You can execute the following commands from the built-in shell:
7575

7676
| Command | Description |
7777
| :--- | :--- |
78-
| `nm` | Starts the TUI Network Manager |
79-
| `fm` | Starts the TUI File Manager |
80-
| `vi` | Opens the vi port |
81-
| `fc` | Font Configuration Utility |
8278
| `clear` | Clears the screen |
79+
| `fav` | Built-in shell aliases |
80+
| `fc` | Font Configuration Utility |
81+
| `fm` | Starts the TUI File Manager |
82+
| `ftpd` | Launches a FTP Server on `/` with user `admin` and pwd `admin` |
8383
| `irc` | Connects to an IRC channel given a server, port, nickname and channel |
84+
| `menu` | An interactive shortcut menu for commands |
85+
| `ms` | Opens the minesweeper clone |
86+
| `nm` | Starts the TUI Network Manager |
8487
| `rss` | RSS Reader; connect to an http or https rss endpoint and retreives the titles |
85-
| `telnet` | Connects to a telnet server (try `telehack.com` or `bbs.retrocampus.com`) |
88+
| `telnet` | Connects to a telnet server |
89+
| `vi` | Opens the vi port |
8690
| `zm` | Launches `dfrotz`, the ZMachine interpreter |
87-
| `ftpd` | Launches a FTP Server on `/` with user `admin` and pwd `admin` |
8891

8992
To get out of the shell, type `exit`. This will bring you to the MicroPython shell, where you can type in python expressions. To get back to the built-in shell, type `sh` in the MicroPython shell.
9093

modules/scripts/applications/menu.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import sys
99
import json
1010

11-
def save_feeds(json_file, json_data):
11+
def save_menu(json_file, json_data):
1212
try:
1313
with open(json_file, "w") as f:
1414
json.dump(json_data, f)
@@ -41,7 +41,7 @@ def main(env, args):
4141
win = tui.make_window(
4242
0, 0,
4343
width=env.cols, height=env.rows,
44-
title=app_name.upper() + " LAUNCHER",
44+
title=app_name.upper() + " MENU",
4545
fg=252, bg=18)
4646

4747
while True:
@@ -107,7 +107,7 @@ def main(env, args):
107107
if char in ('\r', '\n'):
108108
if dlg.selected == 0: # "Yes"
109109
del app[lst.value]
110-
save_feeds(app_file, app)
110+
save_menu(app_file, app)
111111
break
112112
elif char == 'w':
113113
dlg.left()
@@ -166,7 +166,7 @@ def main(env, args):
166166
char = sys.stdin.read(1)
167167
if char in ('\r', '\n'):
168168
app[name] = args_input.value
169-
save_feeds(app_file, app)
169+
save_menu(app_file, app)
170170

171171
tui.cursor_hide()
172172
ui_state = "MAIN_MENU"

modules/scripts/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def run(self):
168168
ver = sys.implementation.version
169169
version_str = f"{ver[0]}.{ver[1]}.{ver[2]}"
170170
# TODO: move versioning to makefile
171-
print(f"MPY_VT v0.1.7; MicroPython v{version_str}\nType 'help' to see commands.")
171+
print(f"MPY_VT v0.1.8; MicroPython v{version_str}\nType 'help' to see commands.")
172172

173173
while self.running:
174174
try:

0 commit comments

Comments
 (0)