search for: init_term

Displaying 3 results from an estimated 3 matches for "init_term".

Did you mean: _initterm
2008 May 26
4
xvm-gate: arrow keys broken in pygrub
...ot; is sent by pygrub, which includes "ESC [ ? 1 h". This enables the application key mode; gnome-terminal / xterm / dtterm starts sending the ESC O ... cursor key sequences. Now the problem seems to be that the xenconsole process opens the domain''s slave pty, and uses the init_term() function to configure the terminal for "raw" mode. init_term() uses a TCSAFLUSH ioctl to set the new terminal attributes, but that apparently flushes queued data (the" ESC [ ? 1 h" vt100 init sequence for switching to application mode) that is already waiting in the pty'...
2006 Aug 15
5
Ferret Segmentation Faults
Hi, I am getting a number of segmentation faults using Ferret 0.9.5, Fedora Core 5 and Ruby 1.8.4 I installed it with the recommended gem install ferret and example segmentation fault creation line would be as follows: @records = FerretConfig::INDEX.search("address_line_2:\"Dumbarton\"") I am also using acts_as_ferret and rails 1.15 but think this is an issue with
2006 Sep 06
7
[RFC PATCH] allow connecting to xenconsole from remote hosts
...+ ret = console_loop(conspty, in, out, remote->noecho); + } while (ret == EAGAIN); + + return ret; +} + +static int main_loop(int conspty, struct remote *remote) +{ + int in; + int out; + int ret; + struct termios attr; + + if (remote->do_listen) + return remote_loop(conspty, remote); + + init_term(fileno(stdin), &attr); + + in = fileno(stdin); + out = fileno(stdout); + + ret = console_loop(conspty, in, out, 0); + + restore_term(in, &attr); + + return ret; +} + int main(int argc, char **argv) { - struct termios attr; int domid; - char *sopt = "h"; + char *sopt = "rp...