On 1/8/11 10:31 AM, Medard wrote:
Phil Davis wrote:
put shell("man "& tCommand& " | col -b") into fld 1
You are a Command Line God!
That's a name I have never been called. ;-)
:-)
the obtained file is perfect!
NB: it is possible to write directly tman to the navigator window, but
Peter Brigham MD wrote:
> "To get a plain text version of a man page, without backspaces and
> underscores, try
># man foo | col -b > foo.mantxt"
on the server:
tman.txt")
put "Done!!"
?>
works great also, almost a one-liner ;-)
tman.txt") ?>
works also :-)
Phil Davis wrote:
> put shell("man " & tCommand & " | col -b") into fld 1
You are a Command Line God!
:-)
the obtained file is perfect!
NB: it is possible to write directly tman to the navigator window, but
as it eats spaces, the result is somewhat indigestible...
___
On Jan 8, 2011, at 7:58 AM, Phil Davis wrote:
Try this:
put "ls" into tCommand
put shell("man " & tCommand & " | col -b") into fld 1
That is how my Shell Command Help plugin does it.
Phil Davis
Interesting. This trick is documented in the man page for "man" at the
bottom, though no
Try this:
put "ls" into tCommand
put shell("man " & tCommand & " | col -b") into fld 1
That is how my Shell Command Help plugin does it.
Phil Davis
On 1/8/11 4:42 AM, Peter Brigham MD wrote:
So, no way of decoding this easily, huh? If you do a char by char pass through
the text and
So, no way of decoding this easily, huh? If you do a char by char pass
through the text and replace every doubled letter with its single,
then you'll get sily comands How do the "geek apps" manage to
parse it?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
Peter Brigham MD wrote:
> As you can see, the section titles and commands consist of doubled
> letters.
I encountered this as I was trying to read the man for ls on the server
machine [On-Rev]... the text file I obtained was almost unreadable!
Nonetheless, "doubled" chars are interpreted as *
Hmmm... not seeing the scrolling list...
Bob
On Jan 6, 2011, at 11:39 PM, Phil Davis wrote:
> I just uploaded a new version of Shell Command Help to RevOnline.
>
> New features added just now (thanks to suggestions on this list):
>
> * You can pick your command from the scrolling list of co
Awesome Phil! Now do the same thing for Applescript! LOL! AHH HAHA HAHAHA HAHAH
AAHHH! Seriously though, do you have some kind of Paypal account I can donate
to your cause? No sense doing all this for nothing...
Bob
On Jan 6, 2011, at 11:39 PM, Phil Davis wrote:
> I just uploaded a new versi
I'm simply going to ignore this post and hope it goes away. ;-)
Bob
On Jan 6, 2011, at 6:30 PM, Richard Gaskin wrote:
> Mike Bonner wrote:
>
>> Is there a manpath?
>
> Yes, Robert Bly wrote about it in "Iron John".
>
> ;)
>
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consul
On Jan 7, 2011, at 2:39 AM, Phil Davis wrote:
I just uploaded a new version of Shell Command Help to RevOnline.
New features added just now (thanks to suggestions on this list):
* You can pick your command from the scrolling list of commands!
* You can adjust the width of the list as neede
On Jan 6, 2011, at 5:09 PM, Mike Bonner wrote:
Closest thing I know of would be apropos. Not a complete list, but a
more
'targeted' list. Could implement a search box that returns an
apropos list
(on mac and linux) and use that for a clickable.
On Thu, Jan 6, 2011 at 3:02 PM, Peter Brigham
I just uploaded a new version of Shell Command Help to RevOnline.
New features added just now (thanks to suggestions on this list):
* You can pick your command from the scrolling list of commands!
* You can adjust the width of the list as needed.
* If retrieving info about a listed comm
LOL
On Thu, Jan 6, 2011 at 7:30 PM, Richard Gaskin
wrote:
> Mike Bonner wrote:
>
> Is there a manpath?
>>
>
> Yes, Robert Bly wrote about it in "Iron John".
>
> ;)
>
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode de
This is great - I'll look into adding a list column to the left of the text body
field.
Phil
On 1/6/11 4:39 PM, Alex Tweedly wrote:
There's not a nice simple command (afaik), but you can do something along the
lines of (in a mix of LC and shell :-)
echo $PATH > tPaths
set the itemdel to ":
Mike Bonner wrote:
Is there a manpath?
Yes, Robert Bly wrote about it in "Iron John".
;)
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejour
Is there a manpath?
On Thu, Jan 6, 2011 at 5:39 PM, Alex Tweedly wrote:
>
> There's not a nice simple command (afaik), but you can do something along
> the lines of (in a mix of LC and shell :-)
>
> echo $PATH > tPaths
> set the itemdel to ":"
> repeat for each item tFolder in tPaths
> set the
There's not a nice simple command (afaik), but you can do something
along the lines of (in a mix of LC and shell :-)
echo $PATH > tPaths
set the itemdel to ":"
repeat for each item tFolder in tPaths
set the defaultfolder to tFolder
put the files after tAll
end repeat
doSomeCleverFilterin
Closest thing I know of would be apropos. Not a complete list, but a more
'targeted' list. Could implement a search box that returns an apropos list
(on mac and linux) and use that for a clickable.
On Thu, Jan 6, 2011 at 3:02 PM, Peter Brigham MD wrote:
> On Jan 5, 2011, at 2:22 PM, Bob Sneidar
On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote:
Thanks pretty useful if you know already what the command is you
need help with. Looks like you are getting the man pages via a shell
call yourself.
What would make this marketable is if there was a way to list all
the shell commands availabl
Thanks pretty useful if you know already what the command is you need help
with. Looks like you are getting the man pages via a shell call yourself.
What would make this marketable is if there was a way to list all the shell
commands available to the system and present them to the user in a lis
Hi folks,
I just uploaded a new version of the Shell() Command Help plugin.
New features:
- Search for words in the displayed help text.
- Print the displayed help text.
- Use arrow keys to retrieve previous commands (like the LC message box).
Enjoy!
--
Phil Davis
PDS Labs
Professional Softwar
22 matches
Mail list logo