GoodStr
EL_FLAGS |= GoodStr(T_ce) ? TERM_CAN_CEOL : 0;
EL_FLAGS |= (GoodStr(T_dc) || GoodStr(T_DC)) ? TERM_CAN_DELETE : 0;
EL_FLAGS |= (GoodStr(T_im) || GoodStr(T_ic) || GoodStr(T_IC)) ?
EL_FLAGS |= (GoodStr(T_up) || GoodStr(T_UP)) ? TERM_CAN_UP : 0;
if (GoodStr(T_me) && GoodStr(T_ue))
if (GoodStr(T_me) && GoodStr(T_se))
if ((del > 1) && GoodStr(T_DO)) {
if (GoodStr(T_UP) && (-del > 1 || !GoodStr(T_up)))
if (GoodStr(T_up))
if ((del < -4 || del > 4) && GoodStr(T_ch))
if ((del > 4) && GoodStr(T_RI))
if ((-del > 4) && GoodStr(T_LE))
if (GoodStr(T_DC)) /* if I have multiple delete */
if ((num > 1) || !GoodStr(T_dc)) { /* if dc would be more
if (GoodStr(T_dm)) /* if I have delete mode */
if (GoodStr(T_dc)) /* else do one at a time */
if (GoodStr(T_ed)) /* if I have delete mode */
if (GoodStr(T_IC)) /* if I have multiple insert */
if ((num > 1) || !GoodStr(T_ic)) {
if (GoodStr(T_im) && GoodStr(T_ei)) { /* if I have insert mode */
if (GoodStr(T_ip)) /* have to make num chars insert */
if (GoodStr(T_ic)) /* have to make num chars insert */
if (GoodStr(T_ip)) /* have to make num chars insert */
if (EL_CAN_CEOL && GoodStr(T_ce))
if (GoodStr(T_cl))
else if (GoodStr(T_ho) && GoodStr(T_cd)) {
if (GoodStr(T_bl))