The ebuild directly requires slang although I have (and believe most users if not all) installed ncurses library handling terminal setup. The slang was born much later and propagated along Midnight Commander although mc(1) did (and does) also support ncurses library as well. Please prefer ncurses over slang in the ebuild. There is no reason to have two terminal libs installed. Or, at least respect ncurses USE flag over slang. Thanks.
I don't see slang being optional in dosemu sources, the configure.ac will entirely disable 'term' if it's not found. What's your point?
My point was to link against ncurses instead of slang. However, I do not see a documented configure flag for that. checking for S-Lang... checking slang.h usability... yes checking slang.h presence... yes checking for slang.h... yes checking for SLtt_get_terminfo in -lslang... yes configure: Compiling with S-Lang support... In dosemu-1.4.1_pre20091009/work/dosemu/ChangeLog.ancient I see: Fri Nov 18 1994 - Slang code replacement in test. Set USE_SLANG in Makefile. Slang is a faster terminal control library than ncurses. Requires slang (amy.tch.harvard.edu in pub/slang , or tsx in the dosemu Development subdir). Many thanks to John Davis (davis@amy.tch.harvard.edu) for trying to win us over. [cut] Tue Jul 05 1994 JES - Finally... Markkk succeeds where so many of us have failed. NCURSES support is here, and I believe to stay :-). It's still a bit rough, but it IS. You should truly think about getting ncurses-1.8.5.tgz from: netcom.com:pub/zmbenhal/ncurses/1.8.5.tgz This of course brings color to serial lines and preps for many more. I couldn't activate it on a telnet or rlogin connect yet. Thanks Markkk, from many of us :-). So, maybe upstream dropped support for ncurses in its early development?
For completeness, here are the relevant link lines. [cut] i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common -rdynamic -shared -o ../../../1.4.0.1/bin/libplugin_term.so term_core.o terminal.o keyb_slang.o mouse_xterm.o -lslang ar crs ../../../src/lib/libplugin_term.a make[2]: Leaving directory `/var/tmp/portage/app-emulation/dosemu-1.4.1_pre20091009/work/dosemu/src/plugin/term' [cut] i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common -rdynamic -o ../1.4.0.1/bin/dosemu.bin emu.o \ -Wl,--whole-archive lib/libenv_video.a lib/libbase.a lib/libbase_async.a lib/libarch_linux_async.a lib/libarch_linux_mapping.a lib/libbase_misc.a lib/libbase_dev_misc.a lib/libemu-i386.a lib/libemu-i386_simx86.a lib/libenv.a lib/libbase_speaker.a lib/libbase_dev_pic.a lib/libdosext_dpmi.a lib/libdosext_mfs.a lib/libdosext_misc.a lib/libbase_init.a lib/libbase_serial.a lib/libbase_mouse.a lib/libbase_dev_dma.a lib/libarch_linux_debugger.a lib/libdosext_net_net.a lib/libdosext_sound.a lib/libarch_linux_dosext_sound.a lib/libbase_dev_sb16.a lib/libbase_sound.a lib/libdosext_drivers.a lib/libbase_bios.a lib/libplugin_gpm.a lib/libplugin_alsa.a lib/libplugin_translate.a lib/libplugin_translate_charsets.a lib/libplugin_commands.a lib/libplugin_sndfile.a lib/libplugin_midimisc.a lib/libplugin_term.a lib/libplugin_kbd_unicode.a lib/libplugin_X.a lib/libplugin_sdl.a lib/libplugin_extra_charsets.a -Wl,--no-whole-archive -lrt -ldl -lm [cut]