From bloom-picayune.mit.edu!mintaka.lcs.mit.edu!yale!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!utgpu!news-server.ecf!helios.physics.utoronto.ca!newshost.uwo.ca!julian.uwo.ca!peter Thu Jan 30 09:00:02 EST 1992 When swais fetches and displays an article the last screenful just flashes onto the screen and is replaced by the article selection screen. This patch asks the user to type a character first. It has been tested on sun-3, sun-4/sparc and mips machines. *** /usr/people/guru/peter/tmp/backups/screen-ui.c~ Fri Nov 15 17:36:50 1991 --- ./screen-ui.c Wed Dec 11 21:52:27 1991 *************** *** 1144,1149 **** --- 1144,1153 ---- case 10 : ; case ' ' : PipeWaisDocument(question, findDoc(question->ResultDocuments,selection-1), "${PAGER-more}"); + cbreak(); + noecho(); + PrintStatus("Press any key to continue"); + getch(); screenstart(); state=UNKNOWN; return(SHOWRESULTS); -- -- Peter Marshall, Manager (Academic Networking) CCS, NSC, U. of Western Ontario, London, Canada N6A 5B7 (519)661-2111x6032 From bloom-picayune.mit.edu!mintaka.lcs.mit.edu!yale!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!utgpu!news-server.ecf!helios.physics.utoronto.ca!newshost.uwo.ca!julian.uwo.ca!peter Thu Jan 30 09:00:20 EST 1992 This patch to the swais distribution prevents memory dumps on many machines when running swais. For some reason on Sparcs the code works without this (probably through some happy alignment of the planets on its stack). It works with this patch even on the Sparc. It has been tested there and on sun-3 and Mips machines. *** /usr/people/guru/peter/tmp/backups/screen-ui.c~ Fri Jan 3 09:33:25 1992 --- ./screen-ui.c Mon Jan 6 20:45:23 1992 *************** *** 1037,1043 **** refresh(); strcpy(question->keywords,keywords); question->modified = TRUE; ! return(nextstate()); } standend(); mvprintw(LINES-3,0,"Keywords:"); --- 1037,1043 ---- refresh(); strcpy(question->keywords,keywords); question->modified = TRUE; ! return(nextstate(question)); } standend(); mvprintw(LINES-3,0,"Keywords:"); -- -- Peter Marshall, Manager (Academic Networking) CCS, NSC, U. of Western Ontario, London, Canada N6A 5B7 (519)661-2111x6032