Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Oct 2018, 11:14
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
I promise medieval tortures to anyone snobbing CLI
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Author Message
musher0

Joined: 04 Jan 2009
Posts: 12832
Location: Gatineau (Qc), Canada

PostPosted: Sun 12 Jun 2016, 14:00    Post subject:  

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

in view of her insult above, Smile 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
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
Pete


Joined: 02 Mar 2014
Posts: 675

PostPosted: Sun 12 Jun 2016, 14:07    Post subject:  

musher0 wrote:
.......
Torture by tickling is not so bad. Any other ideas?


Hack into his computer and change his defaultbrowser=elinks Laughing
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12832
Location: Gatineau (Qc), Canada

PostPosted: Sun 12 Jun 2016, 14:32    Post subject:  

Good idea! Twisted Evil
_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: Mon 20 Jun 2016, 02:30    Post subject: God pupsaves musher0 !  

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 Smile

_________________
Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
learnhow2code

Joined: 12 Jun 2016
Posts: 1015

PostPosted: Mon 20 Jun 2016, 13:08    Post subject: Re: God pupsaves musher0 !  

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 kitchen, 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:
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 ][.
Back to top
View user's profile Send private message 
Pete


Joined: 02 Mar 2014
Posts: 675

PostPosted: Mon 20 Jun 2016, 13:57    Post subject: Re: God pupsaves musher0 !  

learnhow2code wrote:
....
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.
....


Nice one @learnhow2code

If you want to get a list of all the commands:

Code:

compgen -c


or if you want to search for a certain keyword, lets use "print" as an example:

Code:

compgen -c | grep "print"


Of course one could wrap this in a GTKdialog script and present it in a GUI, but it would still be using the CLI to get the data.
Plus one would be restricted by any limitations introduced in the GTKdialog script not having a specific option/functionality.

If one uses the CLI directly, none of the restrictions apply.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12832
Location: Gatineau (Qc), Canada

PostPosted: Mon 20 Jun 2016, 14:54    Post subject:  

Hello gang.

Pete said:
> "If one uses the CLI directly, none of the restrictions apply."

I've been wondering forever what it is with most people:
    are they afraid that a cli window will devour them ? Wink
    is it laziness?
    is is snobbery?
    is it plain prejudice, like "agism"? As in: if you use CLI, you're "old"?
The more I work with urxvt, the more I find that it outperforms anything that YAD, etc.,
have to offer as to versatility, colors, shading, choice of fonts, size of window, etc.

My 2¢. BFN.

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
Pete


Joined: 02 Mar 2014
Posts: 675

PostPosted: Mon 20 Jun 2016, 15:37    Post subject:  

musher0 wrote:
....
I've been wondering forever what it is with most people:
    are they afraid that a cli window will devour them ? Wink
    is it laziness?
    is is snobbery?
    is it plain prejudice, like "agism"?

....


IMHO it's a combination of laziness (of typing and I'm guilty too hence my use of LXTerminal instead) and
fear/lack of knowledge about the CLI.

BTW this is prevalent in both Linux and Windoze.
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1546

PostPosted: Mon 20 Jun 2016, 17:36    Post subject:  

musher0 wrote:
Hello gang.

Pete said:
> "If one uses the CLI directly, none of the restrictions apply."

I've been wondering forever what it is with most people:
    are they afraid that a cli window will devour them ? Wink
    is it laziness?
    is is snobbery?
    is it plain prejudice, like "agism"? As in: if you use CLI, you're "old"?
The more I work with urxvt, the more I find that it outperforms anything that YAD, etc.,
have to offer as to versatility, colors, shading, choice of fonts, size of window, etc.

My 2¢. BFN.

I have a trackpoint on my laptop. Moving one finger to an icon and clicking on it is easy enough. Typing everything out, not so much. I use the CLI for things that aren't automated, like typing "diff -ru folder1 folder2" or "./configure --prefix=/usr" or whatever, then I go back to relaxing my hand on the trackpoint and mouse button to read silly threads like this one. Laughing
Back to top
View user's profile Send private message 
learnhow2code

Joined: 12 Jun 2016
Posts: 1015

PostPosted: Mon 20 Jun 2016, 17:58    Post subject:  

Sailor Enceladus wrote:
I use the CLI for things that aren't automated, like typing "diff -ru folder1 folder2" or "./configure --prefix=/usr" or whatever, then I go back to relaxing my hand on the trackpoint and mouse buttons to read silly threads like this one. Laughing


youd think it would be easier to just tap the part of the screen (touchscreens are extremely inefficient for a number of things that provide better accuracy and feedback, but a monkey can use one easily) that has the thing you want on it.

the trick is getting the thing you want onto the screen to tap it.

when the web started out, it was full of links-- menus spread all over the screen, and there is still a lot of that.

but to get to them, you start by typing in an address or a search query, into google (or ddg, or some people actually use bing... which is surprising.) bookmarks are fine, the more you have the closer you will be to typing again. sure, you can do that in a gui. but the google search box is more like a command line than a gui, if you ask me.

this really isnt either/or. when i open gimp to do graphics, i know exactly why im using a gui.

i prefer a graphical browser over elinks much of the time. however, if i had to do everything in a browser, i would really hate it.

if i had to do everything in a term window, that would probably suck too. but take the term away and i will just use another os instead.

no one wants to go back to paging through menu after menu after menu of links like the early days of yahoo! even on a touch screen (5 pages of menus to do almost anything, it seems) that would be an obnoxious experience.

partly its subjective. but there are distinct advantages for each method of communication. thats what it is-- communicating with your computer, as well as others.

imagine if some person said "you know, f*** books, from now on im just going to communicate with pictures." hey, that works for some artists. you can get rich.

now imagine you work in a library, and someone comes in and says "books are stupid, i just want to watch youtube." (not just today, but as a lifestyle.)

some of the overzealous diatribes against the cli are similarly painful. but as i tried to hint, there arent a lot of true purists out there--

cli fans use guis, and gui fans use a command line all the time, but they dont normally realize theyre using one-- or that they actually prefer it for some tasks Smile
Back to top
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 08 Aug 2017, 18:11    Post subject: MPV unserviceable, try MOC !  

MPV not working in my Puduan. PPM devuan says already installed.. Grrrr Evil or Very Mad
Robert123 told us Moc is better. So try MOC
Ok i unterstand the micro-society, back to computers IBM with blue screen
I prefer MPV, sure
Musher0 promises Medieval Tortures, Moc is the first one.
Listen 'rythms' techno music with Moc is worth than playing Mozart with an electric guitar Exclamation
moc.png
 Description   
 Filesize   29.4 KB
 Viewed   164 Time(s)

moc.png


_________________
Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
rufwoof

Joined: 24 Feb 2014
Posts: 2599

PostPosted: Tue 08 Aug 2017, 21:45    Post subject:  

Pelo ... not for you then ...

htop (system monitor)
mc (file manager (and editor))
mocp (audio)
Rtorrent
lynx (web browser)
sc (spreadsheet)

all ncurses (cli, no gui needed).

Smile

Last edited by rufwoof on Sat 12 Aug 2017, 05:08; edited 1 time in total
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12832
Location: Gatineau (Qc), Canada

PostPosted: Tue 08 Aug 2017, 22:56    Post subject:  

Hi rufwoof.

So?

Medieval tortures for pelo ?

Yyyyyyyyeeeeeeeeeesssssssss! Laughing Twisted Evil

_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Wed 13 Jun 2018, 05:22    Post subject: fried ? roasted ? medieval is awful..  

fried ? roasted ? medieval is awful.. a french kiss, perhaps..
pub.jpg
 Description   un programmeur jeune.
 Filesize   53.28 KB
 Viewed   13 Time(s)

pub.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1782s ][ Queries: 15 (0.0346s) ][ GZIP on ]