在以下所有叙述中,
C-×
都代表同时按住Ctrl和×键,
M-×
都代表同时按住Alt和×键。
-
向下滚动一屏 C-v
-
向上滚动一屏 M-v
-
重新定位光标相对于屏幕所在的位置 C-l
-
向上移动一行 C-p
-
向下移动一行 C-n
-
向左移动一个字符 C-b
-
向左移动一个单词 M-b
-
向右移动一个字符 C-f
-
向右移动一个单词 M-f
-
移动到一行的最前 C-a
-
移动到一句的最前 M-a
-
移动到一行的末尾 C-e
-
移动到一句的末尾 M-e
-
移动到文件的最前 M-<
-
移动到文件的末尾 M->
-
重复操作n次 C-u n [操作快捷键], 如向下移动3行,C-u 3 C-n
-
强制取消当前操作 C-g
-
保存当前文件 C-x C-s
-
打开/创建文件 C-x C-f
-
退出Emacs C-x C-v
分屏/多文件
-
关闭其他屏幕 C-x 1
-
上下分割当前屏幕 C-x 2
-
左右分割当前屏幕 C-x 3
-
切换当前屏幕 C-x o
-
切换当前屏幕Buffer C-x b
-
关闭Buffer C-x k
-
打开Buffer列表 C-x C-b
-
在一个新Buffer中打开程序 M-x,例子:打开Shell,M-x shell
特别约定在以下所有叙述中,C-× 都代表同时按住Ctrl和×键,M-×都代表同时按住Alt和×键。屏幕移动向下滚动一屏 C-v向上滚动一屏 M-v重新定位光标相对于屏幕所在的位置 C-l光标控制向上移动一行 C-p向下移动一行 C-n向左移动一个字符 C-b向左移动一个单词 M-b向右移动一个字符 C-f向右移动一个单词 M-f移动到一行的最前 C-a移动到一句的最前 M-a
NU/Linux Rapid Embedded Programming by Rodolfo Giometti
English | 29 Mar. 2017 | ASIN: B01IBPRA94 | 732 Pages | AZW3 | 12.68 MB
An annotated guide to program and develop
GNU
/Linux Embedded systems quickly
About This Book
Rapidly design and build powerful prototypes for
GNU
/Linux Embedded systems
Become familiar with the workings of
GNU
/Linux Embedded systems and how to manage its peripherals
Write, monitor, and configure applications quickly and effectively, manage an external micro-controller, and use it as co-processor for real-time tasks
Who This Book Is For
This book targets Embedded System developers and
GNU
/Linux programmers who would like to program Embedded Systems and perform Embedded development. The book focuses on quick and efficient prototype building. Some experience with hardware and Embedded Systems is assumed, as is having done some previous work on
GNU
/Linux systems. Knowledge of scripting on
GNU
/Linux is expected as well.
What You Will Learn
Use embedded systems to implement your projects
Access and manage peripherals for embedded systems
Program embedded systems using languages such as C, Python, Bash, and PHP
Use a complete distribution, such as Debian or Ubuntu, or an embedded one, such as OpenWrt or Yocto
Harness device driver capabilities to optimize device communications
Access data through several kinds of devices such as GPIO's, serial ports, PWM, ADC, Ethernet, WiFi, audio, video, I2C, SPI, One Wire, USB and CAN
Practical example usage of several devices such as RFID readers, Smart card readers, barcode readers, z-Wave devices, GSM/GPRS modems
Usage of several sensors such as light, pressure, moisture, temperature, infrared, power, motion
In Detail
Embedded computers have become very complex in the last few years and developers need to be able to easily manage embedded computer projects by focusing on problem solving; they should not have to waste time finding supported peripherals or learning how to manage them. This book shows yo
Gnu
/Gnome Shell
快捷键
:
[ctrl + r] : 提示(reverse-i-search),滚动显示历史命令。
[ctrl + p] : 快速向前查找一个历史命令。
[ctrl + n] : 快速向后查找一个历史命令。
[ctrl + c] : 取消本次命令输入,并换行。
[ctrl + a] : 跳转至命令行首,Ahead of line。
[ctrl + e] :...
$ gcc `
gnu
step-config --objc-flags` -L /
GNU
orld.m -o helloworld -l
gnu
step-base -lobjc
$ ./helloworld.exe
快捷方式:
如果每次使用gcc的时候,都要输入这么长的命令,无疑是很恼火的事儿,我们可以做一个快捷方式:
编辑C:\
GNU
step\bin\gcc.sh的文件,内容如下:
#!/b...
继续
Emacs
学习计划。这是“初学者”阶段的最后一篇。完成本节的内容,就可以向“中级计划”进军了 : )
经过一段时间的使用,已经大体适应了
Emacs
的
快捷键
,不过还是要参考命令备忘表。
Emacs
er通常要对
Emacs
进行定制,使用起来才会爽。据说Vimer嘲笑
Emacs
er的一个理由就是:
Emacs
er如果丢了配置文件就什么都干不了。
好吧好吧,这些争论和我没什么关...
在这个系列文章(不定期更新)中,小编会把这些年的编程学习和工作中使用到的个人感觉非常好的软件推荐给大家,希望能够共享美好资源,使大家提高编程和办事效率。
Emacs
,最强编辑器,没有之一
小编知道,此标题一出,肯定会遭受广大群众“诟病”,说不好还会被其他编辑器的粉丝暗地里“干掉”。
比如,Vim,Subli
前言:最近使用
Emacs
,因此整理了官方中文教程中的一些知识点和常用的命令,方便查阅使用。
对于用习惯Windows的人来说,想要入门
Emacs
不是一件特别容易的事,但好在
Emacs
提供了官方的教程文档,比较清晰和详尽的讲述了
Emacs
的基本使用方法。
首先是
Emacs
的基本布局,如图:
C-h-h查看帮助窗格
Emacs
提供了大量帮助信息,可以在帮助窗格中查看。
C-h t 官方教程
C-h t可以打开官方的使用教程,本文档基于此进行整理。
首先需要理解
Emacs
命令(
快捷键
)的构成:
值得注意的
/usr/lib/gcc/x86_64-linux-
gnu
/7/../../../x86_64-linux-
gnu
/scrt1.o:在函数‘_start’中: (.text+0x20):对‘main’未定义的引用