Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
xterm.c File Reference
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <termios.h>
#include "chan_user.h"
#include <os.h>
#include <um_malloc.h>
#include "xterm.h"

Go to the source code of this file.

Data Structures

struct  xterm_chan
 

Functions

 __uml_setup ("xterm=", xterm_setup,"xterm=<terminal emulator>,<title switch>,<exec switch>\n"" Specifies an alternate terminal emulator to use for the debugger,\n"" consoles, and serial lines when they are attached to the xterm channel.\n"" The values are the terminal emulator binary, the switch it uses to set\n"" its title, and the switch it uses to execute a subprocess,\n"" respectively. The title switch must have the form '<switch> title',\n"" not '<switch>=title'. Similarly, the exec switch must have the form\n"" '<switch> command arg1 arg2 ...'.\n"" The default values are 'xterm=xterm,-T,-e'. Values for gnome-terminal\n"" are 'xterm=gnome-terminal,-t,-x'.\n\n")
 

Variables

struct chan_ops xterm_ops
 

Function Documentation

__uml_setup ( xterm = ", xterm_setup,"xterm=<terminal emulator>,
< title switch >  ,
< exec switch >\n""Specifies an alternate terminal emulator to use for the  debugger,
\n""  consoles,
and serial lines when they are attached to the xterm channel.\n""The values are the terminal emulator  binary,
the switch it uses to set\n""its  title,
and the switch it uses to execute a  subprocess,
\n""respectively.The title switch must have the form '< switch > title'  ,
\n""not '< switch >  = title'.  Similarly,
the exec switch must have the form\n"" '< switch > command arg1 arg2...'.\n""The default values are '  xterm = xterm,
T,
-e'.Values for gnome-terminal\n""are '  xterm = gnome-terminal,
t,
-x'.\n\n  
)

Variable Documentation

struct chan_ops xterm_ops
Initial value:
= {
.type = "xterm",
.init = xterm_init,
.open = xterm_open,
.close = xterm_close,
.read = generic_read,
.write = generic_write,
.console_write = generic_console_write,
.window_size = generic_window_size,
.free = generic_free,
.winch = 1,
}

Definition at line 212 of file xterm.c.