⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c_tr.htm

📁 mips架构的bootloader,99左右的版本 但源代码现在没人更新了
💻 HTM
字号:
<title>The tr Command</title><h1>tr</h1><!--INDEX "tr command" "transparent mode" -->The tr command selects transparent mode.<p></dl><h2>Format</h2><dl><dd>The format for this command is:<p><pre>tr [-2] [port]</pre>where:<p><pre>	-2 	Selects 2-port mode.	port	Selects a specific port</pre></dl><h2>Functional Description</h2><dl><dd>The tr command selects transparent mode. In transparent mode, the <ahref="mondef.htm">Monitor</a> copies any characters typed on thekeyboard to the selected port and then copies characters arriving atthe selected port to the screen.  This command can be used for twodifferent functions.<p><ul><li> To allow the user run the <a href="mondef.htm">Monitor</a> on the same serial port that      is used as a login line to your host. Do this by connnecting tty1      to your host system, and tty0 to your terminal. Typing 'tr' on      your terminal will connect you with your host.<p><li>     To allow the user to 'rlogin' to another board via a serial port      or pseudo tty port. This mode is used on the ATMizer platform      in order to 'talk' to the SAR board. For example,<p><pre>	PMON> tr tty2			connect to port tty2	SAR> r				display registers on SAR board	^K				return to main board	PMON> r				display registers on main board</pre>     tty2 is the name of the pseudo tty port (located in shared     memory) that is used to communicate with the SAR board.<p>     Note that if you are using 2-port download mode. You will need     to add the option '-2' to indicate that you need 2-port transparent     mode. For example,<p><pre>	PMON> tr -2 tty2</pre>     In this case the <a href="mondef.htm">Monitor</a> not only copies     characters typed on the keyboard to tty2 and characters arriving     on tty2 to the screen. It also copies characters arriving on tty1     to tty3, and characters arriving on tty3 to tty1.  </ul><p>The trabort Variable<p>The environment variable trabort selects the character that terminatesthe transparent mode and returns the <a href="mondef.htm">Monitor</a>to the default command mode.<p>The hostport Variable<p>The environment variable hostport determines the default port for thetr command.<p></dl><h2>See Also</h2><dl><dd><a href="c_set.htm">set</a>command for the setup of the environment variables.<p></dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -