From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Decode the octets with hexadecimal values. Date: Sat, 20 May 2023 14:55:12 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35373"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 20 08:56:04 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q0GVX-000904-Ck for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 May 2023 08:56:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0GV0-0004bL-22; Sat, 20 May 2023 02:55:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0GUx-0004ao-TE for help-gnu-emacs@gnu.org; Sat, 20 May 2023 02:55:27 -0400 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0GUw-0001KI-8T for help-gnu-emacs@gnu.org; Sat, 20 May 2023 02:55:27 -0400 Original-Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-94a342f7c4cso769689566b.0 for ; Fri, 19 May 2023 23:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684565724; x=1687157724; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=dAuo7uZ+gRTjo29v7YU7/mgxXgK/a41kW9t+G+LkJ3g=; b=nNquwwvywyknqshenjBBpsJluRzWrgUgjnv8Q0RWQy25MuW70mECwSq/+ULSapGRiS ZbBh6O0LUIho92OIvJb8ivcs0hOmVeMc/XWYxMyE56uMbcNLtfL8FZEDbvblyweiQVGn d6LCAGuXX06njzosMD1htyMNZS8PXQTq6qUY01R39sI5ilBgg66iBgMT4E7AuzXH58mb O/R/+W+P/IqRLctWzITG014glIiXNg569vvGpbokB6MJUk580ezILmRw50sv+DM8nfIG 5xLaDimTYcDYP7xaILCY4ba6wHAXHtR+yU/gTeVWn7ASpbpSDsZQ01+qCtYW4fDf3g2s exlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684565724; x=1687157724; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dAuo7uZ+gRTjo29v7YU7/mgxXgK/a41kW9t+G+LkJ3g=; b=Mf01hhHVukmkkSyCSxxK8jQpKLh6/5uKjl1ka1JP1vYkdMNBCWIz0vJzq9hqVWliYD EP/54WfjEpAt7ufV9ho58YDNQwGAMeZ0uJuC2k1I8vz2tYXxNMrC10LeMdJiT+IFUERL tL75ObZX4UxdrTCID/g01iRDv7LAOWKDfL8UrLy+5rb092g0nT8JQxrz9iGVFNbIDoel H/IhEbBNBR/+JLflVoMzY9z7lwV1kjh8d3IRn7lQmGW09XyUuPQgCACXJyQn1sDXViSS mjzHP5in2doj4hvaA/Ldi5g03JYUI1ocUWq9GBJpHYNSbirQS3ftOlAxrkfSG15oVj/Q tzCg== X-Gm-Message-State: AC+VfDwVYFCz1o1pbK/3iHmYnd2FAVy8cgIMJlPDYpz2hGTNsxKq8VT9 TdKtxcGYVh85h9YxBK8He85u6eSWubkD+vcxI3JXdjL87flu6l38 X-Google-Smtp-Source: ACHHUZ7iPEZkc5arWDBRexMjwAXeoEpf62rvkfrxZR+VlPKmAlMzX4/WUkorDcU1ybEWCm52uAfq/u4Jdcr760obiXU= X-Received: by 2002:a17:906:6a0b:b0:96f:78b8:1c31 with SMTP id qw11-20020a1709066a0b00b0096f78b81c31mr3747957ejc.61.1684565724091; Fri, 19 May 2023 23:55:24 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143656 Archived-At: Hi here, According to one of the comments here [1], I try to read the related discussion here [2], but al.howardknight.net doesn't do any decoding of the articles and I will see some non-human readable stuff, for example: the shell first will do the same and then tell the kernel by means=20 of the system service =E2=80=9Cdup2=E2=80=9D to copy the contents of the en= try #1 to=20 the entry #2.=C2=A0 Now two entries in the process' file descriptor=20 table=C2=A0=E2=80=93 #1 and #2=C2=A0=E2=80=93 refer to the opened file =E2= =80=9Coutput.txt=E2=80=9D. So, I would like to know how to decode the octets with hexadecimal values with the help of Emacs. [1] https://groups.google.com/g/comp.unix.shell/c/xXqxHrIchqg [2] http://al.howardknight.net/?ID=165151671300 Best, Zhao -- Assoc. Prof. Hongsheng Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province