I promise medieval tortures to anyone snobbing CLI

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

I promise medieval tortures to anyone snobbing CLI

#1 Post by musher0 »

Hello all.

Please see the script and the picture here.

It's still a draft, but can any GUI top THAT for conciseness and efficiency? :D

Hopefully I'm opening a debate, not a can of worms!!! :shock:
Any intelligent feedback is welcome!

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#2 Post by tallboy »

Uuh, I don't read french, and I don't know what CLI is. :shock:

Does that qualify for poking with red-hot irons, or just a light spanking? :lol:

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

tallboy wrote:Uuh, I don't read french, and I don't know what CLI is. :shock:

Does that qualify for poking with red-hot irons, or just a light spanking? :lol:

tallboy
Hi tallboy.

Good to see you are still around! :)

CLI means "Command Line Interface". GUI means "Graphic User Interface".

You don't read French, but you can see the result in the screen captures, no?

I started this thread because the urxvt is so evolved now that it can incorporate
pictures, shading and fading. We are now very-very far from the ancient black
console with white writing. AFAIK the GUI techniques CANNOT incorporate pictures,
shading and fading.

Anyone snubbing or defaming the new CLI possibilities should be tortured until he
or she recognizes the truth! :twisted:

Poking with red-hot irons and spanking are ok, but I was thinking also of the water-
drop for days and days or the stretch-your-arms-and-legs-to-the-limit tortures -- even
whipping. Not for you, of course. :) You're an intelligent person. ;)

But anything to bring "those people" to see the light, really. Perhaps a forced
Bash-101 or urxvt-101 course, too. :twisted:

BFN.
Last edited by musher0 on Tue 07 Jun 2016, 20:04, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#4 Post by Sailor Enceladus »

I think having images is not CLI! You must first convert to ASCII image background at least. :lol:
Attachments
Le Lecteur de musique de Musher0, version 4.png
Fixed version
(58.52 KiB) Downloaded 481 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post by musher0 »

@Sailor Enceladus: Ha-ha. Very un-funny.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#6 Post by Robert123 »

Hello Musher,

I agree with your thoughts about Cli there are some cool programs that are Cli like Ceni, Moc, MC, mpv etc

Check out Linux BBQ for Cli based fun.

http://linuxbbq.org/bbs/search.php?sear ... nreadposts

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#7 Post by tallboy »

Musher0 wrote:Good to see you are still around!
Thank you for the kind words, Musher0. I have had too many things going on at the same time, and all of them have suffered!
I have only old PCs, so I still use my old LupuPlus 5.2.8.005-1. I have not used the latest versions of any CLI (I wondered if it was some new Common Lisp Interpretation... :) ), but I realize that I have to be more active in search of new hardware, and probably a new Puppy to get a grasp on the latest developments. I started using Linux with a b/w xterm as my main tool, but they were very fancy as I had several desktops with Xterms with different colored frames to separate their tasks.
Jeez, that last sentence suddenly made me feel OLD!
BTW, Common Lisp is sadly underrated, I have played with SBCL for some time. (Steel Banks Common Lisp)

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#8 Post by Burn_IT »

CLI died in the real world when the 3270 screen was invented.
The last time I used it (thank god) was about 35 years ago when I was on call and had to use a Teletype to dial into work computers.
"Just think of it as leaving early to avoid the rush" - T Pratchett

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

Hello all.

Someone (I'll respect his anonymity) has sent me these absolute words of wisdom
through PM:
Ever since the Apple Mac was introduced, and people starting touting
point-and-click as the only way to go, I have been asking:

"Why did man invent language, with all its complex rules for syntax,
conjugations, declensions, etc?"

Because it's MORE EFFICIENT THAN pointing-and-grunting, that's why!
That's exactly the way I feel! :D

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#10 Post by Burn_IT »

Which reminds me that the time I first saw a Mac was in the office and it (seemingly) was only used to play one game where you had the use the mouse to navigate an object around the screen avoiding all sort of objects and into a goal.
The satisfying part was the sound effects especially the orgasmic sounding sigh when you got home.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
Pete
Posts: 660
Joined: Sun 02 Mar 2014, 18:36

#11 Post by Pete »

@musher0
Ever since the Apple Mac was introduced, and people starting touting
point-and-click as the only way to go, I have been asking:

"Why did man invent language, with all its complex rules for syntax,
conjugations, declensions, etc?"

Because it's MORE EFFICIENT THAN pointing-and-grunting, that's why!
An absolute gem, love it.

Of course there are times when simply "pointing-and-grunting" is sufficient and more efficient,
but I for one would be lost without the CLI.

learnhow2code

#12 Post by learnhow2code »

Pete wrote:Of course there are times when simply "pointing-and-grunting" is sufficient and more efficient,
this is definitely true. its a matter of the best tool for the job: 9/10 times its a tui or cli, but 5-10% is a good estimate of how often you cant do without graphics (i wouldnt love this forum in elinks, ymmv.)

User avatar
Pete
Posts: 660
Joined: Sun 02 Mar 2014, 18:36

#13 Post by Pete »

learnhow2code wrote:.......i wouldnt love this forum in elinks....
Where is your sense of adventure? :lol:

learnhow2code

#14 Post by learnhow2code »

Pete wrote:Where is your sense of adventure? :lol:
in writing code! ive used elinks a lot-- even as a tui interface for cgi scripts, but forum software is usually designed without regard for it. im sure it works.

User avatar
Pete
Posts: 660
Joined: Sun 02 Mar 2014, 18:36

#15 Post by Pete »

Of course I was only kidding about using it for forums but like your idea of using elinks to test cgi scripts.

In fact for data collection the cli is king.
Wget, grep and elinks are great for this without the complications and limitations of the gui.

There is of course the other benefit of cli progs, very few dependencies (compared to gui) and will work across distros or are very easy to compile.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

I've been debating about this in my head for a few days:

in view of her insult above, :) Sailor Enceladus should be tickled until she starts using CLI
programs again or confesses to their superiority.

Torture by tickling is not so bad. Any other ideas?
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Pete
Posts: 660
Joined: Sun 02 Mar 2014, 18:36

#17 Post by Pete »

musher0 wrote:.......
Torture by tickling is not so bad. Any other ideas?
Hack into his computer and change his defaultbrowser=elinks :lol:

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#18 Post by musher0 »

Good idea! :twisted:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

God pupsaves musher0 !

#19 Post by Pelo »

Never we will hurt translators of human language to the machines.
Si j'écris français ici, aucun british citizen ne va me comprendre, then Musher0 will translate
Personally, it's hard to translate my thoughts in english, but to translate them in CLI, never i would be able to
Thanks, Musher0, to do it for us ! God pupsaves you :)

learnhow2code

Re: God pupsaves musher0 !

#20 Post by learnhow2code »

Pelo wrote:but to translate them in CLI, never i would be able to
its not that bad.

to open a program in a gui, you click on the picture above the name.

to open in a cli, you just type the name.

but you dont usually have to type the whole name. no matter what browser you use, this is all you have to do in a debian/devuan system:

x
-
w
w
[tab]

x-ww[tab] automatically completes to x-www-browser. but you can make a shortcut, just like a gui.

browser starts with b, you can just make a shortcut called "b" if you like.

b is for browser-- would "br" make it easier to associate with browser?

"we?" how about "web?"

or create shortcuts in english and french. then whatever language youre thinking in, both work on your computer.

you never have to use the full length command, if it is going to stay the same-- except when youre making a shortcut.

by all means, use a gui or icon. but please dont think its impossible for you to learn the cli. i used it when i was 5 years old, and im not an astrophysicist.

you may be thinking, "i use iceweasel. why cant i just say iceweasel?" you can! x-www-browser opens whatever browser is set "default." change your default, x-www-browser still works for the new setting!

you can also just type the name of your browser. but again: you only have to type enough that [tab] can auto-complete it.

trying to think of a command name that starts with y? type "y" and hit tab twice. it will show you all the commands in your path that start with y.

type a couple more letters and hit tab, it will type the rest for you. then just hit enter.

now, the next time you want to ask a friend to do something for you, instead of telling them how or what you want, just show them.

instead of asking them: "can you get me a glass of water?" just walk them to the Out house, point at a glass, point at the sink, then point a finger at yourself (for "give to me") and then realize thats how we cli users feel sometimes, having to use a mouse.

sometimes its less effort to talk! and then you can sum it all up in a little command you get to choose a name for, like getwater (getw-[tab]. because "wget" is already taken.)

language is wonderful. mice point and click, and (are a) drag.

you can even make your own shell menu, look:

Code: Select all

cat > /usr/local/bin/shellmenu
#### public domain - edit/share freely
echo "shell menu"
echo a\) xArchiver
echo b\) web Browser
echo c\) Chat on irc
echo
echo "hit a letter key to open a program from the menu"
read -n 1 c
if [[ "$c" == "a" ]] ; then xarchiver ; fi
if [[ "$c" == "b" ]] ; then x-www-browser ; fi
if [[ "$c" == "c" ]] ; then hexchat ; fi

[CTRL-D] # use CTRL-D on your keyboard to stop pasting text into shellmenu

now run this: chmod +x /usr/local/bin/shellmenu #### after that, you have a menu program! just type "shellmenu" to run it (perhaps give it a shorter name, though!)
you dont have to learn that code to use the cli. but that is all it takes to make your own interactive menu programs in the shell.

someone can even make a menu-program-maker to take a text file like this:

a xarchiver
b x-www-browser
c hexchat

and turn it into a menu program (like shellmenu) for you.

some of us used menu programs like that for years-- even apple had them on machines that didnt run a gui, like the apple ][.

Post Reply