lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Small patch to ac-0.115


From: John E. Davis
Subject: LYNX-DEV Small patch to ac-0.115
Date: Thu, 26 Feb 1998 23:34:35 -0500

Hi Thomas,

   Here is a small patch for lynx2.7.1ac-0.115 in anticipation of the
next release of slang (1.0.4).  SLsmg_Newline_Moves has been
eliminated in favor of SLsmg_Newline_Behavior, which has slightly
different semantics but more flexibility.  A 15 line uuencoded version
of the patch follows at the end in case the patch gets MIME mangled.
Thanks, --John


diff -ur lynx2.7.1ac-0.115.ORIG/src/LYCurses.c lynx2.7.1ac-0.115/src/LYCurses.c
--- lynx2.7.1ac-0.115.ORIG/src/LYCurses.c       Fri Feb 13 08:53:42 1998
+++ lynx2.7.1ac-0.115/src/LYCurses.c    Thu Feb 26 23:21:23 1998
@@ -714,7 +714,7 @@
     SLsmg_Display_Eight_Bit = LYlowest_eightbit[current_char_set];
     if (SLsmg_Display_Eight_Bit > 191)
        SLsmg_Display_Eight_Bit = 191; /* may print ctrl chars otherwise - kw */
-    SLsmg_Newline_Moves = -1;
+    scrollok(0,0);
     SLsmg_Backspace_Moves = 1;
 #ifndef VMS
 #ifndef _WINDOWS
diff -ur lynx2.7.1ac-0.115.ORIG/src/LYCurses.h lynx2.7.1ac-0.115/src/LYCurses.h
--- lynx2.7.1ac-0.115.ORIG/src/LYCurses.h       Thu Feb 19 05:36:56 1998
+++ lynx2.7.1ac-0.115/src/LYCurses.h    Thu Feb 26 22:05:41 1998
@@ -198,7 +198,14 @@
 #define standout SLsmg_reverse_video
 #define standend  SLsmg_normal_video
 #define clrtoeol SLsmg_erase_eol
+
+#ifdef SLSMG_NEWLINE_SCROLLS
+#define scrollok(a,b) SLsmg_Newline_Behavior \
+   = ((b) ? SLSMG_NEWLINE_SCROLLS : SLSMG_NEWLINE_MOVES)
+#else
 #define scrollok(a,b) SLsmg_Newline_Moves = ((b) ? 1 : -1)
+#endif
+
 #define addch SLsmg_write_char
 #define echo()
 #define printw SLsmg_printf
   
   
begin 644 lynx2.7.1ac-0.115.diff.gz
M'XL("$5`]C0``VQY;address@hidden<N,6%C+3`N,3$U+F1I9F8`E5-;;]HP%'YN?L61
M^@(-`1SN0=T0+:V0`DA-551M4V0<I[$(,;(-*?]^3H"FHUO+\F(=^[OHG/,E
M8&$(UD9`O$M>[6JGBC"QZE6$6M79P_B^)@6IN<\W&R&IK)*/J!.`85G6>5(7
M=X+!'5T`:D"]Z[0:3M,&U.MU#=,TO_2Y>(address@hidden;.38C3U[,`"address@hidden
M#IC[8S`P(/L\5ZY>_%LFUS'>^2/V$BE_R!1<@_L<\Y1*Y=/L<L'4#[(address@hidden;*
M)Q$6OJ3J5W^OP4(H_4OGF_9'Y3WN4SL-ZT/M"address@hidden@R+PE<152D
M3%*P8)G"5<VP"K4I36.64'_"MU1J)0OU#3-[ED3P..;+4KU2+_??]SO$9"G7
MF!0DS8%+%B8!#>%IXA6%/Q]/;V=SSPC^)Q/15[N*SLY$]+95U(-ZRVFTG5;[
M[$Q$?V3"=K1`$Q690+UNEHGL0,T\%)>Z:3U-D`HG`=^HP\0$W5(MZ&]90/D)
MBB;!<;`)%RL<GZ)(+!2G/#Z`J,!:2=>&:9AZSMF8/=>;W/O3T=P=3T>^=_,P
M<UU/OQY]CJO$E47Y9.]#&N$MXP)^YFN_AE))8[[_71*<D_O)[&GDE;43C25]
address@hidden,''R0UK10+I'HD.BFWE1P$)#HP$X%4S3_=XIW2B)>*A=U'OST0,B+
+T/@--#T528P$``!0
`
end

reply via email to

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