DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Pydoc and getting results in Farr  (Read 11,050 times)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Pydoc and getting results in Farr
« on: May 15, 2009, 02:39 AM »
Hi

I want to use Farr to query python document. There is a module for it and it would print out to console. I know there were some works regarding getting console output. Is it something doable at the moment with latest release?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Pydoc and getting results in Farr
« Reply #1 on: May 15, 2009, 02:45 AM »
yes.
the command you want is appcap:
http://www.donationcoder.com/forum/index.php?action=search2;search=appcap

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Pydoc and getting results in Farr
« Reply #2 on: May 15, 2009, 02:58 AM »
mouser thanks, this turned out to be easier than I thought. This will be instant help access for me.

I have 2 questions or suggestions.

-Spacing(of words) of console output is not same inside Farr. The content looks little scrabled due to that.  Is there a way to force formatting?

-Any way to change memo background color?


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Pydoc and getting results in Farr
« Reply #3 on: May 15, 2009, 03:05 AM »
can you elaborate about issue 1? maybe a screenshot?
as for memo background color -- not currently but would be easy to add.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Pydoc and getting results in Farr
« Reply #4 on: May 15, 2009, 03:06 AM »
Sure here we go
In the original one all these words are aligned but not in Farr


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Pydoc and getting results in Farr
« Reply #5 on: May 15, 2009, 03:19 AM »
ah yes i see -- its not a fixed spacing font.
i can add an option to fix that i think -- to workaround it for now, go to options, custom font settings, and set a fixed font for the memo.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Pydoc and getting results in Farr
« Reply #6 on: May 15, 2009, 03:19 AM »
thanks man

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Pydoc and getting results in Farr
« Reply #7 on: May 15, 2009, 04:49 AM »
added command to temporarily put memo into fixed font mode, since i think kartal's need will match others.
the command is:
tempmemofont fixed

or you can use
tempmemofont custom
to put memo into the custom configured font setting temporarily.

it will revert to normal on next search.



ps.
i notice that your output says "please wait a moment..."
and just point out that the next version of FARR lets you call
appcapappendmemo
instead of appcap
which will show lines as they are outputted by the console tool, which is useful for commandline tools that take a bit of time to run.



features will be in next update.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Pydoc and getting results in Farr
« Reply #8 on: May 16, 2009, 05:32 AM »
mouser

How do you use "tempmemofont fixed " in the alias though?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Pydoc and getting results in Farr
« Reply #9 on: May 16, 2009, 05:33 AM »
here's a sample alias:

pingtest | tempmemofont fixed;;;showmemo Output of Ping:;;;appcapappendmemo c:\windows\system32\ping.exe donationcoder.com

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Pydoc and getting results in Farr
« Reply #10 on: May 16, 2009, 05:35 AM »
ahhh, that looks more interesting than what I was trying here. Let me try yours

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Pydoc and getting results in Farr
« Reply #11 on: May 16, 2009, 05:36 AM »
very tight man, it works great

Original address: https://www.donationcoder.com/forum/index.php?topic=18325.0