Skip to content

Commit

Permalink
Update web commands (#703)
Browse files Browse the repository at this point in the history
* Remove lisp fetch

* Add fetch script

* Rename get to browse

* Update install

* Add browse package

* Add missing mandelbrot package

* Update package list
  • Loading branch information
vinc authored Nov 27, 2024
1 parent a0805bd commit 83d4150
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 16 deletions.
File renamed without changes.
8 changes: 8 additions & 0 deletions dsk/bin/fetch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! lisp

(load "/lib/lisp/core.lsp")

(var url (first args))
(var dst (filename url))

(shell (str "http " url " => " dst))
15 changes: 0 additions & 15 deletions dsk/tmp/lisp/fetch.lsp

This file was deleted.

1 change: 1 addition & 0 deletions dsk/var/pkg/browse
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin/browse
1 change: 1 addition & 0 deletions dsk/var/pkg/fetch
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin/fetch
2 changes: 2 additions & 0 deletions dsk/var/pkg/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
beep
blank
browse
chess
exec
fetch
fonts
geocal
geodate
Expand Down
1 change: 1 addition & 0 deletions dsk/var/pkg/mandelbrot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin/mandelbrot
3 changes: 2 additions & 1 deletion src/usr/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ pub fn copy_files(verbose: bool) {
// can also be installed later with the `pkg install` command.

//copy_file!("/bin/blank", verbose);
//copy_file!("/bin/browse", verbose);
copy_file!("/bin/clear", verbose);
//copy_file!("/bin/exec", verbose);
//copy_file!("/bin/fetch", verbose);
//copy_file!("/bin/geocal", verbose);
//copy_file!("/bin/geodate", verbose);
copy_file!("/bin/get", verbose);
copy_file!("/bin/halt", verbose);
//copy_file!("/bin/hello", verbose);
//copy_file!("/bin/mandelbrot", verbose);
Expand Down

0 comments on commit 83d4150

Please sign in to comment.