vsta

Check-in [9aacdbfdf1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Setting ONLCR against wrong termios field.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:9aacdbfdf1379ed7d5e1122d4c67c9341dc58b1b6f05486bdd4017436f056a0a
User & Date: vandys 2001-10-24 17:32:59
Context
2001-10-24
21:48
Fix handling of alternate char set escape sequence. check-in: c4a633fe0f user: vandys tags: master, trunk
17:32
Setting ONLCR against wrong termios field. check-in: 9aacdbfdf1 user: vandys tags: master, trunk
2001-10-22
19:47
Include mkall.sh scripts to let other people do system builds. check-in: b172d88359 user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to vsta/src/lib/tty.c.

394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
	if ((t->c_lflag & ISIG) != (t2->c_lflag & ISIG)) {
		sprintf(buf, "isig=%d\n", (t->c_lflag & ISIG) != 0);
		(void)wstat(port->p_port, buf);
	}
	if ((t->c_oflag & (ONLCR | OPOST)) !=
			(t2->c_oflag & (ONLCR | OPOST))) {
		sprintf(buf, "onlcr=%d\n",
			(t->c_lflag & (ONLCR | OPOST)) == (ONLCR | OPOST));
		(void)wstat(port->p_port, buf);
	}
	if (t->c_ospeed != t2->c_ospeed) {
		sprintf(buf, "baud=%u\n", t->c_ospeed);
		(void)wstat(port->p_port, buf);
	}
	bcopy(t, t2, sizeof(struct termios));







|







394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
	if ((t->c_lflag & ISIG) != (t2->c_lflag & ISIG)) {
		sprintf(buf, "isig=%d\n", (t->c_lflag & ISIG) != 0);
		(void)wstat(port->p_port, buf);
	}
	if ((t->c_oflag & (ONLCR | OPOST)) !=
			(t2->c_oflag & (ONLCR | OPOST))) {
		sprintf(buf, "onlcr=%d\n",
			(t->c_oflag & (ONLCR | OPOST)) == (ONLCR | OPOST));
		(void)wstat(port->p_port, buf);
	}
	if (t->c_ospeed != t2->c_ospeed) {
		sprintf(buf, "baud=%u\n", t->c_ospeed);
		(void)wstat(port->p_port, buf);
	}
	bcopy(t, t2, sizeof(struct termios));