├── COPYING ├── COPYING.LESSER ├── ChangeLog ├── INSTALL ├── NEWS ├── README.md ├── TODO ├── bin ├── tui ├── tui-asroot ├── tui-bgjob ├── tui-bgjob-mgr ├── tui-bol-dir ├── tui-bol-gui ├── tui-bol-root ├── tui-browser ├── tui-conf-editor ├── tui-conf-get ├── tui-conf-set ├── tui-cp ├── tui-dd ├── tui-download ├── tui-echo ├── tui-edit ├── tui-filemgr ├── tui-ftp ├── tui-header ├── tui-install ├── tui-list ├── tui-log ├── tui-mv ├── tui-new-browser ├── tui-new-manpage ├── tui-new-script ├── tui-press ├── tui-print ├── tui-printfile ├── tui-progress ├── tui-read ├── tui-rnd ├── tui-select ├── tui-status ├── tui-str-bol-conv ├── tui-str-extension ├── tui-str-genfilename ├── tui-str-hash ├── tui-str-usb ├── tui-tar ├── tui-terminal ├── tui-title ├── tui-typewriter ├── tui-wait ├── tui-web ├── tui-yesno └── tuirc ├── compl └── tui ├── conf.home ├── apps.conf ├── settings.conf └── user.conf ├── conf.tui ├── apps.conf ├── colors.conf ├── commands.conf ├── settings.conf ├── shorts-alias.conf ├── shorts.conf ├── status.conf └── tui.conf ├── configure ├── configure.yassi ├── docs ├── AUTHORS.md ├── CONFIG.md ├── GFDL.txt ├── INSTALL.md ├── LICENSE ├── NEWS ├── README.md ├── samples │ ├── tui_asroot │ ├── tui_browser │ ├── tui_edit │ ├── tui_filemgr │ ├── tui_list │ ├── tui_print │ ├── tui_printfile │ ├── tui_progress │ ├── tui_read │ ├── tui_select │ ├── tui_status │ ├── tui_template │ └── tui_yesno └── tex │ ├── _version.texi │ ├── fdl.texi │ ├── tui.html │ ├── tui.info │ └── tui.texi ├── lists ├── editor_cli ├── editor_gui ├── filemgr_cli ├── filemgr_gui ├── terminals ├── web_cli └── web_gui ├── locale └── Anticipate-po-files │ ├── tui-asroot.po │ ├── tui-bgjob-mgr.po │ ├── tui-bgjob.po │ ├── tui-bol-dir.po │ ├── tui-bol-gui.po │ ├── tui-bol-root.po │ ├── tui-browser.po │ ├── tui-conf-editor.po │ ├── tui-conf-get.po │ ├── tui-conf-set.po │ ├── tui-cp.po │ ├── tui-dd.po │ ├── tui-download.po │ ├── tui-edit.po │ ├── tui-filemgr.po │ ├── tui-ftp.po │ ├── tui-header.po │ ├── tui-install.po │ ├── tui-list.po │ ├── tui-log.po │ ├── tui-mv.po │ ├── tui-new-browser.po │ ├── tui-new-manpage.po │ ├── tui-new-script.po │ ├── tui-press.po │ ├── tui-print.po │ ├── tui-printfile.po │ ├── tui-printline.po │ ├── tui-progress.po │ ├── tui-read.po │ ├── tui-rnd.po │ ├── tui-select.po │ ├── tui-status.po │ ├── tui-str-bol-conv.po │ ├── tui-str-extension.po │ ├── tui-str-genfilename.po │ ├── tui-str-hash.po │ ├── tui-str-usb.po │ ├── tui-tar.po │ ├── tui-terminal.po │ ├── tui-title.po │ ├── tui-typewriter.po │ ├── tui-wait.po │ ├── tui-web.po │ ├── tui-yesno.po │ └── tuirc.po ├── manpages ├── tui-asroot.1 ├── tui-bgjob-mgr.1 ├── tui-bgjob.1 ├── tui-bol-dir.1 ├── tui-bol-gui.1 ├── tui-bol-root.1 ├── tui-browser.1 ├── tui-cat.1 ├── tui-conf-editor.1 ├── tui-conf-get.1 ├── tui-conf-set.1 ├── tui-cp.1 ├── tui-dd.1 ├── tui-download.1 ├── tui-echo.1 ├── tui-edit.1 ├── tui-filemgr.1 ├── tui-ftp.1 ├── tui-header.1 ├── tui-install.1 ├── tui-list.1 ├── tui-log.1 ├── tui-mv.1 ├── tui-new-browser.1 ├── tui-new-manpage.1 ├── tui-new-script.1 ├── tui-press.1 ├── tui-print.1 ├── tui-printf.1 ├── tui-printfile.1 ├── tui-printline.1 ├── tui-progress.1 ├── tui-read.1 ├── tui-rnd.1 ├── tui-select.1 ├── tui-status.1 ├── tui-str-bol-conv.1 ├── tui-str-extension.1 ├── tui-str-genfilename.1 ├── tui-str-hash.1 ├── tui-str-usb.1 ├── tui-tar.1 ├── tui-terminal.1 ├── tui-title.1 ├── tui-wait.1 ├── tui-web.1 ├── tui-yesno.1 ├── tui.1 └── tuirc.1 ├── scripts ├── build-rpm-tui.sh ├── distro │ ├── README │ └── tui.spec ├── gen-tuirc.sh ├── make-check.sh ├── make-manpages.sh ├── make-po-files.sh ├── old │ ├── configure.cfg │ └── configure.old.bash ├── prepare.sh ├── stats.sh └── tuirc.tpl ├── templates ├── browser ├── browser.dir │ └── menu │ │ ├── default.cmd │ │ ├── default.help │ │ ├── default.info │ │ └── start ├── browser.tar.gz ├── manpage │ ├── application │ └── minimal └── scripts │ ├── basic │ ├── empty │ ├── full │ ├── modul │ └── regular └── themes ├── default ├── default-border ├── default-red ├── dot-blue ├── dot-red ├── floating ├── mono ├── steampunk ├── steampunk-border ├── witch-purple └── witch-yellow /INSTALL: -------------------------------------------------------------------------------- 1 | docs/INSTALL.md -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- 1 | docs/NEWS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | docs/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | Feedback / Suggestions wanted: 2 | ------------------------------ 3 | If you do not like the 'default' theme, or any other of the provided themes, 4 | you are encouraged to create your own theme - and send me for implementation, 5 | so others can get the benefit of your theme as well. 6 | 7 | 8 | Missing feedback for these types: 9 | --------------------------------- 10 | - Mac 11 | - NetBSD 12 | - Raspberry PI 13 | - Solaris 14 | 15 | 16 | Known Bugs: 17 | ----------- 18 | * tui-yesno dont work properly with BORDER_COLOR yet 19 | * tui-dd, progress bar doesnt display text properly - data is written though 20 | * samples - read ?? -- that is the only place where i 'know' read to be buggy 21 | http://www.unix.com/shell-programming-and-scripting/263820-bash-displays-every-command.html 22 | 23 | Security: 24 | --------- 25 | No issues known. :) 26 | 27 | 28 | Feedback urls: 29 | Post in Shell scripting: https://plus.google.com/u/0/communities/118065954434691544613/stream/227acc6c-6780-4c78-aa42-53fae7a5054c 30 | Google plus community: https://plus.google.com/communities/100234551346652779244 31 | 32 | 33 | Finalize: 34 | --------- 35 | tui-browser 36 | samples 37 | tuirc manpage --> still needs fixing/adjusting, but the info is there 38 | -------------------------------------------------------------------------------- /conf.home/apps.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file 20 | # 21 | # 22 | # This file is part of the 'tui' package and is ment to be changed. 23 | # 24 | # Applications 25 | # Set to their own variable name to use system wide defaults 26 | # 27 | # tui-web 28 | BROWSER_CLI=$BROWSER_CLI 29 | BROWSER_GUI=$BROWSER_GUI 30 | 31 | # tui-download 32 | CURLWGET=$CURLWGET 33 | 34 | # tui-edit 35 | EDITOR_CLI=$EDITOR_CLI 36 | EDITOR_GUI=$EDITOR_GUI 37 | 38 | # tui-filemgr 39 | FILEMGR_GUI=$FILEMGR_GUI 40 | FILEMGR_CLI=$FILEMGR_CLI 41 | 42 | # tui-terminal 43 | TERMINAL=$TERMINAL 44 | -------------------------------------------------------------------------------- /conf.home/settings.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file 20 | # 21 | # 22 | # This file is part of the 'tui' package and is ment to be changed. 23 | # It provides some basic settings to some tui- 24 | # 25 | # 26 | # As Root extension 27 | # 28 | useSudo=true 29 | # 30 | # Tarball extension 31 | # Supported Options: tar.bz2, tar.gz, tar.xz 32 | # 33 | TAR_EXT=tar.gz 34 | # 35 | # DD extension 36 | # Blocksize, how large is the block it reads & writes at once 37 | # Options (examples): 512 (bytes), 1K, 2M, 3G 38 | # 39 | DD_BS=4M 40 | # 41 | # Browser extension 42 | # tui-browser expects bash scripts as only files, 43 | # change this value to have future tui-browser projects automaticly expect another shell. 44 | # 45 | USER_SHELL=bash 46 | # 47 | # New-* extensions 48 | # 49 | default_new_browser_dir=$HOME/projects 50 | default_new_browser_manpage_create=true 51 | default_new_browser_manpage_type=application 52 | default_new_manpage_type=minimal 53 | default_new_script_manpage_ask=true 54 | default_new_script_type=empty 55 | # 56 | # System its read features 57 | # Does your read builtin provide '-n NUM' or '-T NUM'? 58 | # 59 | select_read_numbers= 60 | select_read_timeout= 61 | # 62 | # Additional Settings 63 | # 64 | -------------------------------------------------------------------------------- /conf.home/user.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file - User 20 | # 21 | USER_NAME="${USER}" 22 | # 23 | # Additional information 24 | # This will be used as defaults for new script headers and manpages (tui-new-*) 25 | # 26 | USER_EMAIL="$USER_NAME@${HOSTNAME}" 27 | USER_HOMEPAGE="" 28 | # 29 | # License information 30 | # This will be used as defaults for new script headers and manpages (tui-new-*) 31 | # 32 | DEFAULT_LICENSE="${DEFAULT_LICENSE}" 33 | DEFAULT_LICENSE_URL="${DEFAULT_LICENSE_URL}" 34 | -------------------------------------------------------------------------------- /conf.tui/apps.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file - Apps 20 | # 21 | # 22 | # This file is part of the 'tui' package and is ment to be changed. 23 | # 24 | # Default applications 25 | # 26 | # tui-web 27 | BROWSER_CLI=lynx 28 | BROWSER_GUI=icecat 29 | 30 | # tui-download 31 | CURLWGET=curl 32 | 33 | # tui-edit 34 | EDITOR_CLI=nano 35 | EDITOR_GUI=gedit 36 | 37 | # tui-filemgr 38 | FILEMGR_GUI=nautilus 39 | FILEMGR_CLI=tui-browser 40 | 41 | # tui-terminal 42 | TERMINAL=xterm 43 | -------------------------------------------------------------------------------- /conf.tui/colors.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file - Colors 20 | # 21 | # 22 | # This file is not ment to be changed! 23 | # 24 | # 25 | # Reset to terminal defaults 26 | # 27 | TUI_RESET="\033[0m" # This is just for lazy ones 28 | TUI_COLOR_RESET="\033[0m" 29 | TUI_COLOR_RESET="\033[0m" 30 | TUI_COLOR_INVERT="\033[7m" 31 | # 32 | # Font modes 33 | # 34 | TUI_FONT_BOLD="\033[1m" 35 | TUI_FONT_STROKE="\033[9m" 36 | TUI_FONT_UNDERLINE="\033[4m" 37 | # 38 | # Colors: FOREGROUND (old:strong) 39 | # 40 | TUI_COLOR_FG_BLACK="\033[30m" 41 | TUI_COLOR_FG_WHITE="\033[37m" 42 | TUI_COLOR_FG_GREEN="\033[32m" 43 | TUI_COLOR_FG_CYAN="\033[36m" 44 | TUI_COLOR_FG_RED="\033[31m" 45 | TUI_COLOR_FG_BLUE="\033[34m" 46 | TUI_COLOR_FG_YELLOW="\033[33m" 47 | TUI_COLOR_FG_PURPLE="\033[35m" 48 | TUI_COLOR_FG_GREY="\033[38m" 49 | # 50 | # Colors: BACKGROUND (old:strong) 51 | # 52 | TUI_COLOR_BG_BLACK="\033[40m" 53 | TUI_COLOR_BG_WHITE="\033[47m" 54 | TUI_COLOR_BG_GREEN="\033[42m" 55 | TUI_COLOR_BG_CYAN="\033[46m" 56 | TUI_COLOR_BG_RED="\033[41m" 57 | TUI_COLOR_BG_BLUE="\033[44m" 58 | TUI_COLOR_BG_YELLOW="\033[43m" 59 | TUI_COLOR_BG_PURPLE="\033[45m" 60 | TUI_COLOR_BG_GREY="\033[48m" -------------------------------------------------------------------------------- /conf.tui/commands.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file - Commands 20 | # 21 | # 22 | # This file is part of the 'tui' package and is NOT ment to be changed, 23 | # with the exception of 'AWK' on Solaris systems. 24 | # 25 | # On most *nix style systems, this file is NOT required to modified in any way. 26 | # However, Solaris users might apreciate it, so they can 'fix' the commands used by TUI internaly. 27 | # 28 | # The default works fine with: 29 | # * GNU Awk 4.1.3, API: 1.1 30 | # * GNU bash 4.3.41(1) 31 | # * GNU grep 2.21 32 | # * GNU sed 4.2.2 33 | # On Fedora, they are part of the 'coreutils' package. 34 | # 35 | # This is just ment as failsafe if PATH is not set 36 | # to get the most elementary basics on/of most systems 37 | PATH="${PATH:-/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$BINDIR:$SBINDIR:$OS_DIR_BIN:$OS_DIR_SBIN}" 38 | # Make sure PAGER is set to something, MORELESS is just ment as another failsafe 39 | which less 2>/dev/zero | read -r MORELESS 40 | [ -z "$MORELESS" ] && which more 2>/dev/zero | read -r MORELESS 41 | # 42 | # Default commands 43 | # 44 | # This is to bypass aliases, the leading backslash is required! 45 | GREP=\grep 46 | LS=\ls 47 | READ=\read 48 | SED=\sed 49 | SU=\su 50 | SUDO=\sudo 51 | PAGER=${PAGER:-$MORELESS} 52 | 53 | # Solaris/SunOS 54 | # - Use either one of :: /usr/xpg4/bin/awk , /usr/xpg6/bin/awk or nawk 55 | AWK=\gawk 56 | 57 | -------------------------------------------------------------------------------- /conf.tui/settings.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file - Settings 20 | # 21 | # 22 | # This file is part of the 'tui' package and is ment to be changed. 23 | # It provides some basic settings to some tui- 24 | # 25 | # 26 | # As Root extension 27 | # 28 | useSudo=true 29 | # 30 | # Tarball extension 31 | # Supported Options: tar.bz2, tar.gz, tar.xz 32 | # 33 | TAR_EXT=tar.gz 34 | # 35 | # DD extension 36 | # Blocksize, how large is the block it reads & writes at once 37 | # Options (examples): 512 (bytes), 1K, 2M, 3G 38 | # 39 | DD_BS=4M 40 | # 41 | # Browser extension 42 | # tui-browser expects bash scripts as only files, 43 | # change this value to have future tui-browser projects automaticly expect another shell. 44 | # 45 | USER_SHELL=bash 46 | # 47 | # New-* extensions 48 | # 49 | default_new_browser_dir=$HOME/Projects 50 | default_new_browser_manpage_create=true 51 | default_new_browser_manpage_type=application 52 | default_new_manpage_type=minimal 53 | default_new_script_manpage_ask=true 54 | default_new_script_type=empty 55 | # 56 | # Additional Settings 57 | # 58 | -------------------------------------------------------------------------------- /conf.tui/shorts-alias.conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # ------------------------------------------------------------------------ 3 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 4 | # All rights reserved. 5 | # 6 | # This program is free software: you can redistribute it and/or modify it 7 | # under the terms of the GNU General Public License as published 8 | # by the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see 18 | # ------------------------------------------------------------------------ 19 | # 20 | # TUI - Configuration file - Shorts : Abrevihations 21 | # 22 | # COMMANDS 23 | # Since it is BASH, one can use alias' 24 | # 25 | alias \ 26 | tp=tui-printf 27 | alias \ 28 | te=tui-echo 29 | alias \ 30 | th=tui-header 31 | alias \ 32 | tt=tui-title 33 | alias \ 34 | tc=tui-cat 35 | alias \ 36 | ts=tui-select 37 | alias \ 38 | ce=tui-conf-editor 39 | alias \ 40 | cg=tui-conf-get 41 | alias \ 42 | cs=tui-conf-set 43 | # 44 | # COMMANDS : Specials 45 | # 46 | alias \ 47 | editor=tui-edit 48 | alias \ 49 | ext=tui-str-extension 50 | alias \ 51 | input=tui-read 52 | alias \ 53 | list=tui-list 54 | alias \ 55 | press=tui-press 56 | alias \ 57 | progress=tui-progress 58 | alias \ 59 | rnd=tui-rnd 60 | alias \ 61 | status=tui-status 62 | alias \ 63 | typewriter='tui-cat -t' 64 | alias \ 65 | wait=tui-wait 66 | alias \ 67 | yn=tui-yesno 68 | -------------------------------------------------------------------------------- /conf.tui/shorts.conf: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # ------------------------------------------------------------------------ 3 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 4 | # All rights reserved. 5 | # 6 | # This program is free software: you can redistribute it and/or modify it 7 | # under the terms of the GNU General Public License as published 8 | # by the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see 18 | # ------------------------------------------------------------------------ 19 | # 20 | # TUI - Configuration file - Shorts : Abrevihations 21 | # 22 | # COLORS 23 | # 24 | # General 25 | c_invert="$TUI_COLOR_INVERT" 26 | c_reset="$TUI_COLOR_RESET" 27 | # Backgrounds 28 | cb_black="$TUI_COLOR_BG_BLACK" 29 | cb_blue="$TUI_COLOR_BG_BLUE" 30 | cb_cyan="$TUI_COLOR_BG_CYAN" 31 | cb_green="$TUI_COLOR_BG_GREEN" 32 | cb_grey="$TUI_COLOR_BG_GREY" 33 | cb_purple="$TUI_COLOR_BG_PURPLE" 34 | cb_red="$TUI_COLOR_BG_RED" 35 | cb_white="$TUI_COLOR_BG_WHITE" 36 | # Foregrounds (font) 37 | cf_black="$TUI_COLOR_FG_BLACK" 38 | cf_blue="$TUI_COLOR_FG_BLUE" 39 | cf_cyan="$TUI_COLOR_FG_CYAN" 40 | cf_green="$TUI_COLOR_BG_GREEN" 41 | cf_grey="$TUI_COLOR_FG_GREY" 42 | cf_purple="$TUI_COLOR_FG_PURPLE" 43 | cf_red="$TUI_COLOR_FG_RED" 44 | cf_white="$TUI_COLOR_FG_WHITE" 45 | # 46 | # FONT 47 | # 48 | fnt_bold="$TUI_FONT_BOLD" 49 | fnt_stroke="$TUI_FONT_STROKE" 50 | fnt_underline="$TUI_FONT_UNDERLINE" 51 | # 52 | # DIRECTORIES 53 | # 54 | # Public / XDG 55 | TMPDIR="$TUI_DIR_TEMP" 56 | LOGDIR="$TUI_DIR_LOGS" 57 | # Internal / TUI 58 | # CFGDIR="$TUI_DIR_USER" 59 | # LSTDIR="$TUI_DIR_LISTS" 60 | # TPLDIR="$TUI_DIR_TEMPLATES" 61 | # 62 | # FILES 63 | # 64 | TMPFILE="$TUI_FILE_TEMP" 65 | -------------------------------------------------------------------------------- /conf.tui/tui.conf: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------ 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # ------------------------------------------------------------------------ 18 | # 19 | # TUI - Configuration file - Default root settings 20 | # 21 | # This file is part of the 'tui' package 22 | # and is not ment to be changed. 23 | # 24 | # After changing It is highly recomended to create and change 25 | # custom configuration using 'tui'. 26 | # 27 | # System administrators may change system wide settings here. 28 | # You'll find the user.conf template in $TUI_DIR_SYSTEM/conf.home 29 | # 30 | # 31 | # Theme 32 | # 33 | THEME=default-red 34 | # 35 | # User 'data' 36 | # 37 | DEFAULT_LICENSE="GNU General Public License (GPL)" 38 | DEFAULT_LICENSE_URL="http://www.gnu.org/licenses/gpl.html" 39 | USER_NAME=".·: ROOT :·." 40 | USER_EMAIL="root@127.0.0.1" -------------------------------------------------------------------------------- /docs/AUTHORS.md: -------------------------------------------------------------------------------- 1 | Authors 2 | ======= 3 | 4 | DATE | Surname, Fam Name | Email | Desc 5 | ----------|---------------------------|-----------------------|------ 6 | (1995) 2011-2015 | Simon Arjuna, Erat | erat.simon@gmail.com | Initial idea and realisation -------------------------------------------------------------------------------- /docs/CONFIG.md: -------------------------------------------------------------------------------- 1 | This document is about how to install GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 2 | 3 | Configuration: 4 | -------------- 5 | 6 | Since TUI is meant have a minimalists approach, there is not much to configure. 7 | However, you do so by calling: 8 | 9 | tuirc config 10 | 11 | There will be these to change: 12 | 1. $TUI\_THEME, to define the colors for tui-{header,title} and the borders printed in $HOME/.tuirc 13 | 2. ${EDITOR,BROWSER,FILEMGR}\_{CLI,GUI}, $TERMINAL as the favorite applications for their representing task in **$TUI\_FILE\_USER\_APPS** 14 | 3. $USER\_{EMAIL,NAME,HOMEPAGE}, and $DEFAULT\_LICENSE[\_URL] which will be used in new scripts in **$TUI\_FILE\_USER** 15 | 4. There are settings like, $TAR\_EXT, $DD\_BS, $USER\_SHELL or $useSudo in **$TUI\_FILE\_USER\_SETTINGS** 16 | 17 | 18 | However, you may access the files directly as well, on a default installation, you will find them at these places: 19 | System wide settings are located in: /etc/tui 20 | User template configuration file: /usr/share/tui 21 | User configuration actually is in: $HOME/.config/tui 22 | The RC file providing the theme and all the dir and file variables, is always in **$HOME/.tuirc** 23 | -------------------------------------------------------------------------------- /docs/INSTALL.md: -------------------------------------------------------------------------------- 1 | This document is about how to install TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 2 | 3 | INSTALL 4 | ------- 5 | 6 | 1. The installation procedure is very simple, first log in as root, and change to the base source directory. 7 | 8 | su 9 | cd /usr/src 10 | 11 | 2. Clone the source code into a sub directory and change to it. 12 | 13 | git clone https://github.com/sri-arjuna/tui.git 14 | cd tui 15 | 16 | 3. Use the auto-tools behaviour, provided by [YASSI (Yet Another Simple Script Installer)](https://github.com/sri-arjuna/yassi) 17 | 18 | ./configure [--prefix=/usr] [--chroot=$HOME/buildroot] 19 | 20 | 21 | You may then call either 22 | 23 | make && sudo make install-all 24 | 25 | or 26 | 27 | ./make 28 | sudo ./make-install-all 29 | 30 | 31 | 32 | UNINSTALL 33 | --------- 34 | 35 | 1. Change to the source dir as root. 36 | 37 | su 38 | cd /usr/src/tui 39 | 40 | 2. Use the auto-tools behaviour by either invoking: 41 | 42 | 43 | make uninstall 44 | 45 | or 46 | 47 | ./make-uninstall 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /docs/NEWS: -------------------------------------------------------------------------------- 1 | 2015.11.27 2 | ---------- 3 | Documentation, such as info, html and manpages, 4 | are no longer needed to create upon installation. 5 | 6 | Made make work. 7 | 8 | 9 | 2015.11.18 10 | ---------- 11 | RENAMED: tui-echo --> tui-print 12 | RENAMED: tui-printf --> tui-printline 13 | RENAMED: tui-cat --> tui-printfile 14 | A symlink is currently preserved to keep existing scripts working. 15 | 16 | 17 | 2015.10.04 18 | ---------- 19 | As i was told that only the screenshot copyright and licensing thing 20 | was holding back the approval of the project, me decided to remove them 21 | alltogether, as they were outdated anyway. 22 | 23 | tui-conf-editor finally comes close to what I initialy wanted it to become. 24 | Please see either its help screen ("tui-conf-editor -h") or "info tui-conf-editor" for more details. 25 | 26 | 27 | 2015.09.27 28 | ---------- 29 | Releasing TUI 0.8.9-GNU-RC16, which now has been stripped off no longer used files. 30 | Basicly, this release contains only the changes/tasks from https://savannah.gnu.org/task/?13746#comment2 31 | 32 | As stated in some previous release notes 'tui' was renamed back to 'tui-browser'. 33 | The symlink provided for an easier moving is now removed. 34 | 35 | With the final big change on the help-screen of all the tui-'s the old manpages are now merged into the current help screens, 36 | this only means that the new manpages will be generated from the current help screen of the current command. 37 | 38 | With the faith that these updates will help to pass the GNU evaluation, 39 | the mandatory upcoming GNU TUI 0.9.0 will then contain the updated URL 40 | when it is hosted on http://www.gnu.org/software/tui 41 | 42 | Then, i will take a little break. 43 | Afterwich the hughe updates of tui-browser and tui-conf-editor will follow. 44 | Meanwhile, i'll be working on tui-str-key, and extract some functions of tui-list. 45 | 46 | 47 | 2015.07.15 48 | ---------- 49 | Configure and learn about TUI using 'tuirc'. 50 | 51 | I want to keep the 'docs' dynamic. 52 | Even as the initial texinfo file is accomplished, samples for all commands are still on the task list. 53 | Some are already available. 54 | 55 | See either 'tuirc html' or 'tuirc info' for general information on the usage of TUI. 56 | See 'tuirc samples' for some more detailed and practical instructions. 57 | 58 | 59 | 2015.07.13 60 | ---------- 61 | Fixed some seriously (only visual) annoying issues upon first usage. 62 | 63 | 64 | 2015.07.11 65 | ---------- 66 | The new installation method is using the automake tools 67 | 68 | ./configure && make && sudo make install) 69 | 70 | for a better alignment with install procedure of other GNU/Linux projects. 71 | 72 | 73 | 2015.06.30 74 | ---------- 75 | NAME CHANGES!!!! 76 | tui -> tuirc 77 | tui-browser -> tui 78 | tui-psm -> tui-bgjob-mgr 79 | tui-str-encrypt -> tui-str-hash 80 | -------------------------------------------------------------------------------- /docs/samples/tui_asroot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-asroot" 4 | tui-title "Basic invocation" 5 | tui-asroot "sh ./script.sh" 6 | 7 | tui-title "Example 2" 8 | tui-asroot "echo \$(whoami)" 9 | 10 | tui-title "Example 3" 11 | tui-asroot "echo \$USER" 12 | 13 | tui-title "Example 4" 14 | tui-asroot "[ -r /etc/fstab ] ; tui-status \$? 'Can read from /etc/fstab'" 15 | -------------------------------------------------------------------------------- /docs/samples/tui_browser: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | # 4 | # Variables 5 | # 6 | IAM_SAMPLE="${0##*/}" 7 | DE=$(tui-bol-gui -v) 8 | MENU=$HOME/bin 9 | 10 | tui-title "$IAM_SAMPLE samples" 11 | # 12 | # Start browsing using the current path as 'virtual root' 13 | # 14 | tui-title "Sample: #1" 15 | tui-browser 16 | tui-wait 5 "Look at the blue bar, left and right - and the 'content'..." 17 | 18 | # 19 | # Apply custom labels and define a virtual root 20 | # 21 | tui-echo 22 | tui-title "Sample: #2" 23 | tui-wait 3 "They become changed now, hope $MENU exists and has content..." 24 | tui-browser -T "Sample Title" \ 25 | -U "${DE:-console}" \ 26 | -p "$MENU" 27 | # 28 | # Change to text mode and change default labels 29 | # 30 | tui-echo 31 | tui-title "Sample: #3" 32 | tui-wait 2 "Introducing text mode" 33 | tui-wait 5 "Type: 'q' [enter] to quit or 'b' [enter] to leave a sub dir" 34 | tui-browser -T "Sample Title" \ 35 | -U "${DE:-console}" \ 36 | -p "$MENU" \ 37 | -m \ 38 | -D "Sample Dir Section" \ 39 | -F "Sample File Section" 40 | # 41 | # Apply custom labels and define a virtual root 42 | # Also force tui-browser to execute found scripts with a custom shell (ksh) 43 | # Sourced the config file and sources either the file passed to -s, 44 | # or source all files found in the path passed to -s. 45 | # It will then provide all variables they contain to all scripts executed by tui-browser 46 | # Functions are in progress, but their recognition doesn't always work 47 | # 48 | tui-echo 49 | tui-title "Sample: #4" 50 | tui-wait 3 "Using a config file, and source 'libraries', and use ksh to execute found scripts" 51 | tui-browser -T "Sample Title" \ 52 | -U "${DE:-console}" \ 53 | -p "$MENU" \ 54 | -c "$HOME/.tuirc 55 | -s $(tui-conf-get $HOME/.tuirc TUI_DIR_CONF) \ 56 | -x ksh -------------------------------------------------------------------------------- /docs/samples/tui_edit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-edit" 4 | 5 | tui-title "Basic invocation" 6 | tui-edit filename.txt 7 | 8 | tui-title "Example 2" 9 | source tuirc 10 | tui-edit "$TUI_CONF_USER" 11 | 12 | tui-title "Example 3" 13 | tui-edit /etc/fstab -------------------------------------------------------------------------------- /docs/samples/tui_filemgr: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-filemgr" 4 | 5 | tui-title "Basic invocation" 6 | tui-filemgr . 7 | 8 | tui-title "Example 2" 9 | tui-filemgr "$HOME" 10 | 11 | tui-title "Example 3" 12 | source tuirc 13 | tui-filemgr "$TUI_DIR_USER_SCRIPTS" -------------------------------------------------------------------------------- /docs/samples/tui_list: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | # 4 | # Vars 5 | # 6 | LETTERS="$(echo {a..g})" 7 | NUMBERS="$(echo {25..42})" 8 | # 9 | # Action 10 | # 11 | tui-title "Single column" 12 | tui-list -1 $LETTERS 13 | 14 | tui-title "Two columns numbered 15 | tui-list -2n $LETTERS 16 | 17 | tui-title "Automatic columns numbered with roman letters" 18 | tui-list -r $LETTERS 19 | 20 | tui-title "Two columns with alpha numeric numbering" 21 | tui-list -2a $NUMBERS 22 | 23 | tui-title "List content of current directory" 24 | ls | tui-list -n1 -------------------------------------------------------------------------------- /docs/samples/tui_print: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-print" 4 | 5 | tui-title "Basic invocation" 6 | MSG="Print a line that replaced by the next, loop count:" 7 | C=0 8 | while [ $C -lt 25 ] 9 | do tui-print "$MSG $C" 10 | ((C++)) 11 | sleep 0.05 12 | done 13 | printf '\n' 14 | tui-echo 15 | 16 | tui-title "Example 2" 17 | MSG="Can be used to illustrate the exit codes of tui-status, without the actual exit codes" 18 | C=0 19 | while [ $C -lt 131 ] 20 | do tui-print -rS $C "$MSG $C" 21 | case $C in 22 | 0|1|2|3|4|5|6|7|10|11|99|111|127|130) 23 | sleep 0.7 24 | ;; 25 | esac 26 | ((C++)) 27 | 28 | done 29 | 30 | tui-title "Example 3" 31 | tui-print -E "It is tui-echo as well" 32 | 33 | tui-title "Example 4" 34 | tui-print -T "Or tui-title" 35 | 36 | tui-title "Example 5" 37 | tui-print -E "" "Apply some" "custom alignment" 38 | 39 | tui-title "Example 6" 40 | tui-print -rS 111 "Or even tui-status..." 41 | tui-print -S 99 Hope, "this helps" 42 | -------------------------------------------------------------------------------- /docs/samples/tui_printfile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-printfile" 4 | 5 | tui-title "Basic invocation" 6 | tui-printfile /etc/fstab 7 | 8 | tui-title "Example 2" 9 | grep -i boot /etc/fstab | tui-printfile 10 | 11 | tui-title "Example 3" 12 | tui-typewriter -t "Hello $USER, how are you today?" 13 | 14 | tui-title "Example 4" 15 | source tuirc 16 | head $DOCDIR/README.md | tui-typewriter -d 0.02 17 | -------------------------------------------------------------------------------- /docs/samples/tui_progress: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-progress" 4 | tui-title "Basic invocation" 5 | for f in *;do tui-progress "Message to user" ; sleep 0.1 ;done 6 | printf "\n" 7 | 8 | tui-title "Example 2 : Auto Increasing Number" 9 | filecount=$(ls | wc -l) 10 | tui-progress -r 11 | for this_file in *;do 12 | tui-progress -m $filecount "Working on file: $this_file" 13 | sleep 0.3 14 | done 15 | printf "\n" 16 | 17 | tui-title "Example 3 : Progressbar" 18 | MAX=21 19 | COUNT=0 20 | while [ $COUNT -le $MAX ];do 21 | tui-progress -lbm $MAX -c $COUNT "Message to user" 22 | sleep 0.1 23 | ((COUNT++)) 24 | done 25 | printf "\n" 26 | 27 | -------------------------------------------------------------------------------- /docs/samples/tui_read: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | # 4 | # Variables 5 | # 6 | IAM_SAMPLE="${0##*/}" 7 | tui-title "$IAM_SAMPLE samples" 8 | # 9 | # List entries of a list 10 | # 11 | tui-title "Sample: #1" 12 | str=$(tui-read "Enter some text") 13 | # 14 | # Print the list with 2 columns with roman counting 15 | # 16 | tui-echo 17 | tui-title "Sample: #2" 18 | eye_color=$(tui-read "What is your eyecolor?") 19 | tui-echo "Your eyecolor is:" "$eye_color" 20 | # 21 | # Print the list with 1 columns with alphabetic counting 22 | # 23 | tui-echo 24 | tui-title "Sample: #3" 25 | password=$(tui-read -p "Enter a theoretical password:" ) 26 | tui-echo "The password is:" "$password" 27 | 28 | -------------------------------------------------------------------------------- /docs/samples/tui_select: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | # 4 | # Variables 5 | # 6 | IAM_SAMPLE="${0##*/}" 7 | LIST="one two three four five six seven eight nine ten eleven twelve" 8 | tui-title "$IAM_SAMPLE samples" 9 | # 10 | # select entries of a list 11 | # 12 | tui-title "Sample: #1" 13 | tui-select $LIST 14 | # 15 | # Print the list with 2 columns 16 | # 17 | tui-echo 18 | tui-title "Sample: #2" 19 | value=$(tui-select -2 $LIST) 20 | tui-status $? "Selected value:" "$value" 21 | # 22 | # Print the list with 1 column 23 | # 24 | tui-echo 25 | tui-title "Sample: #3" 26 | value=$(tui-select -1 $LIST) 27 | tui-status $? "Selected:" "$value" 28 | # 29 | # Get a looped menu 30 | # 31 | tui-echo 32 | tui-title "Sample: #4" 33 | while var=$(tui-select $LIST Back) 34 | [ ! Back = "$var" ] 35 | do tui-title "You need to go 'Back' here :p" 36 | tui-wait 3 "Do your code here... '\$var' is: \"$var\"..." 37 | done -------------------------------------------------------------------------------- /docs/samples/tui_status: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | # 4 | # Action & Display 5 | # 6 | tui-title "Basic code example using: tui-status" 7 | 8 | # Simple Call : 1 9 | # --------------- 10 | # Simply check how previous command was executed, this will fail 11 | (set -x;grep SOMETHING /etc/fstab) 12 | tui-status $? "Last command exit code was: $(tui-str-bol-conv -d $?)" 13 | 14 | 15 | # Simple Call : 2 16 | # --------------- 17 | # Same as above, but use the failing exit code to exit the script 18 | tui-yesno "Continue with demo?" 19 | tui-status $? "Your answer was: $(tui-str-bol-conv $?)" || exit $? 20 | 21 | 22 | # Simple condition 23 | # --------------- 24 | # Lets define a string and return/exit code according to user choice 25 | if tui-yesno "Continue with demo?" 26 | then msg="Lets go on..." 27 | RET=0 28 | else msg="Farewell then..." 29 | RET=1 30 | fi 31 | # Then print it and do actions according to RET value 32 | if tui-status $RET "$msg" 33 | then tui-echo "Thanks for running this demo!" 34 | else exit $? 35 | fi 36 | 37 | 38 | # Complex usages : 1 39 | # ------------------ 40 | # Lets use tui-status within a loop, in two different ways. 41 | tui-title "Creating list:" 42 | for item in *;do tui-status 4 "* Found: $item" ;done 43 | # Minimise line usage 44 | tui-title "Staying on one line:" 45 | for item in *;do tui-status -r 4 "* Found: $item" ;done ; printf "\n" 46 | 47 | 48 | # Complex usages: 2 49 | # ----------------- 50 | grep TIME /etc/default/grub && \ 51 | tui-print -S $? "Found a grub theme!" && \ 52 | tui-echo "It is: $(tui-conf-get /etc/default/grub GRUB_TIMEOUT)" || \ 53 | tui-status $? "Could not find THEME in /etc/default/grub" -------------------------------------------------------------------------------- /docs/samples/tui_template: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | tui-header "TUIRC - Samples" "tui-$1" 4 | 5 | tui-title "Basic invocation" 6 | tui-$1 7 | 8 | tui-title "Example 2" 9 | tui-$1 10 | 11 | tui-title "Example 3" 12 | tui-$1 13 | 14 | tui-title "Example 4" 15 | tui-$1 16 | 17 | tui-title "Example 5" 18 | tui-$1 19 | 20 | tui-title "Example 6" 21 | tui-$1 22 | -------------------------------------------------------------------------------- /docs/samples/tui_yesno: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # This file belongs to the package GNU TUI (0.9.0 or later), which is copyrighted by the GPLv3 (or later). 3 | IAM_SAMPLE="${0##*/}" 4 | tui-title "$IAM_SAMPLE samples" 5 | 6 | # 7 | # Can be used line after line 8 | # 9 | tui-echo "Sample: #1" 10 | tui-yesno "Ask a question to answer with yes or no?" 11 | tui-echo "Your answer was: $(tui-str-bol-conv $?)" 12 | # 13 | # Regular if block, with very simple condition inside 14 | # 15 | tui-echo 16 | tui-echo "Sample: #2" 17 | if tui-yesno "Try something more complex?" 18 | then tui-yesno "Show FSTAB?" && tui-printfile /etc/fstab 19 | tui-yesno "Show crypttab?" && tui-asroot tui-printfile /etc/crypttab 20 | else tui-status 4 "You skipped the fs/crypt-tab display." 21 | fi 22 | # 23 | # Very Simple condition 24 | # 25 | tui-echo 26 | tui-echo "Sample: #3" 27 | tui-yesno "Show uname info?" && uname -a 28 | # 29 | # Simple condition 30 | # 31 | tui-echo 32 | tui-echo "Sample: #4" 33 | tui-yesno "Quit script now with success?" && \ 34 | tui-status $? "Yay all good on exit!" || \ 35 | tui-status $? "Script ending now with a failure!" 36 | exit $? 37 | -------------------------------------------------------------------------------- /docs/tex/_version.texi: -------------------------------------------------------------------------------- 1 | @set VERSION 0.9.0 2 | @set UPDATED 2015.12.05 3 | -------------------------------------------------------------------------------- /lists/editor_cli: -------------------------------------------------------------------------------- 1 | emacs 2 | vim 3 | nano 4 | vi 5 | -------------------------------------------------------------------------------- /lists/editor_gui: -------------------------------------------------------------------------------- 1 | brackets 2 | code-editor 3 | editplus 4 | geany 5 | notepadqq 6 | notepad 7 | emacs 8 | pluma 9 | gedit 10 | kedit 11 | nedit 12 | leafpad 13 | scribes 14 | sublime 15 | -------------------------------------------------------------------------------- /lists/filemgr_cli: -------------------------------------------------------------------------------- 1 | ranger 2 | mc 3 | fd 4 | fdclone 5 | vifm 6 | -------------------------------------------------------------------------------- /lists/filemgr_gui: -------------------------------------------------------------------------------- 1 | pcmanfm 2 | thunar 3 | nautilus 4 | dolphin 5 | konquerer 6 | krusader 7 | xfe 8 | 4pane 9 | gentoo 10 | filerunner 11 | -------------------------------------------------------------------------------- /lists/terminals: -------------------------------------------------------------------------------- 1 | caja-open-terminal 2 | caja-terminal 3 | eterm 4 | fbterm 5 | fourterm 6 | gnome-terminal 7 | guake 8 | iterm 9 | kermit 10 | konsole5 11 | konsole 12 | lxterminal 13 | mate-terminal 14 | mrxvt 15 | pterm 16 | qterminal 17 | termit 18 | terminator 19 | urxvt 20 | uxterm 21 | vte 22 | xfce4-terminal 23 | -------------------------------------------------------------------------------- /lists/web_cli: -------------------------------------------------------------------------------- 1 | lynx 2 | elinks 3 | www 4 | w3m 5 | -------------------------------------------------------------------------------- /lists/web_gui: -------------------------------------------------------------------------------- 1 | icecat 2 | seamonkey 3 | epiphany 4 | konqueror 5 | midori 6 | safari 7 | opera 8 | firefox 9 | chromium-browser 10 | chrome 11 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-asroot.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-asroot:62 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-asroot:70 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Execute a command with root privileges\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-m \"MES SA GE\" ]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Enables the author of a script to make sure certain commands are executed " 45 | "with root account privileges.\n" 46 | " This helps the author of scripts to simplify the task to get done.\n" 47 | " \n" 48 | "OPTIONS\n" 49 | " -h|--help\tShows help and exit with 99\n" 50 | " --version\tShows version infoand exit with 0\n" 51 | " \n" 52 | " -m MSG\tPrints \"MSG\" before asking for a password\n" 53 | " \n" 54 | "ENVIRONMENT\n" 55 | " TERM\tIf TERM is not set, GNU TUI will set it to GNU Linux, this is " 56 | "required to determine wether GNU TUI runs in GUI or VT (cli only) mode.\n" 57 | " UID\tReads UID to determine wether the user is root or not.\n" 58 | " USER\tIf user is empty, it takes LOGINNAME to display the user name for " 59 | "sudo.\n" 60 | " \n" 61 | "EXAMPLE\n" 62 | "\n" 63 | "\ttui-asroot whoami\n" 64 | "\t\n" 65 | "\ttui-asroot \"cat /etc/passwd\"\n" 66 | "\n" 67 | "SEE ALSO\n" 68 | " su(1), sudo(1)\n" 69 | " \n" 70 | "BUGS\n" 71 | " Report bugs to: erat.simon@gmail.com\n" 72 | " GNU TUI - Homepage: \n" 73 | " General help using GNU software: \n" 74 | "\n" 75 | "AUTHOR\n" 76 | " This script ($ME, $script_version) was written by Simon Arjuna Erat from " 77 | "Switzerland.\n" 78 | msgstr "" 79 | 80 | #: bin/tui-asroot:112 81 | #, sh-format 82 | msgid "Please provide the password for $USER" 83 | msgstr "" 84 | 85 | #: bin/tui-asroot:113 86 | msgid "Please provide the password for root" 87 | msgstr "" 88 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-bol-dir.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-bol-dir:49 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-bol-dir:58 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Make sure DIR exist\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-cv] DIR\n" 42 | " \n" 43 | "\n" 44 | "DESCRIPTION\n" 45 | " Returns true (0) if DIR exists or could be created.\n" 46 | " Returns false (1) if DIR could not be created, or is a file\n" 47 | "\n" 48 | "OPTIONS\n" 49 | " -h|--help\tShows help and exit with 99\n" 50 | " --version\tShows version infoand exit with 0\n" 51 | " \n" 52 | " -c\t\tCount how many passed DIR do not exist, and use that as exit code\n" 53 | " -v\t\tBe verbose\n" 54 | " \n" 55 | "EXAMPLE\n" 56 | "\n" 57 | "\ttui-bol-dir -v *\n" 58 | "\t\n" 59 | "\ttui-bol-dir -cv /etc $HOME/.cache $HOME /fail1 /fail2\n" 60 | " \n" 61 | "BUGS\n" 62 | " Report bugs to: erat.simon@gmail.com\n" 63 | " \n" 64 | " GNU TUI - Homepage: \n" 65 | " \n" 66 | " General help using GNU software: \n" 67 | "\n" 68 | "AUTHOR\n" 69 | " Simon Arjuna Erat, \n" 70 | msgstr "" 71 | 72 | #: bin/tui-bol-dir:134 bin/tui-bol-dir:146 73 | #, sh-format 74 | msgid "Found link: $dir_name" 75 | msgstr "" 76 | 77 | #: bin/tui-bol-dir:140 78 | #, sh-format 79 | msgid "Found file: $dir_name" 80 | msgstr "" 81 | 82 | #: bin/tui-bol-dir:152 83 | #, sh-format 84 | msgid "Found path: $dir_name" 85 | msgstr "" 86 | 87 | #: bin/tui-bol-dir:161 88 | #, sh-format 89 | msgid "Successfully created: $dirname" 90 | msgstr "" 91 | 92 | #: bin/tui-bol-dir:162 93 | #, sh-format 94 | msgid "Could not create: $dir_name" 95 | msgstr "" 96 | 97 | #: bin/tui-bol-dir:168 98 | #, sh-format 99 | msgid "There has been $FAILED errors." 100 | msgstr "" 101 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-bol-gui.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-12-26 16:04+0100\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-bol-gui:61 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-bol-gui:69 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Returns true (0) if user is in GUI\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-v]\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | " -v\t\tDisplay the DE or WM name\n" 48 | " \n" 49 | "EXAMPLE\n" 50 | "\n" 51 | "\tif tui-bol-gui\n" 52 | "\tthen \tzenity --info --text=\"You are in GUI!\"\n" 53 | "\telse\ttui-print -E \"Your terminal say it is: \\044(tui-bol-gui -v)\"\n" 54 | "\t\n" 55 | "\tfi\n" 56 | "\n" 57 | "ENVIRONMENT\n" 58 | "XDG_CURRENT_DESKTOP\tWill return the Desktop Environment name on an X11 " 59 | "session\n" 60 | "DESKTOP_SESSION\t\tWill return the Desktop Environment name on any other " 61 | "session\n" 62 | " \n" 63 | "SEE ALSO\n" 64 | " bash(1)\n" 65 | " \n" 66 | "BUGS\n" 67 | " Report bugs to: \n" 68 | " \n" 69 | " TUI - Homepage: \n" 70 | " \n" 71 | " General help using GNU software: \n" 72 | "\n" 73 | "AUTHOR\n" 74 | " Simon Arjuna Erat, \n" 75 | msgstr "" 76 | 77 | #: bin/tui-bol-gui:148 78 | msgid "" 79 | "This sudo environment does not provide any DESKTOP_SESSION or " 80 | "XDG_CURRENT_DESKTOP variables." 81 | msgstr "" 82 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-bol-root.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-bol-root:59 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-bol-root:67 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Returns true if you are root\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-v]\n" 42 | " \n" 43 | " \n" 44 | "OPTIONS\n" 45 | " -h|--help\tShows help and exit with 99\n" 46 | " --version\tShows version infoand exit with 0\n" 47 | " \n" 48 | " -v\t\tBe Verbose\n" 49 | " \n" 50 | "EXAMPLE\n" 51 | "\n" 52 | "\ttui-bol-root && grep $USER_STRING /etc/passwd || tui-status 1 \"No Access" 53 | "\"\n" 54 | "\n" 55 | "BUGS\n" 56 | " Report bugs to: erat.simon@gmail.com\n" 57 | " \n" 58 | " GNU TUI - Homepage: \n" 59 | " \n" 60 | " General help using GNU software: \n" 61 | "\n" 62 | "AUTHOR\n" 63 | " Simon Arjuna Erat, \n" 64 | msgstr "" 65 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-conf-get.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-conf-get:50 21 | msgid "Get values from conf files" 22 | msgstr "" 23 | 24 | #: bin/tui-conf-get:51 25 | #, sh-format 26 | msgid "" 27 | "\n" 28 | "GNU TUI ($ME, Version $script_version) - BETA\n" 29 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 30 | "License GPLv3+: GNU GPL version 3 or later \n" 32 | "\n" 33 | "This is free software; you are free to change and redistribute it.\n" 34 | "There is NO WARRANTY, to the extent permitted by law.\n" 35 | msgstr "" 36 | 37 | #: bin/tui-conf-get:59 38 | #, sh-format 39 | msgid "" 40 | "\n" 41 | "NAME\n" 42 | " $ME - Gets a value from a configuration file\n" 43 | "\n" 44 | "SYNOPSYS\n" 45 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 46 | " \n" 47 | "OPTIONS\n" 48 | " -h|--help\tShows help and exit with 99\n" 49 | " --version\tShows version infoand exit with 0\n" 50 | " \n" 51 | " -i\t\tIs no longer case sensitive\n" 52 | " -l\t\tLists values available in the file\n" 53 | " -s\t\tUse more secure retrieval, but slightly slower\n" 54 | " \n" 55 | "EXAMPLE\n" 56 | "\n" 57 | "\t$ME -l $TUI_FILE_CONF_COMMANDS\n" 58 | "\t\n" 59 | "\tvalue=\\044($ME $TUI_FILE_CONF_COMMANDS PAGER)\n" 60 | "\t\n" 61 | " \n" 62 | "SEE ALSO\n" 63 | " bash(1), cat(1), gawk(1), grep(1)\n" 64 | " \n" 65 | "BUGS\n" 66 | " Report bugs to: erat.simon@gmail.com\n" 67 | " \n" 68 | " GNU TUI - Homepage: \n" 69 | " \n" 70 | " General help using GNU software: \n" 71 | "\n" 72 | "AUTHOR\n" 73 | " Simon Arjuna Erat, \n" 74 | msgstr "" 75 | 76 | #: bin/tui-conf-get:142 77 | #, sh-format 78 | msgid "$CONFFILE does not exist!" 79 | msgstr "" 80 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-conf-set.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-conf-set:50 21 | msgid "Save values to conf files" 22 | msgstr "" 23 | 24 | #: bin/tui-conf-set:51 25 | #, sh-format 26 | msgid "" 27 | "\n" 28 | "GNU TUI ($ME, Version $script_version)\n" 29 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 30 | "License GPLv3+: GNU GPL version 3 or later \n" 32 | "\n" 33 | "This is free software; you are free to change and redistribute it.\n" 34 | "There is NO WARRANTY, to the extent permitted by law.\n" 35 | msgstr "" 36 | 37 | #: bin/tui-conf-set:59 38 | #, sh-format 39 | msgid "" 40 | "\n" 41 | "NAME\n" 42 | " $ME - SHORTDESC\n" 43 | "\n" 44 | "SYNOPSYS\n" 45 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 46 | " \n" 47 | "DESCRIPTION\n" 48 | " desc\n" 49 | " \n" 50 | "OPTIONS\n" 51 | " -h|--help\tShows help and exit with 99\n" 52 | " --version\tShows version infoand exit with 0\n" 53 | " \n" 54 | " -i\t\tInternal search pattern is no longer case sensitive\n" 55 | " -l\t\tLists values available in the file\n" 56 | " -c\t\tWrites the VALUE, and stores VALUENAME in capital chars\n" 57 | " -s\t\tWrites the VALUE, and stores VALUENAME in lower chars\n" 58 | " -v\t\tPrints a status message whether or not the value could be saved\n" 59 | " \n" 60 | "EXAMPLE\n" 61 | "\n" 62 | "\t$ME -l /etc/default/grub \t\t\t| Prints a list of found variable-names\n" 63 | "\t\n" 64 | "\t$ME /etc/default/grub GRUB_TIMEOUT 15\t| Saves VALUENAME as passed " 65 | "(VALUENAME)\n" 66 | "\t\n" 67 | "\t$ME -ic /etc/default/grub grub_timeout 15\t| Saves valuename as VALUENAME\n" 68 | "\t\n" 69 | "\t$ME -i /etc/default/grub grub_timeout 15\t| Saves valuename as passed " 70 | "(valuename)\n" 71 | "\t\n" 72 | "\t$ME -is /etc/default/grub GRUB_TIMEOUT 15\t| Saves VALUENAME as valuename\n" 73 | "\n" 74 | "SEE ALSO\n" 75 | " bash(1), cat(1), gawk(1), grep(1), read(1), sed(1)\n" 76 | " \n" 77 | "BUGS\n" 78 | " Report bugs to: erat.simon@gmail.com\n" 79 | " \n" 80 | " GNU TUI - Homepage: \n" 81 | " \n" 82 | " General help using GNU software: \n" 83 | "\n" 84 | "AUTHOR\n" 85 | " Simon Arjuna Erat, \n" 86 | msgstr "" 87 | 88 | #: bin/tui-conf-set:163 89 | #, sh-format 90 | msgid "$ME: Requires 3 arguments: CONFFILE VARNAME VALUE" 91 | msgstr "" 92 | 93 | #: bin/tui-conf-set:265 94 | msgid "Saved in" 95 | msgstr "" 96 | 97 | #: bin/tui-conf-set:268 98 | #, sh-format 99 | msgid "Could not write to \\\"${CONFFILE}\\\"" 100 | msgstr "" 101 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-cp.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-11-20 22:38+0100\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-cp:48 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-cp:56 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Copy, TUI-Style\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-dflq] SOURCE1 [..] TARGET\n" 42 | "\n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | " In addition to the default options of \"cp\"\n" 48 | " \n" 49 | " (please see \"cp --help\"), you have these options:\n" 50 | " \n" 51 | " --dash\tSwitch to (animated) dash-mode\n" 52 | " --line\tPrint all items on one line.\n" 53 | " --long\tShow long names (full passed target path)\n" 54 | " \n" 55 | "EXAMPLE\n" 56 | "\ttui-cp * /path/to/destination[/file]\n" 57 | "\t\n" 58 | "\ttui-cp --long * /path/to/destination[/file]\n" 59 | "\t\n" 60 | "\ttui-cp --dash --line * /path/to/destination[/file]\n" 61 | " \n" 62 | "SEE ALSO\n" 63 | " bash(1), cp(1), tui-progress(1)\n" 64 | " \n" 65 | "BUGS\n" 66 | " Report bugs to: erat.simon@gmail.com\n" 67 | " \n" 68 | " TUI - Homepage: \n" 69 | " \n" 70 | " General help using GNU software: \n" 71 | "\n" 72 | "AUTHOR\n" 73 | " Simon Arjuna Erat, \n" 74 | msgstr "" 75 | 76 | #: bin/tui-cp:95 77 | msgid "Copying" 78 | msgstr "" 79 | 80 | #: bin/tui-cp:96 81 | msgid "Copied" 82 | msgstr "" 83 | 84 | #: bin/tui-cp:97 bin/tui-cp:313 85 | #, sh-format 86 | msgid "Copied $final_TOTAL of $MAX files to $TARGET" 87 | msgstr "" 88 | 89 | #: bin/tui-cp:241 90 | #, sh-format 91 | msgid "\\\"$thisFile\\\" exists, overwrite?" 92 | msgstr "" 93 | 94 | #: bin/tui-cp:254 95 | msgid "Reading" 96 | msgstr "" 97 | 98 | #: bin/tui-cp:264 99 | msgid "Skipped" 100 | msgstr "" 101 | 102 | #: bin/tui-cp:281 bin/tui-cp:282 103 | msgid "to" 104 | msgstr "" 105 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-download.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-download:56 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-download:64 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Download files from web\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] URL [URL2 ..]\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | "EXAMPLE\n" 48 | "\n" 49 | "\ttui-download https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.2.1.tar." 50 | "xz\n" 51 | "\n" 52 | "SEE ALSO\n" 53 | " bash(1), curl(1), wget(1), tui-download(1)\n" 54 | " \n" 55 | "BUGS\n" 56 | " Report bugs to: erat.simon@gmail.com\n" 57 | " \n" 58 | " GNU TUI - Homepage: \n" 59 | " \n" 60 | " General help using GNU software: \n" 61 | "\n" 62 | "AUTHOR\n" 63 | " Simon Arjuna Erat, \n" 64 | msgstr "" 65 | 66 | #: bin/tui-download:108 67 | msgid "Starting new download..." 68 | msgstr "" 69 | 70 | #: bin/tui-download:109 71 | msgid "Downloading..." 72 | msgstr "" 73 | 74 | #: bin/tui-download:110 75 | msgid "Downloaded" 76 | msgstr "" 77 | 78 | #: bin/tui-download:111 79 | msgid "Could find neither curl nor wget!" 80 | msgstr "" 81 | 82 | #: bin/tui-download:112 83 | msgid "Which one to install?" 84 | msgstr "" 85 | 86 | #: bin/tui-download:113 87 | msgid "Installing" 88 | msgstr "" 89 | 90 | #: bin/tui-download:114 91 | msgid "Installed" 92 | msgstr "" 93 | 94 | #: bin/tui-download:127 95 | msgid "Enter URL to download:" 96 | msgstr "" 97 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-edit.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-edit:59 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-edit:67 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Opens passed files in the favorite editor (gui/cli)\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [/path/to/]FILE [../]FILE2 ...\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Opens provided FILE/s in the preferred editor according to environment.\n" 45 | " In multi-user or emergency stage it will open \\\"$EDITOR_CLI\\\" and in " 46 | "graphical stage it will open \\\"$EDITOR_GUI\\\"\n" 47 | " \n" 48 | "OPTIONS\n" 49 | " -h|--help\tShows help and exit with 99\n" 50 | " --version\tShows version infoand exit with 0\n" 51 | " \n" 52 | "BUGS\n" 53 | " Report bugs to: erat.simon@gmail.com\n" 54 | " \n" 55 | " GNU TUI - Homepage: \n" 56 | " \n" 57 | " General help using GNU software: \n" 58 | "\n" 59 | "AUTHOR\n" 60 | " Simon Arjuna Erat, \n" 61 | msgstr "" 62 | 63 | #: bin/tui-edit:151 64 | #, sh-format 65 | msgid "" 66 | "No editor for $MODE mode could be found, please change \\" 67 | "\"$TUI_FILE_USER_APPS\\\" manually!" 68 | msgstr "" 69 | 70 | #: bin/tui-edit:159 71 | msgid "Opening:" 72 | msgstr "" 73 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-filemgr.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-filemgr:52 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-filemgr:60 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Opens passed directories in the favorite filemanager (gui/cli)\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [/path/to/]DIR [../]DIR2 ...\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Does only work in GUI, unless the end user (you) has a cli-filebrowser " 45 | "installed.\n" 46 | " Opens provided directories in the preferred file manager according to " 47 | "environment.\n" 48 | " In multi-user or emergency stage it will open \\\"$FILEMGR_CLI\\\" and in " 49 | "graphical stage it will open \\\"$FILEMGR_GUI\\\"\n" 50 | " \n" 51 | "OPTIONS\n" 52 | " -h|--help\tShows help and exit with 99\n" 53 | " --version\tShows version infoand exit with 0\n" 54 | " \n" 55 | "BUGS\n" 56 | " Report bugs to: erat.simon@gmail.com\n" 57 | " \n" 58 | " GNU TUI - Homepage: \n" 59 | " \n" 60 | " General help using GNU software: \n" 61 | "\n" 62 | "AUTHOR\n" 63 | " Simon Arjuna Erat, \n" 64 | msgstr "" 65 | 66 | #: bin/tui-filemgr:136 67 | #, sh-format 68 | msgid "" 69 | "No file manager for $MODE mode could be found, please change \\\"$CONF\\\" " 70 | "manually!" 71 | msgstr "" 72 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-header.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-header:46 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-header:54 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Prints borders and colors the full line\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [[-] | [str1] [str2] [str3]]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Prints one string on the left\n" 45 | " Prints two strings left and right\n" 46 | " Prints three strings left, entered and right\n" 47 | "\n" 48 | " Pass \\\"-\\\" to read input from pipe\n" 49 | " One can pass empty strings to align the desired output.\n" 50 | " \n" 51 | "OPTIONS\n" 52 | " -h|--help\tShows help and exit with 99\n" 53 | " --version\tShows version infoand exit with 0\n" 54 | " \n" 55 | " -\t\tRead input from pipe\n" 56 | " \n" 57 | "EXAMPLE\n" 58 | "\n" 59 | "\t$ME \"Hello World\"\n" 60 | "\t\n" 61 | "\t$ME \"\" \"im" 62 | msgstr "" 63 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-list.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-list:60 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-list:68 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - List items, with diffrent flavours of indexing\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " desc\n" 45 | " \n" 46 | "OPTIONS\n" 47 | " -h|--help\tShows help and exit with 99\n" 48 | " --version\tShows version infoand exit with 0\n" 49 | " \n" 50 | " -a\t\tUse letters instead of numbers\n" 51 | " -r\t\tUse roman letters instead of numbers (up to 3000 valid)\n" 52 | " -n\t\tUser regular numbers for counting\n" 53 | " -v\t\tPrint cancel option 0\n" 54 | " \n" 55 | "EXAMPLE\n" 56 | "\n" 57 | "\t$ME \\044LIST\n" 58 | "\t\n" 59 | "\t$ME -2r \"\\044{ARRAY[@]}\"\n" 60 | "\t\n" 61 | "\t$ME -1a \\044LIST\n" 62 | "\n" 63 | "BUGS\n" 64 | " Report bugs to: erat.simon@gmail.com\n" 65 | " \n" 66 | " GNU TUI - Homepage: \n" 67 | " \n" 68 | " General help using GNU software: \n" 69 | "\n" 70 | "AUTHOR\n" 71 | " Simon Arjuna Erat, \n" 72 | msgstr "" 73 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-log.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-log:75 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-log:84 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Create readable log files the easy way\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " desc\n" 45 | " \n" 46 | "OPTIONS\n" 47 | " -h|--help\tShows help and exit with 99\n" 48 | " --version\tShows version infoand exit with 0\n" 49 | " \n" 50 | " -e\t\tErease front, print MESSAGE in front\n" 51 | " -d\t\tAdds the DATE ($D) in front\n" 52 | " -t\t\tAdds the TIME ($T) in front\n" 53 | " -p ARG\tAdds the PID (ARG) in front\n" 54 | " -u\t\tAdds the USER ($USER) in front\n" 55 | " -s ARG\tChanges the the separator ($SEP) to ARG\n" 56 | " -v\t\tPrints the MESSAGE also to screen using tui-echo\n" 57 | " \n" 58 | "EXAMPLE\n" 59 | "\n" 60 | "\t$ME \\\"\\044LOG\\\" \\\"Message\\\"\n" 61 | "\t\n" 62 | "\t$ME -e \\\"/var/log/appname.log\\\" \\\"* Message\\\"\n" 63 | "\t\n" 64 | "\t$ME -dtp 15 \\\"LOGFILE\\\" \\\"Server started\\\"\n" 65 | "\t\n" 66 | "\t$ME -pu \\\"LOGFILE\\\" \\\"Changed background\\\"\n" 67 | "\n" 68 | "SEE ALSO\n" 69 | " bash(1), logger(1), \n" 70 | " \n" 71 | "BUGS\n" 72 | " Report bugs to: erat.simon@gmail.com\n" 73 | " \n" 74 | " GNU TUI - Homepage: \n" 75 | " \n" 76 | " General help using GNU software: \n" 77 | "\n" 78 | "AUTHOR\n" 79 | " Simon Arjuna Erat, \n" 80 | msgstr "" 81 | 82 | #: bin/tui-log:172 bin/tui-log:174 83 | #, sh-format 84 | msgid "Failed to create $LOG" 85 | msgstr "" 86 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-mv.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-11-20 22:38+0100\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-mv:52 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-mv:60 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - mv, TUI-Style\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | "\n" 47 | " In addition to the default options of \"mv\"\n" 48 | " \n" 49 | " (please see \"mv --help\"), you have these options:\n" 50 | " \n" 51 | " --dash\tSwitch to (animated) dash-mode\n" 52 | " --line\tPrint all items on one line.\n" 53 | " --long\tShow long names (full passed target path)\n" 54 | " \n" 55 | "EXAMPLE\n" 56 | "\ttui-mv * /path/to/destination[/file]\n" 57 | "\t\n" 58 | "\ttui-mv --long * /path/to/destination[/file]\n" 59 | "\t\n" 60 | "\ttui-mv --dash --line * /path/to/destination[/file]\n" 61 | "\n" 62 | "BUGS\n" 63 | " Report bugs to: erat.simon@gmail.com\n" 64 | " \n" 65 | " TUI - Homepage: \n" 66 | " \n" 67 | " General help using GNU software: \n" 68 | "\n" 69 | "AUTHOR\n" 70 | " Simon Arjuna Erat, \n" 71 | "\n" 72 | "Report bugs to: erat.simon@gmail.com\n" 73 | "TUI home page: \n" 74 | "General help using GNU software: \n" 75 | msgstr "" 76 | 77 | #: bin/tui-mv:257 78 | #, sh-format 79 | msgid "Reading $thisFile..." 80 | msgstr "" 81 | 82 | #: bin/tui-mv:264 83 | #, sh-format 84 | msgid "Skipped $thisFile." 85 | msgstr "" 86 | 87 | #: bin/tui-mv:292 88 | #, sh-format 89 | msgid "Moving to $display_trgt..." 90 | msgstr "" 91 | 92 | #: bin/tui-mv:293 93 | #, sh-format 94 | msgid "Moved to $display_trgt" 95 | msgstr "" 96 | 97 | #: bin/tui-mv:323 98 | #, sh-format 99 | msgid "Moved $TOTAL_COUNT of $MAX items to $TARGET" 100 | msgstr "" 101 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-new-manpage.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-new-manpage:50 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-new-manpage:58 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Creates a new and empty manpage template\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-am] [path/to/]FILENAME\n" 42 | "\n" 43 | "DESCRIPTION\n" 44 | " Creates a new man page in $HOME/bin, if $HOME/.local/bin does not exists.\n" 45 | " Also asks to create a basic man page template in the same location.\n" 46 | "\n" 47 | "OPTIONS\n" 48 | " -h|--help\tShows help and exit with 99\n" 49 | " --version\tShows version infoand exit with 0\n" 50 | " \n" 51 | " -a\t\tCreate a full application manpage template\n" 52 | " -m\t\tCreates a minimal manpage template\n" 53 | " \n" 54 | "EXAMPLE\n" 55 | "\n" 56 | "\t$ME\n" 57 | "\t\n" 58 | "\t$ME ./my-manpage[.1]\n" 59 | "\t\n" 60 | "\t$ME -a my-full-manpage\n" 61 | "\n" 62 | "SEE ALSO\n" 63 | " bash(1), groff(1), troff(1)\n" 64 | " \n" 65 | "BUGS\n" 66 | " Report bugs to: erat.simon@gmail.com\n" 67 | " \n" 68 | " GNU TUI - Homepage: \n" 69 | " \n" 70 | " General help using GNU software: \n" 71 | "\n" 72 | "AUTHOR\n" 73 | " Simon Arjuna Erat, \n" 74 | msgstr "" 75 | 76 | #: bin/tui-new-manpage:101 77 | #, sh-format 78 | msgid "sea New manpage script" 79 | msgstr "" 80 | 81 | #: bin/tui-new-manpage:127 82 | msgid "Enter the file name:" 83 | msgstr "" 84 | 85 | #: bin/tui-new-manpage:144 86 | #, sh-format 87 | msgid "File $DEST exists... Overwrite it now?" 88 | msgstr "" 89 | 90 | #: bin/tui-new-manpage:145 91 | #, sh-format 92 | msgid "Overwritten file: $DEST" 93 | msgstr "" 94 | 95 | #: bin/tui-new-manpage:148 96 | msgid "Saved:" 97 | msgstr "" 98 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-press.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-press:59 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-press:67 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Press enter, with an optional custom message\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | "\n" 47 | "EXAMPLE\n" 48 | "\n" 49 | "\t$ME\n" 50 | "\t\n" 51 | "\t$ME \"Hello there\"\n" 52 | "\n" 53 | "BUGS\n" 54 | " Report bugs to: erat.simon@gmail.com\n" 55 | " \n" 56 | " GNU TUI - Homepage: \n" 57 | " \n" 58 | " General help using GNU software: \n" 59 | "\n" 60 | "AUTHOR\n" 61 | " Simon Arjuna Erat, \n" 62 | msgstr "" 63 | 64 | #: bin/tui-press:113 65 | msgid "Press [ENTER] to continue" 66 | msgstr "" 67 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-print.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-echo:47 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-echo:55 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - echo, TUI-style\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [[-] | [str1] [str2] [str3]]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Prints one string on the left\n" 45 | " Prints two strings left and right\n" 46 | " Prints three strings left, entered and right\n" 47 | "\n" 48 | " Pass \\\"-\\\" to read input from pipe\n" 49 | " One can pass empty strings to align the desired output.\n" 50 | " \n" 51 | "OPTIONS\n" 52 | " -h|--help\tShows help and exit with 99\n" 53 | " --version\tShows version infoand exit with 0\n" 54 | " \n" 55 | " -\t\tRead input from pipe\n" 56 | " \n" 57 | "EXAMPLE\n" 58 | "\n" 59 | "\t$ME \"Hello World\" \n" 60 | "\t$ME \"im" 61 | msgstr "" 62 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-printfile.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-cat:54 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-cat:63 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Print a file to screen and wrap TUI borders around it\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-d DELAY] [-tT] FILE \"Some String\" ...\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | " -d DELAY\tWaits DELAY seconds before it prints the next char.\n" 48 | " \t\tDELAY may be an integer or flaoting point like \"0.007\"\n" 49 | "\t\tThis also triggers the typewriter \"-t\"\n" 50 | " -t\t\tEnables typewriter mode, using default delay of 0.05\n" 51 | " -T\t\tPrints the file name with tui-title before it prints its content\n" 52 | "EXAMPLE\n" 53 | "\n" 54 | "\ttui-cat file.txt\n" 55 | "\t\n" 56 | "\ttui-cat -T /path/to/multiple/files*\n" 57 | "\t\n" 58 | "\ttui-cat -t \"Hello $USER_STRING, how are you today?\"\n" 59 | "\n" 60 | "HINTS\n" 61 | " In typewriter mode you can pass a mixed list of files and strings.\n" 62 | " \n" 63 | "BUGS\n" 64 | " Report bugs to: erat.simon@gmail.com\n" 65 | " \n" 66 | " GNU TUI - Homepage: \n" 67 | " \n" 68 | " General help using GNU software: \n" 69 | "\n" 70 | "AUTHOR\n" 71 | " Simon Arjuna Erat, \n" 72 | msgstr "" 73 | 74 | #: bin/tui-cat:151 bin/tui-cat:175 75 | #, sh-format 76 | msgid "File: $arg" 77 | msgstr "" 78 | 79 | #: bin/tui-cat:164 80 | #, sh-format 81 | msgid "File not found: $arg" 82 | msgstr "" 83 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-printline.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-printf:81 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-printf:89 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - The core display command of GNU TUI\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [[-] | [str1] [str2] [str3]]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Prints one string on the left\n" 45 | " Prints two strings left and right\n" 46 | " Prints three strings left, entered and right\n" 47 | "\n" 48 | " Pass \\\"-\\\" to read input from pipe\n" 49 | " One can pass empty strings to align the desired output.\n" 50 | " \n" 51 | "OPTIONS\n" 52 | " -h|--help\tShows help and exit with 99\n" 53 | " --version\tShows version infoand exit with 0\n" 54 | " \n" 55 | " -\t\tRead input from pipe\n" 56 | " -E\t\tPrints the echo\n" 57 | " -H\t\tPrints the header\n" 58 | " -r\t\tReturns cursors to line start\n" 59 | " -S NUM\tPrints status, without exit status\n" 60 | " -T\t\tPrints the title\n" 61 | "EXAMPLE\n" 62 | "\n" 63 | "\t$ME \"Replace me\" \n" 64 | "\t$ME \"Replaced above line\"\n" 65 | "\t$ME -E \"Replace again\"\n" 66 | "\t$ME -H \"No more replacing\"\n" 67 | "\t$ME -T \"Can you feel it?\"\n" 68 | "\t$ME -S \\044? \"Last command worked!\"\n" 69 | "\t$ME -rS 2 \"Loading, and replace me...\"\n" 70 | " \n" 71 | "HINTS\n" 72 | " If your script should feel too slow, \n" 73 | " you might get a slightly better performance using \"tui-printf -E\"\n" 74 | " \n" 75 | "SEE ALSO\n" 76 | " bash(1), console_codes(4), gawk(1), grep(1), printf(1),\n" 77 | " \n" 78 | "BUGS\n" 79 | " Report bugs to: erat.simon@gmail.com\n" 80 | " \n" 81 | " GNU TUI - Homepage: \n" 82 | " \n" 83 | " General help using GNU software: \n" 84 | "\n" 85 | "AUTHOR\n" 86 | " Simon Arjuna Erat, \n" 87 | msgstr "" 88 | 89 | #: bin/tui-printf:189 90 | #, sh-format 91 | msgid "$ME: For option \\\"-S\\\" the first argument must be numeric!" 92 | msgstr "" 93 | 94 | #: bin/tui-printf:225 95 | msgid "Too many arguments (check quoting)" 96 | msgstr "" 97 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-read.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-read:66 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-read:74 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - read, TUI-Style\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [\"Question:\"]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " desc\n" 45 | " \n" 46 | "OPTIONS\n" 47 | " -h|--help\tShows help and exit with 99\n" 48 | " --version\tShows version infoand exit with 0\n" 49 | " \n" 50 | " -n\tdoes not accept empty strings\n" 51 | " -p\tdoes not show chars on input\n" 52 | " \n" 53 | "EXAMPLE\n" 54 | "\n" 55 | "\t$ME \n" 56 | "\t\n" 57 | "\tcolor=\\044($ME \\\"What is your favourite colour?\\\")\n" 58 | "\n" 59 | "BUGS\n" 60 | " Report bugs to: erat.simon@gmail.com\n" 61 | " \n" 62 | " GNU TUI - Homepage: \n" 63 | " \n" 64 | " General help using GNU software: \n" 65 | "\n" 66 | "AUTHOR\n" 67 | " Simon Arjuna Erat, \n" 68 | "\n" 69 | msgstr "" 70 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-rnd.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-11-28 14:17+0100\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-rnd:65 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-rnd:73 34 | #, possible-sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Prints a random number within range (1-100 by without arguments)\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-p|--perm COUNT [STARTVALUE]] [MAXVAL] " 42 | "[MINVAL MAXVAL]\n" 43 | " \n" 44 | "OPTIONS\n" 45 | " -h|--help\tShows help and exit with 99\n" 46 | " --version\tShows version infoand exit with 0\n" 47 | " \n" 48 | " -p|--perm COUNT\tPrint COUNT different random numbers\n" 49 | " \n" 50 | "EXAMPLE\n" 51 | "\n" 52 | "\t$ME\n" 53 | "\t35\n" 54 | "\t\n" 55 | "\t$ME 15\n" 56 | "\t14\n" 57 | "\t\n" 58 | "\t$ME 300 320\n" 59 | "\t303\n" 60 | "\t\n" 61 | "\t$ME -p 5 200\n" 62 | "\t203 204 201 202 200\n" 63 | "\t\n" 64 | "\t$ME -l 3 100 200\n" 65 | "\t176 109 133\n" 66 | "\t\n" 67 | "\n" 68 | "BUGS\n" 69 | " Report bugs to: \n" 70 | " \n" 71 | " TUI - Homepage: \n" 72 | " \n" 73 | " General help using GNU software: \n" 74 | "\n" 75 | "AUTHOR\n" 76 | " Simon Arjuna Erat, \n" 77 | msgstr "" 78 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-select.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-select:72 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-select:80 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - select, TUI-Style\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-12av] ITEM1 ITEM2 ...\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " desc\n" 45 | " \n" 46 | "OPTIONS\n" 47 | " -h|--help\tShows help and exit with 99\n" 48 | " --version\tShows version infoand exit with 0\n" 49 | " \n" 50 | " -1|-2\t\tPrint that many rows\n" 51 | " -a\t\tAuto select if only one entry was found\n" 52 | " -v\t\tPrint cancel option 0.\n" 53 | " \n" 54 | "EXAMPLE\n" 55 | "\n" 56 | "\t$ME \\044LIST\n" 57 | "\t\n" 58 | "\tvar=\\044($ME -a \\044LIST)\n" 59 | "\t\n" 60 | "\tvar=\\044($ME -2 \\044LIST)\n" 61 | "\n" 62 | "BUGS\n" 63 | " Report bugs to: erat.simon@gmail.com\n" 64 | " \n" 65 | " GNU TUI - Homepage: \n" 66 | " \n" 67 | " General help using GNU software: \n" 68 | "\n" 69 | "AUTHOR\n" 70 | " Simon Arjuna Erat, \n" 71 | msgstr "" 72 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-status.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-status:61 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-status:69 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Status Messages\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-r] RET [\"Message to user\" [\"Center string" 42 | "\"]]\n" 43 | " \n" 44 | "DESCRIPTION\n" 45 | " desc\n" 46 | " \n" 47 | "OPTIONS\n" 48 | " -h|--help\tShows help and exit with 99\n" 49 | " --version\tShows version infoand exit with 0\n" 50 | " \n" 51 | " -r\tReturn on line, do not do a newline.\n" 52 | " \n" 53 | " Interpreted exit codes are:\n" 54 | msgstr "" 55 | 56 | #: bin/tui-status:87 57 | #, possible-sh-format 58 | msgid "" 59 | "\n" 60 | "EXAMPLE\n" 61 | "\n" 62 | "\t$ME 0 \"Your account exists:\" \"\\044USER\"\n" 63 | "\t\n" 64 | "\t$ME -r 2 \"Loading data...\" ; sleep 1 ; $ME \\044? \"Loaded data.\"\n" 65 | "\n" 66 | "BUGS\n" 67 | " Report bugs to: erat.simon@gmail.com\n" 68 | " \n" 69 | " GNU TUI - Homepage: \n" 70 | " \n" 71 | " General help using GNU software: \n" 72 | "\n" 73 | "AUTHOR\n" 74 | " Simon Arjuna Erat, " 75 | msgstr "" 76 | 77 | #: bin/tui-status:147 78 | #, sh-format 79 | msgid "First argument $arg ($check) is not numeric!" 80 | msgstr "" 81 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-str-bol-conv.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-str-bol-conv:62 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-str-bol-conv:70 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Converts a bool return value in text\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-hcCdty] \\044?\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | " -c\t\tMakes first letter Capital\n" 48 | " -C\t\tMakes all letters CAPITAL\n" 49 | " -d\t\tReturns: done/fail\n" 50 | " -t\t\tReturns: true/false\n" 51 | " -y\t\tReturns: yes/no\n" 52 | " \n" 53 | "EXAMPLE\n" 54 | "\n" 55 | "\ttui-yesno \"Do you like this?\"\n" 56 | "\t\n" 57 | "\tanswer_word=\\044($ME -y \\044?)\n" 58 | "\n" 59 | "BUGS\n" 60 | " Report bugs to: erat.simon@gmail.com\n" 61 | " \n" 62 | " GNU TUI - Homepage: \n" 63 | " \n" 64 | " General help using GNU software: \n" 65 | "\n" 66 | "AUTHOR\n" 67 | " Simon Arjuna Erat, \n" 68 | msgstr "" 69 | 70 | #: bin/tui-str-bol-conv:159 71 | msgid "done" 72 | msgstr "" 73 | 74 | #: bin/tui-str-bol-conv:160 75 | msgid "fail" 76 | msgstr "" 77 | 78 | #: bin/tui-str-bol-conv:164 79 | msgid "true" 80 | msgstr "" 81 | 82 | #: bin/tui-str-bol-conv:165 83 | msgid "false" 84 | msgstr "" 85 | 86 | #: bin/tui-str-bol-conv:169 87 | msgid "yes" 88 | msgstr "" 89 | 90 | #: bin/tui-str-bol-conv:170 91 | msgid "no" 92 | msgstr "" 93 | 94 | #: bin/tui-str-bol-conv:174 95 | msgid "on" 96 | msgstr "" 97 | 98 | #: bin/tui-str-bol-conv:175 99 | msgid "off" 100 | msgstr "" 101 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-str-extension.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-str-extension:61 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-str-extension:69 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Get the extension of the file, if any\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] \"File with spaces.some string.txt\"\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | "\n" 47 | "EXAMPLE\n" 48 | "\n" 49 | "\t$ME /etc/tui/tui.conf\n" 50 | "\t\n" 51 | "\t$ME /etc/ld.so.cache\n" 52 | "\n" 53 | "BUGS\n" 54 | " Report bugs to: erat.simon@gmail.com\n" 55 | " \n" 56 | " GNU TUI - Homepage: \n" 57 | " \n" 58 | " General help using GNU software: \n" 59 | "\n" 60 | "AUTHOR\n" 61 | " Simon Arjuna Erat, \n" 62 | msgstr "" 63 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-str-genfilename.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-str-genfilename:49 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-str-genfilename:57 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Generate a filename, explace extension if provided\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [/path/to/]BASENAME.EXT [NEW_EXTENSION]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " If a NEW_EXTENSION is provided, it will be replacing EXT (if exists).\n" 45 | " If BASENAME with either the existing EXT or the NEW_EXTENSION already " 46 | "exists, a number will be inserted before the file its new/old EXT.\n" 47 | " If BASENAME has neither an old EXT nor a NEW_EXTENSION, the number will " 48 | "become its extension.\n" 49 | " The number will be increased until the generated file name does not exist " 50 | "yet.\n" 51 | " \n" 52 | "OPTIONS\n" 53 | " -h|--help\tShows help and exit with 99\n" 54 | " --version\tShows version infoand exit with 0\n" 55 | "\n" 56 | "EXAMPLE\n" 57 | "\n" 58 | "\t$ME tempfile.tmp\n" 59 | "\t\n" 60 | "\t$ME ../tempfile.tmp cache\n" 61 | "\n" 62 | "BUGS\n" 63 | " Report bugs to: erat.simon@gmail.com\n" 64 | " \n" 65 | " GNU TUI - Homepage: \n" 66 | " \n" 67 | " General help using GNU software: \n" 68 | "\n" 69 | "AUTHOR\n" 70 | " Simon Arjuna Erat, \n" 71 | msgstr "" 72 | 73 | #: bin/tui-str-genfilename:137 74 | #, sh-format 75 | msgid "$NAME_INIT exists, appending/increasing number." 76 | msgstr "" 77 | 78 | #: bin/tui-str-genfilename:145 79 | #, sh-format 80 | msgid "Checking for $NAME_CHECK" 81 | msgstr "" 82 | 83 | #: bin/tui-str-genfilename:148 84 | #, sh-format 85 | msgid "$NAME_CHECK is available" 86 | msgstr "" 87 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-str-hash.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-str-hash:63 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-str-hash:71 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - SHORTDESC\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " desc\n" 45 | " \n" 46 | "OPTIONS\n" 47 | " -h|--help\tShows help and exit with 99\n" 48 | " --version\tShows version infoand exit with 0\n" 49 | " \n" 50 | " -t TYPE\tPass which type of hashing you want, default/fallback: md5sum\n" 51 | " \n" 52 | " Hash types supported: sha1sum, sha224sum, sha256sum, sha384sum, sha512sum\n" 53 | " \n" 54 | "EXAMPLE\n" 55 | "\n" 56 | "\t$ME -t 384 \"some string\"\n" 57 | "\t\n" 58 | "\tcat file.txt | $ME -\n" 59 | "\n" 60 | "BUGS\n" 61 | " Report bugs to: erat.simon@gmail.com\n" 62 | " \n" 63 | " GNU TUI - Homepage: \n" 64 | " \n" 65 | " General help using GNU software: \n" 66 | "\n" 67 | "AUTHOR\n" 68 | " Simon Arjuna Erat, \n" 69 | msgstr "" 70 | 71 | #: bin/tui-str-hash:109 72 | msgid "Hashing:" 73 | msgstr "" 74 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-str-usb.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-str-usb:61 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-str-usb:69 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Select an USB storage\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-options] [-option arg]\n" 42 | "\n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | " -a\tAuto select entry if only one was found\n" 48 | " \n" 49 | "EXAMPLE\n" 50 | "\n" 51 | "\tusb=\\044($ME)\n" 52 | "\t\n" 53 | "\tusb=\\044($ME -a)\n" 54 | "\t\n" 55 | "BUGS\n" 56 | " Report bugs to: erat.simon@gmail.com\n" 57 | " \n" 58 | " GNU TUI - Homepage: \n" 59 | " \n" 60 | " General help using GNU software: \n" 61 | "\n" 62 | "AUTHOR\n" 63 | " Simon Arjuna Erat, \n" 64 | msgstr "" 65 | 66 | #: bin/tui-str-usb:143 67 | msgid "Please connect an USB device..." 68 | msgstr "" 69 | 70 | #: bin/tui-str-usb:163 71 | msgid "The only device available is:" 72 | msgstr "" 73 | 74 | #: bin/tui-str-usb:164 75 | msgid "Is this a card reader that is always listed?" 76 | msgstr "" 77 | 78 | #: bin/tui-str-usb:165 79 | msgid "Ignore this device in future calls?" 80 | msgstr "" 81 | 82 | #: bin/tui-str-usb:169 83 | msgid "Do you want to be asked to select this device every time?" 84 | msgstr "" 85 | 86 | #: bin/tui-str-usb:170 87 | msgid "No, might result in that device being auto-selected!" 88 | msgstr "" 89 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-tar.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-tar:52 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-tar:60 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - tar, TUI-Style\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-bx] [/path/to/]directory\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " It is designed to pass directory names to compress, it will store the " 45 | "tarball in current path, named like the last folder.\n" 46 | " \n" 47 | "OPTIONS\n" 48 | " -h|--help\tShows help and exit with 99\n" 49 | " --version\tShows version infoand exit with 0\n" 50 | " \n" 51 | " -b\tShow progress bar\n" 52 | " -x\tExtract tarball\n" 53 | " \n" 54 | "EXAMPLE\n" 55 | "\n" 56 | "\t$ME -b ../thisdir.tar.gz .\n" 57 | "\t\n" 58 | "\t$ME -x tarball.tar.gz\n" 59 | "\n" 60 | "BUGS\n" 61 | " Report bugs to: erat.simon@gmail.com\n" 62 | " \n" 63 | " GNU TUI - Homepage: \n" 64 | " \n" 65 | " General help using GNU software: \n" 66 | "\n" 67 | "AUTHOR\n" 68 | " Simon Arjuna Erat, \n" 69 | msgstr "" 70 | 71 | #: bin/tui-tar:106 72 | msgid "Reading" 73 | msgstr "" 74 | 75 | #: bin/tui-tar:107 76 | msgid "Compressing" 77 | msgstr "" 78 | 79 | #: bin/tui-tar:108 80 | msgid "Compressed" 81 | msgstr "" 82 | 83 | #: bin/tui-tar:109 84 | msgid "Extracting" 85 | msgstr "" 86 | 87 | #: bin/tui-tar:127 88 | msgid "Enter (absolute) path to tar:" 89 | msgstr "" 90 | 91 | #: bin/tui-tar:146 92 | msgid "Failure reading" 93 | msgstr "" 94 | 95 | #: bin/tui-tar:194 96 | msgid "is not a file or could not be found!" 97 | msgstr "" 98 | 99 | #: bin/tui-tar:197 100 | msgid "Extracted:" 101 | msgstr "" 102 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-terminal.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-terminal:52 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-terminal:62 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Executed commands in a new terminal\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] \"echo $ESCAPED$USER_STRING\" | " 42 | "\"[ condition ] && action\" \n" 43 | " \n" 44 | "DESCRIPTION\n" 45 | " Opens provided command in the preferred terminal window.\n" 46 | " \n" 47 | "OPTIONS\n" 48 | " -h|--help\tShows help and exit with 99\n" 49 | " --version\tShows version infoand exit with 0\n" 50 | " \n" 51 | "BUGS\n" 52 | " Report bugs to: erat.simon@gmail.com\n" 53 | " \n" 54 | " GNU TUI - Homepage: \n" 55 | " \n" 56 | " General help using GNU software: \n" 57 | "\n" 58 | "AUTHOR\n" 59 | " Simon Arjuna Erat, \n" 60 | "\n" 61 | "Usage: $ME \\\"\\\"\n" 62 | "\n" 63 | "Executes \\\"\\\" in another terminal ($TERMINAL) window, closes on " 64 | "termination according to your setting with that terminal.\n" 65 | "\t\t\t\n" 66 | "Report bugs to: erat.simon@gmail.com\n" 67 | "TUI home page: \n" 68 | "General help using GNU software: \n" 69 | msgstr "" 70 | 71 | #: bin/tui-terminal:100 72 | #, sh-format 73 | msgid "$ME: Requires to be in GUI mode" 74 | msgstr "" 75 | 76 | #: bin/tui-terminal:112 77 | #, sh-format 78 | msgid "" 79 | "FATAL ERROR: No terminal could be identified, please set one manually in " 80 | "$APPS!" 81 | msgstr "" 82 | 83 | #: bin/tui-terminal:140 84 | #, sh-format 85 | msgid "" 86 | "$TERMINAL: Using default option \\\"$opt\\\", please report your terminal " 87 | "($TERMINAL) and its command execution option." 88 | msgstr "" 89 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-title.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-title:47 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-title:55 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Prints borders and colors the inbound line\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [[-] | [str1] [str2] [str3]]\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Prints one string in the center\n" 45 | " Prints two strings left and right\n" 46 | " Prints three strings left, entered and right\n" 47 | "\n" 48 | " Pass \\\"-\\\" to read input from pipe\n" 49 | " One can pass empty strings to align the desired output.\n" 50 | " \n" 51 | "OPTIONS\n" 52 | " -h|--help\tShows help and exit with 99\n" 53 | " --version\tShows version infoand exit with 0\n" 54 | " \n" 55 | " -\t\tRead input from pipe\n" 56 | " \n" 57 | "EXAMPLE\n" 58 | "\n" 59 | "\t$ME \"Hello World, in the center\" \n" 60 | "\t$ME \"im" 61 | msgstr "" 62 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-typewriter.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-11-27 11:14+0100\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-typewriter:55 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-typewriter:64 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Print a file to screen and wrap TUI borders around it\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] [-d DELAY=0.05] [-T] FILE \"Some String\" ...\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | " -d DELAY\tWaits DELAY seconds before it prints the next char.\n" 48 | " \t\tDELAY may be an integer or flaoting point like \"0.007\"\n" 49 | " -T\t\tPrints the file name with tui-title before it prints its content\n" 50 | "EXAMPLE\n" 51 | "\n" 52 | "\ttui-typewriter file.txt\n" 53 | "\t\n" 54 | "\ttui-typewriter -T /path/to/multiple/files*\n" 55 | "\t\n" 56 | "\ttui-typewriter \"Hello $USER_STRING, how are you today?\"\n" 57 | "\n" 58 | "HINTS\n" 59 | " You can pass a mixed list of files and strings.\n" 60 | " \n" 61 | "BUGS\n" 62 | " Report bugs to: \n" 63 | " \n" 64 | " TUI - Homepage: \n" 65 | " \n" 66 | " General help using GNU software: \n" 67 | "\n" 68 | "AUTHOR\n" 69 | " Simon Arjuna Erat, \n" 70 | msgstr "" 71 | 72 | #: bin/tui-typewriter:147 73 | #, sh-format 74 | msgid "File: $arg" 75 | msgstr "" 76 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-wait.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-wait:52 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-wait:60 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Wait some time\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] TIME [\"Message to user\"]\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | "\n" 47 | "EXAMPLE\n" 48 | "\n" 49 | "\t$ME 1m \"Wait a minute\"\n" 50 | "\t\n" 51 | "\t$ME 1h \"Wait an hour\"\n" 52 | "\n" 53 | "BUGS\n" 54 | " Report bugs to: erat.simon@gmail.com\n" 55 | " \n" 56 | " GNU TUI - Homepage: \n" 57 | " \n" 58 | " General help using GNU software: \n" 59 | msgstr "" 60 | 61 | #: bin/tui-wait:114 62 | msgid "Time left:" 63 | msgstr "" 64 | 65 | #: bin/tui-wait:120 66 | msgid "Please use either (s)econds, (m)inutes, or (h)ours" 67 | msgstr "" 68 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-web.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-web:52 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-web:60 34 | #, possible-sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Opens passed URLs in the favorite web browser (gui/cli)\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] URL URL2 ..\n" 42 | " \n" 43 | "DESCRIPTION\n" 44 | " Does only work in GUI, unless the end user (you) has a cli-filebrowser " 45 | "installed.\n" 46 | " Opens provided directories in the preferred file manager according to " 47 | "environment.\n" 48 | " In multi-user or emergency stage it will open \\\"$FILEMGR_CLI\\\" and in " 49 | "graphical stage it will open \\\"$FILEMGR_GUI\\\"\n" 50 | " \n" 51 | "OPTIONS\n" 52 | " -h|--help\tShows help and exit with 99\n" 53 | " --version\tShows version infoand exit with 0\n" 54 | " \n" 55 | " -c\t\tForce CLI mode\n" 56 | " \n" 57 | "BUGS\n" 58 | " Report bugs to: erat.simon@gmail.com\n" 59 | " \n" 60 | " GNU TUI - Homepage: \n" 61 | " \n" 62 | " General help using GNU software: \n" 63 | "\n" 64 | "AUTHOR\n" 65 | " Simon Arjuna Erat, \n" 66 | msgstr "" 67 | -------------------------------------------------------------------------------- /locale/Anticipate-po-files/tui-yesno.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2015-09-28 22:00+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: bin/tui-yesno:64 21 | #, sh-format 22 | msgid "" 23 | "\n" 24 | "GNU TUI ($ME, Version $script_version)\n" 25 | "Copyright (C) 2011-2015 Simon Arjuna Erat\n" 26 | "License GPLv3+: GNU GPL version 3 or later \n" 28 | "\n" 29 | "This is free software; you are free to change and redistribute it.\n" 30 | "There is NO WARRANTY, to the extent permitted by law.\n" 31 | msgstr "" 32 | 33 | #: bin/tui-yesno:72 34 | #, sh-format 35 | msgid "" 36 | "\n" 37 | "NAME\n" 38 | " $ME - Put a simple yes or no question\n" 39 | "\n" 40 | "SYNOPSYS\n" 41 | " $ME [-h|--help] [--version] \"Question to user?\"\n" 42 | " \n" 43 | "OPTIONS\n" 44 | " -h|--help\tShows help and exit with 99\n" 45 | " --version\tShows version infoand exit with 0\n" 46 | " \n" 47 | "EXAMPLE\n" 48 | "\n" 49 | "\tif $ME \"Do you want to do this?\"\n" 50 | "\tthen \techo \"yes\"\n" 51 | "\telse \techo \"no\"\n" 52 | "\tfi\n" 53 | " \n" 54 | "BUGS\n" 55 | " Report bugs to: erat.simon@gmail.com\n" 56 | " \n" 57 | " GNU TUI - Homepage: \n" 58 | " \n" 59 | " General help using GNU software: \n" 60 | "\n" 61 | "AUTHOR\n" 62 | " Simon Arjuna Erat, \n" 63 | msgstr "" 64 | 65 | #: bin/tui-yesno:102 66 | msgid "y/n" 67 | msgstr "" 68 | -------------------------------------------------------------------------------- /manpages/tui-asroot.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-asroot 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-asroot \fP- Execute a command with root privileges 6 | \fB 7 | .SH SYNOPSYS 8 | tui-asroot [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-m\fP "MES SA GE" ] 9 | .SH DESCRIPTION 10 | Enables the author of a script to make sure certain commands are executed with root account privileges. 11 | This helps the author of scripts to simplify the task to get done. 12 | .SH OPTIONS 13 | .TP 14 | .B 15 | \fB-h\fP|\fB--help\fP 16 | Shows help and exit with 99 17 | .TP 18 | .B 19 | \fB--version\fP 20 | Shows version infoand exit with 0 21 | .TP 22 | .B 23 | \fB-m\fP MSG 24 | Prints "MSG" before asking for a password 25 | .SH ENVIRONMENT 26 | .TP 27 | .B 28 | TERM 29 | If TERM is not set, TUI will set it to GNU/Linux, this is required to determine wether TUI runs in GUI or VT (cli only) mode. 30 | .TP 31 | .B 32 | UID 33 | Reads UID to determine wether the user is root or not. 34 | .TP 35 | .B 36 | USER 37 | If user is empty, it takes LOGINNAME to display the user name for sudo. 38 | .SH EXAMPLE 39 | 40 | tui-asroot whoami 41 | .PP 42 | tui-asroot "cat /etc/passwd" 43 | .SH SEE ALSO 44 | \fBsu\fP(1), \fBsudo\fP(1) 45 | .SH BUGS 46 | Report bugs to: 47 | TUI - Homepage: 48 | General help using GNU software: 49 | .SH AUTHOR 50 | This script (tui-asroot, 0.9.2-alpha) was written by Simon Arjuna Erat from Switzerland. 51 | -------------------------------------------------------------------------------- /manpages/tui-bgjob-mgr.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-bgjob-mgr 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-bgjob-mgr \fP- Run multiple scripts in background 6 | \fB 7 | .SH SYNOPSYS 8 | tui-bgjob-mgr [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-cdqv\fP] [\fB-l\fP NUM] [\fB-w\fP NUM] SCRIPT1 SCRIPT2 \.\.\. 9 | .SH DESCRIPTION 10 | Runs several scripts in background, 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-L\fP(og) 23 | Show the log file (/tui-bgjob-mgr.log) 24 | .TP 25 | .B 26 | \fB-c\fP(count) 27 | The exit code is now the number of successfully executed scripts. 28 | .TP 29 | .B 30 | \fB-l\fP(imit) NUM 31 | Limits the number of parallel executed scripts, 5 default, 0 to disable 32 | .TP 33 | .B 34 | \fB-d\fP(el-log) 35 | Deletes (empty) the log file (/tui-bgjob-mgr.log) 36 | .TP 37 | .B 38 | \fB-q\fP(uiet) 39 | Just return the exit code, be non-verbose 40 | .TP 41 | .B 42 | \fB-v\fP(erbose) 43 | Be verbose, starts every script in its own terminal (GUI only!) 44 | .TP 45 | .B 46 | \fB-w\fP(wait) NUM 47 | Change the amount of seconds to wait between update-checks 48 | .RE 49 | .PP 50 | 51 | .SH EXAMPLE 52 | 53 | cd ./job/scripts 54 | .PP 55 | tui-bgjob-mgr \fB-l\fP 10 * 56 | .SH FILES 57 | .TP 58 | .B 59 | /tui-bgjob-mgr.log 60 | When is which script executed and how did it exit? 61 | .TP 62 | .B 63 | /home/sea/.cache/tui-bgjob-mgr/30624 64 | Where the temp files of the scripts are 65 | .SH HINTS 66 | If you need to have scripts executed upon previous success scripts, try: 67 | .PP 68 | .nf 69 | .fam C 70 | tui-bgjob-mgr -qc * 71 | 72 | .fam T 73 | .fi 74 | .SH SEE ALSO 75 | \fBbash\fP(1), \fBps\fP(1) 76 | .SH BUGS 77 | Report bugs to: 78 | .PP 79 | TUI - Homepage: 80 | .PP 81 | General help using GNU software: 82 | .SH AUTHOR 83 | Simon Arjuna Erat, 84 | -------------------------------------------------------------------------------- /manpages/tui-bgjob.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-bgjob 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-bgjob \fP- Runs a script in the background and shows some progress indication. 6 | \fB 7 | .SH SYNOPSYS 8 | tui-bgjob [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-f\fP OUTFILE [\fB-e\fP EXPECTED_BYTES] [\fB-s\fP ORGFILE]] SCRIPT "Progress String" "Exit String" [WAIT] 9 | .SH DESCRIPTION 10 | Runs SCRIPT in background while showing a progress. 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-f\fP OUTFILE 23 | If OUTFILE is passed, it will search for it and display its current size. 24 | .TP 25 | .B 26 | \fB-e\fP EXPECTED_BYTES 27 | If OUTFILE is passed as well, it will show a progress bar and the filesize. 28 | .TP 29 | .B 30 | \fB-s\fP ORGFILE 31 | If OUTFILE is passed as well, it will show a progress bar and the filesize. 32 | .RE 33 | .PP 34 | 35 | .SH EXAMPLE 36 | 37 | echo "tar \fB-acf\fP /mnt/backups/$(hostname).tar.xz \fB-P\fP $HOME" > $TMP 38 | .PP 39 | tui-bgjob \fB-f\fP /mnt/backups/$(hostname).tar.xz \fB-e\fP 45123123123 $TMP 40 | .SH HINTS 41 | If you have multiple scripts to be executed, and too many to be all at once, use tui-bgjob-mgr. 42 | .SH SEE ALSO 43 | \fBbash\fP(1), \fBps\fP(1), \fBtui-bgjob-mgr\fP(1), \fBtui-progress\fP(1) 44 | .SH BUGS 45 | Report bugs to: 46 | .PP 47 | TUI - Homepage: 48 | .PP 49 | General help using GNU software: 50 | .SH AUTHOR 51 | Simon Arjuna Erat, 52 | .RE 53 | .PP 54 | 55 | .RS 56 | .TP 57 | .B 58 | Usage: 59 | tui-bgjob [\fB-f\fP OUTFILE] [\fB-s\fP ORGFILE] SCRIPTFILE "Progress String" "Exit String" [ WAIT ] 60 | .TP 61 | .B 62 | NOTE: 63 | Progress 64 | -------------------------------------------------------------------------------- /manpages/tui-bol-dir.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-bol-dir 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-bol-dir \fP- Make sure DIR exist 6 | \fB 7 | .SH SYNOPSYS 8 | tui-bol-dir [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-cv\fP] DIR 9 | .RE 10 | .PP 11 | 12 | .SH DESCRIPTION 13 | Returns true (0) if DIR exists or could be created. 14 | Returns false (1) if DIR could not be created, or is a file 15 | .SH OPTIONS 16 | .TP 17 | .B 18 | \fB-h\fP|\fB--help\fP 19 | Shows help and exit with 99 20 | .TP 21 | .B 22 | \fB--version\fP 23 | Shows version infoand exit with 0 24 | .TP 25 | .B 26 | \fB-c\fP 27 | Count how many passed DIR do not exist, and use that as exit code 28 | .TP 29 | .B 30 | \fB-v\fP 31 | Be verbose 32 | .SH EXAMPLE 33 | 34 | tui-bol-dir \fB-v\fP * 35 | .PP 36 | tui-bol-dir \fB-cv\fP /etc /home/sea/.cache /home/sea /fail1 /fail2 37 | .SH BUGS 38 | Report bugs to: 39 | .PP 40 | TUI - Homepage: 41 | .PP 42 | General help using GNU software: 43 | .SH AUTHOR 44 | Simon Arjuna Erat, 45 | -------------------------------------------------------------------------------- /manpages/tui-bol-gui.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-bol-gui 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-bol-gui \fP- Returns true (0) if user is in GUI 6 | \fB 7 | .SH SYNOPSYS 8 | tui-bol-gui [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-v\fP] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .TP 19 | .B 20 | \fB-v\fP 21 | Display the DE or WM name 22 | .SH EXAMPLE 23 | 24 | if tui-bol-gui 25 | .TP 26 | .B 27 | then 28 | zenity \fB--info\fP \fB--text\fP="You are in GUI!" 29 | .TP 30 | .B 31 | else 32 | tui-printline \fB-E\fP "Your terminal say it is: \044(tui-bol-gui \fB-v\fP)" 33 | .PP 34 | fi 35 | .SH ENVIRONMENT 36 | .TP 37 | .B 38 | XDG_CURRENT_DESKTOP 39 | Will return the Desktop Environment name on an X11 session 40 | .TP 41 | .B 42 | DESKTOP_SESSION 43 | Will return the Desktop Environment name on any other session 44 | .SH SEE ALSO 45 | \fBbash\fP(1) 46 | .SH BUGS 47 | Report bugs to: 48 | .PP 49 | TUI - Homepage: 50 | .PP 51 | General help using GNU software: 52 | .SH AUTHOR 53 | Simon Arjuna Erat, 54 | -------------------------------------------------------------------------------- /manpages/tui-bol-root.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-bol-root 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-bol-root \fP- Returns true if you are root 6 | \fB 7 | .SH SYNOPSYS 8 | tui-bol-root [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-v\fP] 9 | .RE 10 | .PP 11 | 12 | .SH OPTIONS 13 | .TP 14 | .B 15 | \fB-h\fP|\fB--help\fP 16 | Shows help and exit with 99 17 | .TP 18 | .B 19 | \fB--version\fP 20 | Shows version infoand exit with 0 21 | .TP 22 | .B 23 | \fB-v\fP 24 | Be Verbose 25 | .SH EXAMPLE 26 | 27 | tui-bol-root && grep $USER /etc/passwd || tui-status 1 "No Access" 28 | .SH BUGS 29 | Report bugs to: 30 | .PP 31 | TUI - Homepage: 32 | .PP 33 | General help using GNU software: 34 | .SH AUTHOR 35 | Simon Arjuna Erat, 36 | -------------------------------------------------------------------------------- /manpages/tui-cat.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-cat 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-cat \fP- Print a file to screen and wrap TUI borders around it 6 | \fB 7 | .SH SYNOPSYS 8 | tui-cat [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-d\fP DELAY] [\fB-tT\fP] FILE "Some String" \.\.\. 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .TP 19 | .B 20 | \fB-d\fP DELAY 21 | Waits DELAY seconds before it prints the next char. 22 | DELAY may be an integer or flaoting point like "0.007" 23 | This also triggers the typewriter "\fB-t\fP" 24 | .TP 25 | .B 26 | \fB-t\fP 27 | Enables typewriter mode, using default delay of 0.05 28 | .TP 29 | .B 30 | \fB-T\fP 31 | Prints the file name with tui-title before it prints its content 32 | .SH EXAMPLE 33 | 34 | tui-printfile file.txt 35 | .PP 36 | tui-printfile \fB-T\fP /path/to/multiple/files* 37 | .PP 38 | tui-printfile \fB-t\fP "Hello $USER, how are you today?" 39 | .SH HINTS 40 | In typewriter mode you can pass a mixed list of files and strings. 41 | .SH BUGS 42 | Report bugs to: 43 | .PP 44 | TUI - Homepage: 45 | .PP 46 | General help using GNU software: 47 | .SH AUTHOR 48 | Simon Arjuna Erat, 49 | -------------------------------------------------------------------------------- /manpages/tui-conf-editor.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-conf-editor 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-conf-editor \fP- Configuration Editor 6 | \fB 7 | .SH SYNOPSYS 8 | tui-conf-editor [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-cq\fP] [\fB-T\fP|\fB--title\fP "Custom Title"] [\fB--option\fP OPTNAME [\fB--values\fP "val1 val2 \.\.\."] [\fB--default\fP val1]] FILE1 [FILE2 \.\.\.] 9 | .RE 10 | .PP 11 | 12 | .SH DESCRIPTION 13 | Advanced configuration editor for configuration files. 14 | Can be used to write a default configuration file, or to let the user select among predefined values. 15 | .SH OPTIONS 16 | .TP 17 | .B 18 | \fB-h\fP|\fB--help\fP 19 | Shows help and exit with 99 20 | .TP 21 | .B 22 | \fB--version\fP 23 | Shows version infoand exit with 0 24 | .TP 25 | .B 26 | \fB-H\fP|\fB--header\fP "HEADER" 27 | Set a custom heading 28 | .TP 29 | .B 30 | \fB-T\fP|\fB--title\fP "TITLE" 31 | Set a custom title 32 | \fB-F\fP|\fB--file\fP "FILELABEL" Set the display of the filename to FILELABEL 33 | .TP 34 | .B 35 | \fB--option\fP OPTNAME 36 | Creates a new option OPTNAME 37 | .TP 38 | .B 39 | \fB--values\fP "VALUE1 VALUE2 VALUE" 40 | Assigns VALUES to OPTNAME 41 | .TP 42 | .B 43 | \fB--default\fP VALUE 44 | Set default VALUE for OPTNAME 45 | .TP 46 | .B 47 | \fB--conf-header\fP 48 | Writes a custom heading into the config file, can be used multiple times 49 | .TP 50 | .B 51 | \fB--kiosk\fP 52 | Disable the manual editing of the current file 53 | .TP 54 | .B 55 | \fB-q\fP 56 | Quiet mode, just checks the file for passed OPTNAME, and writes default VALUE if missing 57 | .TP 58 | .B 59 | \fB--write-no-exist\fP 60 | Writes a default configuration file 61 | .TP 62 | .B 63 | \fB-c\fP 64 | Clear the screen after each file or variable 65 | .TP 66 | .B 67 | \fB-w\fP|\fB--wait\fP WAIT_SECONDS 68 | Wait WAIT_SECONDS before clearing the screen (default 1) 69 | .RE 70 | .PP 71 | 72 | .SH EXAMPLE 73 | 74 | tui-conf-editor \fB-T\fP "Current GRUB config defaults" /etc/default/grub 75 | .PP 76 | tui-conf-editor \fB--option\fP var_gender \fB--default\fP male \fB--values\fP="male female" \ 77 | \fB--option\fP var_name \fB--default\fP "$USER" \ 78 | \fB--option\fP var_age \fB--default\fP 0 \fB--values\fP="1-13 14-21 22-44 44-62 63-90 90+" \ 79 | \fB--write-no-exist\fP \ 80 | /path/to/file 81 | .SH HINTS 82 | If your script project requires a new variable after an update, use the "\fB-q\fP" toggle to update the user configuration file with the new default values. 83 | .SH SEE ALSO 84 | \fBbash\fP(1), \fBgettext\fP(1), \fBtuirc\fP(1), \fBtui-conf-get\fP(1), \fBtui-conf-set\fP(1), \fBtui-wait\fP(1) 85 | .SH BUGS 86 | Report bugs to: mailinglist ; 87 | .PP 88 | tui-conf-editor - Homepage: 89 | .PP 90 | General help using GNU software: 91 | .SH AUTHOR 92 | Simon Arjuna Erat (sea), 93 | -------------------------------------------------------------------------------- /manpages/tui-conf-get.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-conf-get 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-conf-get \fP- Gets a value from a configuration file 6 | \fB 7 | .SH SYNOPSYS 8 | tui-conf-get [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .TP 19 | .B 20 | \fB-i\fP 21 | Is no longer case sensitive 22 | .TP 23 | .B 24 | \fB-l\fP 25 | Lists values available in the file 26 | .TP 27 | .B 28 | \fB-s\fP 29 | Use more secure retrieval, but slightly slower 30 | .SH EXAMPLE 31 | 32 | tui-conf-get \fB-l\fP /etc/tui/commands.conf 33 | .PP 34 | value=$(tui-conf-get /etc/tui/commands.conf PAGER) 35 | .RE 36 | .PP 37 | 38 | .SH SEE ALSO 39 | \fBbash\fP(1), \fBcat\fP(1), \fBgawk\fP(1), \fBgrep\fP(1) 40 | .SH BUGS 41 | Report bugs to: 42 | .PP 43 | TUI - Homepage: 44 | .PP 45 | General help using GNU software: 46 | .SH AUTHOR 47 | Simon Arjuna Erat, 48 | -------------------------------------------------------------------------------- /manpages/tui-conf-set.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-conf-set 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-conf-set \fP- Set a value of a variable within a config file 6 | \fB 7 | .SH SYNOPSYS 8 | tui-conf-set [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-i\fP 23 | Internal search pattern is no longer case sensitive 24 | .TP 25 | .B 26 | \fB-l\fP 27 | Lists values available in the file 28 | .TP 29 | .B 30 | \fB-c\fP 31 | Writes the VALUE, and stores VALUENAME in capital chars 32 | .TP 33 | .B 34 | \fB-s\fP 35 | Writes the VALUE, and stores VALUENAME in lower chars 36 | .TP 37 | .B 38 | \fB-v\fP 39 | Prints a status message whether or not the value could be saved 40 | .SH EXAMPLE 41 | 42 | .TP 43 | .B 44 | tui-conf-set \fB-l\fP 45 | /etc/default/grub | Prints a list of found variable-names 46 | .TP 47 | .B 48 | tui-conf-set 49 | /etc/default/grub GRUB_TIMEOUT 15 | Saves VALUENAME as passed (VALUENAME) 50 | .TP 51 | .B 52 | tui-conf-set \fB-ic\fP /etc/default/grub grub_timeout 15 53 | | Saves valuename as VALUENAME 54 | .TP 55 | .B 56 | tui-conf-set \fB-i\fP 57 | /etc/default/grub grub_timeout 15 | Saves valuename as passed (valuename) 58 | .TP 59 | .B 60 | tui-conf-set \fB-is\fP /etc/default/grub GRUB_TIMEOUT 15 61 | | Saves VALUENAME as valuename 62 | .SH SEE ALSO 63 | \fBbash\fP(1), \fBcat\fP(1), \fBgawk\fP(1), \fBgrep\fP(1), \fBsed\fP(1) 64 | .SH BUGS 65 | Report bugs to: 66 | .PP 67 | TUI - Homepage: 68 | .PP 69 | General help using GNU software: 70 | .SH AUTHOR 71 | Simon Arjuna Erat, 72 | -------------------------------------------------------------------------------- /manpages/tui-cp.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-cp 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-cp \fP- Copy, TUI-Style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-cp [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-dflq\fP] SOURCE1 [..] TARGET 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .PP 19 | In addition to the default options of "cp" 20 | .PP 21 | (please see "cp \fB--help\fP"), you have these options: 22 | .TP 23 | .B 24 | \fB--dash\fP 25 | Switch to (animated) dash-mode 26 | .TP 27 | .B 28 | \fB--line\fP 29 | Print all items on one line. 30 | .TP 31 | .B 32 | \fB--long\fP 33 | Show long names (full passed target path) 34 | .SH EXAMPLE 35 | tui-cp * /path/to/destination[/file] 36 | .PP 37 | tui-cp \fB--long\fP * /path/to/destination[/file] 38 | .PP 39 | tui-cp \fB--dash\fP \fB--line\fP * /path/to/destination[/file] 40 | .SH SEE ALSO 41 | \fBbash\fP(1), \fBcp\fP(1), \fBtui-progress\fP(1) 42 | .SH BUGS 43 | Report bugs to: 44 | .PP 45 | TUI - Homepage: 46 | .PP 47 | General help using GNU software: 48 | .SH AUTHOR 49 | Simon Arjuna Erat, 50 | -------------------------------------------------------------------------------- /manpages/tui-dd.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-dd 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-dd \fP- Write an ISO/IMG/BLOCKDEVICE to TARGET 6 | \fB 7 | .SH SYNOPSYS 8 | tui-dd [\fB-h\fP|\fB--help\fP] [\fB--version\fP] SOURCE [TARGET] 9 | .SH DESCRIPTION 10 | Writes SOURCE to TARGET 11 | SOURCE and TARGET can be, a partition, disk, directory, file 12 | .RE 13 | .PP 14 | 15 | .SH OPTIONS 16 | .TP 17 | .B 18 | \fB-h\fP|\fB--help\fP 19 | Shows help and exit with 99 20 | .TP 21 | .B 22 | \fB--version\fP 23 | Shows version infoand exit with 0 24 | .PP 25 | All options of "dd \fB--help\fP" are available, however, they need to be passed like: 26 | .PP 27 | \fB-o\fP|\fB--options\fP="bs=BYTES,seek=N,\.\.\." 28 | .PP 29 | Understand that for tui-dd, IF= is taken as the first argument and the second argument is used as OF=. 30 | .RE 31 | .PP 32 | 33 | .SH EXAMPLE 34 | 35 | tui-dd \fB-o\fP "bs=10M,seek=5,count=3" /dev/sda2 imagefile.bin 36 | .SH HINTS 37 | If you know you are going to write an ISO to an USB device, you can leave out the target (OF=) as TUI will ask for a /dev/disk/by-id/usb-* target. 38 | .PP 39 | .nf 40 | .fam C 41 | tui-dd ./somefile.iso 42 | 43 | .fam T 44 | .fi 45 | .SH SEE ALSO 46 | \fBbash\fP(1), \fBdd\fP(1), \fBps\fP(1) 47 | .SH BUGS 48 | Report bugs to: 49 | .PP 50 | TUI - Homepage: 51 | .PP 52 | General help using GNU software: 53 | .SH AUTHOR 54 | Simon Arjuna Erat, 55 | -------------------------------------------------------------------------------- /manpages/tui-download.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-download 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-download \fP- Download files from web 6 | \fB 7 | .SH SYNOPSYS 8 | tui-download [\fB-h\fP|\fB--help\fP] [\fB--version\fP] URL [URL2 ..] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .SH EXAMPLE 19 | 20 | tui-download https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.2.1.tar.xz 21 | .SH SEE ALSO 22 | \fBbash\fP(1), \fBcurl\fP(1), \fBwget\fP(1), \fBtui-download\fP(1) 23 | .SH BUGS 24 | Report bugs to: 25 | .PP 26 | TUI - Homepage: 27 | .PP 28 | General help using GNU software: 29 | .SH AUTHOR 30 | Simon Arjuna Erat, 31 | -------------------------------------------------------------------------------- /manpages/tui-echo.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-echo 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-echo \fP- echo, TUI-style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-echo [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[-] | [str1] [str2] [str3]] 9 | .SH DESCRIPTION 10 | Prints one string on the left 11 | Prints two strings left and right 12 | Prints three strings left, entered and right 13 | .PP 14 | Pass \"-\" to read input from pipe 15 | One can pass empty strings to align the desired output. 16 | .SH OPTIONS 17 | .TP 18 | .B 19 | \fB-h\fP|\fB--help\fP 20 | Shows help and exit with 99 21 | .TP 22 | .B 23 | \fB--version\fP 24 | Shows version infoand exit with 0 25 | .TP 26 | .B 27 | - 28 | Read input from pipe 29 | .SH EXAMPLE 30 | 31 | tui-echo "Hello World" 32 | .TP 33 | .B 34 | tui-echo "i am left" 35 | "i am right" 36 | tui-echo "" "i am centered" "" 37 | .SH HINTS 38 | If your script should feel too slow, 39 | you might get a slightly better performance using "tui-printline \fB-E\fP" 40 | .SH SEE ALSO 41 | \fBbash\fP(1), \fBtui-printline\fP(1) 42 | .SH BUGS 43 | Report bugs to: 44 | .PP 45 | TUI - Homepage: 46 | .PP 47 | General help using GNU software: 48 | .SH AUTHOR 49 | Simon Arjuna Erat, 50 | -------------------------------------------------------------------------------- /manpages/tui-edit.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-edit 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-edit \fP- Opens passed files in the favorite editor (gui/cli) 6 | \fB 7 | .SH SYNOPSYS 8 | tui-edit [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [/path/to/]FILE [../]FILE2 \.\.\. 9 | .SH DESCRIPTION 10 | Opens provided FILE/s in the preferred editor according to environment. 11 | In multi-user or emergency stage it will open \"nano\" and in graphical stage it will open \"gedit\" 12 | .SH OPTIONS 13 | .TP 14 | .B 15 | \fB-h\fP|\fB--help\fP 16 | Shows help and exit with 99 17 | .TP 18 | .B 19 | \fB--version\fP 20 | Shows version infoand exit with 0 21 | .SH BUGS 22 | Report bugs to: 23 | .PP 24 | TUI - Homepage: 25 | .PP 26 | General help using GNU software: 27 | .SH AUTHOR 28 | Simon Arjuna Erat, 29 | -------------------------------------------------------------------------------- /manpages/tui-filemgr.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-filemgr 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-filemgr \fP- Opens passed directories in the favorite filemanager (gui/cli) 6 | \fB 7 | .SH SYNOPSYS 8 | tui-filemgr [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [/path/to/]DIR [../]DIR2 \.\.\. 9 | .SH DESCRIPTION 10 | Does only work in GUI, unless the end user (you) has a cli-filebrowser installed. 11 | Opens provided directories in the preferred file manager according to environment. 12 | In multi-user or emergency stage it will open "tui-browser" and in graphical stage it will open "nautilus" 13 | .SH OPTIONS 14 | .TP 15 | .B 16 | \fB-h\fP|\fB--help\fP 17 | Shows help and exit with 99 18 | .TP 19 | .B 20 | \fB--version\fP 21 | Shows version infoand exit with 0 22 | .SH BUGS 23 | Report bugs to: 24 | .PP 25 | TUI - Homepage: 26 | .PP 27 | General help using GNU software: 28 | .SH AUTHOR 29 | Simon Arjuna Erat, 30 | -------------------------------------------------------------------------------- /manpages/tui-ftp.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-ftp 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | -------------------------------------------------------------------------------- /manpages/tui-header.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-header 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-header \fP- Prints borders and colors the full line 6 | \fB 7 | .SH SYNOPSYS 8 | tui-header [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[-] | [str1] [str2] [str3]] 9 | .SH DESCRIPTION 10 | Prints one string on the left 11 | Prints two strings left and right 12 | Prints three strings left, entered and right 13 | .PP 14 | Pass \"-\" to read input from pipe 15 | One can pass empty strings to align the desired output. 16 | .SH OPTIONS 17 | .TP 18 | .B 19 | \fB-h\fP|\fB--help\fP 20 | Shows help and exit with 99 21 | .TP 22 | .B 23 | \fB--version\fP 24 | Shows version infoand exit with 0 25 | .TP 26 | .B 27 | - 28 | Read input from pipe 29 | .SH EXAMPLE 30 | 31 | tui-header "Hello World" 32 | .TP 33 | .B 34 | tui-header "" 35 | "i am left" 36 | .PP 37 | tui-header "" "i am centered" "" 38 | .SH HINTS 39 | If your script should feel too slow, 40 | you might get a slightly better performance using "tui-printline \fB-H\fP" 41 | .SH SEE ALSO 42 | \fBbash\fP(1), \fBtui-printline\fP(1) 43 | .SH BUGS 44 | Report bugs to: 45 | .PP 46 | TUI - Homepage: 47 | .PP 48 | General help using GNU software: 49 | .SH AUTHOR 50 | Simon Arjuna Erat, 51 | -------------------------------------------------------------------------------- /manpages/tui-install.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-install 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-install \fP- Package installer 6 | \fB 7 | .SH SYNOPSYS 8 | tui-install [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-bdqy\fP] [\fB-l\fP LOG] PACK AG ES .. 9 | .SH DESCRIPTION 10 | It is not a synonym for "install", but aims to become a handler for package managers, but only to install dependencies. 11 | .PP 12 | To do so, it is looking for the most known/spearch distros, and tries to figure out if it is based on another. 13 | It reckognizes: arch, debian (*buntu, mint), redhat (centos, fedora, sl) 14 | Needs verification for: exherbo, gentoo, mac, opensusue, openbsd, freebsd 15 | .PP 16 | Currently it installs using: yum/dnf, pcmanm, apt-get 17 | Need verification for: brew, cave, emerge, port, pkg, pkgng, zypper 18 | .PP 19 | The return values of "\fB-b\fP" and "\fB-d\fP" are ment to assist you to provide the proper package names. 20 | .SH OPTIONS 21 | .TP 22 | .B 23 | \fB-h\fP|\fB--help\fP 24 | Shows help and exit with 99 25 | .TP 26 | .B 27 | \fB--version\fP 28 | Shows version infoand exit with 0 29 | .TP 30 | .B 31 | \fB-b\fP 32 | Prints on what the distro is based on and exit 33 | .TP 34 | .B 35 | \fB-d\fP 36 | Prints the distro name and exit 37 | .TP 38 | .B 39 | \fB-l\fP LOG 40 | Writes and entry to LOG whether installation was successful or not 41 | .TP 42 | .B 43 | \fB-q\fP 44 | Install all at once, will fail if not all packages are available 45 | .TP 46 | .B 47 | \fB-y\fP 48 | Automatically accept the package manager questions 49 | .SH EXAMPLE 50 | 51 | tui-install \fB-b\fP 52 | .PP 53 | tui-install \fB-d\fP 54 | .PP 55 | no | tui-install gimp 56 | .PP 57 | tui-install \fB-y\fP gimp 58 | .SH SEE ALSO 59 | \fBbash\fP(1), \fByum\fP(1), \fBdnf\fP(1), \fBpcman\fP(1), \fBapt-get\fP(1), \fBcave\fP(1), brewer 60 | .SH BUGS 61 | Report bugs to: 62 | .PP 63 | TUI - Homepage: 64 | .PP 65 | General help using GNU software: 66 | .SH AUTHOR 67 | Simon Arjuna Erat, 68 | -------------------------------------------------------------------------------- /manpages/tui-list.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-list 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-list \fP- List items, with diffrent flavours of indexing 6 | \fB 7 | .SH SYNOPSYS 8 | tui-list [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-a\fP 23 | Use letters instead of numbers 24 | .TP 25 | .B 26 | \fB-r\fP 27 | Use roman letters instead of numbers (up to 3000 valid) 28 | .TP 29 | .B 30 | \fB-n\fP 31 | User regular numbers for counting 32 | .TP 33 | .B 34 | \fB-v\fP 35 | Print cancel option 0 36 | .SH EXAMPLE 37 | 38 | tui-list $LIST 39 | .PP 40 | tui-list \fB-2r\fP "${ARRAY[@]}" 41 | .PP 42 | tui-list \fB-1a\fP $LIST 43 | .SH BUGS 44 | Report bugs to: 45 | .PP 46 | TUI - Homepage: 47 | .PP 48 | General help using GNU software: 49 | .SH AUTHOR 50 | Simon Arjuna Erat, 51 | -------------------------------------------------------------------------------- /manpages/tui-log.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-log 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-log \fP- Create readable log files the easy way 6 | \fB 7 | .SH SYNOPSYS 8 | tui-log [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-e\fP 23 | Erease front, print MESSAGE in front 24 | .TP 25 | .B 26 | \fB-d\fP 27 | Adds the DATE (2015-11-27) in front 28 | .TP 29 | .B 30 | \fB-t\fP 31 | Adds the TIME (06:22:46) in front 32 | .TP 33 | .B 34 | \fB-p\fP ARG 35 | Adds the PID (ARG) in front 36 | .TP 37 | .B 38 | \fB-u\fP 39 | Adds the USER (sea) in front 40 | .TP 41 | .B 42 | \fB-s\fP ARG 43 | Changes the the separator ( ) to ARG 44 | .TP 45 | .B 46 | \fB-v\fP 47 | Prints the MESSAGE also to screen using tui-print 48 | .SH EXAMPLE 49 | 50 | tui-log "$LOG" "Message" 51 | .PP 52 | tui-log \fB-e\fP "/var/log/appname.log" "* Message" 53 | .PP 54 | tui-log \fB-dtp\fP 15 "LOGFILE" "Server started" 55 | .PP 56 | tui-log \fB-pu\fP "LOGFILE" "Changed background" 57 | .SH SEE ALSO 58 | \fBbash\fP(1), \fBlogger\fP(1), 59 | .SH BUGS 60 | Report bugs to: 61 | .PP 62 | TUI - Homepage: 63 | .PP 64 | General help using GNU software: 65 | .SH AUTHOR 66 | Simon Arjuna Erat, 67 | -------------------------------------------------------------------------------- /manpages/tui-mv.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-mv 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-mv \fP- mv, TUI-Style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-mv [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .PP 19 | In addition to the default options of "mv" 20 | .PP 21 | (please see "mv \fB--help\fP"), you have these options: 22 | .TP 23 | .B 24 | \fB--dash\fP 25 | Switch to (animated) dash-mode 26 | .TP 27 | .B 28 | \fB--line\fP 29 | Print all items on one line. 30 | .TP 31 | .B 32 | \fB--long\fP 33 | Show long names (full passed target path) 34 | .SH EXAMPLE 35 | tui-mv * /path/to/destination[/file] 36 | .PP 37 | tui-mv \fB--long\fP * /path/to/destination[/file] 38 | .PP 39 | tui-mv \fB--dash\fP \fB--line\fP * /path/to/destination[/file] 40 | .SH BUGS 41 | Report bugs to: 42 | .PP 43 | TUI - Homepage: 44 | .PP 45 | General help using GNU software: 46 | .SH AUTHOR 47 | Simon Arjuna Erat, 48 | .RE 49 | .PP 50 | Report bugs to: 51 | TUI home page: 52 | General help using GNU software: 53 | -------------------------------------------------------------------------------- /manpages/tui-new-browser.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-new-browser 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-new-browser \fP- Create a new project based on tui-browser 6 | \fB 7 | .SH SYNOPSYS 8 | tui-new-browser [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[/path/to/]FOLDERNAME] 9 | .SH DESCRIPTION 10 | Creates a new tui-browser project in either $TUI_DIR_PROJECTS/FOLDERNAME or /path/to/FOLDERNAME. 11 | If $TUI_DIR_PROJECTS is not set yet, you will be asked for its location. 12 | .SH OPTIONS 13 | .TP 14 | .B 15 | \fB-h\fP|\fB--help\fP 16 | Shows help and exit with 99 17 | .TP 18 | .B 19 | \fB--version\fP 20 | Shows version infoand exit with 0 21 | .TP 22 | .B 23 | \fB-a\fP 24 | Use the "application" template which provides some sample files 25 | .SH EXAMPLE 26 | 27 | tui-new-browser 28 | .PP 29 | tui-new-browser \fB-a\fP /home/sea/Projects/my_new_project 30 | .SH BUGS 31 | Report bugs to: 32 | .PP 33 | TUI - Homepage: 34 | .PP 35 | General help using GNU software: 36 | .SH AUTHOR 37 | Simon Arjuna Erat, 38 | -------------------------------------------------------------------------------- /manpages/tui-new-manpage.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-new-manpage 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | .RS 4 | .TP 5 | .B 6 |  # | 7 |  sea New manpage script (0.9.2) | # 8 |  9 | .SH NAME 10 | \fBtui-new-manpage \fP- Creates a new and empty manpage template 11 | \fB 12 | .SH SYNOPSYS 13 | tui-new-manpage [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-am\fP] [path/to/]FILENAME 14 | .SH DESCRIPTION 15 | Creates a new man page in /home/sea/bin, if /home/sea/.local/bin does not exists. 16 | Also asks to create a basic man page template in the same location. 17 | .SH OPTIONS 18 | .TP 19 | .B 20 | \fB-h\fP|\fB--help\fP 21 | Shows help and exit with 99 22 | .TP 23 | .B 24 | \fB--version\fP 25 | Shows version infoand exit with 0 26 | .TP 27 | .B 28 | \fB-a\fP 29 | Create a full application manpage template 30 | .TP 31 | .B 32 | \fB-m\fP 33 | Creates a minimal manpage template 34 | .SH EXAMPLE 35 | 36 | tui-new-manpage 37 | .PP 38 | tui-new-manpage ./my-manpage[.1] 39 | .PP 40 | tui-new-manpage \fB-a\fP my-full-manpage 41 | .SH SEE ALSO 42 | \fBbash\fP(1), \fBgroff\fP(1), \fBtroff\fP(1) 43 | .SH BUGS 44 | Report bugs to: 45 | .PP 46 | TUI - Homepage: 47 | .PP 48 | General help using GNU software: 49 | .SH AUTHOR 50 | Simon Arjuna Erat, 51 | -------------------------------------------------------------------------------- /manpages/tui-new-script.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-new-script 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | .RS 4 | .TP 5 | .B 6 |  # | 7 |  sea's New script script (1.7.1) | # 8 |  9 | .SH NAME 10 | \fBtui-new-script \fP- Creates a new executable script 11 | \fB 12 | .SH SYNOPSYS 13 | tui-new-script [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-befgrs\fP] [/path/to/][./]SCRIPT 14 | .SH DESCRIPTION 15 | Creates a new script in /home/sea/bin, if /home/sea/.local/bin does not exists. 16 | Also asks to create a basic man page template in the same location. 17 | .SH OPTIONS 18 | .TP 19 | .B 20 | \fB-h\fP|\fB--help\fP 21 | Shows help and exit with 99 22 | .TP 23 | .B 24 | \fB--version\fP 25 | Shows version infoand exit with 0 26 | .TP 27 | .B 28 | \fB-b\fP(asic) 29 | Creates an empty script, with preset comment-indention (shell = bash) 30 | .TP 31 | .B 32 | \fB-e\fP(mpty) 33 | Creates an empty script (default) (shell = bash) 34 | .TP 35 | .B 36 | \fB-f\fP(ull) 37 | Creates a standalone application script template (bash only) 38 | .TP 39 | .B 40 | \fB-r\fP(egular) 41 | Creates the same as basic, but with some code preset (bash only) 42 | .TP 43 | .B 44 | \fB-s\fP(elect) 45 | Select among the script names found in 46 | .SH EXAMPLE 47 | 48 | .TP 49 | .B 50 | tui-new-script fileA.sh 51 | # Creates a script in ~/bin or ~/.local/bin if existing 52 | .TP 53 | .B 54 | tui-new-script \fB-s\fP /opt/bin/fileB.sh 55 | # Creates a standalone application script in /opt/bin 56 | .SH BUGS 57 | Report bugs to: 58 | .PP 59 | TUI - Homepage: 60 | .PP 61 | General help using GNU software: 62 | .SH AUTHOR 63 | Simon Arjuna Erat, 64 | -------------------------------------------------------------------------------- /manpages/tui-press.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-press 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | .RS 4 | tui-press (0.9.1) 5 | Usage: tui-press 6 | Requires the user to press enter to continue 7 | .SS 8 | -------------------------------------------------------------------------------- /manpages/tui-print.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-print 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-print \fP- echo, TUI-style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-print [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[-] | [str1] [str2] [str3]] 9 | .SH DESCRIPTION 10 | Prints one string on the left 11 | Prints two strings left and right 12 | Prints three strings left, entered and right 13 | .PP 14 | Pass \"-\" to read input from pipe 15 | One can pass empty strings to align the desired output. 16 | .SH OPTIONS 17 | .TP 18 | .B 19 | \fB-h\fP|\fB--help\fP 20 | Shows help and exit with 99 21 | .TP 22 | .B 23 | \fB--version\fP 24 | Shows version infoand exit with 0 25 | .TP 26 | .B 27 | - 28 | Read input from pipe 29 | .SH EXAMPLE 30 | 31 | tui-print "Hello World" 32 | .TP 33 | .B 34 | tui-print "i am left" 35 | "i am right" 36 | tui-print "" "i am centered" "" 37 | .SH HINTS 38 | If your script should feel too slow, 39 | you might get a slightly better performance using "tui-printline \fB-E\fP" 40 | .SH SEE ALSO 41 | \fBbash\fP(1), \fBtui-printline\fP(1) 42 | .SH BUGS 43 | Report bugs to: 44 | .PP 45 | TUI - Homepage: 46 | .PP 47 | General help using GNU software: 48 | .SH AUTHOR 49 | Simon Arjuna Erat, 50 | -------------------------------------------------------------------------------- /manpages/tui-printf.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-printf 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-printf \fP- The core display command of TUI 6 | \fB 7 | .SH SYNOPSYS 8 | tui-printf [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[-] | [str1] [str2] [str3]] 9 | .SH DESCRIPTION 10 | Prints one string on the left 11 | Prints two strings left and right 12 | Prints three strings left, entered and right 13 | .PP 14 | Pass \"-\" to read input from pipe 15 | One can pass empty strings to align the desired output. 16 | .SH OPTIONS 17 | .TP 18 | .B 19 | \fB-h\fP|\fB--help\fP 20 | Shows help and exit with 99 21 | .TP 22 | .B 23 | \fB--version\fP 24 | Shows version infoand exit with 0 25 | .TP 26 | .B 27 | - 28 | Read input from pipe 29 | .TP 30 | .B 31 | \fB-E\fP 32 | Prints the echo 33 | .TP 34 | .B 35 | \fB-H\fP 36 | Prints the header 37 | .TP 38 | .B 39 | \fB-r\fP 40 | Returns cursors to line start 41 | .TP 42 | .B 43 | \fB-S\fP NUM 44 | Prints status, without exit status 45 | .TP 46 | .B 47 | \fB-T\fP 48 | Prints the title 49 | .SH EXAMPLE 50 | 51 | tui-printf "Replace me" 52 | tui-printf "Replaced above line" 53 | tui-printf \fB-E\fP "Replace again" 54 | tui-printf \fB-H\fP "No more replacing" 55 | tui-printf \fB-T\fP "Can you feel it?" 56 | tui-printf \fB-S\fP \044? "Last command worked!" 57 | tui-printf \fB-rS\fP 2 "Loading, and replace me\.\.\." 58 | .SH HINTS 59 | If your script should feel too slow, 60 | you might get a slightly better performance using "tui-printline \fB-E\fP" 61 | .SH SEE ALSO 62 | \fBbash\fP(1), \fBconsole_codes\fP(4), \fBgawk\fP(1), \fBgrep\fP(1), \fBprintf\fP(1), 63 | .SH BUGS 64 | Report bugs to: 65 | .PP 66 | TUI - Homepage: 67 | .PP 68 | General help using GNU software: 69 | .SH AUTHOR 70 | Simon Arjuna Erat, 71 | -------------------------------------------------------------------------------- /manpages/tui-printfile.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-printfile 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-printfile \fP- Print a file to screen and wrap TUI borders around it 6 | \fB 7 | .SH SYNOPSYS 8 | tui-printfile [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-d\fP DELAY] [\fB-tT\fP] FILE "Some String" \.\.\. 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .TP 19 | .B 20 | \fB-d\fP DELAY 21 | Waits DELAY seconds before it prints the next char. 22 | DELAY may be an integer or flaoting point like "0.007" 23 | This also triggers the typewriter "\fB-t\fP" 24 | .TP 25 | .B 26 | \fB-t\fP 27 | Enables typewriter mode, using default delay of 0.05 28 | .TP 29 | .B 30 | \fB-T\fP 31 | Prints the file name with tui-title before it prints its content 32 | .SH EXAMPLE 33 | 34 | tui-printfile file.txt 35 | .PP 36 | tui-printfile \fB-T\fP /path/to/multiple/files* 37 | .PP 38 | tui-printfile \fB-t\fP "Hello $USER, how are you today?" 39 | .SH HINTS 40 | In typewriter mode you can pass a mixed list of files and strings. 41 | .SH BUGS 42 | Report bugs to: 43 | .PP 44 | TUI - Homepage: 45 | .PP 46 | General help using GNU software: 47 | .SH AUTHOR 48 | Simon Arjuna Erat, 49 | -------------------------------------------------------------------------------- /manpages/tui-printline.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-printline 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-printline \fP- The core display command of TUI 6 | \fB 7 | .SH SYNOPSYS 8 | tui-printline [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[-] | [str1] [str2] [str3]] 9 | .SH DESCRIPTION 10 | Prints one string on the left 11 | Prints two strings left and right 12 | Prints three strings left, entered and right 13 | .PP 14 | Pass \"-\" to read input from pipe 15 | One can pass empty strings to align the desired output. 16 | .SH OPTIONS 17 | .TP 18 | .B 19 | \fB-h\fP|\fB--help\fP 20 | Shows help and exit with 99 21 | .TP 22 | .B 23 | \fB--version\fP 24 | Shows version infoand exit with 0 25 | .TP 26 | .B 27 | - 28 | Read input from pipe 29 | .TP 30 | .B 31 | \fB-E\fP 32 | Prints the echo 33 | .TP 34 | .B 35 | \fB-H\fP 36 | Prints the header 37 | .TP 38 | .B 39 | \fB-r\fP 40 | Returns cursors to line start 41 | .TP 42 | .B 43 | \fB-S\fP NUM 44 | Prints status, without exit status 45 | .TP 46 | .B 47 | \fB-T\fP 48 | Prints the title 49 | .SH EXAMPLE 50 | 51 | tui-printline "Replace me" 52 | tui-printline "Replaced above line" 53 | tui-printline \fB-E\fP "Replace again" 54 | tui-printline \fB-H\fP "No more replacing" 55 | tui-printline \fB-T\fP "Can you feel it?" 56 | tui-printline \fB-S\fP \044? "Last command worked!" 57 | tui-printline \fB-rS\fP 2 "Loading, and replace me\.\.\." 58 | .SH HINTS 59 | If your script should feel too slow, 60 | you might get a slightly better performance using "tui-printline \fB-E\fP" 61 | .SH SEE ALSO 62 | \fBbash\fP(1), \fBconsole_codes\fP(4), \fBgawk\fP(1), \fBgrep\fP(1), \fBprintf\fP(1), 63 | .SH BUGS 64 | Report bugs to: 65 | .PP 66 | TUI - Homepage: 67 | .PP 68 | General help using GNU software: 69 | .SH AUTHOR 70 | Simon Arjuna Erat, 71 | -------------------------------------------------------------------------------- /manpages/tui-progress.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-progress 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-progress \fP- Progress indication, which flavor? 6 | \fB 7 | .SH SYNOPSYS 8 | tui-progress [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-bClr\fP] [\fB-B\fP VAL] [\fB-c\fP VAL] [\fB-i\fP VAL] ["Message to the user"] 9 | .SH DESCRIPTION 10 | When called without options, it simply displays a rotating dash (-/|\) on the right side. 11 | When called with option "\fB-m\fP NUM" it increments the number found in the temp file, and showing [ incr/NUM ], before using this mode, you should reset the temp file (\fB-r\fP), or use a specific temp file identifier (\fB-i\fP STRING_ID). 12 | You can overwrite the requirement for a temp file, if you pass "\fB-c\fP NUM". 13 | When called with "\fB-b\fP", the options "\fB-m\fP NUM" and "\fB-c\fP NUM" are both required. 14 | .SH OPTIONS 15 | .TP 16 | .B 17 | \fB-h\fP|\fB--help\fP 18 | Shows help and exit with 99 19 | .TP 20 | .B 21 | \fB--version\fP 22 | Shows version infoand exit with 0 23 | .TP 24 | .B 25 | \fB-b\fP 26 | Enables the "bar" mode (minimal) 27 | .TP 28 | .B 29 | \fB-B\fP VAL 30 | Changes the bar-symbol to VAL 31 | .TP 32 | .B 33 | \fB-c\fP VAL 34 | Current value, required for bar-mode 35 | .TP 36 | .B 37 | \fB-C\fP 38 | Clear the line before print a new value, recommended if you pass multiple files 39 | .TP 40 | .B 41 | \fB-m\fP VAL 42 | If provided, changes progress-string output to "calculated-num / VAL " 43 | .TP 44 | .B 45 | \fB-l\fP 46 | Prints more info when in bar mode. 47 | .TP 48 | .B 49 | \fB-i\fP VAL 50 | VAL is used as part of tempfile name tui-progress use, if used in multiple instances 51 | Should be provided if used with \fB-m\fP 52 | .TP 53 | .B 54 | \fB-r\fP 55 | Resets the temp file, required for automatic increasing counts 56 | If the counting exceeds the set max value, it prints a warning but continues. 57 | .SH EXAMPLE 58 | As this needs a more dynamic approach to serve as an example, please see "tuirc samples" 59 | .SH BUGS 60 | Report bugs to: 61 | .PP 62 | TUI - Homepage: 63 | .PP 64 | General help using GNU software: 65 | .SH AUTHOR 66 | Simon Arjuna Erat, 67 | -------------------------------------------------------------------------------- /manpages/tui-read.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-read 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-read \fP- read, TUI-Style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-read [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] ["Question:"] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-n\fP 23 | does not accept empty strings 24 | .TP 25 | .B 26 | \fB-p\fP 27 | does not show chars on input 28 | .SH EXAMPLE 29 | 30 | tui-read 31 | .PP 32 | color=$(tui-read "What is your favourite colour?") 33 | .SH BUGS 34 | Report bugs to: 35 | .PP 36 | TUI - Homepage: 37 | .PP 38 | General help using GNU software: 39 | .SH AUTHOR 40 | Simon Arjuna Erat, 41 | -------------------------------------------------------------------------------- /manpages/tui-rnd.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-rnd 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fB$ME \fP- Prints a random number within range 6 | \fB 7 | .SH SYNOPSYS 8 | $ME [\fB-h\fP|\fB--help\fP] [\fB--version\fP] MAXVAL [MINVAL] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .SH EXAMPLE 19 | 20 | $ME 21 | .PP 22 | $ME 15 23 | .PP 24 | $ME 320 300 25 | .SH BUGS 26 | Report bugs to: 27 | .PP 28 | TUI - Homepage: 29 | .PP 30 | General help using GNU software: 31 | .SH AUTHOR 32 | Simon Arjuna Erat, 33 | -------------------------------------------------------------------------------- /manpages/tui-select.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-select 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-select \fP- select, TUI-Style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-select [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-12av\fP] ITEM1 ITEM2 \.\.\. 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-1\fP|\fB-2\fP 23 | Print that many rows 24 | .TP 25 | .B 26 | \fB-a\fP 27 | Auto select if only one entry was found 28 | .TP 29 | .B 30 | \fB-v\fP 31 | Print cancel option 0. 32 | .SH EXAMPLE 33 | 34 | tui-select $LIST 35 | .PP 36 | var=$(tui-select \fB-a\fP $LIST) 37 | .PP 38 | var=$(tui-select \fB-2\fP $LIST) 39 | .SH BUGS 40 | Report bugs to: 41 | .PP 42 | TUI - Homepage: 43 | .PP 44 | General help using GNU software: 45 | .SH AUTHOR 46 | Simon Arjuna Erat, 47 | -------------------------------------------------------------------------------- /manpages/tui-status.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-status 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-status \fP- Status Messages 6 | \fB 7 | .SH SYNOPSYS 8 | tui-status [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-r\fP] RET ["Message to user" ["Center string"]] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-r\fP 23 | Return on line, do not do a newline. 24 | .PP 25 | Interpreted exit codes are: 26 | .RS 27 | .TP 28 | .B 29 | 0 30 | | $RET_DONE = [ ✓ ] = $TUI_DONE 31 | .TP 32 | .B 33 | 1 34 | | $RET_FAIL = [ ✗ ] = $TUI_FAIL 35 | .TP 36 | .B 37 | 2 38 | | $RET_WORK = [ ∞ ] = $TUI_WORK 39 | .TP 40 | .B 41 | 3 42 | | $RET_TODO = [ ≣ ] = $TUI_TODO 43 | .TP 44 | .B 45 | 4 46 | | $RET_SKIP = [ » ] = $TUI_SKIP 47 | .TP 48 | .B 49 | 5 50 | | $RET_NEXT = [ ⇒ ] = $TUI_NEXT 51 | .TP 52 | .B 53 | 6 54 | | $RET_BACK = [ ⇐ ] = $TUI_BACK 55 | .TP 56 | .B 57 | 7 58 | | $RET_CANC = [ ✗ ] = $TUI_CANC 59 | .TP 60 | .B 61 | 10 62 | | $RET_ON = [ ◆ ] = $TUI_ON 63 | .TP 64 | .B 65 | 11 66 | | $RET_OFF = [ ◇ ] = $TUI_OFF 67 | .TP 68 | .B 69 | 99 70 | | $RET_HELP = [ HELP ] = $TUI_HELP 71 | .TP 72 | .B 73 | 111 74 | | $RET_INFO = [ ⅈⅈ ] = $TUI_INFO 75 | .TP 76 | .B 77 | 127 78 | | $RET_NFOUND = [ ✗ ] = $TUI_NFOUND 79 | .TP 80 | .B 81 | 130 82 | | $RET_CANC = [ ✗ ] = $TUI_CANC 83 | .SS 84 | .SH EXAMPLE 85 | 86 | $ME 0 "Your account exists:" "$USER" 87 | .PP 88 | $ME \fB-r\fP 2 "Loading data\.\.\." ; sleep 1 ; $ME $? "Loaded data." 89 | .SH BUGS 90 | Report bugs to: 91 | .PP 92 | TUI - Homepage: 93 | .PP 94 | General help using GNU software: 95 | .SH AUTHOR 96 | Simon Arjuna Erat, 97 | -------------------------------------------------------------------------------- /manpages/tui-str-bol-conv.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-str-bol-conv 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-str-bol-conv \fP- Converts a bool return value in text 6 | \fB 7 | .SH SYNOPSYS 8 | tui-str-bol-conv [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-hcCdty\fP] \044? 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .TP 19 | .B 20 | \fB-c\fP 21 | Makes first letter Capital 22 | .TP 23 | .B 24 | \fB-C\fP 25 | Makes all letters CAPITAL 26 | .TP 27 | .B 28 | \fB-d\fP 29 | Returns: done/fail 30 | .TP 31 | .B 32 | \fB-t\fP 33 | Returns: true/false 34 | .TP 35 | .B 36 | \fB-y\fP 37 | Returns: yes/no 38 | .SH EXAMPLE 39 | 40 | tui-yesno "Do you like this?" 41 | .PP 42 | answer_word=\044(tui-str-bol-conv \fB-y\fP \044?) 43 | .SH BUGS 44 | Report bugs to: 45 | .PP 46 | TUI - Homepage: 47 | .PP 48 | General help using GNU software: 49 | .SH AUTHOR 50 | Simon Arjuna Erat, 51 | -------------------------------------------------------------------------------- /manpages/tui-str-extension.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-str-extension 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-str-extension \fP- Get the extension of the file, if any 6 | \fB 7 | .SH SYNOPSYS 8 | tui-str-extension [\fB-h\fP|\fB--help\fP] [\fB--version\fP] "File with spaces.some string.txt" 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .SH EXAMPLE 19 | 20 | tui-str-extension /etc/tui/tui.conf 21 | .PP 22 | tui-str-extension /etc/ld.so.cache 23 | .SH BUGS 24 | Report bugs to: 25 | .PP 26 | TUI - Homepage: 27 | .PP 28 | General help using GNU software: 29 | .SH AUTHOR 30 | Simon Arjuna Erat, 31 | -------------------------------------------------------------------------------- /manpages/tui-str-genfilename.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-str-genfilename 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-str-genfilename \fP- Generate a filename, explace extension if provided 6 | \fB 7 | .SH SYNOPSYS 8 | tui-str-genfilename [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [/path/to/]BASENAME.EXT [NEW_EXTENSION] 9 | .SH DESCRIPTION 10 | If a NEW_EXTENSION is provided, it will be replacing EXT (if exists). 11 | If BASENAME with either the existing EXT or the NEW_EXTENSION already exists, a number will be inserted before the file its new/old EXT. 12 | If BASENAME has neither an old EXT nor a NEW_EXTENSION, the number will become its extension. 13 | The number will be increased until the generated file name does not exist yet. 14 | .SH OPTIONS 15 | .TP 16 | .B 17 | \fB-h\fP|\fB--help\fP 18 | Shows help and exit with 99 19 | .TP 20 | .B 21 | \fB--version\fP 22 | Shows version infoand exit with 0 23 | .SH EXAMPLE 24 | 25 | tui-str-genfilename tempfile.tmp 26 | .PP 27 | tui-str-genfilename ../tempfile.tmp cache 28 | .SH BUGS 29 | Report bugs to: 30 | .PP 31 | TUI - Homepage: 32 | .PP 33 | General help using GNU software: 34 | .SH AUTHOR 35 | Simon Arjuna Erat, 36 | -------------------------------------------------------------------------------- /manpages/tui-str-hash.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-str-hash 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-str-hash \fP- SHORTDESC 6 | \fB 7 | .SH SYNOPSYS 8 | tui-str-hash [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-t\fP TYPE 23 | Pass which type of hashing you want, default/fallback: md5sum 24 | .PP 25 | Hash types supported: sha1sum, sha224sum, sha256sum, sha384sum, sha512sum 26 | .SH EXAMPLE 27 | 28 | tui-str-hash \fB-t\fP 384 "some string" 29 | .PP 30 | cat file.txt | tui-str-hash - 31 | .SH BUGS 32 | Report bugs to: 33 | .PP 34 | TUI - Homepage: 35 | .PP 36 | General help using GNU software: 37 | .SH AUTHOR 38 | Simon Arjuna Erat, 39 | -------------------------------------------------------------------------------- /manpages/tui-str-usb.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-str-usb 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-str-usb \fP- Select an USB storage 6 | \fB 7 | .SH SYNOPSYS 8 | tui-str-usb [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .TP 19 | .B 20 | \fB-a\fP 21 | Auto select entry if only one was found 22 | .SH EXAMPLE 23 | 24 | usb=$(tui-str-usb) 25 | .PP 26 | usb=$(tui-str-usb \fB-a\fP) 27 | .SH BUGS 28 | Report bugs to: 29 | .PP 30 | TUI - Homepage: 31 | .PP 32 | General help using GNU software: 33 | .SH AUTHOR 34 | Simon Arjuna Erat, 35 | -------------------------------------------------------------------------------- /manpages/tui-tar.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-tar 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-tar.1 \fP- tar, TUI-Style 6 | \fB 7 | .SH SYNOPSYS 8 | tui-tar.1 [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-bx\fP] [/path/to/]directory 9 | .SH DESCRIPTION 10 | It is designed to pass directory names to compress, it will store the tarball in current path, named like the last folder. 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-b\fP 23 | Show progress bar 24 | .TP 25 | .B 26 | \fB-x\fP 27 | Extract tarball 28 | .SH EXAMPLE 29 | 30 | tui-tar.1 \fB-b\fP ../thisdir.tar.gz . 31 | .PP 32 | tui-tar.1 \fB-x\fP tarball.tar.gz 33 | .SH BUGS 34 | Report bugs to: 35 | .PP 36 | TUI - Homepage: 37 | .PP 38 | General help using GNU software: 39 | .SH AUTHOR 40 | Simon Arjuna Erat, 41 | -------------------------------------------------------------------------------- /manpages/tui-terminal.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-terminal 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-conf-set \fP- Set a value of a variable within a config file 6 | \fB 7 | .SH SYNOPSYS 8 | tui-conf-set [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [\fB-options\fP] [\fB-option\fP arg] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version infoand exit with 0 20 | .TP 21 | .B 22 | \fB-i\fP 23 | Internal search pattern is no longer case sensitive 24 | .TP 25 | .B 26 | \fB-l\fP 27 | Lists values available in the file 28 | .TP 29 | .B 30 | \fB-c\fP 31 | Writes the VALUE, and stores VALUENAME in capital chars 32 | .TP 33 | .B 34 | \fB-s\fP 35 | Writes the VALUE, and stores VALUENAME in lower chars 36 | .TP 37 | .B 38 | \fB-v\fP 39 | Prints a status message whether or not the value could be saved 40 | .SH EXAMPLE 41 | 42 | .TP 43 | .B 44 | tui-conf-set \fB-l\fP 45 | /etc/default/grub | Prints a list of found variable-names 46 | .TP 47 | .B 48 | tui-conf-set 49 | /etc/default/grub GRUB_TIMEOUT 15 | Saves VALUENAME as passed (VALUENAME) 50 | .TP 51 | .B 52 | tui-conf-set \fB-ic\fP /etc/default/grub grub_timeout 15 53 | | Saves valuename as VALUENAME 54 | .TP 55 | .B 56 | tui-conf-set \fB-i\fP 57 | /etc/default/grub grub_timeout 15 | Saves valuename as passed (valuename) 58 | .TP 59 | .B 60 | tui-conf-set \fB-is\fP /etc/default/grub GRUB_TIMEOUT 15 61 | | Saves VALUENAME as valuename 62 | .SH SEE ALSO 63 | \fBbash\fP(1), \fBcat\fP(1), \fBgawk\fP(1), \fBgrep\fP(1), \fBsed\fP(1) 64 | .SH BUGS 65 | Report bugs to: 66 | .PP 67 | TUI - Homepage: 68 | .PP 69 | General help using GNU software: 70 | .SH AUTHOR 71 | Simon Arjuna Erat, 72 | .SH NAME 73 | \fBtui-terminal \fP- Executed commands in a new terminal 74 | \fB 75 | .SH SYNOPSYS 76 | tui-terminal [\fB-h\fP|\fB--help\fP] [\fB--version\fP] "echo \$USER" | "[ condition ] && action" 77 | .SH DESCRIPTION 78 | Opens provided command in the preferred terminal window. 79 | .SH OPTIONS 80 | .TP 81 | .B 82 | \fB-h\fP|\fB--help\fP 83 | Shows help and exit with 99 84 | .TP 85 | .B 86 | \fB--version\fP 87 | Shows version infoand exit with 0 88 | .SH BUGS 89 | Report bugs to: 90 | .PP 91 | TUI - Homepage: 92 | .PP 93 | General help using GNU software: 94 | .SH AUTHOR 95 | Simon Arjuna Erat, 96 | .RE 97 | .PP 98 | Usage: tui-terminal \"\" 99 | .RS 100 | .PP 101 | Executes \"\" in another terminal (xterm) window, closes on termination according to your setting with that terminal. 102 | .PP 103 | Report bugs to: 104 | TUI home page: 105 | General help using GNU software: 106 | -------------------------------------------------------------------------------- /manpages/tui-title.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-title 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-title \fP- Prints borders and colors the inbound line 6 | \fB 7 | .SH SYNOPSYS 8 | tui-title [\fB-h\fP|\fB--help\fP] [\fB--version\fP] [[-] | [str1] [str2] [str3]] 9 | .SH DESCRIPTION 10 | Prints one string in the center 11 | Prints two strings left and right 12 | Prints three strings left, entered and right 13 | .PP 14 | Pass \"-\" to read input from pipe 15 | One can pass empty strings to align the desired output. 16 | .SH OPTIONS 17 | .TP 18 | .B 19 | \fB-h\fP|\fB--help\fP 20 | Shows help and exit with 99 21 | .TP 22 | .B 23 | \fB--version\fP 24 | Shows version infoand exit with 0 25 | .TP 26 | .B 27 | - 28 | Read input from pipe 29 | .SH EXAMPLE 30 | 31 | tui-title "Hello World, in the center" 32 | .TP 33 | .B 34 | tui-title "iam left" 35 | "i am right" 36 | tui-title "" "i am in the center too" "" 37 | .SH HINTS 38 | If your script should feel too slow, 39 | you might get a slightly better performance using "tui-printline \fB-T\fP" 40 | .SH SEE ALSO 41 | \fBbash\fP(1), \fBtui-printline\fP(1) 42 | .SH BUGS 43 | Report bugs to: 44 | .PP 45 | TUI - Homepage: 46 | .PP 47 | General help using GNU software: 48 | .SH AUTHOR 49 | Simon Arjuna Erat, 50 | -------------------------------------------------------------------------------- /manpages/tui-wait.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-wait 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-wait \fP- Wait some time 6 | \fB 7 | .SH SYNOPSYS 8 | tui-wait [\fB-h\fP|\fB--help\fP] [\fB--version\fP] TIME ["Message to user"] 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .SH EXAMPLE 19 | 20 | tui-wait 1m "Wait a minute" 21 | .PP 22 | tui-wait 1h "Wait an hour" 23 | .SH BUGS 24 | Report bugs to: 25 | .PP 26 | TUI - Homepage: 27 | .PP 28 | General help using GNU software: 29 | -------------------------------------------------------------------------------- /manpages/tui-web.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-web 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fB$ME \fP- Opens passed URLs in the favorite web browser (gui/cli) 6 | \fB 7 | .SH SYNOPSYS 8 | $ME [\fB-h\fP|\fB--help\fP] [\fB--version\fP] URL URL2 .. 9 | .SH DESCRIPTION 10 | Does only work in GUI, unless the end user (you) has a cli-filebrowser installed. 11 | Opens provided directories in the preferred file manager according to environment. 12 | In multi-user or emergency stage it will open \"$FILEMGR_CLI\" and in graphical stage it will open \"$FILEMGR_GUI\" 13 | .SH OPTIONS 14 | .TP 15 | .B 16 | \fB-h\fP|\fB--help\fP 17 | Shows help and exit with 99 18 | .TP 19 | .B 20 | \fB--version\fP 21 | Shows version infoand exit with 0 22 | .TP 23 | .B 24 | \fB-c\fP 25 | Force CLI mode 26 | .SH BUGS 27 | Report bugs to: 28 | .PP 29 | TUI - Homepage: 30 | .PP 31 | General help using GNU software: 32 | .SH AUTHOR 33 | Simon Arjuna Erat, 34 | -------------------------------------------------------------------------------- /manpages/tui-yesno.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui-yesno 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui-yesno \fP- Put a simple yes or no question 6 | \fB 7 | .SH SYNOPSYS 8 | tui-yesno [\fB-h\fP|\fB--help\fP] [\fB--version\fP] "Question to user?" 9 | .SH OPTIONS 10 | .TP 11 | .B 12 | \fB-h\fP|\fB--help\fP 13 | Shows help and exit with 99 14 | .TP 15 | .B 16 | \fB--version\fP 17 | Shows version infoand exit with 0 18 | .SH EXAMPLE 19 | 20 | if tui-yesno "Do you want to do this?" 21 | .TP 22 | .B 23 | then 24 | echo "yes" 25 | .TP 26 | .B 27 | else 28 | echo "no" 29 | fi 30 | .SH BUGS 31 | Report bugs to: 32 | .PP 33 | TUI - Homepage: 34 | .PP 35 | General help using GNU software: 36 | .SH AUTHOR 37 | Simon Arjuna Erat, 38 | -------------------------------------------------------------------------------- /manpages/tui.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tui 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .SH NAME 5 | \fBtui \fP- Text User Interface, framework for scripts 6 | \fB 7 | .SH SYNOPSYS 8 | tui [\fB-h\fP|\fB--help\fP] [\fB--version\fP] COMMAND|[SECTION COMMAND] 9 | .SH DESCRIPTION 10 | desc 11 | .SH OPTIONS 12 | .TP 13 | .B 14 | \fB-h\fP|\fB--help\fP 15 | Shows help and exit with 99 16 | .TP 17 | .B 18 | \fB--version\fP 19 | Shows version info and exit with 0 20 | .RE 21 | .PP 22 | 23 | 24 | .SH EXAMPLE 25 | 26 | tui bol gui ; tui str boolconv $? 27 | .PP 28 | su \fB-c\fP "tui-conf-editor /etc/default/grub" 29 | .RE 30 | .PP 31 | 32 | 33 | .SH HINTS 34 | Some_text 35 | .SH SEE ALSO 36 | \fBbash\fP(1), \fBgettext\fP(1), \fBtuirc\fP(1), \fBtui-read\fP(1), \fBtui-select\fP(1), \fBtxt2man\fP(1) 37 | .SH BUGS 38 | Report bugs to: mailinglist ; <${script_contact:\fB-sea\fP@toshiba.ocean}> 39 | .PP 40 | tui - Homepage: <${script_url:-}> 41 | .PP 42 | General help using GNU software: 43 | .SH AUTHOR 44 | ${script_author:\fB-sea\fP}, <> 45 | -------------------------------------------------------------------------------- /manpages/tuirc.1: -------------------------------------------------------------------------------- 1 | .\" Text automatically generated by txt2man 2 | .TH tuirc 1 "27 November 2015" "TUI 0.9.0e" "TUI Manual" 3 | 4 | .RS 5 | .TP 6 | .B 7 | Usage: 8 | tuirc [config|reset[\fB-yes\fP]|theme] // source tui 9 | Where options are: 10 | .RS 11 | .TP 12 | .B 13 | \fB-h\fP|\fB--help\fP 14 | This screen 15 | .TP 16 | .B 17 | config 18 | Enters directly into config mode 19 | .TP 20 | .B 21 | provides 22 | List all variables provided by TUI 23 | .TP 24 | .B 25 | reset 26 | Resets configuration to defaults, root will reset system wide defaults 27 | .TP 28 | .B 29 | reset-yes 30 | Resets configuration without asking for verification 31 | .TP 32 | .B 33 | samples 34 | View samples files, first code then executed 35 | .TP 36 | .B 37 | theme [THEME] 38 | If no THEME is passed, returns which is currently active, otherwise sets theme of the current user to THEME. 39 | .RE 40 | .PP 41 | Report bugs to: 42 | TUI home page: 43 | General help using GNU software: 44 | -------------------------------------------------------------------------------- /scripts/build-rpm-tui.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # ------------------------------------------------------------------------ 3 | # 4 | # Copyright (c) 2014 by Simon Arjuna Erat (sea) 5 | # All rights reserved. 6 | # 7 | # This program is free software: you can redistribute it and/or modify it 8 | # under the terms of the GNU Lesser General Public License as published 9 | # by the Free Software Foundation, either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # This program is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public License 18 | # along with this program. If not, see 19 | # 20 | # ------------------------------------------------------------------------ 21 | # 22 | # Builds an rpm package for TUI 23 | # 24 | # 25 | # 26 | # Variables 27 | # 28 | . $HOME/.config/fas/fas.conf 29 | app=tui 30 | [ -z $1 ] && \ 31 | dir_out="$FAS_REVIEW/$app" || \ 32 | dir_out="$1" 33 | ext=tar.gz 34 | # If this is not found, retrieve code from git 35 | CHECK_FOR=bin/$app 36 | HUB_USER=sri-arjuna 37 | GIT=https://github.com/$HUB_USER/$app.git 38 | #build_link=/usr/bin/rpm-build-$app 39 | # Get script & spec homedir 40 | [ "." = "$(basename $0)" ] && \ 41 | home="$(pwd)" || \ 42 | home="$(dirname $0)" 43 | oPWD=$(pwd) 44 | # 45 | # Prepare 46 | # 47 | cd "$home" 48 | [ -d $HOME/rpmbuild ] && rpmdev-wipetree 49 | rpmdev-setuptree 50 | [ -f "$CHECK_FOR" ] || git clone $GIT ../$app 51 | # 52 | # Version & tarball name 53 | # 54 | VER=$(grep -i "Version:" "$app.spec"|awk '{print $2}') 55 | TARBALL=$app-$VER.$ext #$(basename $(grep -i "Source0:" "$app.spec"|grep -v ^"#"|awk '{print $2}')) 56 | # 57 | # Place file in rpmbuild and $dir_out 58 | # 59 | cp $app.spec $HOME/rpmbuild/SPECS 60 | cp $app.spec "$dir_out" 61 | [ -d ../$app ] || (mkdir ../$app;cp -r * ../$app ) 62 | tar -acf $dir_out/$TARBALL ../$app 63 | ln -sf $dir_out/$TARBALL $HOME/rpmbuild/SOURCES/$TARBALL 64 | # 65 | # Build 66 | # 67 | rpmbuild -ba $app.spec || exit 68 | # 69 | # Get packages 70 | # 71 | cd "$HOME"/rpmbuild 72 | raw=$(find | grep $app | grep rpm) 73 | mv $raw "$dir_out" 74 | 75 | cd "$dir_out" 76 | pwd 77 | ls $dir_out/ | grep $app 78 | # 79 | # Clean up 80 | # 81 | rpmdev-wipetree 82 | rm -fr $HOME/rpmbuild 83 | cd "$oPWD" 84 | -------------------------------------------------------------------------------- /scripts/distro/README: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 2 | All rights reserved. 3 | 4 | This program is free software: you can redistribute it and/or modify it 5 | under the terms of the GNU General Public License as published 6 | by the Free Software Foundation, either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see 16 | ------------------------------------------------------------------------- 17 | 18 | This applies for all files within: ./scripts/distro 19 | This path supplies files required to create packages for a specific distro. 20 | 21 | Arch: PKGBUILD 22 | Fedora/Red Hat: tui.spec -------------------------------------------------------------------------------- /scripts/make-manpages.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # 18 | # Usage: 19 | # ./scripts/make-po-files.sh 20 | # 21 | # Variables 22 | # 23 | source ./configure.cfg 24 | MAN_DEST=manpages 25 | # 26 | # Action & Display 27 | # 28 | [ -d "$MAN_DEST" ] || mkdir "$MAN_DEST" 29 | for f in bin/*;do 30 | $f -h 2>/dev/zero| \ 31 | txt2man -v "TUI Manual" \ 32 | -t "${f##*/}" -s 1 \ 33 | -r "TUI $APP_VER" > "$MAN_DEST/${f##*/}.1" 2>/dev/zero 34 | done 35 | -------------------------------------------------------------------------------- /scripts/make-po-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # 18 | # Usage: 19 | # ./scripts/make-po-files.sh 20 | # 21 | # 22 | # Vars 23 | # 24 | BASE="/home/sea/prjs/tui" 25 | DEST="$BASE/locale/Anticipate-po-files" 26 | # 27 | # Functions 28 | # 29 | getpo() { # ITEM 30 | # 31 | # 32 | xgettext --debug -kMSG_TR --from-code=CP850 -kgettext -L Shell -o "$DEST/$1.po" "bin/$1" 33 | #case $1 in 34 | #tuirc) ;; 35 | #*) xgettext --debug -kMSG_TR -kgettext -L Shell -o "$DEST/$1.po" "bin/$1" ;; 36 | #esac 37 | } 38 | # 39 | # Action 40 | # 41 | cd "$BASE" 42 | mkdir -p "$DEST" 43 | 44 | if [ -z "$1" ] 45 | then # Ask for every file 46 | for task in $(cd $BASE/bin;ls);do 47 | tui-yesno "Do \"$task\"?" && getpo "$task" 48 | done 49 | else # Do just this one 50 | for a in "${@}";do 51 | getpo "$a" 52 | done 53 | fi 54 | 55 | 56 | exit $? 57 | 58 | for d in bin #man 59 | do [ -d "$d.po" ] || mkdir "$d.po" 60 | for f in ./$d/* 61 | do xgettext --extract-all --strict --debug -L Shell -o "$PWD/$d.po/${f##*/}.po" "$f" 62 | done 63 | done 64 | -------------------------------------------------------------------------------- /scripts/old/configure.cfg: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright (c) 2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # 18 | # Project Settings 19 | # 20 | APP=tui 21 | APP_LIC="GPLv3+" 22 | APP_TITLE="Text User Interface, framework for scripts" 23 | APP_VER="$(\gawk -F= '/TUI_VERSION/ {print $2}' bin/tuirc)" 24 | APP_REQUIRES="gawk bash gettext grep sed" 25 | CFG_REQUIRES="texi2any" # txt2man" 26 | doRef=true 27 | doMakefile=true 28 | # Visit & Download 29 | APP_URL="https://savannah.nongnu.org/projects/$APP/" 30 | DOWNLOAD="http://git.savannah.gnu.org/cgit/$APP.git/snapshot/$APP-master.tar.gz" 31 | APP_GIT="http://git.savannah.gnu.org/cgit/$APP.git" 32 | # Author & License 33 | APP_AUTHOR="Simon Arjuna Erat (sea)" 34 | APP_EMAIL="erat.simon@gmail.com" 35 | APP_HOMEPAGE="http://savannah.nongnu.org/projects/tui" # Doesnt work yet, dont know how/where to upload files 36 | APP_HOMEPAGE="http://linux-scripter.blogspot.com" 37 | # 38 | # Targets 39 | # 40 | BINDIR=bin 41 | SYSCONFDIR="./conf.tui ./tuirc" 42 | DOCDIR="[CT]* docs/[ACGILNR]* docs/tex/*.html" 43 | MAN1DIR=manpages 44 | INFODIR="docs/tex/$APP.info docs/tex/fdl.info" 45 | DATADIR="./conf.home ./lists ./locale ./docs/samples ./templates ./themes" ## ./struct 46 | COMPLDIR=compl 47 | # 48 | # Preparations 49 | # 50 | MAKE[0]="scripts/prepare.sh" 51 | MAKE[1]="source ./$REFERENCE; source ./tuirc ; for f in conf.tui/*conf;do source \$f;done" 52 | 53 | # Docs - Texinfo 54 | TEXI[0]="docs/tex/tui.texi docs/tex" 55 | 56 | # Docs - HTML 57 | HTML[0]="docs/tex/tui.texi docs/tex" 58 | # 59 | # Finetuning 60 | # 61 | # Making them on two lines, helps if it is just an update and not just on fresh installations 62 | PRIOR[0]="[ ! -f ./tuirc ] && echo 'Please run either \"./make\" or \"make\" first!' && exit 1" 63 | POST[0]="[ ! -d \${CHROOT}\$SYSCONFDIR/tui ] && mkdir -p \${CHROOT}\$SYSCONFDIR/tui" 64 | POST[1]="mv \${CHROOT}\$SYSCONFDIR/conf.tui/* \${CHROOT}\$SYSCONFDIR/tui && rmdir \${CHROOT}\$SYSCONFDIR/conf.tui" 65 | # 66 | # Removals 67 | # 68 | # make-distclean 69 | CLEAN[0]="rm -f tuirc" 70 | 71 | # The REFERNCE file ($SYSCONFDIR/$APP.conf) is removed automaticly 72 | REMOVE[0]="[ -d \${CHROOT}\$SYSCONFDIR/tui ] && rm -fr \${CHROOT}\$SYSCONFDIR/tui" 73 | REMOVE[0]="[ -f \${CHROOT}\$SYSCONFDIR/tuirc ] && rm -f \${CHROOT}\$SYSCONFDIR/tuirc" 74 | # 75 | # Ignore for Tarball 76 | # 77 | IGNORE[0]=".git" 78 | IGNORE[1]="scripts" 79 | IGNORE[2]="TODO" 80 | # 81 | # Contact 82 | # 83 | BUGS="tui-support@nongnu.org" 84 | -------------------------------------------------------------------------------- /scripts/stats.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 3 | # All rights reserved. 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see 17 | # 18 | # Vars 19 | # 20 | LINER="########################################" 21 | COMMENTS=0 22 | LINES=0 23 | BLANKS=0 24 | # 25 | # Action 26 | # 27 | echo "$LINER" 28 | echo -e "\tProject stats for \"$(basename $PWD)\"" 29 | # Size 30 | echo "$LINER" 31 | for DIR in * ; do [ -d "$DIR" ] && LIST+=" $DIR" ; done 32 | du $LIST | awk '{print $1" kb\tin "$2;SUM=SUM+$1} END {print NR" folders with a total of "SUM" kbytes"}' 33 | # Files 34 | echo "$LINER" 35 | # 36 | # Lines 37 | #for F in $(find|grep -ve ".git" -ve ".jpg") 38 | #do [ -f "$F" ] && \ 39 | # COMMENTS=$(( $COMMENTS + $(grep ^"#" "$F" | wc -l) )) && \ 40 | # LINES=$(( $LINES + $(cat "$F" | wc -l) )) && \ 41 | # BLANKS=$(( $BLANKS + $(grep ^[[:space:]]$ "$F" | wc -l) )) 42 | #done 43 | FILES=0 44 | if true;then 45 | for F in $(find . -type d -name ".git" -prune -o -type f ! -name "*.jpg" \! -name "*.png" -print) 46 | do #echo "$F" 47 | COMMENTS=$(( $COMMENTS + $(grep ^"#" "$F" | wc -l) )) && \ 48 | LINES=$(( $LINES + $(cat "$F" | wc -l) )) && \ 49 | BLANKS=$(( $BLANKS + $(grep ^[[:space:]]$ "$F" | wc -l) )) && \ 50 | ((FILES+=1)) 51 | done 52 | echo "Spread across $FILES files, there are:" 53 | fi 54 | if false;then 55 | vals=( $( awk -v q="^#,.*,^[[:space:]]*$" ' 56 | BEGIN{cc=split(q,crit,",")} 57 | { for(i in crit) t[i]+=($0 ~ crit[i]) } 58 | END { for(i=1; i<=cc;i++) printf "%d ",t[i] }' \ 59 | $(find . -type f -name "*"|grep -ve jpg$ -ve png$ -ve svg$ -ve \.git) ) 60 | ) 61 | ((COMMENTS=vals[0])) 62 | ((LINES=vals[1])) 63 | ((BLANKS=vals[2])) 64 | FILES=$(find|grep -ve ".git" -ve ".jpg"| wc -l) 65 | echo "Spread across $FILES files, there are:" 66 | fi 67 | echo -e "Lines Total: \t\t $LINES" 68 | echo -e "Comment lines: \t\t $COMMENTS" 69 | echo -e "Blank lines: \t\t $BLANKS" 70 | echo -e "Avrg lines p. file: \t $(( $LINES / $FILES ))" 71 | -------------------------------------------------------------------------------- /templates/browser.dir/menu/default.cmd: -------------------------------------------------------------------------------- 1 | tui-bol-root && \ 2 | tui-status "$?" "You are root -- shown by $0" || \ 3 | tui-status "$?" "You are $USER -- shown by $0" -------------------------------------------------------------------------------- /templates/browser.dir/menu/default.help: -------------------------------------------------------------------------------- 1 | You are now in the project root path. 2 | Starting from here, you can dig into all the different sections and execute their inherit tasks. 3 | 4 | You can call each section and task within their order as arguments straight from the command line. -------------------------------------------------------------------------------- /templates/browser.dir/menu/default.info: -------------------------------------------------------------------------------- 1 | This is the basic info, pass "$0 help" to get more help. -------------------------------------------------------------------------------- /templates/browser.dir/menu/start: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | tui-echo "Hello world" -------------------------------------------------------------------------------- /templates/browser.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sri-arjuna/tui/a5ae099575a71129ac33e0168bd094d91e63b0e1/templates/browser.tar.gz -------------------------------------------------------------------------------- /templates/manpage/application: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # ---------------------------------------------------------------------- 3 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 4 | # All rights reserved. 5 | # 6 | # This program is free software: you can redistribute it and/or modify it 7 | # under the terms of the GNU General Public License as published 8 | # by the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see 18 | # ---------------------------------------------------------------------- 19 | source tuirc 20 | ME=$(basename "${DEST/.1/}") 21 | 22 | cat > "$DEST" << EOF 23 | .ig 24 | $ME - short description 25 | Copyright (C) $(date +'%B %d') by $USER_NAME - $USER_EMAIL 26 | .. .................................................... 27 | .TH "$ME" 1 "$(date +'%F'|sed s/'\.'/' '/g)" "$USER_NAME" 28 | 29 | 30 | 31 | .SH NAME 32 | $ME (0.1) 33 | 34 | 35 | 36 | .SH SYNOPSIS 37 | \fB$ME\fP 38 | .OP option 39 | .RI arguments 40 | .br 41 | 42 | Example: $ME filename 43 | .br 44 | $ME 45 | .OP -v 46 | .OP -l label 47 | filename 48 | .br 49 | 50 | 51 | 52 | 53 | .SH OPTIONS 54 | .br 55 | .OP "-v" 56 | Optional option 57 | .br 58 | 59 | .OP "-l label" 60 | Bold option with argument 61 | 62 | .IP "\fB-XY\fP" 63 | Bold option 64 | .br 65 | 66 | 67 | 68 | .SH DESCRIPTION 69 | Some descriptional text 70 | .br 71 | .B 1. 72 | Listing text 73 | .br 74 | .B 2. 75 | Listing text 76 | .br 77 | .IP "\fBList Heading\fP" 78 | Some descriptional text 79 | .RS 11 80 | .B 3. 81 | Indented 82 | .I list 83 | .br 84 | .B 4. 85 | Indented 86 | .B list 87 | .RS 4 88 | .B 5. 89 | Sub ident 90 | .RE 91 | 92 | 93 | 94 | .SH SEE ALSO 95 | .B bash 96 | (1), 97 | .B man 98 | (1), 99 | .B tui 100 | (1) 101 | 102 | 103 | 104 | .SH LICENSE 105 | $DEFAULT_LICENSE 106 | .br 107 | $DEFAULT_LICENSE_URL 108 | 109 | 110 | 111 | .SH CONTACT 112 | $USER_EMAIL 113 | .br 114 | $USER_HOMEPAGE 115 | 116 | 117 | 118 | .SH BUG REPORTS 119 | Please visit "$USER_HOMEPAGE" to report bugs, or send me an email to the adress listed in 120 | .B 121 | CONTACT 122 | EOF -------------------------------------------------------------------------------- /templates/manpage/minimal: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # ---------------------------------------------------------------------- 3 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 4 | # All rights reserved. 5 | # 6 | # This program is free software: you can redistribute it and/or modify it 7 | # under the terms of the GNU General Public License as published 8 | # by the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see 18 | # ---------------------------------------------------------------------- 19 | source tuirc 20 | ME=$(basename "${DEST/.1/}") 21 | 22 | cat > "$DEST" << EOF 23 | .TH "$ME" "1" "$(date +'%F'|sed s/'\.'/' '/g)" "$USER_NAME" 24 | 25 | .SH NAME 26 | $ME (0.1) 27 | 28 | .SH SYNOPSIS 29 | \fB$ME\fP [options] [arguments] 30 | .br 31 | Example: $ME 32 | .br 33 | Where options are: 34 | .IP "\fB-XY\fP" 35 | does this 36 | .IP "\fB-YX\fP" 37 | does that 38 | 39 | .SH DESCRIPTION 40 | .PP 41 | Some descriptional text 42 | 43 | .SH LICENSE 44 | $DEFAULT_LICENSE 45 | .br 46 | $DEFAULT_LICENSE_URL 47 | 48 | .SH CONTACT 49 | $USER_EMAIL 50 | .br 51 | $USER_HOMEPAGE 52 | EOF 53 | -------------------------------------------------------------------------------- /templates/scripts/basic: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # ---------------------------------------------------------------------- 3 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 4 | # All rights reserved. 5 | # 6 | # This program is free software: you can redistribute it and/or modify it 7 | # under the terms of the GNU General Public License as published 8 | # by the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see 18 | # ---------------------------------------------------------------------- 19 | source tuirc 20 | 21 | cat > "$DEST" << EOF 22 | #!/usr/bin/env $USER_SHELL 23 | # File: ${DEST##*/} 24 | # Description: 25 | # $DEFAULT_LICENSE $(date +'%Y') by $USER_NAME ($USER_EMAIL) 26 | # ------------------------------------------------------ 27 | # 28 | # Variables 29 | # 30 | 31 | # 32 | # Functions 33 | # 34 | 35 | # 36 | # Action & Display 37 | # 38 | 39 | EOF 40 | -------------------------------------------------------------------------------- /templates/scripts/empty: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # ---------------------------------------------------------------------- 3 | # Copyright (c) 2013-2015 Simon Arjuna Erat (sea) 4 | # All rights reserved. 5 | # 6 | # This program is free software: you can redistribute it and/or modify it 7 | # under the terms of the GNU General Public License as published 8 | # by the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANT ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see 18 | # ---------------------------------------------------------------------- 19 | #source tuirc 20 | cat > "$DEST" << EOF 21 | #!/usr/bin/env $USER_SHELL 22 | EOF 23 | -------------------------------------------------------------------------------- /themes/default: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="# |" 7 | # 8 | # tui-header will use TUI_BACKGROUND as background color, 9 | # and TUI_FOREGROUND as font color. 10 | # 11 | # tui-title will use inverted colors 12 | # 13 | TUI_BACKGROUND="$TUI_COLOR_BG_BLUE" 14 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 15 | BORDER_COLOR="" 16 | # 17 | # Char indicators 18 | # 19 | TUI_INPUT_CHAR_READ="\076" 20 | TUI_INPUT_CHAR_SELECT="\076" 21 | -------------------------------------------------------------------------------- /themes/default-border: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="# |" 7 | # 8 | # tui-header will use TUI_BACKGROUND as background color, 9 | # and TUI_FOREGROUND as font color. 10 | # 11 | # tui-title will use inverted colors 12 | # 13 | TUI_BACKGROUND="$TUI_COLOR_BG_BLUE" 14 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 15 | BORDER_COLOR="$TUI_BACKGROUND" 16 | # 17 | # Char indicators 18 | # 19 | TUI_INPUT_CHAR_READ="\076" 20 | TUI_INPUT_CHAR_SELECT="\076" 21 | -------------------------------------------------------------------------------- /themes/default-red: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="# |" 7 | BORDER_RIGHT="" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="$TUI_COLOR_BG_RED" 15 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=":>" 21 | TUI_INPUT_CHAR_SELECT=":>" 22 | -------------------------------------------------------------------------------- /themes/dot-blue: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="::" 7 | BORDER_RIGHT="" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="$TUI_COLOR_BG_BLUE" 15 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=">" 21 | TUI_INPUT_CHAR_SELECT=">" 22 | -------------------------------------------------------------------------------- /themes/dot-red: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="::" 7 | BORDER_RIGHT="" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="$TUI_COLOR_BG_RED" 15 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=">>" 21 | TUI_INPUT_CHAR_SELECT=">>" 22 | -------------------------------------------------------------------------------- /themes/floating: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="" 7 | BORDER_RIGHT="" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="" 15 | TUI_FOREGROUND="" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=":>" 21 | TUI_INPUT_CHAR_SELECT=":>" 22 | -------------------------------------------------------------------------------- /themes/mono: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT='||' 7 | BORDER_RIGHT="" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="$TUI_COLOR_BG_BLACK" 15 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=">" 21 | TUI_INPUT_CHAR_SELECT=">" 22 | -------------------------------------------------------------------------------- /themes/steampunk: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT=".:" 7 | # 8 | # tui-header will use TUI_BACKGROUND as background color, 9 | # and TUI_FOREGROUND as font color. 10 | # 11 | # tui-title will use inverted colors 12 | # 13 | TUI_BACKGROUND="$TUI_COLOR_BG_YELLOW" 14 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 15 | #BORDER_COLOR="$TUI_COLOR_BG_YELLOW$TUI_COLOR_FG_WHITE" 16 | # 17 | # Char indicators 18 | # 19 | TUI_INPUT_CHAR_READ="\076" 20 | TUI_INPUT_CHAR_SELECT="\076" 21 | -------------------------------------------------------------------------------- /themes/steampunk-border: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT=".:" 7 | # 8 | # tui-header will use TUI_BACKGROUND as background color, 9 | # and TUI_FOREGROUND as font color. 10 | # 11 | # tui-title will use inverted colors 12 | # 13 | TUI_BACKGROUND="$TUI_COLOR_BG_YELLOW" 14 | TUI_FOREGROUND="$TUI_COLOR_FG_WHITE" 15 | BORDER_COLOR="$TUI_COLOR_BG_YELLOW$TUI_COLOR_FG_WHITE" 16 | # 17 | # Char indicators 18 | # 19 | TUI_INPUT_CHAR_READ="\076" 20 | TUI_INPUT_CHAR_SELECT="\076" 21 | -------------------------------------------------------------------------------- /themes/witch-purple: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored of BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="\\./" 7 | BORDER_RIGHT="\\./" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="$TUI_COLOR_BG_PURPLE" 15 | TUI_FOREGROUND="$TUI_COLOR_FG_CYAN" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=">" 21 | TUI_INPUT_CHAR_SELECT=">" 22 | -------------------------------------------------------------------------------- /themes/witch-yellow: -------------------------------------------------------------------------------- 1 | # Simplified design: 2 | # 3 | # BORDER_RIGHT will be mirrored from BORDER_LEFT 4 | # Set it manualy if it needs to be escaped. 5 | # 6 | BORDER_LEFT="\\./" 7 | BORDER_RIGHT="\\./" 8 | # 9 | # tui-header will use TUI_BACKGROUND as background color, 10 | # and TUI_FOREGROUND as font color. 11 | # 12 | # tui-title will use inverted colors 13 | # 14 | TUI_BACKGROUND="$TUI_COLOR_BG_YELLOW" 15 | TUI_FOREGROUND="$TUI_COLOR_FG_BLACK" 16 | BORDER_COLOR="" 17 | # 18 | # Char indicators 19 | # 20 | TUI_INPUT_CHAR_READ=">" 21 | TUI_INPUT_CHAR_SELECT=">" 22 | --------------------------------------------------------------------------------