Re: [DNG] vi for beginners

2015-07-17 Thread hellekin
On 07/16/2015 06:24 PM, Riccardo Boninsegna wrote: >> >> :wq > > ZZ (uppercase) saves and quits, no questions asked! > :x also saves and exits. == hk -- _ _ We are free to share code and we code to share freedom (_X_)yne Foundation, Free Culture Foundry * https://www.dyne.org/donate/

Re: [DNG] vi for beginners

2015-07-17 Thread Hendrik Boom
On Fri, Jul 17, 2015 at 02:40:31PM +0200, Didier Kryn wrote: > Le 16/07/2015 20:41, Klaus Ethgen a écrit : > >I always get stessed if emacs get started on a new computer where I did > >not check the editor settings. > > Did it actually happen to you or did you have a nightmare? Did > you exper

Re: [DNG] vi for beginners

2015-07-17 Thread Didier Kryn
Le 17/07/2015 01:54, Adam Borowski a écrit : Then, you can use cat to display a file's contents, and sed or echo >> to edit needed files (typically /etc/apt/sources.list and /etc/network/interfaces) enough to let you apt-get install an usable editor. I've done this kind of things a few times

Re: [DNG] vi for beginners

2015-07-17 Thread Didier Kryn
Le 16/07/2015 20:41, Klaus Ethgen a écrit : I always get stessed if emacs get started on a new computer where I did not check the editor settings. Did it actually happen to you or did you have a nightmare? Did you experience a distro which installs it by default and makes it the default e

Re: [DNG] vi for beginners

2015-07-17 Thread Didier Kryn
Le 16/07/2015 23:24, Riccardo Boninsegna a écrit : A little shortcut from the extreme basics I know of vi: On Thu, Jul 16, 2015 at 4:39 PM, Rob Owens wrote: 6) Type the following, followed by hitting , in order to save and quit: :wq ZZ (uppercase) saves and quits, no questions asked! G

Re: [DNG] vi for beginners

2015-07-16 Thread Adam Borowski
On Thu, Jul 16, 2015 at 10:39:25AM -0400, Rob Owens wrote: > I noted some people saying they were confused by vi. Here are basic > instructions to get you far enough that you can install your editor of > choice. All that you need to deal with vi is: Alt-F2 (possibly Ctrl-Alt-F2) killall -9 vi

Re: [DNG] vi for beginners

2015-07-16 Thread Riccardo Boninsegna
A little shortcut from the extreme basics I know of vi: On Thu, Jul 16, 2015 at 4:39 PM, Rob Owens wrote: > 6) Type the following, followed by hitting , in order to save > and quit: > > :wq ZZ (uppercase) saves and quits, no questions asked! ___ Dng ma

Re: [DNG] vi for beginners

2015-07-16 Thread Hendrik Boom
On Thu, Jul 16, 2015 at 07:41:52PM +0100, Klaus Ethgen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Am Do den 16. Jul 2015 um 17:04 schrieb John Crisp: > > Nice HowTos thank you. > > So, and to make the stuff complete, please a (easy) way to leave emacs > (without breaking my fi

Re: [DNG] vi for beginners

2015-07-16 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Do den 16. Jul 2015 um 17:04 schrieb John Crisp: > Nice HowTos thank you. So, and to make the stuff complete, please a (easy) way to leave emacs (without breaking my fingers or getting a knot into it.) :-) I always get stessed if emacs get start

Re: [DNG] vi for beginners

2015-07-16 Thread Timo Buhrmester
> Is this still the mailinglist which is about the OPERATING SYSTEM devuan? Yes, and on mailing lists, we don't top-post. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] vi for beginners

2015-07-16 Thread John Crisp
On 16/07/15 16:39, Rob Owens wrote: > 6) Type the following, followed by hitting , in order to save > and quit: > > :wq > Nice HowTos thank you. Ironically this very morning I got stuck trying to edit hard coded network parameters and the keyboard map on a new VM install with no working network

Re: [DNG] vi for beginners

2015-07-16 Thread Patrick Erdmann
Is this still the mailinglist which is about the OPERATING SYSTEM devuan? On 16.07.2015 16:39, Rob Owens wrote: > I noted some people saying they were confused by vi. Here are basic > instructions to get you far enough that you can install your editor of > choice. I am deliberately leaving out t

[DNG] vi for beginners

2015-07-16 Thread Rob Owens
I noted some people saying they were confused by vi. Here are basic instructions to get you far enough that you can install your editor of choice. I am deliberately leaving out things like cutting and pasting. If your goal is just to get a different editor installed, these instructions should su