Wanted: Feedback on TUI


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Wanted: Feedback on TUI
# 1  
Old 02-18-2015
Linux Wanted: Feedback on TUI

Hello

Couldnt think of a better place than "What is on your Mind".

So me have that project https://www.unix.com/shell-programmin...k-scripts.html. Smilie

Eventhough i tried to describe it well in its thread and its README.md on github, i've been asked what for it is.
Where i already fail to understand why "a line based Text User Interface for scripts" isnt a good description??? Smilie
To me that question sounds like: "What is the command 'echo' and 'printf' good for?"

What i'd like to get, if you already tried out, is feedback to keep improving it.

Reason i'm asking is, i have one feedback telling me how easy it is to apply, and one feedback telling me its all but natural or easy approach and that he wouldnt know how to start or use it.
Beeing asked what they liked or dislike, neither of them replied.

Now, having only 2 feedbacks which are quite opposite to eachother and beeing left alone when trying to get more details from those 2 guys, i feel the urge to ask here.

Actualy I have two questions, for either of which i hope you already did at least try TUI.
  1. Could someone please help me to get a technicly correct description on TUI?
    I seem to even fail describing it good enough in (swiss-)german which is my mothers tounge. Smilie
  2. Could you please share your collected impression/opinion on TUI?
    • Is the help text (-h) unclear?
    • Is there too less info in the manpage/s?
    • Is the README.md misleading?
    • Is the wiki usefull?

A last 'question'.
If you have TUI installed, please post your system here, and if some commands giving trouble - name them, so i'd know which files need to be fixed for which systems.
As obvious visible some errors might look, on another system they may not occour at all.

I start figuring, the hardest part to contribute one owns project to "the community" is to get a large enough 'range/amount' of people using it, so feedbacks/requres/suggestions/errors are reported back 'automaticly'.

And to have the proper description, to attract only those who can handle it.
(As in: It makes no sense to have the bank accountant using Photoshop CS3000 (idk, wc), and the artist to use the latest Abacus)

Any advice/feedback?
Thank you in advance.
# 2  
Old 02-18-2015
I haven't tried it before, here's my thoughts on the installation process:

1) I find it ironic that I must edit a config file to get a text UI installed where I want it to.

2) It's disquieting that it would default to installing in /usr/ and have no easy way to change it.

Perhaps it could accept a PREFIX like ./configure does, and default it to /usr/local ? This is not what everyone would want, but could prevent big problems in the future, and would be much easier to change than editing 8 different lines.

Code:
        app=tui

        [ -f install.sh ] || cd "$(dirname "$0")"

        if [ -z "$PREFIX" ]
        then
                echo "You have not specified a PREFIX, so $app will install in /usr/local ." >&2
                echo "This is probably not what you want.  Run PREFIX=/usr $0 to install in standard paths." >&2
                PREFIX="/usr/local/"
        fi

        DIR_BIN="$PREFIX/bin"
        # Default paths:
        DIR_COMPL="/etc/bash_completion.d"
        DIR_APP=$PREFIX/share/$app
        DIR_CFG=/etc/$app
        DIR_DOC=$PREFIX/share/doc/$app
        DIR_MAN1=$PREFIX/share/man/man1
        DIR_TPL=$DIR_APP/templates


Last edited by Corona688; 02-18-2015 at 05:24 PM..
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 02-18-2015
Thank you Corona.
That is one of the points why i'm asking, on RedHat based systems, these paths are the system defaults and are used by the packaging system (rpm) too.

Might i ask what system you are using / did install TUI on?

Note to self:
Need to store the PREFIX from within the installation script, and reuse it for those installed command rely on "/usr/share/$app/*".
# 4  
Old 02-18-2015
Quote:
Originally Posted by sea
Thank you Corona.
That is one of the points why i'm asking, on RedHat based systems, these paths are the system defaults and are used by the packaging system (rpm) too.
My Gentoo system uses /usr too, which is kind of the issue -- I want to do a temporary installation, not a root installation. I want to easily differentiate between things I've installed with emerge and things I've installed by hand.

When you install via RPM, emerge, or whatever other official package manager, /usr is normal. When you install from source, by hand, /usr/local/ is normal (and much easier to clean up should anything go wrong.)
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 02-24-2015
Did anyone try with the updated install.sh script yet?
Or did experience any unexpected behaviour (bugs/errors, help 'screen' outputs) otherwise?

Thank you
# 6  
Old 03-02-2015
I have yet to try your package but this caught my attention:

Quote:
Originally Posted by sea
Where i already fail to understand why "a line based Text User Interface for scripts" isnt a good description??? Smilie
To me that question sounds like: "What is the command 'echo' and 'printf' good for?"
A line based Text User Interface for scripts is indeed sounding like "printf and echo" and many might ask why, with "echo" and "printf" at hand, they should use this instead. How about finding a title which reflects what sets the package apart from these standard instruments of output? Something like (ok, i admit this is not meant seriously, but i can't resist):

The blinking underlined coloured flashing eye-catching script-library of doom!

bakunin
This User Gave Thanks to bakunin For This Post:
# 7  
Old 03-07-2015
Getting your point. Smilie
Seems the strive for a the best descriptional title was counter-productive.

But i'm a bit confused...Smilie
I mean, ncruses its short-description is: "Ncurses support utilities"
And to be honest, the full package description is beyond my understanding, regarding that i understand this to be a 'cli 3d window' environment kind of thing...
Saying: I would not expect this behind such a description.
Please correct me if i'm wrong.

Some ideas:
Simple-Description: "Text User Interface - framework for script"
Hyper-Enthusiast-Selling: "TUI - A scripters heaven"
Realist: "TUI - tools for scripters

Catch-phrase-attempt: "TUI :: Why Code & Compile when you can Script & Run."

Otherwise, only similar ideas such as yours come to mind Smilie

Have a nice weekend Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Feedback wanted for upcoming script language

Hi I'm currently rewriting a project from install-required to a pure runtime form. The former had required the project name and the definition of the command as name, as they all become functions now, this could be shorter. As you might have figured, the project already exists in another... (3 Replies)
Discussion started by: sea
3 Replies

2. What is on Your Mind?

Wanted: Feedback on TUI (2)

Hello everyone It just so happend that TUI was rejected from GNU for the moment, with one of the reasons beeing that additional user feedback was required. So, if you like scripting, bash in specific, please have a try and report your feedback, to help me find all issues to fix, and as i... (0 Replies)
Discussion started by: sea
0 Replies

3. What is on Your Mind?

TUI for Raspery Pi?

Heyas Just followed a conversation on IRC#ffmpeg, actualy just from the logs as they were offline when i came back. Anyway, they were talking about a terminal interface for their Raspery Pi using SSH. But it might just be a great usage case for TUI. It should display well, i hope, but i... (2 Replies)
Discussion started by: sea
2 Replies

4. Shell Programming and Scripting

[SH] TUI not always properly aligned

Heyas I havent found a thread to introduce, so i combine it with the issue i have. EDIT /* Removed Problem because solved */ My first contact with Linux was back in 1995 with slackware, beeing a gamer back then, i (sadly) didnt bother to dig deeper. I finaly joined the Linux community in... (0 Replies)
Discussion started by: sea
0 Replies

5. UNIX for Advanced & Expert Users

where do the configuration files from Redhat (fedora) authconfig-tui reside?

I have tried moving out the /etc/ldap.conf as well as /etc/openldap/ldap.conf files. I have LDAP Authentication turned on in the TUI. It lets me define a host and base, but the entries are not saved to the above files. /etc/sysconfig/authconfig has a bunch of environmental variables, but none... (2 Replies)
Discussion started by: druidmatrix
2 Replies

6. HP-UX

Start SAM in TUI from CDE session

how can i start sam in TUI mode from a CDE session. i'm using hp-ux 11iv3 i tried to start SAM from a terminal from CDE session but each time i try to start it System Managment Homepage starts , so i telneted to server from a pc to start sam in TUI mode is there any other way to set my SAM to... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

7. Shell Programming and Scripting

kshdb feedback

Hi I'm looking for some feedback on kshdb, what are peoples general feeling about it etc. Also has anyone used this as a test mechanism? I am thinking about trying to wrap a basic test script around this. (0 Replies)
Discussion started by: eeisken
0 Replies

8. Programming

Feedback algorithm

Hi I search an exemple of scheduling Feedback algorithm, or help about how to create one. Thanks (0 Replies)
Discussion started by: messier79
0 Replies

9. UNIX for Dummies Questions & Answers

feedback form ?! :-(

hi, i am VERY new to UNIX. just wanted some help on a feedback form that i have hosted on a unix server. the feedback form is in asp and doesnt work on unix. any other language to get it working ?? HELP !!! (3 Replies)
Discussion started by: shahenil
3 Replies

10. Shell Programming and Scripting

Feedback on Script.

Hi all, Would like to get some feedback on a scrip that I've finished writing at home for work. Any constructive feedback from operations used to legibility, etc. would be appreciated - anything at all. It's my first real script that will be running on a clients server. The script is... (2 Replies)
Discussion started by: Cameron
2 Replies
Login or Register to Ask a Question