Skip to content

Commit

Permalink
Merge pull request #441 from TeraTermProject/84-serial_tab
Browse files Browse the repository at this point in the history
シリアルポートダイアログをプロパティーページに変更 #84
  • Loading branch information
zmatsuo authored Jan 26, 2025
2 parents 8614af5 + fede471 commit e5403a3
Show file tree
Hide file tree
Showing 48 changed files with 999 additions and 704 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ end_of_line = crlf
charset = cp932
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
end_of_line = crlf
Expand Down
24 changes: 15 additions & 9 deletions doc/en/html/about/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ <h3 id="teraterm_5.4">YYYY.MM.DD (Ver 5.4 not released yet)</h3>
<li>Added <a href="../setup/teraterm-trans.html#SendfileSkipOptionDialog">skip Send file dialog</a> setting.</li>
<li>Macro commands for sending and receiving files are also from File transfer folder.</li>
<li>ZMODEM send: CANFDX flag handling is implemented when receiving ZRINIT. While the receiver cannot receive data, the sender(Tera Term) can wait for the receiver.
<li>Additional settings - <a href="../menu/setup-additional-serialport.html">Serial Port tab</a></li>
<ul>
<li>Setup - Serial dialog was integrated into Serial Port tab of Additional settings.</li>
<li>Only settings in this tab.(New connections are made from <a href="../menu/file-new.html">New connection dialog</a>.)</li>
<li>Select TCP/IP or Serial as <a href="../menu/setup-additional-general.html#Port">new connection default</a> for New connection dialog on General tab. Select default Serial port on Serial tab.</li>
</ul>
</ul>
</li>

Expand Down Expand Up @@ -410,15 +416,15 @@ <h3 id="teraterm_4.105">2019.12.7 (Ver 4.105)</h3>
<ul>
<li>Added support for hardware flow control DSR/DTR with serial connection.
<ul>
<li>The hardware is renamed to RTS/CTS, and DSR/DTR is newly added on the Flow control of <a href="../menu/setup-serialport.html">Serial port ([Setup] menu)</a>.</li>
<li>The hardware is renamed to RTS/CTS, and DSR/DTR is newly added on the Flow control of <a href="../menu/setup-additional-serialport.html">Serial port ([Setup] menu)</a>.</li>
<li>MACRO: The DSR/DTR can be specified in <a href="../macro/command/setflowctrl.html">setflowctrl</a> command.</li>
</ul></li>
<li>The <a href="../menu/setup-serialport.html">[Setup]-[Serial port]</a> dialog can be called even while TCP/IP connection.</li>
<li>The title of <a href="../menu/setup-serialport.html">[Setup]-[Serial port]</a> dialog is changed from "Serial port setup" to "Serial port setup and connection".</li>
<li>The detail information of COM port is added on the <a href="../menu/setup-serialport.html#Information">[Setup]-[Serial port]</a> dialog.</li>
<li>The tooltip of the speed setting is added on the <a href="../menu/setup-serialport.html#Information">[Setup]-[Serial port]</a> dialog.</li>
<li>The OK button notation in the <a href="../menu/setup-serialport.html#OK">[Setup]-[Serial port]</a> dialog is changed referring to the connection state. </li>
<li>The OK button can not be pressed in the <a href="../menu/setup-serialport.html#OK">[Setup]-[Serial port]</a> dialog when no COM ports are available.</li>
<li>The <a href="../menu/setup-additional-serialport.html">[Setup]-[Serial port]</a> dialog can be called even while TCP/IP connection.</li>
<li>The title of <a href="../menu/setup-additional-serialport.html">[Setup]-[Serial port]</a> dialog is changed from "Serial port setup" to "Serial port setup and connection".</li>
<li>The detail information of COM port is added on the <a href="../menu/setup-additional-serialport.html#Information">[Setup]-[Serial port]</a> dialog.</li>
<li>The tooltip of the speed setting is added on the <a href="../menu/setup-additional-serialport.html#Information">[Setup]-[Serial port]</a> dialog.</li>
<li>The OK button notation in the <a href="../menu/setup-additional-serialport.html">[Setup]-[Serial port]</a> dialog is changed referring to the connection state. </li>
<li>The OK button can not be pressed in the <a href="../menu/setup-additional-serialport.html">[Setup]-[Serial port]</a> dialog when no COM ports are available.</li>
<li>Added <a href="../commandline/teraterm.html#cdatabit">/CDATABIT=</a>, <a href="../commandline/teraterm.html#cparity">/CPARITY=</a>, <a href="../commandline/teraterm.html#cstopbit">/CSTOPBIT=</a>, <a href="../commandline/teraterm.html#cflowctrl">/CFLOWCTRL=</a>, <a href="../commandline/teraterm.html#cdelayperchar">/CDELAYPERCHAR=</a>, <a href="../commandline/teraterm.html#cdelayperline">/CDELAYPERLINE=</a> command line options.</li>
</ul>
</li>
Expand Down Expand Up @@ -1870,7 +1876,7 @@ <h3 id="teraterm_4.68">2010.12.7 (Ver 4.68)</h3>
<li>Bug fixes
<ul>
<li>Security fix: A class of vulnerabilities affecting applications that load DLL's in an insecure manner.</li>
<li>The baud rate can not be properly selected on the <a href="../menu/setup-serialport.html">[Setup]-[Serial port]</a> dialog.</li>
<li>The baud rate can not be properly selected on the <a href="../menu/setup-additional-serialport.html">[Setup]-[Serial port]</a> dialog.</li>
<li><a href="../setup/teraterm-term.html#beep">Beep setting</a> does not work.</li>
<li>The scroll region can not be cleared by using the DECALN (DEC Screen Alignment Test) control sequence.</li>
<li>An empty string can not reply by using the window title and icon label reporting request.</li>
Expand Down Expand Up @@ -1952,7 +1958,7 @@ <h3 id="teraterm_4.66">2010.5.31 (Ver 4.66)</h3>
</ul></li>
<li>added support for specifying any baud rate of the serial port connection.
<ul>
<li>A user can specify any baud rate at the <a href="../menu/setup-serialport.html">[Setup]-[Serial port]</a> menu.</li>
<li>A user can specify any baud rate at the <a href="../menu/setup-additional-serialport.html">[Setup]-[Serial port]</a> menu.</li>
<li>A user can specify any baud rate at the <a href="../commandline/teraterm.html#baud">/BAUD</a> option.</li>
<li>A user can specify any baud rate at the "<a href="../macro/command/setbaud.html">setbaud</a>" macro command.</li>
</ul></li>
Expand Down
2 changes: 1 addition & 1 deletion doc/en/html/menu/file-new.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h3>TCP/IP</h3>

<h3>Serial</h3>
<dl>
<dt>Port</dt>
<dt id="SerialPort">Port</dt>
<dd>
Select a port from the list. By default, maximum serial port number in the list is 256. Also, the serial port does not show when there is no available port. It is configurable in <a href="../setup/teraterm-com.html#maxport">MaxComPort</a> setting.
</dd>
Expand Down
113 changes: 113 additions & 0 deletions doc/en/html/menu/setup-additional-serialport.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Additional settings / "Serial port" tab ([Setup] menu)</title>
<META http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>

<body>
<h1>Additional settings / "Serial port" tab ([Setup] menu)</h1>

<p>
Settings related to the serial port.

<dl>
<dt id="ComPort">Port</dt>
<dd>
When the serial port is not connected,
Sets the default serial port for <a href="file-new.html#SerialPort">New connection Dialog</a>.
A non existent serial port can be set.
New connection dialog does not show any non existent serial ports.<br>
By default, maximum serial port number in the list is 256. It is configurable in <a href="../setup/teraterm-com.html#maxport">MaxComPort</a> setting.
<p>
When the serial port is connected,
displays the serial port to which it is connected.
</p>
</dd>

<dt id="Speed">Serial parameters</dt>
<dd>
Serial port parameters.
Choose the appropriate parameters for the modem or the host.<br>
Whether the selected or specified settings are actually applied depends on serial port chip or driver.

<p>
When the serial port is not connected,
Sets the parameters for connecting to the serial port.<br>
Use <a href="file-new.html">New connection</a> when connecting to a serial port.
</p>
<p>
When the serial port is connected,
Set parameters for the connected serial port.
</p>

<dl>
<dt id="Speed">Speed</dt>
<dd>
The Speed can be specified with any number.
</dd>

<dt>Data</dt>
<dd>
8 bit / 7 bit
<p>
Note: If Data is 7 bit, the XMODEM, ZMODEM, B PLUS and Quick-VAN
protocols are disabled.
</p>
</dd>

<dt>Parity</dt>
<dd>
none / odd / even / mark / space
</dd>

<dt>Stop bits</dt>
<dd>
1 bit / 2 bit
</dd>

<dt>Flow control</dt>
<dd>
<dl>
<dt>Xon/Xoff</dt>
<dd>
Software flow
<p>
Note: If Flow control is Xon/Xoff, the XMODEM and Quick-VAN protocols are disabled.
</p>
</dd>
<dt>RTS/CTS</dt>
<dd>
Hardware flow(RTS/CTS)
<p>
Note: The "hardware" prior to version 4.104 applies to RTS/CTS.
</p>
</dd>
<dt>DSR/DTR</dt><dd>Hardware flow(DSR/DTR)</dd>
<dt>none</dt><dd>No flow control<br>
</dl>

</dd>
</dl>
</dd>

<dt id="Delay">Transmit delay</dt>
<dd>
Time intervals between characters (lines) being sent, in milliseconds.
The unit is milliseconds. You can set the wait time per character (line).
If the modem or host drops characters when Tera Term sends a large number of characters, try setting an appropriate delay time.
</dd>

<dt id="Information">Detail information of COM port</dt>
<dd>
The detail information of selected port is shown in the text box. <br>
You can select all data by using CTRL+A.
You can scroll horizontally by using CTRL/SHIFT + wheel.
</dd>

</dl>
</body>
</html>
1 change: 1 addition & 0 deletions doc/en/html/menu/setup-additional.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ <h2>tabs</h2>
</ul>
<li><a href="setup-additional-terminal.html">"Terminal" Tab</a></li>
<li><a href="setup-additional-window.html">"Window" Tab</a></li>
<li><a href="setup-additional-serialport.html">"Serail Port" Tab</a></li>
</ul>

</body>
Expand Down
69 changes: 3 additions & 66 deletions doc/en/html/menu/setup-serialport.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,71 +10,8 @@

<body>
<h1>Serial port ([Setup] menu)</h1>

<h2>"Serial port setup" dialog box</h2>

<dl>

<dt id="OK">OK button</dt>
<dd>
The label of OK button is changed according to the connection state. <br>
Connect with New window ... Serial connection is launched with new window since TCP/IP connection is using. <br>
New open ... Serial connection starts.<br>
Close and New open ... Current COM port is closed and serial connection starts with new COM port.<br>
New setting ... The setting of current COM port is changed.<br>
</dd>

<dt id="Cancel">Cancel button</dt>
<dd>
Discards the setting change and closes the dialog.
</dd>

<dt id="Help">Help button</dt>
<dd>
Displays the help file.
</dd>

<dt id="ComPort">Port</dt>
<dd>
Serial port to be used. By default, maximum serial port number in the list is 256. It is configurable in <a href="../setup/teraterm-com.html#maxport">MaxComPort</a> setting.
</dd>

<dt id="Speed">Speed, Data, Parity, Stop bits, Flow control</dt>
<dd>
Serial port parameters. Choose the appropriate parameters for
the modem or the host.
<p>
The Speed can be specified with any number. Actually, the serial port driver may not reflect your speed.
</p>
<p>
Flow control can be configured in the following:<br>
Xon/Xoff ... Software flow<br>
RTS/CTS ... Hardware flow(RTS/CTS)<br>
DSR/DTR ... Hardware flow(DSR/DTR)<br>
none ... No flow control<br>
</p>
<p>
Note: If Data is 7 bit, the XMODEM, ZMODEM, B PLUS and Quick-VAN
protocols are disabled. If Flow control is Xon/Xoff, the XMODEM
and Quick-VAN protocols are disabled.
</p>
<p>
Note: The "hardware" prior to version 4.104 applies to RTS/CTS.
</p>
</dd>

<dt id="Delay">Transmit delay</dt>
<dd>
Time intervals between characters (lines) being sent, in milliseconds.
</dd>

<dt id="Information">Detail information of COM port</dt>
<dd>
The detail information of selected port is shown in the text box. <br>
You can select all data by using CTRL+A.
You can scroll horizontally by using CTRL/SHIFT + wheel.
</dd>

</dl>
<p>
Open <a href="../menu/setup-additional-serialport.html">Serial Port tab</a> of Additional settings dialog.
</p>
</body>
</html>
16 changes: 8 additions & 8 deletions doc/en/html/setup/teraterm-ini.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="BaudRate"><a href="../menu/setup-serialport.html#Speed">BaudRate</a></td>
<td id="BaudRate"><a href="../menu/setup-additional-serialport.html#Speed">BaudRate</a></td>
<td style="width:250px;">9600</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand Down Expand Up @@ -302,7 +302,7 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="ComPort"><a href="../menu/setup-serialport.html#ComPort">ComPort</a></td>
<td id="ComPort"><a href="../menu/setup-additional-serialport.html#ComPort">ComPort</a></td>
<td style="width:250px;">1</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand Down Expand Up @@ -386,7 +386,7 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="DataBit"><a href="../menu/setup-serialport.html#Speed">DataBit</a></td>
<td id="DataBit"><a href="../menu/setup-additional-serialport.html#Speed">DataBit</a></td>
<td style="width:250px;">8</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand All @@ -410,13 +410,13 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="DelayPerChar"><a href="../menu/setup-serialport.html#Delay">DelayPerChar</a></td>
<td id="DelayPerChar"><a href="../menu/setup-additional-serialport.html#Delay">DelayPerChar</a></td>
<td style="width:250px;">0</td>
<td style="width:250px;">&lt;-</td>
<td></td>
</tr>
<tr>
<td id="DelayPerLine"><a href="../menu/setup-serialport.html#Delay">DelayPerLine</a></td>
<td id="DelayPerLine"><a href="../menu/setup-additional-serialport.html#Delay">DelayPerLine</a></td>
<td style="width:250px;">0</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand Down Expand Up @@ -632,7 +632,7 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="FlowCtrl"><a href="../menu/setup-serialport.html#Speed">FlowCtrl</a></td>
<td id="FlowCtrl"><a href="../menu/setup-additional-serialport.html#Speed">FlowCtrl</a></td>
<td style="width:250px;">none</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand Down Expand Up @@ -974,7 +974,7 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="Parity"><a href="../menu/setup-serialport.html#Speed">Parity</a></td>
<td id="Parity"><a href="../menu/setup-additional-serialport.html#Speed">Parity</a></td>
<td style="width:250px;">none</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand Down Expand Up @@ -1154,7 +1154,7 @@ <h2>Tera Term</h2>
<td></td>
</tr>
<tr>
<td id="StopBit"><a href="../menu/setup-serialport.html#Speed">StopBit</a></td>
<td id="StopBit"><a href="../menu/setup-additional-serialport.html#Speed">StopBit</a></td>
<td style="width:250px;">1</td>
<td style="width:250px;">&lt;-</td>
<td></td>
Expand Down
5 changes: 5 additions & 0 deletions doc/en/teraterm.hhc
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,11 @@
<param name="Local" value="html\menu\setup-additional-window.html">
<param name="ImageNumber" value="11">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Serial Port tab">
<param name="Local" value="html\menu\setup-additional-serialport.html">
<param name="ImageNumber" value="11">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Save setup">
Expand Down
1 change: 1 addition & 0 deletions doc/en/teraterm.hhp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ HlpMenuSetupAdditionalCtrlSeq=html\menu\setup-additional-ctrlseq.html
HlpMenuSetupAdditionalCygwin=html\menu\setup-additional-cygwin.html
HlpMenuSetupAdditionalWindow=html\menu\setup-additional-window.html
HlpMenuSetupAdditionalTerminal=html\menu\setup-additional-terminal.html
HlpMenuSetupAdditionalSerialPort=html\menu\setup-additional-serialport.html
HlpMenuSetupThemeEditor=html\menu\setup-additional-visual-theme.html
HlpMenuSetupSave=html\menu\setup-save.html
HlpMenuSetupRestore=html\menu\setup-restore.html
Expand Down
Loading

0 comments on commit e5403a3

Please sign in to comment.