> Attached dir.gz Was missing I still get the error message instead of the top man page. Using INFOPATH=~/tmp ./ginfo ./foobar
However, messing around with gdb, I surmise that the man page was being generated by this code at the end of info_get_node: /* If the node not found was "Top", try again with different case. */ if (!node && (nodename == NULL || strcasecmp (nodename, "Top") == 0)) { node = info_get_node_of_file_buffer ("Top", file_buffer); if (!node) node = info_get_node_of_file_buffer ("top", file_buffer); if (!node) node = info_get_node_of_file_buffer ("TOP", file_buffer); } With a cmdline arg of "./foobar", there is no nodename. So this first tries man Top (nothing), and then man top (something). (I don't understand why I didn't get the top man page.) So I changed it to avoid all those subcalls if we are doing man pages: if (!node && strcasecmp (filename, MANPAGE_FILE_BUFFER_NAME) != 0 && (nodename == NULL || strcasecmp (nodename, "Top") == 0)) See if that works for you ... (it's in CVS now) (Is it just me, or is this code really hard to follow?) Thanks, k -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]