Messages in this thread | | | Date | Thu, 21 Aug 1997 00:10:17 +0200 (MET DST) | From | Andries.Brouwer@cwi ... | Subject | Re: No bug in drivers/char/vt.c |
| |
Han Holl:
: I guess I found a bug in the kernel. (My first!). : The consoles reported back in vstat->v_state on the VT_GETSTATE request : are shifted by one, and tty0 is reported twice. (Please don't tell me : POSIX requires this <G>).
You did not understand the difference in numbering of tty's and vt's (there is a shift by 1: vt's 1..63 correspond to tty's 0..62). Your change would break X and other programs.
Andries
| |