f63d084f65
* Added append-mode to #capture: use #capture >file-name * Cleaned #spawned commands interface: text they print on standard output *MUST* terminate with a newline ('\n') in order for powwow to execute it. * Fixed missing #include <time.h> in main.h. * Fixed broken matching of #mark patterns starting with $ * Added the following user-contributed patches: * Put also 1-char lines into history; * Do not capture/movie data coming from spawned commands; * Fixed a bug in command parser.
13 lines
423 B
Text
13 lines
423 B
Text
$NetBSD: patch-ac,v 1.2 2005/02/04 09:38:43 adam Exp $
|
|
|
|
--- follow.c.orig 2002-02-19 19:42:34.000000000 +0000
|
|
+++ follow.c
|
|
@@ -96,7 +96,7 @@ void set_terminal()
|
|
ioctl(0, TIOCGLTC, <csave);
|
|
ttyb = ttybsave;
|
|
ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO;
|
|
- ioctl(tty_read_fd, TIOCSETP, &ttyb);
|
|
+ ioctl(0, TIOCSETP, &ttyb);
|
|
ltc = ltcsave;
|
|
ltc.t_suspc = -1;
|
|
ioctl(0, TIOCSLTC, <c);
|