shithub: 9utils

Download patch

ref: 44101f0c5a2cfe50bacd7ca460c9929a9269b112
parent: 90483ea4245e8085728f1fb953019fcb30e9f53b
author: Jacobo Da Riva Muñoz <jdrm@disroot.org>
date: Thu Jun 26 13:28:13 EDT 2025

Cleaning

--- a/lib/themes/rio/default
+++ /dev/null
@@ -1,19 +1,0 @@
-rioback	777777
-back	ffffff
-high	cccccc
-border	999999
-text	000000
-htext	000000
-title	55aaaa
-ltitle	9eeeee
-hold	000099
-lhold	005dbb
-palehold	4993dd
-paletext	666666
-size	ff0000
-menubar	448844
-menuback	eaffea
-menuhigh	448844
-menubord	88cc88
-menutext	000000
-menuhtext	eaffea
\ No newline at end of file
--- a/lib/themes/rio/mytheme
+++ /dev/null
@@ -1,19 +1,0 @@
-rioback /usr/glenda/img/apotd_011.img
-back    e2e8e8
-high    abb7ba
-border  abb7ba
-text    000000
-htext   000000
-title   8795bf
-ltitle  4f5165
-hold    cd664d
-lhold   d49b82
-palehold    d49b82
-paletext    75878f
-size    cd664e
-menubar 846d21
-menuback    e2e8e8
-menuhigh    cd664d
-menubord    cd664d
-menutext    000000
-menuhtext   000000
--- a/util/pkg-update
+++ /dev/null
@@ -1,10 +1,0 @@
-#!/bin/rc
-
-echo 'Update packages...'
-
-for(pkg in $home/pkg/*){
-  echo $pkg
-  cd $pkg
-  git/pull
-  mk install
-}
--- a/util/riostart
+++ /dev/null
@@ -1,10 +1,0 @@
-#!/bin/rc
-window 0,0,170,200 stats -lmwIisce
-window 0,200,100,550 winwatch -e '^(cat|winwatch|stats|faces|vol)'
-window 0,550,100,600 vol
-window 170,0,600,117 faces -i
-window -hide 'cat /dev/kprint'
-auth/fgui
-
-# run a system shell on the serial console
-~ $#console 0 || window -scroll console
--- a/util/savehist
+++ /dev/null
@@ -1,14 +1,0 @@
-#!/bin/rc
-# savehist - prune and save command history
-# usage: savehist
-
-rfork ne
-temp=/tmp/quit-$pid
-hist=$home/lib/text
-touch $hist
-#sigexit{ rm -f $temp }
-
-grep 'term% ' /dev/text > $temp
-cat $temp $hist | sort | uniq > /tmp/TMP-$pid
-mv /tmp/TMP-$pid $hist
-rm -f $temp
--- a/util/theme
+++ /dev/null
@@ -1,18 +1,0 @@
-#!/bin/rc
-
-if(~ $#* 0){
-    echo 'Usage: theme [ls|set theme]'
-}
-
-comm=$1
-
-switch($comm){
-
-case 'ls'
-    lc $home/lib/themes/rio/
-case 'set'
-    theme=$2
-
-    cat $home/lib/themes/rio/$theme > /dev/theme
-    grep softscreen /dev/vgactl >> /dev/vgactl
-}
--- a/util/wifi
+++ /dev/null
@@ -1,22 +1,0 @@
-#!/bin/rc
-rfork e
-fn Ask{
-  echo -n $1
-  essid=`{dd -bs 64 -count 1 >[2]/dev/null}
-}
-
-if(test -e /net/ether1)
-  echo "/net/ether1 exists"
-if not 
-  bind -a '#l1' /net
-
-if(~ $#* 0){
-  echo "Wifis disponibles"
-  grep node '#'l1/ether1/ifstats
-  echo
-  Ask 'essid='
-}
-
-aux/wpa -s $essid -p /net/ether1
-ip/ipconfig ether /net/ether1
-cat /net/ndb
--