FreeBSD Bugzilla – Attachment 208652 Details for
Bug 241538
sysutils/screen: update from 4.6.2_3 to 4.7.0_1 crashes on startup with TERM=rxvt (and some xterm variants)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Quick fix : revert fad4c29fd95d30639a67142066f623396fca8536
bug-241538-quickfix.diff (text/plain), 1.57 KB, created by
Marcin Cieślak
on 2019-10-28 13:06:07 UTC
(
hide
)
Description:
Quick fix : revert fad4c29fd95d30639a67142066f623396fca8536
Filename:
MIME Type:
Creator:
Marcin Cieślak
Created:
2019-10-28 13:06:07 UTC
Size:
1.57 KB
patch
obsolete
>Index: files/patch-termcap.c >=================================================================== >--- files/patch-termcap.c (revision 515857) >+++ files/patch-termcap.c (working copy) >@@ -1,15 +1,32 @@ >---- termcap.c.orig Wed Jul 5 16:33:30 2000 >-+++ termcap.c Wed Oct 11 05:40:12 2000 >-@@ -355,11 +355,7 @@ >- if (D_CG0) >- { >- if (D_CS0 == 0) >--#ifdef TERMINFO >-- D_CS0 = "\033(%p1%c"; >--#else >-- D_CS0 = "\033(%."; >--#endif >-+ D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */ >- if (D_CE0 == 0) >- D_CE0 = "\033(B"; >- D_AC = 0; >+--- termcap.c.orig 2019-10-28 12:59:36 UTC >++++ termcap.c >+@@ -38,7 +38,6 @@ extern struct NewWindow nwin_undef, nwin >+ extern int force_vt; >+ extern int hardstatusemu; >+ #ifdef MAPKEYS >+-extern char *kmapdef[]; >+ extern struct action umtab[]; >+ extern struct action mmtab[]; >+ extern struct action dmtab[]; >+@@ -48,6 +47,7 @@ extern int kmap_extn; >+ extern int DefaultEsc; >+ #endif >+ >++ >+ static void AddCap __P((char *)); >+ static void MakeString __P((char *, char *, int, char *)); >+ static char *findcap __P((char *, char **, int)); >+@@ -224,11 +224,8 @@ int he; >+ if ((D_EA && InStr(D_EA, "\033(B")) || (D_AS && InStr(D_AS, "\033(0"))) >+ D_CG0 = 1; >+ if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt") || >+- (D_CKM && (InStr(D_CKM, "\033[M") || InStr(D_CKM, "\033[<")))) >+- { >+- D_CXT = 1; >+- kmapdef[0] = SaveStr(D_CKM); >+- } >++ (D_CKM && InStr(D_CKM, "\033[M"))) >++ D_CXT = 1; >+ /* "be" seems to be standard for xterms... */ >+ if (D_CXT) >+ D_BE = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241538
:
208652
|
208653