1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
<html> |
4 |
<head> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 |
<title>CygTerm+ setup file</title> |
7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
8 |
<link rel="stylesheet" href="../style.css" type="text/css"> |
9 |
</head> |
10 |
<body> |
11 |
|
12 |
<h1>CygTerm+ setup file</h1> |
13 |
|
14 |
<p> |
15 |
cygterm.cfg is a configuration file. This includes definitions for the command lines of a terminal emulator and a shell, and several parameters.<br> |
16 |
cygterm.cfg is loaded from the same directory cygterm.exe exists in. |
17 |
</p> |
18 |
|
19 |
<p> |
20 |
An example of cygterm.cfg |
21 |
</p> |
22 |
<pre> |
23 |
TERM = C:\program files\ttermpro\ttermpro.exe %s %d /KR=SJIS /KT=SJIS |
24 |
TERM_TYPE = vt100 |
25 |
PORT_START = 20000 |
26 |
PORT_RANGE = 40 |
27 |
SHELL = /bin/bash |
28 |
ENV_1 = MAKE_MODE=unix |
29 |
ENV_2 = HOME=/home |
30 |
: : |
31 |
</pre> |
32 |
|
33 |
<dl> |
34 |
<dt>TERM</dt> |
35 |
<dd> |
36 |
This is the command line to execute a terminal emulaitor. |
37 |
Specify the full path to the command if it isn't in Windows search path. |
38 |
This needs to be described `%s' and `%d' for the host and port number. |
39 |
</dd> |
40 |
|
41 |
<dt>TERM_TYPE</dt> |
42 |
<dd> |
43 |
This terminal type is adopted when the terminal emulator did not give |
44 |
a terminal type. (default: vt100) Then this value is set to the |
45 |
environment variable TERM on a shell. |
46 |
</dd> |
47 |
|
48 |
<dt>PORT_START</dt> |
49 |
<dd> |
50 |
This is the minimum TCP port number allowed for use. (default: 20000) |
51 |
</dd> |
52 |
|
53 |
<dt>PORT_RANGE</dt> |
54 |
<dd> |
55 |
This is the maximum number of TCP ports allowed for use. (default: 40)<br> |
56 |
|
57 |
cygterm.exe looks for an unused port number between PORT_START and |
58 |
PORT_START+PORT_RANGE, and therefore can be run concurrently as many |
59 |
as this number. |
60 |
</dd> |
61 |
|
62 |
<dt>SHELL</dt> |
63 |
<dd> |
64 |
This is the command line to execute a shell in Cygwin side (normally |
65 |
/bin/bash). (default: get from /etc/passwd) |
66 |
Specify the full path to the shell or keyword "AUTO". |
67 |
</dd> |
68 |
|
69 |
<dt>ENV_X</dt> |
70 |
<dd> |
71 |
This is the environment variable to be set when starting the shell. |
72 |
It should be of the form `name=value' (like putenv). It is possible to |
73 |
give as many environment variables as needed by beginning with "ENV_". |
74 |
</dd> |
75 |
|
76 |
<dt>LOGIN_SHELL</dt> |
77 |
<dd> |
78 |
If this parameter is set to yes, shell is invoked as a login shell. |
79 |
(default: no) |
80 |
</dd> |
81 |
|
82 |
<dt>HOME_CHDIR</dt> |
83 |
<dd> |
84 |
If this parameter is set to yes, current directory is changed to home |
85 |
directory before invoke a shell. (default: no) |
86 |
</dd> |
87 |
|
88 |
<dt>SOCKET_TIMEOUT</dt> |
89 |
<dd> |
90 |
Specify the timeout of socket for waiting telnet connection from Tera Term. |
91 |
(default: 5secs) |
92 |
</dd> |
93 |
</dl> |
94 |
|
95 |
</body> |
96 |
</html> |