[slang-users] [slang-2.1.2] Mac OS X and terminfo

Wenchieh Yen yenwenchieh at gmx.de
Sat Oct 13 11:21:06 EDT 2007


I noticed some Slang-related issues by compiling Midnight Commander  
with UTF8 support on Mac OS X:

1. REAL_UNIX_SYSTEM should be set to 'defined' in slang.h on OS X.  
Otherwise, some external reference cannot be resolved when linked by  
other applications such as Midnight Commander. Define __APPLE__ will  
solve this.

2. Recent ncurses(w) (at least for version 5.6) provides ncurses(w)5- 
config for finding out where the terminfo databse is. However,  
MISC_TERMINFO_DIRS is kinda hard-coded to $FINKPREFIX.

Please see the attached diff file.

- Wenchieh Yen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: slang-2.1.2.patch
Type: application/octet-stream
Size: 3128 bytes
Desc: not available
Url : http://mailman.jedsoft.org/pipermail/slang-users-l/attachments/20071013/500182df/slang-2.1.2.obj
-------------- next part --------------







More information about the slang-users-l mailing list