2c2 < * cmd.c --- > * cmd.c 4,5c4,5 < * All the Techinfo browser functions, followed by a table of their invoking < * commands, and a call to lookup a function (proc pointer) given its name. --- > * All the Techinfo browser functions, followed by a table of their invoking > * commands, and a call to lookup a function (proc pointer) given its name. 9c9 < --- > 14c14 < --- > 25c25 < --- > 27c27 < --- > 35,36c35,36 < < --- > > 38c38 < --- > 40c40 < #include "nlist_c.h" --- > #include "nlist_c.h" 42c42 < #include "web.h" --- > #include "web.h" 45c45 < --- > 47c47 < --- > 49c49 < --- > 53c53 < --- > 56c56 < --- > 59c59 < static int curlist = 0; --- > static int curlist = 0; 71c71 < --- > 77c77 < --- > 79c79 < --- > 84c84 < --- > 86c86 < --- > 90c90 < --- > 95c95 < --- > 97c97 < --- > 110c110 < --- > 112c112 < --- > 123c123 < --- > 126c126 < --- > 149,150c149,150 < < --- > > 155c155 < --- > 165c165 < --- > 168c168 < --- > 171c171 < --- > 192c192 < --- > 196c196 < --- > 200c200 < --- > 206c206 < --- > 212c212 < --- > 215c215 < if (disp_is_text()){ --- > if (disp_is_text()){ 218c218 < } --- > } 222c222 < --- > 225c225 < if (disp_is_text()){ --- > if (disp_is_text()){ 228c228 < } --- > } 230c230 < return CMD_HIDE; --- > return CMD_HIDE; 232c232 < --- > 238c238 < --- > 245,246c245,246 < < --- > > 251c251 < --- > 264c264 < else --- > else 275,277c275,277 < < < --- > > > 282c282 < --- > 285c285 < --- > 295c295 < col = 14; --- > col = 14; 298c298 < --- > 310c310 < nl_disp_set(menu,disptype); --- > nl_disp_set(menu,disptype); 312c312 < menu = disp_ret_set(curlist); --- > menu = disp_ret_set(curlist); 323c323 < menu = disp_ret_set(curlist); --- > menu = disp_ret_set(curlist); 326,327c326,327 < < --- > > 329c329 < * cmd_map handles path, content & map --- > * cmd_map handles path, content & map 331c331 < --- > 337c337 < --- > 355c355 < --- > 358c358 < --- > 365c365 < i = nlist_find_id(n_id(startnode),nlist_numnode()); --- > i = nlist_find_id(n_id(startnode),nlist_numnode()); 370c370 < --- > 375c375 < --- > 387,388c387,388 < < --- > > 392c392 < --- > 397c397 < * --- > * 399,400c399,400 < < --- > > 405c405 < --- > 413c413 < --- > 416c416 < --- > 423,424c423,424 < < --- > > 432c432 < free(text_buf); --- > free(text_buf); 452c452 < --- > 459c459 < --- > 482c482 < --- > 486,487c486,487 < < --- > > 494c494 < --- > 502c502 < --- > 506c506 < if (lines > 0) { --- > if (lines > 0) { 508c508 < log_read(log_line); --- > log_read(log_line); 516c516 < if (cur_doc_id == n_id(n)) --- > if (cur_doc_id == n_id(n)) 518,519c518,519 < cur_scr_type = TEXT; < cur_doc_id = n_id(n); --- > cur_scr_type = TEXT; > cur_doc_id = n_id(n); 528c528 < --- > 544c544 < --- > 551c551 < --- > 556c556 < --- > 558c558 < --- > 561,562c561,562 < < --- > > 567c567 < --- > 577c577 < --- > 587c587 < --- > 593,594c593,594 < < --- > > 600c600 < --- > 608c608 < last_cmd = new_cmd; --- > last_cmd = new_cmd; 611c611 < --- > 616c616 < --- > 630c630 < next_to_last = ptr; --- > next_to_last = ptr; 632c632 < } --- > } 634c634 < --- > 643c643 < menu = disp_ret_set(curlist); --- > menu = disp_ret_set(curlist); 646c646 < --- > 652c652 < curlist++; --- > curlist++; 660c660 < --- > 665c665 < * Must Move to nlist.c, set curdepth, CurRoot, this is a kluldge. --- > * Must Move to nlist.c, set curdepth, CurRoot, this is a kluldge. 667c667 < --- > 669c669 < --- > 676c676 < --- > 689c689 < --- > 703c703 < disp_ret_wind(LIST); --- > disp_ret_wind(LIST); 712c712 < --- > 722c722 < --- > 729c729 < --- > 754c754 < --- > 761c761 < --- > 768c768 < --- > 777c777 < --- > 779c779 < --- > 783c783 < --- > 793c793 < --- > 803,804c803,804 < < --- > > 812c812 < --- > 828c828 < --- > 835c835 < --- > 841c841 < --- > 851c851 < --- > 855c855 < --- > 857c857 < --- > 872c872 < --- > 875c875 < --- > 877c877 < --- > 884c884 < } --- > } 887c887 < --- > 894,895c894,895 < < nstr = web_node_str(n); --- > > nstr = web_node_str(n); 900c900 < --- > 902c902 < --- > 906c906 < --- > 912c912 < web_allnodes(_cmd_dump_aux); --- > web_allnodes(_cmd_dump_aux); 918c918 < --- > 925c925 < --- > 949c949 < --- > 954c954 < --- > 961c961 < --- > 965c965 < --- > 967c967 < --- > 969c969 < --- > 1021c1021 < --- > 1023,1024c1023,1024 < < --- > > 1030c1030 < --- > 1037c1037 < --- > 1044c1044 < --- > 1055c1055 < --- > 1063c1063 < --- > 1076c1076 < --- > 1084c1084 < --- > 1089c1089 < --- > 1091c1091 < --- > 1093c1093 < --- > 1100c1100 < --- > 1103c1103 < --- > 1110c1110 < --- > 1115c1115 < --- > 1130c1130 < --- > 1143c1143 < --- > 1154c1154 < --- > 1158c1158 < --- > 1166c1166 < --- > 1168c1168 < strcpy(cmdbuf, "clear"); why make screen redraw when enter hit? --- > strcpy(cmdbuf, "clear"); why make screen redraw when enter hit? 1170,1172c1170,1172 < /* if (strncasecmp(username,cmdline,2) == 0) hacked for alias < sprintf(cmdbuf, "*select %s", usercmd); < else */ --- > /* if (strncasecmp(username,cmdline,2) == 0) hacked for alias > sprintf(cmdbuf, "*select %s", usercmd); > else */ 1177,1178c1177,1178 < < --- > > 1182,1183c1182,1183 < < --- > > 1186c1186 < --- > 1188c1188 < --- > 1195c1195 < --- > 1200c1200 < --- > 1203c1203 < --- > 1217c1217 < node = nidstr_to_node(Argv[1]); --- > node = nidstr_to_node(Argv[1]); 1233c1233 < node = nidstr_to_node(Argv[1]); --- > node = nidstr_to_node(Argv[1]); 1249c1249 < --- > 1257c1257 < menu = disp_ret_set(curlist); --- > menu = disp_ret_set(curlist); 1277c1277 < --- > 1284,1285c1284,1285 < menu = disp_ret_set(curlist); < --- > menu = disp_ret_set(curlist); > 1335c1335 < disp_save_wind(cur_scr_type); --- > disp_save_wind(cur_scr_type); 1337c1337 < disp_clear_headings(); --- > disp_clear_headings(); 1341c1341 < --- > 1350c1350 < * of increased functionality in the area of nlist manipulation. --- > * of increased functionality in the area of nlist manipulation. 1352c1352 < --- > 1354c1354 < * This is all a big mess, will change later --- > * This is all a big mess, will change later 1356c1356 < --- > 1361c1361 < --- > 1364c1364 < --- > 1368,1369c1368,1369 < } < --- > } >