Article View: news.software.readers
Article #38710Making the Win32 version of libslang Unix compatible
From: root
Date: Sat, 14 Feb 1998 00:00
Date: Sat, 14 Feb 1998 00:00
33 lines
1336 bytes
1336 bytes
Basically, what you do is build up a list of things omitted by the Win32
compile of libslang and requested by other applications, such as lynx and
midnight commander. Then, you add these to the top of, say, slw32tty.c,
as follows, and re-compile:
============================================================================
/* EXTRA STUFF FOR UNIX COMPATIBILITY: */
#include <slang.h>
int SLtt_Blink_Mode = 1;
int SLang_TT_Read_FD = -1;
int SLtt_Baud_Rate=1200;
int SLsmg_Scroll_Hash_Border = 0;
int SLtt_Has_Alt_Charset = 0;
int SLang_TT_Baud_Rate=1200;
int (*SLang_getkey_intr_hook) (void);
void SLtty_set_suspend_state (int mode)
{
}
void SLtt_add_color_attribute (int obj, SLtt_Char_Type attr)
{
}
/* END OF EXTRA STUFF */
Technical Details
Message-ID:
<34e5a2ec.0@news3.ibm.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <34e5a2ec.0@news3.ibm.net> Subject: Making the Win32 version of libslang Unix compatible Date: Sat, 14 Feb 1998 00:00:00 +0000 From: vischne@ibm.net-nospam (root) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 325035571 Content-Type: Text/Plain; charset=US-ASCII Organization: The Light MIME-Version: 1.0 Newsgroups: news.software.readers