It`s all Mike Saunders fault, blame him... :D

Discussion topics, Linux related - not requests for help

Moderators: ChrisThornett, LXF moderators

It`s all Mike Saunders fault, blame him... :D

Postby Bazza » Fri Apr 16, 2010 7:47 pm

Hi goons...

(Apologies for typos and spelling and hope it is lucid.)

I had this bright idea, but I suspect someone has already
thought of it.

It stemmed from the stuff I have done for MikeOS of which
Mike keeps giving me a bo||ocking about. He always wants a
very brief explanation of what I`ve done along with a very
basic README.TXT to go with it inside any archive.

Well this is my bright idea, (I know, I KNOW what you`re
gonna say, somebody has been there, done it and got the
tea shirt you DIMMO), how about we all compile a complete
MAN(UAL) file of ALL CLI files/commands with a SIMPLE example
aimed at getting you going at a very, very basic level.

This MAN file can be split up into sections for example,
video, audio, serial, parallel, printer, scanner, general
etc, etc and has a breif explanation of what it does.

Remember the problem I had with stty?

Well just MAN it and see if you can juggle that lot.

Make this a KISS project, (Keep It Simple 1sf (troll).. ;o)

This would come under the......

==================================

Heading:- Serial/USBSerial(/Console).
Command:- stty.
Simple Get You Going CLI Code:-
(Using a USB to Serial adaptor in "3 wire mode".)

stty -F /dev/ttyUSB0 1200<RETURN/ENTER>
stty -F /dev/ttyUSB0 raw<RETURN/ENTER>

Further Information:-
(See MAN stty<RETURN/ENTER> for much more infromation.)

==================================

NOTE:- That I have done the command in TWO separate
lines so that the NEWBIE can see what is going on.

My motto is, `get ot talking first THEN improve on it`... :)

All you need to do is go to a "Heading:-" and filter through
the available commands until you find the one you want.

If there are very basic code sections that work then there
is no need to write what the options are or what they do
as the "Further Information:-" section will be enough for
more detailed descriptions.

There are over 10,000 registered users on here alone and if
each one of us has a VERY simple get you going solution to
any one given command as a starting point then we would
very quickly have a MAN SCOM file.
SCOM == SimpleCommands... :)

No doubt I am barking up the wrong tree and it has already
been done but if it hasn`t wouldn`t this be very useful?

Await comments, (or pi$$ take)... ;oD
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1476
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby Rhakios » Fri Apr 16, 2010 8:28 pm

Hmm, I thought some man pages already came with examples, usually near the end.
However, I usually resort to Linux Command: Instant Reference, which does exactly that (plus explaining what each command is actually for) in 627 pages. Despite the fact that my copy is nearly ten years old, I still find it useful on a regular basis.
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

Postby Bazza » Fri Apr 16, 2010 8:40 pm

Hi Rhakios...

That is a book though...

I was thinking of a Free online version for LXF which has
examples that give a WORKING starting point for any command.

It would require someone like Mike to set up a section
for it and everyone can contribute the command of their
choice with a working very simple command line structure.

Mine would be `stty` as previously shown.

It would be a stonking idea for LXF and may even be unique.
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1476
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby wyliecoyoteuk » Fri Apr 16, 2010 8:48 pm

'scuse me, but isn't that what the info and man pages are for?
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3453
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK

Postby Bazza » Fri Apr 16, 2010 9:15 pm

Hi wyliecoyote...

Before knocking the idea, try "MAN stty" and see if YOU can
decipher it, with reference to ttyUSB0... :O
NO WORKING EXAMPLE THERE AT ALL I MIGHT ADD!
I did get it working so as others can have the benefit of my
exploits.

AND, how many MANs give a WORKING, SIMPLE, basic CLI
structure that gives a STARTING point for everyone to work
from?

Just because you are an expert does not mean that I am
and any help, especially online and from other users
experiences, would be very useful, wouldn`t it?
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1476
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby Dutch_Master » Fri Apr 16, 2010 9:28 pm

I know it gets to you, but there's no reason to start shouting... :roll:

But if it was shouting insults at 1sf (troll), I could understand.. ;)

:mrgreen:
Dutch_Master
LXF regular
 
Posts: 2445
Joined: Tue Mar 27, 2007 1:49 am

Postby Rhakios » Fri Apr 16, 2010 9:51 pm

Bazza wrote:Hi Rhakios...

That is a book though...


True, I just don't much fancy trying to reproduce the best part of 627 pages, not to mention possible copyright issues, as I have the book.

Bazza wrote:It would be a stonking idea for LXF and may even be unique.


Not counting books ;)


On a related note, I see the book is available at Amazon.com

1 new from $269.88


:shock:

I wonder if you have to pay postage on that. ;)
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

Postby wyliecoyoteuk » Sat Apr 17, 2010 11:31 am

The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3453
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK

Postby Dutch_Master » Sat Apr 17, 2010 12:37 pm

Rhakios wrote:
1 new from $269.88

I wonder if you have to pay postage on that. ;)

Yup: at $199.98 you'll get the surface-shipping option. Which isn't much help considering Amazon is based in the US and Bazza isn't ;) Because they charge an additional $325.37 for shipment by, well, ship, and airdelivery is currently prohibited. But if it was available, another $2765.29 would be charged on your creditcard (hey, do you even have credit! :shock: ), for the parachute. Alternatively, you can have it dropped w/o the chute, for a mere $997.36... Like Linux, the choice is yours :P ;)

Oh, I nearly forgot: there's another levy, at $599.63, it's the "you-don't-live-next-door-to-our-warehouse-tax" :roll: :twisted:

:mrgreen:

Did I noted yet that these are Zimbawian dollars?
Dutch_Master
LXF regular
 
Posts: 2445
Joined: Tue Mar 27, 2007 1:49 am

Postby M-Saunders » Mon Apr 19, 2010 9:34 am

Hi Bazza,

This could be something that would work well on the wiki, as a collaborative project: http://www.linuxformat.com/wiki/

(Yes, the wiki isn't linked to in the nav bar of the site any more, as it was getting pretty stagnant, but there's always a chance for it to come back to life in some form!)

M
User avatar
M-Saunders
LXF regular
 
Posts: 2893
Joined: Mon Apr 11, 2005 12:14 pm

Postby Saint Ian » Thu Jun 03, 2010 10:04 pm

Its a bit open ended in what would be considered an acceptable posting, which OS etc, and I think firm guidelines are required to ensure that your intentions are what the rest of us are reading into it ?
However, I think its a good idea that could pick up a huge following if followed through.

I am an Ubuntu user that dabbles in other Os's on occasion, so I would suggest a structure of OS Specific and OS in-specific, then sub catagorised from there, in the style of wikipedia (to start any way). Then as updates/changes come out, these entries could be edited by people that discover the changes and their 'work-arounds/new syntax' - this would be a huge help to the average user who just did an upgrade and something broke (among others).

I personally hate using MAN pages, even though my job requires it on a daily basis - I want & need to get it done, not research it and decipher it ! I think this is an area where the people at (dare I mention it ?) Microsoft , are more in touch with the masses than the Dev people doing Linux, and are justifiably using it to their advantage - I dont ever recall having to troll through pages of 'tech talk' in order to perform something that turned out to be a simple command in DOS.

I have a quite a number of my own 'easy reference' text files, just let me know where to send them.
Coffee first, questions later
Saint Ian
 
Posts: 1
Joined: Thu Jun 03, 2010 9:26 pm

Postby ollie » Fri Jun 04, 2010 10:55 am

Saint Ian wrote:Its a bit open ended in what would be considered an acceptable posting, which OS etc, and I think firm guidelines are required to ensure that your intentions are what the rest of us are reading into it ?
However, I think its a good idea that could pick up a huge following if followed through.


Any Linux distro or application would be suitable, I'm sure.

Saint Ian wrote:I am an Ubuntu user that dabbles in other Os's on occasion, so I would suggest a structure of OS Specific and OS in-specific, then sub catagorised from there, in the style of wikipedia (to start any way). Then as updates/changes come out, these entries could be edited by people that discover the changes and their 'work-arounds/new syntax' - this would be a huge help to the average user who just did an upgrade and something broke (among others).


A wiki works just like Wikipedia - registered users add and edit pages.

Saint Ian wrote:I personally hate using MAN pages, even though my job requires it on a daily basis - I want & need to get it done, not research it and decipher it ! I think this is an area where the people at (dare I mention it ?) Microsoft , are more in touch with the masses than the Dev people doing Linux, and are justifiably using it to their advantage - I dont ever recall having to troll through pages of 'tech talk' in order to perform something that turned out to be a simple command in DOS.


Surely you jest - have you read the DOS help files or tried to find anything in Microsoft's TechNet or Knowledge Base?

Saint Ian wrote:I have a quite a number of my own 'easy reference' text files, just let me know where to send them.


As above you can edit and create the pages, just use wiki syntax to enter the text files.
User avatar
ollie
Moderator
 
Posts: 2749
Joined: Mon Jul 25, 2005 11:26 am
Location: Bathurst NSW Australia

Postby wyliecoyoteuk » Fri Jun 04, 2010 11:33 am

As an aside, it is amusing that even experienced IT staff tend to ignore DOS code.
To set up internal relays for exchange2007, you have to enter 2 lines of code, otherwise it will not work.
This is detailed at the end of a two page howto on technet, but I have had to point it out to 3 "support specialists" when helping them get scan to email working on their customer's MFDs. :)
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3453
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK


Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron