小编gsi*_*011的帖子

将 emacs -nw 设置为默认编辑器

编辑文件时sudoers,我想使用 emacs 而不是 nano。所以我运行了这个命令

sudo update-alternatives --config editor
Run Code Online (Sandbox Code Playgroud)

And I selected emacs. The only issue is I like emacs in no window mode (the -nw flag) and I've aliased emacs as emacs='emacs -nw' so that I can use no window mode in normal use, but I don't know how to get my default editor to be in no window mode.

In other words, I need to get the command sudo visudo and similar commands that open up editors …

emacs default-programs update-alternatives

15
推荐指数
2
解决办法
2万
查看次数

如何挂载 yaffs2 文件系统

我有一个 .img 文件,它使用我想要挂载的 yaffs2 文件系统(Android 分区映像)。我似乎无法使用 mount 命令来做到这一点。我怎样才能做到这一点?我正在使用 Ubuntu 12.04。

另外,我不想提取它(我知道如何使用unyaffs)。我想安装它。

filesystem mount android

8
推荐指数
2
解决办法
3万
查看次数