开发者

Can't create a file in Plan 9 acme

I'm running Plan 9 OS in VirtualBox. The host OS is Fedora 14.

When I run ac开发者_运维知识库me hello.c there's an error saying:

can't open hello.c:'hello.c' file does not exist

I'm following this guide newbie-guide.


To create a new file in Acme:

  1. Click with the middle mouse button on the New command at the top of any column.
  2. Create a tag in the new window, i.e. just write the filename at the top left of the new window.
  3. Click with the middle mouse button on the Put command at the top of the new window.

or

  1. Write touch hello.c somewhere.
  2. Mark touch hello.c using the middle mouse button, i.e. move the mouse pointer just before the phrase, press and hold the middle mouse button, move the mouse to the end of the phrase, release the button.
  3. Click hello.c with the right mouse button.

To open an existing file in Acme:

  1. Write the filename anywhere and click it with the right mouse button.

Acme is really intuitive once you grasp a few basic ideas.


As a quick workaround, you should be able to create the file and then edit it:

term% touch hello.c
term% acme hello.c

which works fine on my system.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜