bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Patch to replace hard-coded vt100 sequences with terminfo


From: Elias Mårtenson
Subject: [Bug-apl] Patch to replace hard-coded vt100 sequences with terminfo
Date: Wed, 27 Nov 2013 22:59:42 +0800

Here's a patch that removes the hard-coded vt100 escape sequences that set colours and replace them with use of the terminfo library instead. This makes the application much less dependent on the underlying terminal type.

I've tried to implement it in the style of the existing implementation as much as possible, but there are things that I didn't implement, for example the ability to configure the colours to use. This is because I wasn't entirely certain how to integrate that in the config file reader properly. Right now the colours are hardcoded in the Output.cc file, where the value -1 means "reset".

Regards,
Elias

Attachment: gnu-apl-terminfo.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]