Hello,

Here is small program that reports terminal speed. The result for xterm
is 0, rxvt & windows shell is 15. Is this a bug?

<---- term.c ---->
#include <termios.h>
#include <stdio.h>

main()
{
struct termios raw_tty;
speed_t s;
  tcgetattr(0, &raw_tty);
  s = cfgetospeed(&raw_tty);
  printf("%d\n",s);
  return 0;
}
<---- end ---->

Thank you

V.

Reply via email to