From de8c02aee1d0e542dec1a81252051dcfc6f17b00 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Wed, 26 Dec 2018 20:05:19 +0800 Subject: [PATCH] PRF:20181213 Relax by the fire at your Linux terminal.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @zhs852 恭喜你完成了第一篇翻译! --- ... Relax by the fire at your Linux terminal.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/translated/tech/20181213 Relax by the fire at your Linux terminal.md b/translated/tech/20181213 Relax by the fire at your Linux terminal.md index b3532cbd83..75e856d74f 100644 --- a/translated/tech/20181213 Relax by the fire at your Linux terminal.md +++ b/translated/tech/20181213 Relax by the fire at your Linux terminal.md @@ -1,6 +1,6 @@ [#]: collector: (lujun9972) [#]: translator: (zhs852) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (Relax by the fire at your Linux terminal) @@ -9,7 +9,8 @@ 在 Linux 终端中观看火焰 ====== -何不在命令行中进行一次“烧烤”呢? + +> 何不在命令行中进行一次“烧烤”呢? ![](https://opensource.com/sites/default/files/styles/image-full-size/public/uploads/linux-toy-aafire.png?itok=pAttiVvG) @@ -19,15 +20,15 @@ 如果你住在北半球的非热带地区,可能冬季来临时你会被冻得满脸通红。住在这里的我,最喜欢的事情便是在火炉旁惬意地边喝茶边读书。 -不幸的是,我家刚好缺个放火炉的地方。不过,多亏了今天我要介绍的 **aafire** ,我仍然可以假装我坐在火炉旁。 +不幸的是,我家刚好缺个放火炉的地方。不过,多亏了今天我要介绍的 `aafire` ,我仍然可以假装我坐在火炉旁。 -在我所使用的系统里, **aafire** 被打包进了 **aalib** 。 **aalib** 是一个受人喜爱的库,它可以很方便地将图像转换成 ASCII 图并输出到终端(或其它任何地方)。 **aalib** 将多种多样的图像带入了 Linux 终端。你可以看看本系列的其它文章,了解一下其它小程序,以便配合使用并充分利用它们。在 Fedora 中,你可以通过以下命令来安装 **aalib** : +在我所使用的系统里, `aafire` 被打包进了 aalib 。 aalib 是一个受人喜爱的库,它可以很方便地将图像转换成 ASCII 图并输出到终端(或其它任何地方)。 aalib 将多种多样的图像带入了 Linux 终端。你可以看看本系列的其它文章,了解一下其它小程序,以便配合使用并充分利用它们。在 Fedora 中,你可以通过以下命令来安装 aalib : ``` $ sudo dnf install aalib ``` -接着,试着运行 **aafire** 命令。 **aalib** 默认会使用 GUI 模式,我们要进行一些操作来让它在终端中运行(毕竟这一系列文章都讲的是命令行)。十分幸运的是,仅需安装 [curses][1] 就能实现我们想要的效果。请执行: +接着,试着运行 `aafire` 命令。 `aalib` 默认会使用 GUI 模式,我们要进行一些操作来让它在终端中运行(毕竟这一系列文章都讲的是命令行)。十分幸运的是,仅需安装 [curses][1] 就能实现我们想要的效果。请执行: ``` $ aafire -driver curses @@ -35,11 +36,11 @@ $ aafire -driver curses ![](https://opensource.com/sites/default/files/uploads/linux-toy-aafire-animated.gif) -如果你觉得 **aa-lib** 挺有意思,可以在 [Sourceforge][2] 上找到它的源码(以 LGPLv2 许可证开源)。 +如果你觉得 aalib 挺有意思,可以在 [Sourceforge][2] 上找到它的源码(以 LGPLv2 许可证开源)。 欢迎将你觉得有意思的命令行小程序投稿到原作者处,只需在原文下留言即可。 -如果有兴趣,可以查看原作者的上一篇文章: [Patch into The Matrix at the Linux command line][3] 。 +如果有兴趣,可以查看原作者的上一篇文章: [在命令行中步入黑客帝国][3] 。 -------------------------------------------------------------------------------- @@ -48,7 +49,7 @@ via: https://opensource.com/article/18/12/linux-toy-aafire 作者:[Jason Baker][a] 选题:[lujun9972][b] 译者:[zhs852](https://github.com/zhs852) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出