summaryrefslogtreecommitdiff
path: root/misc/deco/files/patch-scr.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
commit0d36ec3c7937d274f501258ddf1798b05e4f33c2 (patch)
treeb35c705d3b36af5129c9a15430528661add3b428 /misc/deco/files/patch-scr.c
parentStage net-mgmt/routers2-extras and cleanup (diff)
Rename misc/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363282
Diffstat (limited to 'misc/deco/files/patch-scr.c')
-rw-r--r--misc/deco/files/patch-scr.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/misc/deco/files/patch-scr.c b/misc/deco/files/patch-scr.c
new file mode 100644
index 000000000000..d6efc7afa293
--- /dev/null
+++ b/misc/deco/files/patch-scr.c
@@ -0,0 +1,36 @@
+Index: scr.c
+@@ -167,7 +167,7 @@
+
+ static char *CL, *CM, *SE, *SO, *TE, *TI, *VE, *VS,
+ *AL, *DL, *IS, *IF, *FS, *MD, *MH, *ME, *MR,
+- *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB;
++ *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB, *OP;
+ static NF, NB;
+ static char MS, C2;
+
+@@ -231,6 +231,7 @@
+ { "Cs", CAPSTR, 0, 0, 0, &Cs, },
+ { "Ce", CAPSTR, 0, 0, 0, &Ce, },
+ { "Ct", CAPSTR, 0, 0, 0, &Ct, },
++ { "op", CAPSTR, 0, 0, 0, &OP, },
+ { { 0, 0, }, 0, 0, 0, 0, 0, },
+ };
+
+@@ -413,6 +414,8 @@
+ tputs (TE);
+ if (KE)
+ tputs (KE);
++ if (OP)
++ tputs (OP);
+ VFlush ();
+ TtyReset ();
+ }
+@@ -425,6 +428,8 @@
+ tputs (VE);
+ if (KE)
+ tputs (KE);
++ if (OP)
++ tputs (OP);
+ VFlush ();
+ TtyReset ();
+ }