lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV patch for ttys that can't do reverse+underline (2.7.1)


From: Vladimir Alexiev
Subject: LYNX-DEV patch for ttys that can't do reverse+underline (2.7.1)
Date: Wed, 24 Sep 1997 03:04:03 -0600

If you ask me, reverse+underline is an abomination even if the tty can do it
:-) 

--- Makefile~   Wed Sep 24 02:33:18 1997
+++ Makefile    Wed Sep 24 02:33:45 1997
@@ -291,4 +291,6 @@
 # -DNO_CBREAK      if you don't have cbreak() (use crmode() instead)
 # -DUNDERLINE_LINKS  Define if you want links underlined instead of bold.
+# -DNO_REVERSE_UNDERLINE If your terminal can't handle it 
+#                 (selected links with slang)
 # -DIGNORE_CTRL_C  Define if Control-C shouldn't exit lynx.
 # -DHP_TERMINAL    For DIM workaround to REVERSE problems on HP terminals.
--- src/LYUtils.c~      Mon Mar 31 09:28:36 1997
+++ src/LYUtils.c       Wed Sep 24 02:26:34 1997
@@ -100,5 +100,5 @@
            /* start_bold();  */
            start_reverse();
-#ifdef USE_SLANG
+#if defined USE_SLANG && !defined NO_REVERSE_UNDERLINE
            start_underline ();
 #endif /* USE_SLANG */
@@ -138,5 +138,5 @@
            if (flag == ON) {
                stop_reverse();
-#ifdef USE_SLANG
+#if defined USE_SLANG && !defined NO_REVERSE_UNDERLINE
                stop_underline ();
 #endif /* USE_SLANG */
@@ -151,5 +151,5 @@
            if (flag == ON) {
                start_reverse();
-#ifdef USE_SLANG
+#if defined USE_SLANG && !defined NO_REVERSE_UNDERLINE
                start_underline ();
 #endif /* USE_SLANG */
@@ -175,5 +175,5 @@
        if (flag == ON) {
            stop_reverse();
-#ifdef USE_SLANG
+#if defined USE_SLANG && !defined NO_REVERSE_UNDERLINE
            stop_underline ();
 #endif /* USE_SLANG */
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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