This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug? tty speed of xterm


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]