.nf
for x in 0 1 2 3 4 5 6 7 8; do
- mknod -m 644 /dev/vcs$x c 7 $x;
- mknod -m 644 /dev/vcsa$x c 7 $[$x+128];
+ mknod \-m 644 /dev/vcs$x c 7 $x;
+ mknod \-m 644 /dev/vcsa$x c 7 $[$x+128];
done
chown root:tty /dev/vcs*
.fi
(void)read(fd, &attrib, 1);
printf("ch='%c' attrib=0x%02x\\n", ch, attrib);
attrib ^= 0x10;
- (void)lseek(fd, -1, 1);
+ (void)lseek(fd, \-1, 1);
(void)write(fd, &attrib, 1);
return 0;
}