Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/doc/en/html/macro/command/cygconnect.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10870 - (show annotations) (download) (as text)
Wed Aug 23 14:17:40 2023 UTC (9 months ago) by nmaya
File MIME type: text/html
File size: 2672 byte(s)
外部へのリンクに target="_blank" を指定

chm を表示している hh.exe 外(標準のブラウザ?)で開くリンクになる
ticket #44049
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>cygconnect</title>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </head>
10
11 <body>
12
13
14 <h1>cygconnect</h1>
15
16 <p>
17 Connects to Cygwin. <em>(version 4.57 or later)</em>
18 </p>
19
20 <pre class="macro-syntax">
21 cygconnect [&lt;command line parameters&gt;]
22 </pre>
23
24 <h2>Remarks</h2>
25
26 <p>
27 If MACRO is not linked to Tera Term, this command runs Tera Term that is connected to cygwin, and links it to MACRO.
28 &lt;command line parameters&gt; is passed to CygTerm. See "<a href="../../commandline/cygterm.html">CygTerm command line</a>" for the format of &lt;command line parameters&gt;.
29 </p>
30
31 <p>
32 If MACRO has already been linked to Tera Term and Tera Term is not connected to the host, this command close Tera Term and runs new Tera Term that is connected to cygwin, and links it to MACRO.
33 </p>
34
35 <p>
36 If MACRO has already been linked to Tera Term and Tera Term has already been connected to the host, this command is ignored.
37 </p>
38
39 <p>
40 As a result of this command, the system variable "result" is set to one of the following values depending on the link and connection status:
41 </p>
42
43 <table>
44 <tr>
45 <th>Value</th>
46 <th>Status</th>
47 </tr>
48 <tr>
49 <td>0</td>
50 <td>Link to Tera Term has not been made.</td>
51 </tr>
52 <tr>
53 <td>1</td>
54 <td>Connection to the host has not been made, but link to Tera Term has been made.</td>
55 </tr>
56 <tr>
57 <td>2</td>
58 <td>Both connection and link have been made.</td>
59 </tr>
60 </table>
61
62 <p>
63 To test the current link and connect status before executing the "cygconnect" command, use the "<a href="testlink.html">testlink</a>" command.
64 </p>
65
66 <p>
67 Communication commands except "<a href="connect.html">connect</a>", "cygconnect" and "<a href="testlink.html">testlink</a>" can not be executed before the link is established.
68 </p>
69
70 <h2>Examples</h2>
71
72 <pre class="macro-example">
73 ; connects to cygwin.
74 cygconnect
75
76 ; change directory to C:\ and runs Tera Term that is connected to cygwin.
77 cygconnect '-d C:\ -nocd -nols'
78 </pre>
79
80
81 <h2>See also</h2>
82 <ul>
83 <li><a href="connect.html">connect</a></li>
84 <li><a href="closett.html">closett</a></li>
85 <li><a href="disconnect.html">disconnect</a></li>
86 <li><a href="testlink.html">testlink</a></li>
87 <li><a href="unlink.html">unlink</a></li>
88 <li><a href="http://www.cygwin.com/" target="_blank">Cygwin Information and Installation</a></li>
89 </ul>
90
91 </body>
92 </html>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26