- Fix hack(1) running
PR: ports/64113 Submitted by: schweikh
This commit is contained in:
parent
1f57ab3b93
commit
ed3ef8d326
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103761
13
games/bsdgames/files/patch-hack::hack.termcap.c
Normal file
13
games/bsdgames/files/patch-hack::hack.termcap.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- hack/hack.termcap.c.orig Sat Mar 6 22:18:53 2004
|
||||
+++ hack/hack.termcap.c Thu Mar 11 18:42:47 2004
|
||||
@@ -35,7 +35,8 @@
|
||||
flags.nonull = 1;
|
||||
if(pc = tgetstr("pc", &tbufptr))
|
||||
PC = *pc;
|
||||
- if(!(BC = tgetstr("bc", &tbufptr))) {
|
||||
+ if(!(BC = tgetstr("bc", &tbufptr))
|
||||
+ &&!(BC = tgetstr("le", &tbufptr))) {
|
||||
if(!tgetflag("bs"))
|
||||
error("Terminal must backspace.");
|
||||
BC = tbufptr;
|
||||
|
13
games/freebsd-games/files/patch-hack::hack.termcap.c
Normal file
13
games/freebsd-games/files/patch-hack::hack.termcap.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- hack/hack.termcap.c.orig Sat Mar 6 22:18:53 2004
|
||||
+++ hack/hack.termcap.c Thu Mar 11 18:42:47 2004
|
||||
@@ -35,7 +35,8 @@
|
||||
flags.nonull = 1;
|
||||
if(pc = tgetstr("pc", &tbufptr))
|
||||
PC = *pc;
|
||||
- if(!(BC = tgetstr("bc", &tbufptr))) {
|
||||
+ if(!(BC = tgetstr("bc", &tbufptr))
|
||||
+ &&!(BC = tgetstr("le", &tbufptr))) {
|
||||
if(!tgetflag("bs"))
|
||||
error("Terminal must backspace.");
|
||||
BC = tbufptr;
|
||||
|
Loading…
Reference in New Issue
Block a user