Re: Some Updates from man-k.org

2017-10-17 Thread matthew sporleder
nice

On Sun, Oct 15, 2017 at 2:30 AM, Abhinav Upadhyay
<er.abhinav.upadh...@gmail.com> wrote:
> Hi,
>
> A couple of small updates from man-k.org which I did recently:
>
> The man pages now contain anchor tags for individual sections and
> subsections in the man page. For example
> http://man-k.org/man/NetBSD-current/1/awk#EXAMPLES. This was a new
> feature that came out with mandoc-1.14.2.
>
> Many people asked for a way to directly access a man page without
> having to go through the search. So I've added direct URLs, which is
> inspired from how mdoc.su does it. You can directly use URLs of the
> following form to directly access man pages:
>
> http://man-k.org/n/ls(1) --> ls(1) for NetBSD-current
> http://man-k.org/f/ls(1) --> ls(1) for FreeBSD-current
> http://man-k.org/o/ls(1) --> ls(1) for OpenBSD
>
> --
> Abhinav


Some Updates from man-k.org

2017-10-15 Thread Abhinav Upadhyay
Hi,

A couple of small updates from man-k.org which I did recently:

The man pages now contain anchor tags for individual sections and
subsections in the man page. For example
http://man-k.org/man/NetBSD-current/1/awk#EXAMPLES. This was a new
feature that came out with mandoc-1.14.2.

Many people asked for a way to directly access a man page without
having to go through the search. So I've added direct URLs, which is
inspired from how mdoc.su does it. You can directly use URLs of the
following form to directly access man pages:

http://man-k.org/n/ls(1) --> ls(1) for NetBSD-current
http://man-k.org/f/ls(1) --> ls(1) for FreeBSD-current
http://man-k.org/o/ls(1) --> ls(1) for OpenBSD

--
Abhinav


Re: Updates to man-k.org

2017-05-15 Thread Abhinav Upadhyay
On Sun, May 14, 2017 at 11:51 PM, David Young  wrote:
> On Sun, May 14, 2017 at 06:09:01PM +0530, Abhinav Upadhyay wrote:
>> I didn't want to change the dropdown in the main search page to a
>> checkbox based one, therefore put this on a page of its own. I will
>> try to provide a hyperlink to it from the main page.
>
> It's exciting to watch these improvements to man-k.org.

Thank you, David :-)
>
> In case you were not aware, the web pages don't seem to be indexed by
> author (try searching for Abhinav).

Yes, as of now we don't index the AUTHORS or the HISTORY section for
apropos(1). I will enable it for man-k.org

>
> Here a couple of UI nits that you may or may not want to pick:
>
> On my 15-inch laptop, the man-k.org homepage has several square inches
> of blank space, plenty of room for all of the choices under the
> dropdown.  If you replace the dropdown with checkboxes, then it will
> take about half as long to make a selection, and the user can apprehend
> more of the possibilities without exploring the page with the mouse.

Yes, I guess that makes sense.  I didn't realize the dropdown would
turn out to be so ugly :)
I will experiment with replacing it with checkboxes.

> Usually it is best if controls or gestures are one-to-one with choices:
> consider using a pair of radio buttons instead of checkboxes to
> select/deselect each OS, if space allows.

Not quite sure if radio buttons would seem very intuitive here (and
probably would need more space) :)

-
Abhinav


Re: Updates to man-k.org

2017-05-15 Thread Abhinav Upadhyay
On Mon, May 15, 2017 at 4:09 PM, Valery Ushakov  wrote:
> Abhinav Upadhyay  wrote:
>
>> Just wanted to post some recent updates that I have made to
>> http://man-k.org (a web interface on top of NetBSD's apropos(1)):
>
> Thanks for your continuing work on this!

Thank you :)

> There appears to be a problem with NetBSD-7 index.  Searching for
> anything returns nothing: "No relevant search results found. Please
> try with better keywords."  The man pages themselves are there if you
> edit the URL, e.g. http://man-k.org/man/NetBSD-7/1/sh

Yes, the database got corrupted during the daily update. Fixed it,
thanks for noticing :)

-
Abhinav


Re: Updates to man-k.org

2017-05-15 Thread Valery Ushakov
Abhinav Upadhyay  wrote:

> Just wanted to post some recent updates that I have made to
> http://man-k.org (a web interface on top of NetBSD's apropos(1)):

Thanks for your continuing work on this!

There appears to be a problem with NetBSD-7 index.  Searching for
anything returns nothing: "No relevant search results found. Please
try with better keywords."  The man pages themselves are there if you
edit the URL, e.g. http://man-k.org/man/NetBSD-7/1/sh

-uwe



Re: Updates to man-k.org

2017-05-15 Thread Jay Patel
Nice work. +1

On 14-May-2017 6:09 PM, "Abhinav Upadhyay" 
wrote:

> On Sat, May 13, 2017 at 10:56 AM, Robert Elz  wrote:
> > Date:Sat, 13 May 2017 10:39:49 +0530
> > From:Abhinav Upadhyay 
> > Message-ID:  

Re: Updates to man-k.org

2017-05-14 Thread David Young
On Sun, May 14, 2017 at 06:09:01PM +0530, Abhinav Upadhyay wrote:
> I didn't want to change the dropdown in the main search page to a
> checkbox based one, therefore put this on a page of its own. I will
> try to provide a hyperlink to it from the main page.

It's exciting to watch these improvements to man-k.org.

In case you were not aware, the web pages don't seem to be indexed by
author (try searching for Abhinav).

Here a couple of UI nits that you may or may not want to pick:

On my 15-inch laptop, the man-k.org homepage has several square inches
of blank space, plenty of room for all of the choices under the
dropdown.  If you replace the dropdown with checkboxes, then it will
take about half as long to make a selection, and the user can apprehend
more of the possibilities without exploring the page with the mouse.

Usually it is best if controls or gestures are one-to-one with choices:
consider using a pair of radio buttons instead of checkboxes to
select/deselect each OS, if space allows.

Dave

-- 
David Young
dyo...@pobox.comUrbana, IL(217) 721-9981


Re: Updates to man-k.org

2017-05-14 Thread Abhinav Upadhyay
On Sun, May 14, 2017 at 8:45 PM, Robert Elz  wrote:
> Date:Sun, 14 May 2017 18:09:01 +0530
> From:Abhinav Upadhyay 
> Message-ID:  
> 
>
>   | I have added something along those lines: http://man-k.org/whatis
>
> Looks good, and I have already made use of it, thanks.

Cool, thanks :)

>
> I'm not going to comment on general UI issues (appearance and such),
> I know I couldn't do better, but one thing ... when you return the results,
> the system selection checkboxes all get reset to "all", if it isn't
> too hard, it would be better to leave them as the user set them in the
> search that was just completed.

Yes, that makes sense. Fixed it.

-
Abhinav


Re: Updates to man-k.org

2017-05-14 Thread Robert Elz
Date:Sun, 14 May 2017 18:09:01 +0530
From:Abhinav Upadhyay 
Message-ID:  


  | I have added something along those lines: http://man-k.org/whatis

Looks good, and I have already made use of it, thanks.

I'm not going to comment on general UI issues (appearance and such),
I know I couldn't do better, but one thing ... when you return the results,
the system selection checkboxes all get reset to "all", if it isn't
too hard, it would be better to leave them as the user set them in the
search that was just completed.

kre




Re: Updates to man-k.org

2017-05-14 Thread Abhinav Upadhyay
On Sat, May 13, 2017 at 10:56 AM, Robert Elz  wrote:
> Date:Sat, 13 May 2017 10:39:49 +0530
> From:Abhinav Upadhyay 
> Message-ID:  
> 

Re: Updates to man-k.org

2017-05-12 Thread Robert Elz
Date:Sat, 13 May 2017 10:39:49 +0530
From:Abhinav Upadhyay 
Message-ID:  

Re: Updates to man-k.org

2017-05-12 Thread Abhinav Upadhyay
On Sat, May 13, 2017 at 5:44 AM, Robert Elz  wrote:
> Date:Sat, 13 May 2017 01:44:35 +0530
> From:Abhinav Upadhyay 
> Message-ID:  
> 

Re: Updates to man-k.org

2017-05-12 Thread Robert Elz
Date:Sat, 13 May 2017 01:44:35 +0530
From:Abhinav Upadhyay 
Message-ID: