Subject: sushi ESC/Fx keys
To: None <garbled@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 01/10/2001 08:39:45
>Module Name:	basesrc
>Committed By:	garbled
>Date:		Tue Jan  9 18:41:55 UTC 2001
>
>Modified Files:
>	basesrc/dist/cdk: buttonbox.c calendar.c dialog.c itemlist.c matrix.c
>	    mentry.c menu.c radio.c scale.c scroll.c selection.c slider.c
>	    swindow.c template.c
>
>Log Message:
>Fix a problem in these widgets where they uncondititonally set the
>exitType to either vEARLY_EXIT, or vESCAPE_HIT when returning from a bound
>function.  This had the unfortunate effect that when you hit F2 to refresh
>the screen in sushi, it would exit out immediately after refreshing the
>screen.
>
>This modification allows the programmer to still create an exit-causing
>bound function, by simply setting the exitType in the function, as was likely
>intended by the author.  Many thanks to Charles Hannum for helping me figure
>this out.
>
>This should fix problems noted by itojun on tech-userlevel with the function
>keys.

	I don't think it solved, at least for me.  the following file is
	typescript taken on i386, 1.5Q, wscons console (vt220 emulation).
	i started sushi, typed F1 (HELP), and it simply went away.
	(it is not urgent for myself, so no need to rush)

itojun


begin 644 typescript.gz
M'XL("+R@6SH"`W1Y<&5S8W)I<'0`K91-B]LP$(;O@?T%ONA4W%,E.?Y*,(66
MENQ"+_4N>S`]B$1.M+7D5)+IYM]7LA+B,;L])6#BF>>=L?6.K'JKQ=$B8YFV
M?(=ZA9[=WP-3B&"$BU62KVB)*,9D(6S_,JC&2UL]"+OZ9.7Q%S*#.8B[1=1L
MHH8^N&NY)NZ6R.^DVO#N&#4R)(N03:JO3&UY=\EG9<B757W@G4_[9BY!JY^\
MU=P<@C)=IS0HB^I>LCV_I"\-"*Z^O0H[IC=1C+L_-_W]CN(O[GE^<3%^/0=)
ML:G]^OU]@:\DF<H2@)93M`0HG:)<UGUK_S+-T;URIG<=L\+-AZD=^L&$LEQY
M'\?EINO<FY!+Y,-+A^S:KCX9RR6LR]XLRB=%?#MH84_H`WHR7!L/?4F,6=`6
MT_<M("NO[,D(M0_[!,5"M;V682F]ZDX?O114$GPM?1RT0F;<H[Y'KT8,Y>1]
M>=N.'.K!"%T$*9B<BR`%PW,1I&!^))W1#-!L1G-`9T83X#2964U*0&=V4@RV
M[,P]2@"=>47/7LG;?DHOH?EH5_.9I@<0O'/.</=MWRW^"Q=U.,UVO>)O'F4)
,#4?9/UUX0;+V!```
`
end