5f2a1d6536
This is the gsoc-2011 project to clean up and backport multibyte support from other nvi forks in a form we can use. USE_WIDECHAR is on unless building for the rescue crunchgen. This should allow editing in the native locale encoding. USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This adds the ability to do things like edit a KOI8-R file while having $LANG set to (say) en_US.UTF-8. iconv is used to transcode the characters for display. Other points: * It uses gencat and catopen/etc instead of homegrown msg catalog stuff. * A lot of stuff has been trimmed out, eg: the perl and tcl bindings which we could never use in base anyway. * It uses ncursesw when in widechar mode. This could be interesting. GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1 Repo at: https://github.com/lichray/nvi2 Obtained from: Zhihao Yuan <lichray@gmail.com>
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
int cl_waddstr __P((SCR *, const CHAR_T *, size_t));
|
|
int cl_addstr __P((SCR *, const char *, size_t));
|
|
int cl_attr __P((SCR *, scr_attr_t, int));
|
|
int cl_baud __P((SCR *, u_long *));
|
|
int cl_bell __P((SCR *));
|
|
int cl_clrtoeol __P((SCR *));
|
|
int cl_cursor __P((SCR *, size_t *, size_t *));
|
|
int cl_deleteln __P((SCR *));
|
|
int cl_discard __P((SCR *, SCR **));
|
|
int cl_ex_adjust __P((SCR *, exadj_t));
|
|
int cl_insertln __P((SCR *));
|
|
int cl_keyval __P((SCR *, scr_keyval_t, CHAR_T *, int *));
|
|
int cl_move __P((SCR *, size_t, size_t));
|
|
int cl_refresh __P((SCR *, int));
|
|
int cl_rename __P((SCR *, char *, int));
|
|
void cl_setname __P((GS *, char *));
|
|
int cl_split __P((SCR *, SCR *));
|
|
int cl_suspend __P((SCR *, int *));
|
|
void cl_usage __P((void));
|
|
int sig_init __P((GS *, SCR *));
|
|
int cl_event __P((SCR *, EVENT *, u_int32_t, int));
|
|
int cl_screen __P((SCR *, u_int32_t));
|
|
int cl_quit __P((GS *));
|
|
int cl_getcap __P((SCR *, char *, char **));
|
|
int cl_term_init __P((SCR *));
|
|
int cl_term_end __P((GS *));
|
|
int cl_fmap __P((SCR *, seq_t, CHAR_T *, size_t, CHAR_T *, size_t));
|
|
int cl_optchange __P((SCR *, int, char *, u_long *));
|
|
int cl_omesg __P((SCR *, CL_PRIVATE *, int));
|
|
int cl_ssize __P((SCR *, int, size_t *, size_t *, int *));
|
|
int cl_putchar __P((int));
|