refresh on i, y commands
diff --git a/src/cmd/upas/ned/nedmail.c b/src/cmd/upas/ned/nedmail.c
index a3a251b..231305e 100644
--- a/src/cmd/upas/ned/nedmail.c
+++ b/src/cmd/upas/ned/nedmail.c
@@ -1743,8 +1743,16 @@
 icmd(Cmd *x, Message *m)
 {
 	int n;
+	char buf[1024];
+	CFid *fd;
 
 	USED(x);
+	snprint(buf, sizeof buf, "%s/ctl", mbname);
+	fd = fsopen(mailfs, buf, OWRITE);
+	if(fd){
+		fswrite(fd, "refresh", 7);
+		fsclose(fd);
+	}
 	n = dir2message(&top, reverse);
 	if(n > 0)
 		Bprint(&out, "%d new message%s\n", n, plural(n));