git.joshuawise.com
/
firearm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testbench: use 'urxvt', not 'rxvt'.
[firearm.git]
/
testbench.cpp
diff --git
a/testbench.cpp
b/testbench.cpp
index
da3d75e
..
9ad4b2d
100644
(file)
--- a/
testbench.cpp
+++ b/
testbench.cpp
@@
-20,7
+20,7
@@
void openpty()
tcgetattr(fd, &kbdios);
kbdios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
tcsetattr(fd, TCSANOW, &kbdios);
tcgetattr(fd, &kbdios);
kbdios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
tcsetattr(fd, TCSANOW, &kbdios);
- sprintf(b, "rxvt -pty-fd %d -bg black -fg white -title \"Output terminal\" &", fd);
+ sprintf(b, "
u
rxvt -pty-fd %d -bg black -fg white -title \"Output terminal\" &", fd);
system(b);
unlockpt(fd);
ptyfd = open(ptsname(fd), O_RDWR | O_NONBLOCK);
system(b);
unlockpt(fd);
ptyfd = open(ptsname(fd), O_RDWR | O_NONBLOCK);
This page took
0.016743 seconds
and
4
git commands to generate.