--- a/joe/pw.h
+++ b/joe/pw.h
@@ -20,17 +20,20 @@
 	B	*hist;		/* History buffer */
 	void	*object;	/* Object */
 	int	file_prompt;	/* Set if this is a file name prompt, so do ~ expansion */
+	int	oldcury;
 };
 
 /* BW *wmkpw(BW *bw,char *prompt,int (*func)(),char *huh,int (*abrt)(),
-             int (*tab)(),void *object,int *notify);
+             int (*tab)(),void *object);
  * Create a prompt window for the given window
  * file_prompt flags:
  *   bit 0: ~ expansion
  *   bit 1: update directory
  *   bit 2: seed with directory
  */
-BW *wmkpw PARAMS((W *w, unsigned char *prompt, B **history, int (*func) (), unsigned char *huh, int (*abrt) (), int (*tab) (), void *object, int *notify, struct charmap *map, int file_prompt));
+BW *wmkpw PARAMS((W *w, unsigned char *prompt, B **history, int (*func) (), unsigned char *huh, int (*abrt) (), int (*tab) (), void *object, struct charmap *map, int file_prompt));
+
+unsigned char *ask(W *w, unsigned char *prompt, B **history, unsigned char *huh, int (*tab)(), struct charmap *map, int file_prompt, int retrieve_last, unsigned char *preload);
 
 int ucmplt PARAMS((BW *bw, int k));