Wanted: Feedback on TUI


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Wanted: Feedback on TUI
# 8  
Old 05-11-2015
Quote:
Originally Posted by sea
Otherwise, only similar ideas such as yours come to mind Smilie
Sorry for taking some time - some urgent project followed by some even more urgent illness took my attention.

My suggestion is to abandon "TUI" for some catchy name. Like, for instance, "Samba" - derived from "SMB", yes, but still more rememberable than, maybe, "SFMU - SMB filesystem mounting utilities" or something such.

How about:

"HardCore - the core of script programming made easy and reliable"
"Riot - a robust I/O toolset for your scripts"
"IOdine - the antidote for your scripts I/O goitre"
"CLIO - let the muse kiss your script to make it famous" *)

You might want to consult a latin dictionary for verbs of the fourth (-i) conjugation. The first person singular indicative praesens active (like "i do" for "to do") ends in "-io" so there are many possible plays on words.

bakunin

________
*) actually the meaning of the name of the muse of history, "Clio" (greek 'Κλειώ') means "made famous".

Just in case someone is interested in an ironic fact of my life: This is about the second time in my life that 4 years of learning ancient greek in Gymnasium (similar to Highschool) has helped me anything.

Last edited by bakunin; 05-11-2015 at 08:27 PM..
This User Gave Thanks to bakunin For This Post:
# 9  
Old 05-11-2015
tcusses

Smilie
# 10  
Old 05-12-2015
Was too early to write.

---------- Post updated at 12:39 ---------- Previous update was at 10:27 ----------

I thought i asked for a 'catchphrase', refering to the project name 'comment', not its very own name.
But should have expected new names along the way.

Noone wants to rename their 3.5 year old child.
Specialy when its already used in other projects (of mine at least).

But since i'm currently rewriting the internal core functions/variables, NOW would be the time to rename it along the way...

If/when i consider renaming the project, I do like:
  • "HardCore - the core of script programming made easy and reliable" ((hc / cosp))
  • "Riot - a robust I/O toolset for your scripts"
  • "IOdine - the antidote for your scripts I/O goitre"
  • "CLIO - let the muse kiss your script to make it famous" *)
  • ---
  • "CIF / CLIF - Cool / (Command line) Interface Framework"
  • "STAN - Script Tools And Noobs" Smilie
  • "EASY - enthusiastic automated script yells/yawns"
  • LINUX - Lazy Interface neglects Unix eXperience
  • UNIX - Universaly narrowed interface experience
Bold ones beeing my favorites.

Any thoughts?

Last edited by sea; 05-12-2015 at 07:18 AM..
# 11  
Old 05-12-2015
swarm - shell wrapper and runner modificator :P
This User Gave Thanks to Peasant For This Post:
# 12  
Old 05-12-2015
Issue is, i want something meaningfull to use as prefix for the 40+ commands.

And (for example) riot belongs to a list of words i dont want to repeat in my mind without a reasonable reason.
swarm, would be too long to type before each command, wouldnt it?

Well that is my opinion.

Would you like to type: (top 3)
clio-echo or clio-conf-get or clio-browser
clif-echo or clif-conf-get or clif-browser
swarm-echo or swarm-conf-get or swarm-browser

Or could i just leave the command-names as they are now, and just rename the project?
I'd very much like this idea, as this would cause much less work for me, and preserve the (imo) meaningfull command prefixes i currently use (tui-*).

What do you think?
# 13  
Old 05-15-2015
Quote:
Originally Posted by sea
Or could i just leave the command-names as they are now, and just rename the project?
No, i think you should undergo the extra effort. The problem is that the "good names" are usually already used and the more common your names are the more likely you are clashing with something already existing.

Personally i am a fan of Hungarian Style Notation, although i stripped it down and modified it for my personal needs, so take the following as a template and modify it until it suits you. Here is my (personal) convention for my own library and internal script functions:

f_Name - external function, all of these come from /usr/local/lib/ksh
pName - internal function in a script returning <void> (aka "procedure")
fName - internal function returning something meaningful (aka "function")

So i can tell from the name alone where i will have to look. If you would at least provide a common beginning, like, for instance, "hcFunctionOne", "hcFunctionTwo", etc. or "ClioFunctionOne", "ClioFunctionTwo" and so on it would help immensely. Not only because it helps keeping track of where a function came from but also because it would avoid possible name clashes. How many functions are out there named "Clio*" or "hc*"?

I hope this helps.

bakunin
# 14  
Old 05-15-2015
You misunderstand the concept there is, i think.
Quote:
Originally Posted by bakunin
How many functions are out there named "Clio*" or "hc*"?
tui-<*> IS the function, procedure, command or whatsoever.
Code:
ls /usr/bin/tui*|wc -l
44

Functions i used in more than one script, became scripts themself.
tui-printf was the very first 'exported' function, and stuff like tui-str-extension from tui-str-genfilename are the most recent ones.

Thats why i think it still makes sense to keep the command names 'as-is': tui-echo, tui-header, tui-dd, etc.
As they represent that these commands belong to each other, and have a meaningfull prefix while reading a script.

The only files the user (you ; is supposed to) change/s are the config files in $HOME/.config (default), or the theme in the rc file.
Other than that, in some sense, its like grep, echo, dd, and read or select, just matching the same output-theme.

There is a naming sheme, like:
Code:
$ tui-bol-
tui-bol-dir   tui-bol-gui

They will return true (0) or false(1) wether the last item is valid/applies.

Code:
$ tui-conf-
tui-conf-editor  tui-conf-get     tui-conf-set

Gets or sets a value of a variable within a conf file.

Code:
$ tui-str-
tui-str-bol-conv     tui-str-encrypt      tui-str-extension    tui-str-genfilename  tui-str-usb

They return strings according to their description, tui-str-usb could even be used to select a connected/pluged in usb-storage.

Guess i'm missing this part in the README?

Last edited by sea; 05-15-2015 at 10:12 PM..
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