Debian Codegraph @

samples/wheel

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # $Id: wheel,v 1.11 2023/02/01 01:27:24 tom Exp $
3
4 . ./setup-varsscip-shell source . . `./setup-vars`.
5
6 . ./setup-tempfilescip-shell source . . `./setup-tempfile`.
7
8 TITLE="This screen was taken from ComeOn Point Installer! v0.9 by ComeOn Linux!"
9
10 $DIALOG --print-maxsize 2>$tempfile
11 ROWS="`sedscip-shell system . . sed. -e 's/^[^:]*:[ ]*//' -e 's/,.*//' $tempfile`"
12 COLS="`sedscip-shell system . . sed. -e 's/^[^,]*,[ ]*//' $tempfile`"
13 rmscip-shell system . . rm. $tempfile
14
15 # account for widest labels
16 COLS=`exprscip-shell system . . expr. "$COLS" - 30`
17
18 # Takes an integer, multiplies it for COLS, divides for 132
19 scalexscip-shell shell dialog 1.3-20260107-2 scalex().() {
20 exprscip-shell system . . expr. "$1" \* "$COLS" /scip-shell filesystem . . `/`. 132
21 }
22 scaleyscip-shell shell dialog 1.3-20260107-2 scaley().() {
23 exprscip-shell system . . expr. "$1" \* "$ROWS" /scip-shell filesystem . . `/`. 60
24 }
25
26 $DIALOG --backtitle "$TITLE" --no-shadow \
27 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 27`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 98`" --infobox "pushd /var/log >/dev/null" 0 0 --and-widget \
28 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 35`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 95`" --infobox "mkdir -p news -m 755" 0 0 --and-widget \
29 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 45`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 86`" --infobox "chown news:news news" 0 0 --and-widget \
30 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 48`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 78`" --infobox "cd /var/log/news" 0 0 --and-widget \
31 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 51`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 61`" --infobox "mkdir -p OLD -m 755" 0 0 --and-widget \
32 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 52`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 47`" --infobox "chown news:news OLD" 0 0 --and-widget \
33 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 51`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 40`" --infobox "cd /var/spool" 0 0 --and-widget \
34 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 48`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 25`" --infobox "mkdir -p news -m 775" 0 0 --and-widget \
35 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 42`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 13`" --infobox "chown news:news news" 0 0 --and-widget \
36 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 35`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 4`" --infobox "cd /var/spool/news" 0 0 --and-widget \
37 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 27`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 2`" --infobox "CURMASK=`umask`" 0 0 --and-widget \
38 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 19`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 4`" --infobox "umask 02" 0 0 --and-widget \
39 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 11`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 13`" --infobox "mkdir -p out.going control junk in.coming" 0 0 --and-widget \
40 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 5`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 25`" --infobox "chown news:news out.going control junk in.coming" 0 0 --and-widget \
41 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 2`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 37`" --infobox "cd in.coming" 0 0 --and-widget \
42 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 1`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 46`" --infobox "mkdir -p bad tmp" 0 0 --and-widget \
43 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 2`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 61`" --infobox "chown news:news bad tmp" 0 0 --and-widget \
44 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 5`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 76`" --infobox "umask $CURMASK" 0 0 --and-widget \
45 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 11`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 87`" --infobox "ln -sf ~news /usr/local/lib/" 0 0 --and-widget \
46 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 18`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 95`" --infobox "ln -sf ~news/inews /usr/bin/" 0 0 --and-widget \
47 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 26`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 97`" --infobox "chmod 1777 /var/tmp" 0 0 --and-widget \
48 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 34`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 95`" --infobox "cd ~news" 0 0 --and-widget \
49 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 42`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 87`" --infobox "touch history history.dir history.pag errlog log" 0 0 --and-widget \
50 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 47`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 76`" --infobox "chown news:news history* log errlog" 0 0 --and-widget \
51 --infobox "Creating spooling and logging directories and files..." 0 0 --and-widget \
52 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 51`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 78`" --infobox "chmod 664 history* log errlog" 0 0 --and-widget \
53 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 52`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 60`" --infobox "echo \"control 0000000000 0000000001 y\" > active" 0 0 --and-widget \
54 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 51`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 42`" --infobox "echo \"junk 0000000000 0000000001 y\" >> active" 0 0 --and-widget \
55 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 48`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 26`" --infobox "chown news:news active" 0 0 --and-widget \
56 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 42`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 13`" --infobox "echo \"control 814573260 usenet\" > active.times" 0 0 --and-widget \
57 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 35`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 4`" --infobox "echo \"junk 814573260 usenet\" >> active.times" 0 0 --and-widget \
58 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 27`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 2`" --infobox "chown news:news active.times" 0 0 --and-widget \
59 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 19`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 4`" --infobox ":>newsgroups" 0 0 --and-widget \
60 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 11`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 12`" --infobox "chown news:news newsgroups" 0 0 --and-widget \
61 --sleep 2 \
62 --begin "`scaleyscip-shell shell dialog 1.3-20260107-2 scaley(). 6`" "`scalexscip-shell shell dialog 1.3-20260107-2 scalex(). 25`" --infobox "popd >/dev/null" 0 0 --and-widget \
63 --beep --msgbox "ComeOn Linux! :-)" 0 0 --and-widget \
64 --begin 2 0 --title "/var/adm/debug. This is running while that down runs alsoscip-shell filesystem . . `/var/adm/debug. This is running while that down runs also`." --tailboxbg /var/adm/debugscip-shell filesystem . . `/var/adm/debug`. 6 80 --and-widget \
65 --begin 8 0 --title "/var/adm/messages. It tails the file in multitasking with /var/adm/debugscip-shell filesystem . . `/var/adm/messages. It tails the file in multitasking with /var/adm/debug`." --tailbox /var/adm/messagesscip-shell filesystem . . `/var/adm/messages`. -1 -1