Warning: Lasers! Do not look into laser with remaining eye.
+``` + +Or to provide a short code sample within the body of a paragraph, I might write: + +``` +The puts function prints some text to the user.
..` like this:
+
+```
+void
+print_array(int *array, int size)
+ {
+ for (int i = 0; i < size; i++) {
+ printf("array[%d] = %d\n", i, array[i]);
+ }}
+```
+
+The great thing about HTML is you can immediately view the results with any web browser. And any documentation you write in unstyled HTML can be made prettier later by adding a stylesheet.
+
+—- [Jim Hall][16]
+
+### Unexpected: LibreOffice
+
+Back in the 80s and 90s when I worked in System V Unix, SunOS, and eventually Solaris, I used the mm macros with `nroff,``troff` and finally `groff`. Read about MM using groff_mm (provided you have them installed.)
+
+MM isn't really a markup language, but it feels like one. It is a very semantic set of troff and groff macros. It has most things markup language users would expect—headings, numbered lists, and so on.
+
+My first Unix machine also had Writers' Workbench available on it, which was a boon for many in our organization who had to write technical reports but didn't particularly write in an "engaging manner". A few of its tools have made it to either BSD or Linux—style, diction, and look.
+
+I also recall a standard generalized markup language (SGML) tool that came with, or perhaps we bought for, Solaris in the very early 90s. I used this for awhile, which may explain why I don't mind typing in my own HTML.
+
+I've used Markdown a fair bit, but having said that, I should also be saying "which Markdown", because there are endless flavors and levels of features. I'm not a huge fan of Markdown because of that. I guess if I had a lot of Markdown to do I would probably try to gravitate toward some implementation of [CommonMark][17] because it actually has a formal definition. For example, [Pandoc][18] supports CommonMark (as well as several others).
+
+I started using AsciiDoc, which I much prefer to Markdown as it avoids the "which version are you using" conversation and provides many useful things. What has slowed me down in the past with respect to AsciiDoc is that for some time it seemed to require installing Asciidoctor—a Ruby toolchain which I was not anxious to install. But these days there are more implementations at least in my Linux distro. Curiously, Pandoc emits AsciiDoc but does not read it.
+
+Those of you laughing at me for not wanting a Ruby toolchain for AsciiDoc but being satisfied with a Haskell toolchain for Pandoc… I hear you.
+
+I blush to admit that I mostly use LibreOffice these days.
+
+—- [Chris Hermansen][19]
+
+### Document now!
+
+Documentation can be achieved through many different avenues, as the writers here have demonstrated. It's important to document how to use your code, especially in open source. This ensures that other people can use and contribute to your code properly. It's also wise to tell future users what your code is providing.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/22/12/markup-languages-documentation
+
+作者:[Opensource.com][a]
+选题:[lkxed][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/admin
+[b]: https://github.com/lkxed
+[1]: https://opensource.comttps://opensource.com/life/16/11/software-documentation-tabletop-gaming
+[2]: https://opensource.com/article/19/9/introduction-markdown
+[3]: https://opensource.com/article/22/8/drop-markdown-asciidoc
+[4]: https://opensource.com/%20https%3A//opensource.com/article/20/12/gedit
+[5]: https://opensource.com/users/alanfdoss
+[6]: https://opensource.com/article/17/9/docboo
+[7]: http://example.com/
+[8]: https://opensource.com/users/seth
+[9]: https://opensource.com/article/22/10/docs-as-code
+[10]: https://opensource.com/article/19/11/document-python-sphinx
+[11]: https://opensource.com/users/lornajane
+[12]: https://opensource.com/users/fungi
+[13]: https://opensource.com/users/rikardgn
+[14]: https://opensource.com/article/21/12/desktop-publishing-scribus
+[15]: https://opensource.com/users/greg-p
+[16]: https://opensource.com/users/jim-hall
+[17]: https://commonmark.org/
+[18]: https://opensource.com/downloads/pandoc-cheat-sheet
+[19]: https://opensource.com/users/clhermansen
diff --git a/sources/tech/20221208.4 ⭐️⭐️ Manage your file system from the Linux terminal.md b/sources/tech/20221208.4 ⭐️⭐️ Manage your file system from the Linux terminal.md
new file mode 100644
index 0000000000..d03ef5902a
--- /dev/null
+++ b/sources/tech/20221208.4 ⭐️⭐️ Manage your file system from the Linux terminal.md
@@ -0,0 +1,150 @@
+[#]: subject: "Manage your file system from the Linux terminal"
+[#]: via: "https://opensource.com/article/22/12/linux-file-manager-nnn"
+[#]: author: "Seth Kenlon https://opensource.com/users/seth"
+[#]: collector: "lkxed"
+[#]: translator: " "
+[#]: reviewer: " "
+[#]: publisher: " "
+[#]: url: " "
+
+Manage your file system from the Linux terminal
+======
+
+I tend to enjoy lightweight applications. They're good for [low spec computers][1], for [remote shells][2], for the impatient user (OK, I admit, that's me), and for the systems we scrap together to fight the inevitable [zombie apocalypse][3]. In my search for a perfect blend of a lightweight application with all the modern conveniences we've learned from experience, I stumbled across a file manager called **nnn**. The nnn file manager exists in a terminal only, but it feels like a modern keyboard-driven application with intuitive actions and easy navigation.
+
+![Image of the nnn file manager.][4]
+
+### Install nnn
+
+On Linux, you may find nnn in your Linux distribution's software repository. For instance, on Debian:
+
+```
+$ sudo apt install nnn
+```
+
+If your repository doesn't have nnn available, you can download a package for your distribution from [OBS][5] or from the project [Git repository][6].
+
+On macOS, use [Homebrew][7] or [MacPort][8].
+
+### Using nnn
+
+Launch nnn from a terminal:
+
+```
+$ nnn
+```
+
+Your terminal is now the nnn interface, and by default it lists the contents of your current directory:
+
+```
+1 2 3 4 ~
+Desktop/
+Documents/
+Downloads/
+Music/
+Pictures/
+Public/
+Templates/
+Videos/4/8 2022-12-01 15:54 drwxr-xr-x 6B
+```
+
+At the top of the nnn interface are tabs (called a "context" in nnn terminology), numbered one to four.
+
+At the bottom of the nnn interface, there are ownership and permission details about your current selection.
+
+Use either the **Up** and **Down** arrow keys or the **k** and **j** keys (as in [Vim][9]) to change your selection. Use the **Right** arrow key, **Return**, or the **l** key to enter a directory or to open a file. Use the **Left** arrow key or **h** to back out of a directory.
+
+That's it for navigation. It's easier than any graphical file manager because there aren't any widgets that get in the way. There's no need to **Tab** over buttons, you just use the arrow keys or the QWERTY home row.
+
+### Open a file
+
+One of the reasons you use a file manager is to find a file and then open it. Your desktop already has default applications set, and nnn inherits this knowledge, so press `Return` or `Right` arrow to open a file in its default application.
+
+Should you need to open a file in something other than its default application, press `=` instead, and then type the name of the application in the prompt at the bottom of the nnn interface.
+
+### Copy a file
+
+To copy a file or any number of files, you must first select a file to copy, then navigate to its intended destination, and finally invoke the copy command. Thanks to nnn's context control (those are the numbers at the top of the screen, and you can think of them as tabs in a web browser), this is a quick process.
+
+- First, select the file you want to copy and press **Spacebar** to select the file. It's marked with a plus sign (**`+`**) to indicate its selected state.
+- Press **`2`** to change to a new context.
+- Navigate to the target directory and press **p** to copy.
+
+### Move a file
+
+Moving files is the same process as copying a file, but the keyboard shortcut for the action is **v**.
+
+### Selecting files
+
+There are a few ways to mark selections in nnn. The first is manual selection. You find a file you want to select, and then press **Spacebar** to mark it as selected. Press **Spacebar** again to deselect it.
+
+One selection doesn't cancel another, so you can select several files manually, but that can become tedious. Another way to select many files at once is to "mark in " and "mark out". To mark a selection, press `m` on the first file you want to select, and then use your arrow keys to move to the last file you want to select. Press `m` again to close the selection:
+
+```
+1 2 3 4 ~
++Desktop/
++Documents/
++Downloads/
++Music/
++Pictures/
++Public/
+Templates/
+Videos/6/8 [ +6 ] 2022-12-01 15:54 drwxr-xr-x 6B
+```
+
+Finally, the third way to select files is to press `a` to _select all_. Use **`A`** to invert the selection (in this case, to _select none_.)
+
+### Creating an archive
+
+To create an archive of a file or a selection of files, press `z`. At the bottom of the nnn interface, you're prompted to choose between your current item of your selection. Then you're prompted for a file name. Luckily, nnn is a smart application and derives its file type from the name you provide. If you name your archive `example.tar.xz` then nnn creates a TAR archive with lzma compression, but if you name it `example.zip` then it creates a ZIP file.
+
+You can verify the file type yourself by pressing the `f` key with your new archive selected:
+
+```
+File: /home/tux/Downloads/example.zip
+ Size: 184707 Blocks: 368 IO Block: 4096 regular file
+Device: fd00h/64768d Inode: 17842380 Links: 1
+Access: (0664/-rw-rw-r--) Uid: ( 1002/ tux) Gid: ( 1002/ tux)
+Context: unconfined_u:object_r:user_home_t:s0
+Access: 2022-09-20 15:12:09.770187616 +1200
+Modify: 2022-09-20 15:12:09.775187704 +1200
+Change: 2022-09-20 15:12:09.775187704 +1200
+ Birth: 2022-09-20 15:12:09.770187616 +1200
+Zip archive data, at least v2.0 to extract
+application/zip; charset=binary
+```
+
+### Cancel an action
+
+When you find yourself backed into a corner and need to press a panic button, use the **`Esc`** key. (This is likely to be the single most confusing keyboard shortcut for a longtime terminal user who's accustomed to **Ctrl+C**.)
+
+### Never close nnn
+
+To quit nnn, press **`Q`** at any time.
+
+It's a very capable file manager, with functions for symlinks, FIFO, bookmarks, batch renaming, and more. For a full list of what nnn can do, press the **`?`** key.
+
+The most clever feature is the shell function. Press **`!`** to open a shell over the nnn interface. You'll forget nnn is there, until you type `exit` and you find yourself back in the nnn interface. It's that easy to leave nnn open all the time, so you can always have quick access to the fastest lightweight file management you're likely to experience.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/22/12/linux-file-manager-nnn
+
+作者:[Seth Kenlon][a]
+选题:[lkxed][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/seth
+[b]: https://github.com/lkxed
+[1]: https://opensource.com/article/19/7/how-make-old-computer-useful-again
+[2]: https://www.redhat.com/sysadmin/access-remote-systems-ssh
+[3]: https://opensource.com/zombie
+[4]: https://opensource.com/sites/default/files/2022-10/nnn.filemanager.png
+[5]: https://software.opensuse.org//download.html?project=home%3Astig124%3Annn&package=nnn
+[6]: https://github.com/jarun/nnn/releases
+[7]: https://opensource.com/article/20/6/homebrew-mac
+[8]: https://opensource.com/article/20/11/macports
+[9]: https://opensource.com/article/19/3/getting-started-vim
diff --git a/translated/tech/20221026.0 ⭐️⭐️⭐️ Doing 64-bit math on a 16-bit system.md b/translated/tech/20221026.0 ⭐️⭐️⭐️ Doing 64-bit math on a 16-bit system.md
deleted file mode 100644
index da47247bb9..0000000000
--- a/translated/tech/20221026.0 ⭐️⭐️⭐️ Doing 64-bit math on a 16-bit system.md
+++ /dev/null
@@ -1,157 +0,0 @@
-[#]: subject: "Doing 64-bit math on a 16-bit system"
-[#]: via: "https://opensource.com/article/22/10/64-bit-math"
-[#]: author: "Jerome Shidel https://opensource.com/users/shidel"
-[#]: collector: "lkxed"
-[#]: translator: "yzuowei "
-[#]: reviewer: " "
-[#]: publisher: " "
-[#]: url: " "
-
-在16位系统上做64位数学
-======
-
-只需要一点点汇编的基础理解,这些函数就能适应体任意大小的整型数学运算。
-
-几年前,我为 FreeDOS 写了一个命令行数学程序叫做 VMATH。它可以在很小的无符号整型上执行十分简单的数学运算。出于近来对 FreeDOS 社区里基本数学的兴趣,我改进了 VMATH 使其可以为有符号64位整型提供基本的数学支持。
-
-仅使用兼容16位 8086 的汇编来操控大型数字的过程并不直接。我希望能够分享一些在 VMATH 中用到的技术的例子。其中一些方法掌握起来还挺容易。同时,也有着别的看起来有点奇怪的方法。你甚至可能学到一种全新的进行基本数学运算的方式。
-
-接下来要讲的加,减,乘,除会用到的技术将不局限于将不局限于64位整型。只需要一点点汇编的基础理解,这些函数就能适应任意大小的整型数学运算。
-
-在深挖这些数学函数前,我想要覆盖一些计算机看数字的基础视角。
-
-### 计算机是如何读取数字的
-
-一个兼容 Intel 的 CPU 以字节 (byte) 的形式贮存数字,储存顺序为从最低有效字节到最高有效字节。每个字节由8个二进位组成,两个字节组成一个字 (word)。
-
-一个储存在内存里的64位整型占用了8个字节 (或4个字)。例如,数字74565(十六进制表示为0x12345)的值长得是这个样子的:
-
-```
-as bytes: db 0x45, 0x23, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00
-as words: dw 0x2345, 0x0001, 0x0000, 0x0000
-```
-
-当读取或写入数据到内存时,CPU 会以正确的顺序处理这些字节。对于一个比 8086 更现代的处理器而言,数据组可以再大些,比如一个四字组就可以表达整个64为整型为 **0x0000000000012345**。
-
-8086 CPU 不能理解这么大的数字。当为 FreeDOS 编程时,你想要写的是一个能在任意电脑上跑的程序,甚至是早期的 IBM PC 5150。你想要使用能够适应任意大小整型的技术。我们并不关心现代 CPU 的能力。
-
-为了能做整型运算,我们的数据需要表达两种不同类型的数字。
-
-第一种是无符号整型,其使用了所有字位来表达一个正数。无符号整型的值域为从 **0** 到 **(2 ^ (字位数量) - 1)**。例如,8位数可以是 **0** 到 **255** 之间的任意值,而16位数则在 **0** 到
-**65535** 之间,以此类推。
-
-有符号整型也很类似。不同之处在于数字的最显著位代表了这个数是一个整数 (**0**) 还是一个负数 (**1**)。有符号整型的值域前半部分位正数,正数值域是从 **0** 到 **(2 ^ (字位数量 - 1) - 1)**。整型值域的后半部分为负数,负数值域则从 **(0-(2 ^ (字位数量 - 1)))** 到 **-1**。
-
-比如说,一个8位数代表着 **0** 到 **127** 之间的任意正数,以及 **-128** 到 **-1** 之间的任意负数。为了能更好的理解这一点,想象 **字节** 为一列数组 **[0...127,-128...-1]**。因为 **-128** 在数组内紧跟着 **127**,**127** 加 **1** 等于 **-128**。当然这可能看起来有点奇怪甚至反常,但这其实让这个层级的基本数学运算变简单了。
-
-为了能够对大型整型进行简单的加,减,乘,除,你应该摸索一些简单的公式来计算一个数的绝对值或负值。你在做有符号整型运算的时候会用上它们的。
-
-
-### 绝对值与负值
-
-计算一个有符号整型的绝对值并没有它看起来的那么糟糕。由于无符号和有符号数字在内存里的储存形式,我们其实有一个简单的方案。你只需要翻转一个负数的所有字位,得出的结果再加 **1**。
-
-如果你从没接触过二进制的话这可能听上去有点奇怪,但这就是这么工作的。让我们来举一个例子,取一个负数的8位表达,比如说 **-5**。因为 **-5** 靠近 **[0...127,-128...-1]** 字节组末端,它的十六进制值为 **0xfb**,二进制值为 **11111011**。如果你翻转了所有字位,你会得到 **0x04** 或二进制值 **00000100**。结果加 **1** 你就得到了你的答案。你刚刚把 **-5** 的值变成了 **+5**。
-
-你可以用汇编写下这个程序用以返回任意64位数字的绝对值:
-
-```
-; 语法,NASM for DOS
-proc_ABS:
- ; 启动时,SI寄存器会指向数据段 (DS) 内的内存位置,那里存放着程序内包含着
- ; 会被转正的64位数。
- ; 结束时,如果结果数字不能被转正,Carry Flag (CF) 会被设置。这种情况只
- ; 有在遇到最大负值时会发生。其余情况,CF 不会被设置。
-
- ; 检查最高字节的最高位
- test [si+7], byte 0x80
- ; 如不为1,值为正值
- jz .done_ABS
- ; 翻转字的所有字位 #4
- not word [si+6]
- not word [si+4] ; 字 #3
- not word [si+2] ; 字 #2
- not word [si] ; 字 #1
- ; 字#1 加一
- inc word [si]
- ; 如结果不为0,结束
- jnz .done_ABS
- ; 字#2 加一
- inc word [si+2]
- ; 如结果为0,进位下一个字
- jnz .done_ABS
- inc word [si+4]
- jnz .done_ABS
- ; 此处无法进位
- inc word [si+6]
- ; 再一次检查最高位
- test [si+7], byte 0x80
- ; 如不为1,我们成功了,结束
- jz .done_ABS
- ; 溢出错误,它被转成了负数
- stc
- ; 设置 Carry Flag 并返回
- ret
-.done_ABS:
- ; 成功,清理 Carry Flag 并返回
- clc
- ret
-```
-
-你可能已经注意到了,这个函数有一个潜在问题。由于正负数的二进制值表达方式,最大负数无法被转成正数。以8位数为例,最大负数是 **-128**。如果你翻转了 **-128** 的所有位数 (二进制1__0000000),你会得到127 (二进制0__1111111) 即最大正值。如果你对结果加 **1**,它会因溢出回到同样的负数 (-128)。
-
-你只需要重复计算绝对值的步骤就可以将正数转成负数。以下的程序十分相似,你唯一需要确认的就是一开始的数字不是已经负了。
-
-```
-; 语法, NASM for DOS
-proc_NEG:
- ; 开始时,SI会指向需要转负的数字在内存里的位置。
- ; 结束时,Carry Flag永远不会被设置。
-
- ; 检查最高字节的最高位
- test [si+7], byte 0x80
- ; 如为1,数已经是负数
- jnz .done_NEG
- not word [si+6] ; 翻转字的所有字位 #4
- not word [si+4] ; 字 #3
- not word [si+2] ; 字 #2
- not word [si] ; 字 #1
- inc word [si] ; 字#1 加一
- ; 如结果不为0,结束
- jnz .done_NEG
- ; 字#2 加一
- inc word [si+2]
- ; 如结果为0,进位下一个字
- jnz .done_NEG
- inc word [si+4]
- jnz .done_NEG
- ; 此处无法进位或转化
- inc word [si+6]
- ; 正。
-.done_NEG:
- clc ; 成功,清理 Carry Flag 并返回
- ret
-```
-
-看着这些绝对值与负值函数间的通用代码,它们应该被结合起来来节约一些字节。结合代码也会带来额外的好处。首先,结合代码能帮助防止简单的笔误。这样也可以减少测试的要求。进一步来讲,这样通常会让代码变得简单易懂。在阅读一长串的汇编指令时,忘记读到哪是常有的事。现在,我们可以不管这些。
-
-计算一个数的绝对值或负值并不难。但是,这些函数对于我们即将开始的有符号整型数学运算至关重要。
-
-我已经覆盖了整型数字在字位层的表达的基础,也创造了可以改变这些数字的基本程序,现在我们可以做点有趣的了。
-
-让我们来做些数学吧!
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/22/10/64-bit-math
-
-作者:[Jerome Shidel][a]
-选题:[lkxed][b]
-译者:[yzuowei](https://github.com/yzuowei)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/shidel
-[b]: https://github.com/lkxed
-