Skip to content

Commit

Permalink
Merge branch 'docs/update_command_to_exit_screen_session' into 'master'
Browse files Browse the repository at this point in the history
docs: update the command to exit the screen session

See merge request espressif/esp-idf!26186
  • Loading branch information
Lindazhxy committed Oct 10, 2023
2 parents 26ba685 + 6c96e58 commit 4466561
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en/get-started/establish-serial-connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ To spare you the trouble of installing a serial terminal program, macOS offers t

Replace ``device_name`` with the name found running ``ls /dev/cu.*``.

- What you are looking for is some log displayed by the **screen**. The log contents depend on application loaded to {IDF_TARGET_NAME}, see `Example Output`_. To exit the **screen** session type Ctrl-A + \\ .
- What you are looking for is some log displayed by the **screen**. The log contents depend on application loaded to {IDF_TARGET_NAME}, see `Example Output`_. To exit the current **screen** session, type ``Ctrl-A + K``.

.. note::

Do not forget to **exit the screen session** after verifying that the communication is working. If you fail to do it and just close the terminal window, the serial port will be inaccessible for uploading firmware later.
Do not forget to **exit the current screen session** after verifying that the communication is working. If you fail to do it and just close the terminal window, the serial port will be inaccessible for uploading firmware later.

Example Output
^^^^^^^^^^^^^^
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/get-started/establish-serial-connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ macOS 提供了 **屏幕** 命令,因此无需安装串口终端程序。

将 ``device_name`` 替换为运行 ``ls /dev/cu.*`` 后出现的设备串口号。

- **屏幕** 显示的日志即为所需内容。日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。请使用 Ctrl-A + \\ 键退出 **屏幕** 会话。
- **屏幕** 显示的日志即为所需内容。日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。请使用 ``Ctrl-A + K`` 键退出当前 **屏幕** 会话。

.. 注解::

请在验证完串口通信正常后,关闭 **屏幕** 会话。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。
请在验证完串口通信正常后,关闭 **当前屏幕会话**。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。

输出示例
^^^^^^^^^^^
Expand Down

0 comments on commit 4466561

Please sign in to comment.