You are not logged in.

#1 2010-07-31 19:56:28

psihokiller4
Member
Registered: 2010-07-25
Posts: 24

[SOLVED] commands - view, edit, ...

I'm googling for 2 days now and cannot find any kind of commands witch would guide me

what I'm searching is right now is:

how to operate with arch edit as when I try to edit a file I gain an empty line and not whole page to edit as in install

how to exit of viewing a file I looked a file and I cannot get out I tried
esc
alt+x
ctrl+x
shift+x
super+x
alt+q
ctrl+q
shift+q
super+q
and I'm out of any ideas

I would appreciate the commands for anything else too please

Last edited by psihokiller4 (2010-07-31 20:33:46)

Offline

#2 2010-07-31 20:08:14

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] commands - view, edit, ...

Do you mean Vim? You can use Shift+ZZ to save and exit. smile

Could you make what you want clearer? Right now, I could only understand you wanted to exit an editor.

Last edited by cesura (2010-07-31 20:09:15)

Offline

#3 2010-07-31 20:09:08

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] commands - view, edit, ...

Googling for your editor + "commands" should help you.

Offline

#4 2010-07-31 20:22:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] commands - view, edit, ...

psihokiller4 wrote:

I'm googling for 2 days now and cannot find any kind of commands witch would guide me

what I'm searching is right now is:

how to operate with arch edit as when I try to edit a file I gain an empty line and not whole page to edit as in install

how to exit of viewing a file I looked a file and I cannot get out I tried
esc
alt+x
ctrl+x
shift+x
super+x
alt+q
ctrl+q
shift+q
super+q
and I'm out of any ideas

I would appreciate the commands for anything else too please

I started using vim because of the joke "how to generate a variable-length random characters sequence" :-)

If you're using vi(m), press Esc, the : (colon) q and Enter.

<Esc>
:q<Enter>

Offline

#5 2010-07-31 20:23:10

psihokiller4
Member
Registered: 2010-07-25
Posts: 24

Re: [SOLVED] commands - view, edit, ...

I'm very beginner arch user I'm still stuck in console
pacman doesn't work yet so i'm trying to solve this thing

whell shift+ZZ, ctrl+Z works fine for exiting view file
ctrl+Y works for exit editing file thanks




but when I edit a file I gain just 1 empty line how do I know what I'm editing in a file?

EDIT: I don't know what editor 'm I using
propably default one


and googeling editor + "commands" didn't help me


and probably I'm not using vi(m) as

<Esc>
:q<Enter>

doesn't work not for edit not for view

Last edited by psihokiller4 (2010-07-31 20:30:28)

Offline

#6 2010-07-31 20:30:23

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] commands - view, edit, ...

I meant the editor you are using, not "editor". Same goes for manpages or help options inside the editor. There is no "default" editor, normally you just type "nano filename", or vim or whatever you want to use.

Offline

#7 2010-07-31 20:30:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] commands - view, edit, ...

> I'm very beginner arch user I'm still stuck in console
Sorry, but maybe Arch isn't for you. If you're getting stuck while editing a file you lack some knowledge - probably lots of it - to operate Arch on a reasonable level.
I'm quite sure you can pick what editor do you use for configuration.

Offline

#8 2010-07-31 20:32:07

psihokiller4
Member
Registered: 2010-07-25
Posts: 24

Re: [SOLVED] commands - view, edit, ...

yeeeeeeeeeeyyyyyyy

nano fliename is correct for editing


thankssssss........

Offline

#9 2010-07-31 23:03:31

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED] commands - view, edit, ...

psihokiller4 wrote:

whell shift+ZZ, ctrl+Z works fine for exiting view file

Note: Ctrl-Z is usually caught by the shell and means "suspend", not "exit" -- to revive a suspended process, type 'fg' at the shell prompt.

Offline

#10 2010-07-31 23:11:13

psihokiller4
Member
Registered: 2010-07-25
Posts: 24

Re: [SOLVED] commands - view, edit, ...

karol wrote:

> I'm very beginner arch user I'm still stuck in console
Sorry, but maybe Arch isn't for you. If you're getting stuck while editing a file you lack some knowledge - probably lots of it - to operate Arch on a reasonable level.
I'm quite sure you can pick what editor do you use for configuration.


yes I do have a lack of knowledge but I want it and I try to search it
and I have learned a of of arch so I WANT to continue

Offline

#11 2010-07-31 23:13:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] commands - view, edit, ...

psihokiller4 wrote:

and I have learned a of of arch so I WANT to continue

The question is: are you able to?

Good luck and have fun.

Offline

#12 2010-08-01 06:21:39

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] commands - view, edit, ...

psihokiller4 wrote:
karol wrote:

> I'm very beginner arch user I'm still stuck in console
Sorry, but maybe Arch isn't for you. If you're getting stuck while editing a file you lack some knowledge - probably lots of it - to operate Arch on a reasonable level.
I'm quite sure you can pick what editor do you use for configuration.


yes I do have a lack of knowledge but I want it and I try to search it
and I have learned a of of arch so I WANT to continue

Just keep on. You are on the right way. smile
Only be prepared to have to lookup quite some stuff until everything works (do consult the arch wiki - most questions are answered there already, get accustomed to the man pages (and try the apropos command), search the forum, and google, of course).
Iif you really try to help yourself and still get stuck, we will be glad to assist however possible.
This is Arch philosophy.

Last edited by bernarcher (2010-08-01 06:23:01)


To know or not to know ...
... the questions remain forever.

Offline

#13 2010-08-01 06:27:44

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] commands - view, edit, ...

psihokiller4 wrote:
karol wrote:

> I'm very beginner arch user I'm still stuck in console
Sorry, but maybe Arch isn't for you. If you're getting stuck while editing a file you lack some knowledge - probably lots of it - to operate Arch on a reasonable level.
I'm quite sure you can pick what editor do you use for configuration.

yes I do have a lack of knowledge but I want it and I try to search it
and I have learned a of of arch so I WANT to continue

Yeah, don't listen to anything karol says. He's just trying to hurt your feelings tongue

Kidding of course...

Last edited by cesura (2010-08-01 06:28:11)

Offline

Board footer

Powered by FluxBB