07.11.2021, 13:41
(Dieser Beitrag wurde zuletzt bearbeitet: 16.11.2021, 23:08 von Manfred Aabye.)
opensimMULTITOOL, Shell Script, Version 0.56.219
https://github.com/BigManzai/OpenSim-Shell-Script
Neu Menü mit dialog und ein einfacher Passwortgenerator
Ich habe eine Menüfunktion integriert diese schaut zuerst ob dialog installiert ist oder nicht.
Wenn ihr dialog installiert habt dann öffnet sich nach der Eingabe von ./opensim.sh ein Menü.
In diesem Menü kann man die Funktionen bequem aufrufen.
Nachinstallieren von dialog mit:
apt install dialog
oder
sudo apt-get install dialog
Funktionstest dialog:
https://github.com/BigManzai/OpenSim-Shell-Script
Neu Menü mit dialog und ein einfacher Passwortgenerator
Ich habe eine Menüfunktion integriert diese schaut zuerst ob dialog installiert ist oder nicht.
Wenn ihr dialog installiert habt dann öffnet sich nach der Eingabe von ./opensim.sh ein Menü.
In diesem Menü kann man die Funktionen bequem aufrufen.
Nachinstallieren von dialog mit:
apt install dialog
oder
sudo apt-get install dialog
Funktionstest dialog:
Code:
#!/bin/bash
LABEL1="LABEL1"; ITEM1="ITEM1"; TAG1="TAG1"; STATUS1="STATUS1"
HEIGHT=20; WIDTH=60; LISTHEIGHT=10; MENUHEIGHT=10; FORMHEIGHT=10
DATUM=$(date +%d %m %Y); DIRECTORY="/"; FILE="test.txt"; FILEPATH="/"
PERCENT=10; INIT=10; SECONDS=5; COMMAND="ls" LY1=10; LX1=10; IY1=10; IX1=10;
FLEN1=10; ILEN1=10; ITYPE=10; MINVALUE=1; MAXVALUE=10; DEFAULTVALUE=5;
HOUR=1; MINUTE=1; SECOND=1; DEPTH1=10;
dialog --buildlist "buildlist" $HEIGHT $WIDTH $LISTHEIGHT $TAG1 $ITEM1 $STATUS1; dialog --clear
dialog --calendar "calendar" $HEIGHT $WIDTH "$DATUM"; dialog --clear
dialog --checklist "checklist" $HEIGHT $WIDTH $LISTHEIGHT $TAG1 $ITEM1 $STATUS1; dialog --clear
dialog --dselect $DIRECTORY $HEIGHT $WIDTH; dialog --clear
dialog --editbox $FILE $HEIGHT $WIDTH; dialog --clear
dialog --form "form" $HEIGHT $WIDTH $FORMHEIGHT $LABEL1 $LY1 $LX1 $ITEM1 $IY1 $IX1 $FLEN1 $ILEN1; dialog --clear
dialog --fselect $FILEPATH $HEIGHT $WIDTH; dialog --clear
dialog --gauge "gauge" $HEIGHT $WIDTH $PERCENT; dialog --clear
dialog --infobox "infobox" $HEIGHT $WIDTH; dialog --clear
dialog --inputbox "inputbox" $HEIGHT $WIDTH $INIT; dialog --clear
dialog --inputmenu "inputmenu" $HEIGHT $WIDTH $MENUHEIGHT $TAG1 $ITEM1; dialog --clear
dialog --menu "menu" $HEIGHT $WIDTH $MENUHEIGHT $TAG1 $ITEM1; dialog --clear
dialog --mixedform "mixedform" $HEIGHT $WIDTH $FORMHEIGHT $LABEL1 $LY1 $LX1 $ITEM1 $IY1 $IX1 $FLEN1 $ILEN1 $ITYPE; dialog --clear
dialog --mixedgauge "mixedgauge" $HEIGHT $WIDTH $PERCENT $TAG1 $ITEM1; dialog --clear
dialog --msgbox "msgbox" $HEIGHT $WIDTH; dialog --clear
dialog --passwordbox "passwordbox" $HEIGHT $WIDTH $INIT; dialog --clear
dialog --passwordform "passwordform" $HEIGHT $WIDTH $FORMHEIGHT $LABEL1 $LY1 $LX1 $ITEM1 $IY1 $IX1 $FLEN1 $ILEN1; dialog --clear
dialog --pause "pause" $HEIGHT $WIDTH $SECONDS; dialog --clear
dialog --prgbox "prgbox" $COMMAND $HEIGHT $WIDTH; dialog --clear
dialog --programbox "programbox" $HEIGHT $WIDTH; dialog --clear
dialog --progressbox "progressbox" $HEIGHT $WIDTH; dialog --clear
dialog --radiolist "radiolist" $HEIGHT $WIDTH $LISTHEIGHT $TAG1 $ITEM1 $STATUS1; dialog --clear
dialog --rangebox "rangebox" $HEIGHT $WIDTH $MINVALUE $MAXVALUE $DEFAULTVALUE; dialog --clear
dialog --tailbox "tailbox" $HEIGHT $WIDTH; dialog --clear
dialog --tailboxbg "tailboxbg" $HEIGHT $WIDTH; dialog --clear
dialog --textbox "textbox" $HEIGHT $WIDTH; dialog --clear
dialog --timebox "timebox" $HEIGHT $WIDTH $HOUR $MINUTE $SECOND; dialog --clear
dialog --treeview "treeview" $HEIGHT $WIDTH $LISTHEIGHT $TAG1 $ITEM1 $STATUS1 $DEPTH1; dialog --clear
dialog --yesno "yesno" $HEIGHT $WIDTH; dialog --clear
Ein Metaversum sind viele kleine Räume, die nahtlos aneinander passen,
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.