topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 11, 2024, 9:33 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Pydoc and getting results in Farr  (Read 7773 times)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Pydoc and getting results in Farr
« on: May 14, 2009, 09:39 PM »
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,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #1 on: May 14, 2009, 09:45 PM »
yes.
the command you want is appcap:
https://www.donation...earch2;search=appcap

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #2 on: May 14, 2009, 09:58 PM »
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,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #3 on: May 14, 2009, 10:05 PM »
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
    • View Profile
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #4 on: May 14, 2009, 10:06 PM »
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,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #5 on: May 14, 2009, 10:19 PM »
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
    • View Profile
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #6 on: May 14, 2009, 10:19 PM »
thanks man

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #7 on: May 14, 2009, 11:49 PM »
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
    • View Profile
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #8 on: May 16, 2009, 12:32 AM »
mouser

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

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #9 on: May 16, 2009, 12: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
    • View Profile
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #10 on: May 16, 2009, 12: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
    • View Profile
    • Donate to Member
Re: Pydoc and getting results in Farr
« Reply #11 on: May 16, 2009, 12:36 AM »
very tight man, it works great