diff options
author | andmarti1424 <andmarti@gmail.com> | 2016-02-12 16:43:42 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2016-02-12 16:43:42 -0300 |
commit | cbf951baee9ae4250db6ab4ef167bbed198e13c8 (patch) | |
tree | 9039f3ab509fa38557c87fb2011c025031d2cb96 | |
parent | 84b8c1ef8565f4cdfb7815ad6e71b5215f2aba63 (diff) |
Using special chars - updated WIKI and Makefile
-rw-r--r-- | WIKI | 6 | ||||
-rw-r--r-- | src/Makefile | 7 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Building SC-IM +-------------- +Try building SC-IM linking to ncursesw library rather than ncurses library and setting the USELOCALE flag. +This will prevent to have problems with special characters (extended ascii chars), whatever encoding you use. + + Build instructions for NetBSD ----------------------------- Use gmake and bison. diff --git a/src/Makefile b/src/Makefile index 89617e2..42bab4e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,6 @@ # Specify the name of the program. # All documentation and installation keys on this value. -# name=sc-im NAME=SC-IM SNAME := -DSNAME=\"$(name)\" @@ -54,7 +53,8 @@ MACOSX := #SIMPLE := -DSIMPLE # Set USELOCALE to use your local d_fmt for converting dates with C-d shortcut. -# See DATES INPUT in help. +# (See DATES INPUT in help for more details). +# You also should set this flag if you use extended ascii chars. USELOCALE := -DUSELOCALE # Set this if you want SC-IM to have color support @@ -135,7 +135,8 @@ CFLAGS := $(CFLAGS) $(USECOLORS) $(USELOCALE) $(UNDO) $(SIGVOID) $(DFLT_PAGER) CFLAGS := $(CFLAGS) $(IEEE_MATH) $(RINT) $(REGEX) $(LIBRARY) CFLAGS := $(CFLAGS) $(HELP_PATH) $(SNAME) $(NO_NOTIMEOUT) $(SIMPLE) $(XLS) $(XLSX) $(HISTORY_FILE) -LDLIBS := -lm -lncurses +LDLIBS := -lm -lncursesw +#LDLIBS := -lm -lncurses #LDLIBS := -lm -lncurses -lxlsreader #LDLIBS := -lm -lncurses -lxlsreader -lzip -lxml2 |