- changed SIGINT behaviour
- html export filter creates now valid html documents
- ablity to print/export only selected items
+ - new editor commands
0.4.12
- added man page for abookrc (Alan Ford)
PACKAGE=abook
-VERSION=0.4.13pre1
+VERSION=0.4.13pre2-cvs
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
dnl abook configure.in
AC_INIT(abook.c)
-AM_INIT_AUTOMAKE(abook, 0.4.13pre1)
+AM_INIT_AUTOMAKE(abook, 0.4.13pre2-cvs)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST
break;
case KEY_RIGHT: tab = tab == MAX_TAB ? 0 : tab + 1;
break;
+ case '<':
+ case 'k': if(is_valid_item(item-1)) item--; break;
+ case '>':
+ case 'j': if(is_valid_item(item+1)) item++; break;
case 'r': roll_emails(item); break;
case '?': display_help(HELP_EDITOR); break;
case 'u': edit_undo(item, RESTORE_ITEM); break;
case 'm': launch_mutt(item);
case 'v': launch_wwwbrowser(item);
case 12 : clearok(stdscr, 1); break; /* ^L (refresh screen) */
- default: return edit_field(tab, c, item);
+ default: return edit_field(tab, c, item) ? item : -1;
}
- return 1;
+ return item;
}
void
}
init_editor();
- while( edit_loop(item) )
- ;
+
+ while( (item = edit_loop(item)) >= 0 )
+ curitem = item; /* hmm, this is not very clean way to go */
close_editor();
}
"\n",
" 1 - 5 edit fields\n",
"\n",
+" k or < previous item\n",
+" j or > next item\n",
+"\n",
" r roll e-mail addresses\n",
"\n",
" u undo\n",