int no_blink = 0;
int color_theme = 0;
+ setlocale(LC_ALL, "");
+
char input_filename[buffer_size], output_filename[buffer_size];
strcpy(input_filename, "");
strcpy(output_filename, "/tmp/selector.out");
if (fd >= 0) {
// Save current port settings
tcgetattr(fd,&oldtio);
- bzero(&newtio, sizeof(newtio));
+ memset(&newtio, 0, sizeof(newtio));
// Set input mode (non-canonical, *no echo*,...)
tcflush(fd, TCIFLUSH);
tcsetattr(fd,TCSANOW, &newtio);