Inserts HTML link to take user to man page of PROGRAM.
The following parameters are recognized:
The program (item) to display the man page for.
The text to appear (defaults to PROGRAM if omitted).
Optional section to jump to within man page.
Example of using the macro:
@manPageBash("date") @manPageBash("kismet","kismet_server","Options 2")
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/bash.at
macros file has been
generated (Hint: run make atmacros in the
wui
directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#
java com.ccg.macros.at.All <<EOF
@include("config/bash.at",,"d")
@manPageBash("date") @manPageBash("kismet","kismet_server","Options 2")
EOF
This macro is defined as:
<span@htmlAttr("class","manPageLink") onmouseover=\"domTT_activate(this, event, 'content', '@jstc("View","@toolTipNote()") the man page for: @jsqh("@param(0)")...', 'width', calcDomTTLen('@param(0)', 190));\"><a@htmlAttr("href","@systemCgi()/man.cgi?action=man&page=$(url_esc_seq "@param(0)")@ifEqual("@param(2)","","","#$(url_esc_seq "@param(2)")")")@htmlAttr("target","_blank")>@fnb("@param(1)","@param(0)")</a></span>