showHtml xconvert x to html format, contact a netscape process currently running on the same host, and have it display it.
Try this example: showHtml documentation "loops".
Code:
-- ../../../Macaulay2/m2/expressions.m2:1041-1045 showHtml = x -> ( fn := temporaryFileName () | ".html"; fn << "<TITLE>Macaulay 2 Output</TITLE>" << endl << html x << endl << close; run ( "netscape -remote 'openFile(" | fn | ")'; rm " | fn ); )