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:
- Click with the middle mouse button on the
New
command at the top of any column. - Create a tag in the new window, i.e. just write the filename at the top left of the new window.
- Click with the middle mouse button on the
Put
command at the top of the new window.
or
- Write
touch hello.c
somewhere. - 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. - Click hello.c with the right mouse button.
To open an existing file in Acme:
- 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.
精彩评论