From 6c96e5822840cb18f9a05472b2964d3c2387030f Mon Sep 17 00:00:00 2001 From: Linda Date: Mon, 25 Sep 2023 15:34:48 +0800 Subject: [PATCH] docs: update the command to exit the screen session --- docs/en/get-started/establish-serial-connection.rst | 4 ++-- docs/zh_CN/get-started/establish-serial-connection.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/get-started/establish-serial-connection.rst b/docs/en/get-started/establish-serial-connection.rst index 6972465a4c93..7ad7c1b0b955 100644 --- a/docs/en/get-started/establish-serial-connection.rst +++ b/docs/en/get-started/establish-serial-connection.rst @@ -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 ^^^^^^^^^^^^^^ diff --git a/docs/zh_CN/get-started/establish-serial-connection.rst b/docs/zh_CN/get-started/establish-serial-connection.rst index c807f499a7ad..38fcc9b890ba 100644 --- a/docs/zh_CN/get-started/establish-serial-connection.rst +++ b/docs/zh_CN/get-started/establish-serial-connection.rst @@ -315,11 +315,11 @@ macOS 提供了 **屏幕** 命令,因此无需安装串口终端程序。 将 ``device_name`` 替换为运行 ``ls /dev/cu.*`` 后出现的设备串口号。 -- **屏幕** 显示的日志即为所需内容。日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。请使用 Ctrl-A + \\ 键退出 **屏幕** 会话。 +- **屏幕** 显示的日志即为所需内容。日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。请使用 ``Ctrl-A + K`` 键退出当前 **屏幕** 会话。 .. 注解:: - 请在验证完串口通信正常后,关闭 **屏幕** 会话。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。 + 请在验证完串口通信正常后,关闭 **当前屏幕会话**。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。 输出示例 ^^^^^^^^^^^