🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by root Sat, 14 Feb 1998 00:00
Making the Win32 version of libslang Unix compatible
#38710
Author: root
Date: Sat, 14 Feb 1998 00:00
33 lines
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 */


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads