Re: Editing C with...

2008-05-12 Thread Marcus Andree
There's some doubt if someone will achieve a valid OpenBSD binary. Also, the program may be subject to virus and trojan horses on its way to an OpenBSD system. :) 2008/5/9 David Gwynne <[EMAIL PROTECTED]>: > copy con program.exe

Re: Editing C with...

2008-05-09 Thread David Gwynne
copy con program.exe

Re: Editing C with...

2008-05-08 Thread Darrin Chandler
On Thu, May 08, 2008 at 10:02:22PM +0200, Marc Balmer wrote: > The nice thing about editors is that we have so many of them to choose > from. > Everyone will be happy, like some prefer blondes, other brunettes ... ;) > > Today one of our servers decided to send one of it's disks to the abyss, > I

Re: Editing C with...

2008-05-08 Thread Marc Balmer
The nice thing about editors is that we have so many of them to choose from. Everyone will be happy, like some prefer blondes, other brunettes ... ;) Today one of our servers decided to send one of it's disks to the abyss, I was happy to be able to edit /etc/fstab in ed while in single user m

Re: Editing C with...

2008-05-08 Thread Martin Marcher
On Thu, May 8, 2008 at 4:37 AM, Matthew Szudzik <[EMAIL PROTECTED]> wrote: > And anyway, I'm a minimalist (that's why I run OpenBSD). Really? Funny, I get the feeling that I was forced to be a minimalist for _not_ using OpenBSD the more I discover it... -- http://tumblr.marcher.name http://non

Re: Editing C with...

2008-05-08 Thread Marco Peereboom
Or you could just use vim... On May 7, 2008, at 3:12 PM, "overdrive openbsd" <[EMAIL PROTECTED] > wrote: You can always use the name of comand instead keystrokes. Also you can customize these keys and change the defaults (customizable) On Wed, May 7, 2008 at 6:28 PM, Marco Peereboom <[EMAIL

Re: Editing C with...

2008-05-08 Thread Hannah Schroeter
Hi! On Wed, May 07, 2008 at 04:55:55PM +0100, overdrive openbsd wrote: >I don't want to start a flamewar, but I will say my experience; after >lot of years using vi and vim, I decide 'taste' emacs. Now I can see >that the major part of users those use vi/vim is because they never >tried more than

Re: Editing C with...

2008-05-08 Thread Hannah Schroeter
Hi! On Sun, May 04, 2008 at 11:42:53AM -0400, Nick Holland wrote: >ropers wrote: >> 2008/5/4 Nick Holland <[EMAIL PROTECTED]>: >>> "[vim] alters files in unexpected ways", which I consider a >>> major sin. >> I didn't know that, and cursory googling didn't turn up anything >> enlightening. Coul

Re: Editing C with...

2008-05-07 Thread James Peltier
http://xkcd.com/378/ --- James A. Peltier [EMAIL PROTECTED] http://www.site-fx.net --- On Wed, 5/7/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Subject: Re: Editing C with... > To: [EMAIL PROTECTED] > Cc: mis

Re: Editing C with...

2008-05-07 Thread kjbl . 2390675
--- Matthew Szudzik <[EMAIL PROTECTED] wrote: > And anyway, I'm a minimalist (that's why I run OpenBSD). nvi is > fine--vim and emacs just have too much bloat. Which is why we have mg in tree: emacs without the bloat.

Re: Editing C with...

2008-05-07 Thread Matthew Szudzik
I learned emacs before vi, but I could never remember all of emacs' complicated keystrokes. It feels as though there are far fewer commands to memorize in vi, and the commands that I do memorize are also useful for writing sed scripts--so the payoff of a little memorization in vi is greater than t

Re: Editing C with...

2008-05-07 Thread overdrive openbsd
You can always use the name of comand instead keystrokes. Also you can customize these keys and change the defaults (customizable) On Wed, May 7, 2008 at 6:28 PM, Marco Peereboom <[EMAIL PROTECTED]> wrote: > I gave emacs quite the fighting chance. Used it for 4 weeks and could > not deal with th

Re: Editing C with...

2008-05-07 Thread kjbl . 2390675
If you want to stick with what's in the tree, mg does a fine job. Compiles, parses errors, jumps to the correct line, and so on.

Re: Editing C with...

2008-05-07 Thread Marco Peereboom
I gave emacs quite the fighting chance. Used it for 4 weeks and could not deal with the sore hands & fingers anymore. emacs is great for people that don't mind finger gymnastics. Vim is much nicer for people with sore hands. On Wed, May 07, 2008 at 04:55:55PM +0100, overdrive openbsd wrote: > H

Re: Editing C with...

2008-05-07 Thread Mark Pecaut
On 5/6/08, Emilio Perea <[EMAIL PROTECTED]> wrote: > Although I've never had to deal with Vista, previous versions of Windows > had a "Resource Kit" available which includes vi. With some Vista > versions you can install SUA (Subsystem for UNIX Applications) which > includes tcsh and ksh with v

Re: Editing C with...

2008-05-07 Thread Darrin Chandler
I used Emacs for more than 10 years, and now I use vim. I like it better. There is no single thing that is right for everyone. On Wed, May 07, 2008 at 04:55:55PM +0100, overdrive openbsd wrote: > Hi Jordi, > > I don't want to start a flamewar, but I will say my experience; after > lot of years us

Re: Editing C with...

2008-05-07 Thread overdrive openbsd
Hi Jordi, I don't want to start a flamewar, but I will say my experience; after lot of years using vi and vim, I decide 'taste' emacs. Now I can see that the major part of users those use vi/vim is because they never tried more than 5 minutes on emacs or directly they never tried. Now I am more pr

Re: Editing C with...

2008-05-06 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emilio Perea wrote: > On Wed, May 07, 2008 at 10:46:33AM +1000, Rich Healey wrote: >> for the record, it's VERY broken in Vista. >> >> running "edit" in cmd or powershell, gives, >> >> |=== >> |16 bit MS-DS Subsytem

Re: Editing C with...

2008-05-06 Thread Emilio Perea
On Wed, May 07, 2008 at 10:46:33AM +1000, Rich Healey wrote: > for the record, it's VERY broken in Vista. > > running "edit" in cmd or powershell, gives, > > |=== > |16 bit MS-DS Subsytem |x| > |=== > | > |Windows PowerShel

Re: Editing C with...

2008-05-06 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Healey wrote: for the record, it's VERY broken in Vista. running "edit" in cmd or powershell, gives, |=== |16 bit MS-DS Subsytem |x| |=== | |Windows PowerShell |NTVDM has

Re: Editing C with...

2008-05-06 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed Ahlsen-Girard wrote: >> -Original Message- >> From: Steve Shockley [mailto:[EMAIL PROTECTED] >> Sent: Sunday, May 04, 2008 9:56 AM >> To: misc >> Subject: Re: Editing C with... >> >> Nick Hollan

Re: Editing C with...

2008-05-06 Thread bofh
On Tue, May 6, 2008 at 1:23 AM, Jordi Espasa Clofent < [EMAIL PROTECTED]> wrote: > "I picked up a copy of TCPIP Illustrated, and am going through the > > examples." > > > > For example. I think that's a good way to do it. I really should replace my copy that was stolen from my car one of these

Re: Editing C with...

2008-05-06 Thread HDC
I use vi and geany.. -- # /dev/hdc -> OpenBSDeros.org hdc [at] openbsderos [dot] org

Re: Editing C with...

2008-05-06 Thread mickey
<[EMAIL PROTECTED]> wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor is > preferred by OpenBSD developers. > > At present moment I use vim. it's not the size of your editor -- it's what yo

Re: Editing C with...

2008-05-05 Thread Jordi Espasa Clofent
Would you mind explaining me "i am just learning C applied in networking area" ? "I picked up a copy of TCPIP Illustrated, and am going through the examples." For example. -- Thanks, Jordi Espasa Clofent

Re: Editing C with...

2008-05-05 Thread bofh
On Mon, May 5, 2008 at 8:45 PM, John Nietzsche <[EMAIL PROTECTED]> wrote: > for me, vi and vim are the ones. > > Would you mind explaining me "i am just learning C applied in networking > area" ? "I picked up a copy of TCPIP Illustrated, and am going through the examples." HTH. -- http://www

Re: Editing C with...

2008-05-05 Thread John Nietzsche
for me, vi and vim are the ones. Would you mind explaining me "i am just learning C applied in networking area" ? On Sat, May 3, 2008 at 2:56 PM, Jordi Espasa Clofent <[EMAIL PROTECTED]> wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C app

Re: Editing C with...

2008-05-05 Thread Darrin Chandler
On Sun, May 04, 2008 at 12:14:14AM -0400, Nick Holland wrote: > Yes, I know, you can turn off all that crap, but if I'm trying to > configure or administer a system, my first goal is not to spend an > hour "moving in"...make the changes needed, and move on, and NOT fix > the editor. And there it

Re: Editing C with...

2008-05-05 Thread Ed Ahlsen-Girard
> -Original Message- > From: Steve Shockley [mailto:[EMAIL PROTECTED] > Sent: Sunday, May 04, 2008 9:56 AM > To: misc > Subject: Re: Editing C with... > > Nick Holland wrote: > > but I WOULD tell any new user: learn the > > base system tools first. >

Re: Editing C with...

2008-05-05 Thread Artur Grabowski
Marco Peereboom <[EMAIL PROTECTED]> writes: > He is eluding to things like smart tabs and auto indent. Those are > disabled by default on vim and when programming they are both a curse and > a gift from the gods. I'll admit to having spend more than a few > minutes fine tuning that. > > I am an

Re: Editing C with...

2008-05-04 Thread Åke Nordin
On Sun, May 4, 2008 at 3:25 AM, Stephan Andre' <[EMAIL PROTECTED]> wrote: > Nah, teco. > > Or, SOS > > --STeve Andre' (ducks) AMIS, in fuldamental mode. At least one old hand will recall times when v7 wasn't much more than rumours in our part of the world, and the creatures of rms still were mo

Re: Editing C with...

2008-05-04 Thread William Boshuck
On Sun, May 04, 2008 at 05:32:28PM +0200, Dorian B|ttner wrote: > Steve Shockley schrieb: > > > > Had a royal PITA the other day when I misspelled "softdep" in the > >/usr line in fstab, and didn't know how to use ed. > > > > No prob w/o ed :) You can just cat /etc/fstab | grep -v usr >> > /etc/

Re: Editing C with...

2008-05-04 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from Girish Venkatachalam on Sun, May 04, 2008 at 04:18:10AM +0530,: > On 13:51:58 May 03, Robert C Wittig wrote: > > > vi/vim. > > > > I use it for most of my editing tasks, not just writing C code. > > I use vim since it enhances my coding

Re: Editing C with...

2008-05-04 Thread Owain Ainsworth
On Sun, May 04, 2008 at 08:19:24AM -0500, Marco Peereboom wrote: > He is eluding to things like smart tabs and auto indent. Those are > disabled by default on vim and when programming they are both a curse and > a gift from the gods. I'll admit to having spend more than a few > minutes fine tunin

Re: Editing C with...

2008-05-04 Thread Nick Holland
ropers wrote: > 2008/5/4 Nick Holland <[EMAIL PROTECTED]>: >> "[vim] alters files in unexpected ways", which I consider a >> major sin. > > I didn't know that, and cursory googling didn't turn up anything > enlightening. Could you elaborate? > > Thanks and regards, > --ropers It might have bee

Re: Editing C with...

2008-05-04 Thread Dorian Büttner
Steve Shockley schrieb: Had a royal PITA the other day when I misspelled "softdep" in the /usr line in fstab, and didn't know how to use ed. No prob w/o ed :) You can just cat /etc/fstab | grep -v usr >> /etc/fstab.new followed by echo '' >> /etc/fstab.new and then mv everything to it's

Re: Editing C with...

2008-05-04 Thread Christian Weisgerber
Marco Peereboom <[EMAIL PROTECTED]> wrote: > I am an old vi rat that finally caved to vim for several reasons. > [...] > * tab complete commands and filenames in command mode FWIW, nvi supports file name completion on the colon command line, you just have to enable it with the filec variable.

Re: Editing C with...

2008-05-04 Thread Steve Shockley
Nick Holland wrote: but I WOULD tell any new user: learn the base system tools first. More to the point, have a working knowledge of ed. Had a royal PITA the other day when I misspelled "softdep" in the /usr line in fstab, and didn't know how to use ed. Most modern OSs (with the exception

Re: Editing C with...

2008-05-04 Thread Marco Peereboom
He is eluding to things like smart tabs and auto indent. Those are disabled by default on vim and when programming they are both a curse and a gift from the gods. I'll admit to having spend more than a few minutes fine tuning that. I am an old vi rat that finally caved to vim for several reasons

Re: Editing C with...

2008-05-04 Thread ropers
2008/5/4 Nick Holland <[EMAIL PROTECTED]>: > "[vim] alters files in unexpected ways", which I consider a > major sin. I didn't know that, and cursory googling didn't turn up anything enlightening. Could you elaborate? Thanks and regards, --ropers

Re: Editing C with...

2008-05-04 Thread Marc Balmer
Am 03.05.2008 um 19:56 schrieb Jordi Espasa Clofent: > Yes, I know, it's completely a dumb question; but I'm curious about > it. > > I'm just learning C applied in networking area and I wonder what > editor is preferred by OpenBSD developers. I am using two editors on a regular base: vi that

Re: Editing C with...

2008-05-03 Thread Nick Holland
Owain Ainsworth wrote: > On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: >> Yes, I know, it's completely a dumb question; but I'm curious about it. >> >> I'm just learning C applied in networking area and I wonder what editor is >> preferred by OpenBSD developers. >> >> At pre

Re: Editing C with...

2008-05-03 Thread Stephan Andre'
On Saturday 03 May 2008 21:20:29 Douglas A. Tutty wrote: > On Sat, May 03, 2008 at 03:48:36PM -0600, Alvaro Mantilla Gimenez wrote: > > "Real men use".whatever editor is comfortable for them. > > > > Vi, vim, emacs, xwpe, anjuta, kdevelop, joe, ed, etcused by a stupid > > guy does not produ

Re: Editing C with...

2008-05-03 Thread bofh
On Sat, May 3, 2008 at 9:18 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote: > On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote: > > Real men use ed. > > No, real men get it right the first time and don't need to edit, they > just use echo or something. Hush now, or I'll make you use teco! :

Re: Editing C with...

2008-05-03 Thread Douglas A. Tutty
On Sat, May 03, 2008 at 03:48:36PM -0600, Alvaro Mantilla Gimenez wrote: > "Real men use".whatever editor is comfortable for them. > > Vi, vim, emacs, xwpe, anjuta, kdevelop, joe, ed, etcused by a stupid > guy does not produce quality code at all. > > So...try all and choose the most comf

Re: Editing C with...

2008-05-03 Thread Douglas A. Tutty
On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote: > Real men use ed. > No, real men get it right the first time and don't need to edit, they just use echo or something. :) Doug.

Re: Editing C with...

2008-05-03 Thread Owain Ainsworth
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor is > preferred by OpenBSD developers. > > At present moment I use vim. /usr/b

Re: Editing C with...

2008-05-03 Thread Girish Venkatachalam
On 13:51:58 May 03, Robert C Wittig wrote: > vi/vim. > > I use it for most of my editing tasks, not just writing C code. I use vim since it enhances my coding speed in a big way. As to KNF I guess it is just a habit that I want to inculcate for all my C coding. Right now it is voluntary and occa

Re: Editing C with...

2008-05-03 Thread Alvaro Mantilla Gimenez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 "Real men use".whatever editor is comfortable for them. Vi, vim, emacs, xwpe, anjuta, kdevelop, joe, ed, etcused by a stupid guy does not produce quality code at all. So...try all and choose the most comfortable editor for you. Cheers,

Re: Editing C with...

2008-05-03 Thread Marco Peereboom
vim of course! the emacs people are weird :-) On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor is > preferred by OpenBSD deve

Re: Editing C with...

2008-05-03 Thread Mark Mathias
On Sat, May 3, 2008 at 3:38 PM, Alexander Schrijver < [EMAIL PROTECTED]> wrote: > Real men use butterflies. > > On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote: > > Real men use ed. > > > > > > > > On 5/3/08, Jordi Espasa Clofent <[EMAIL PROTECTED]> wrote: > > > Yes, I know, it's completely a

Re: Editing C with...

2008-05-03 Thread Andreas Maus
On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote: > Real men use ed. No. REAL programmers use ... http://xkcd.com/378/ Sorry, couldn't resist ;) Andreas. -- Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of an 8-bit operating system written for a 4-bit processor by a 2-bi

Re: Editing C with...

2008-05-03 Thread Robert C Wittig
Jordi Espasa Clofent wrote: Yes, I know, it's completely a dumb question; but I'm curious about it. I'm just learning C applied in networking area and I wonder what editor is preferred by OpenBSD developers. At present moment I use vim. vi/vim. I use it for most of my editing tasks, not j

Re: Editing C with...

2008-05-03 Thread Alexander Schrijver
Real men use butterflies. On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote: > Real men use ed. > > > > On 5/3/08, Jordi Espasa Clofent <[EMAIL PROTECTED]> wrote: > > Yes, I know, it's completely a dumb question; but I'm curious about it. > > > > I'm just learning C applied in networking are

Re: Editing C with...

2008-05-03 Thread Pierre Riteau
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor is > preferred by OpenBSD developers. > > At present moment I use vim. > > --

Re: Editing C with...

2008-05-03 Thread Gilles Chehade
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor > is preferred by OpenBSD developers. > > At present moment I use vim. > I

Re: Editing C with...

2008-05-03 Thread Miod Vallat
> Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor > is preferred by OpenBSD developers. > > At present moment I use vim. The developers are known to use vi variants (nvi, vim) and emacs variants

Re: Editing C with...

2008-05-03 Thread bofh
Real men use ed. On 5/3/08, Jordi Espasa Clofent <[EMAIL PROTECTED]> wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor > is preferred by OpenBSD developers. > > At present moment I use vim.

Re: Editing C with...

2008-05-03 Thread Darrin Chandler
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor is > preferred by OpenBSD developers. > > At present moment I use vim. I aske

Re: Editing C with...

2008-05-03 Thread Manuel Wildauer
vim :) LG Manuel On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote: > Yes, I know, it's completely a dumb question; but I'm curious about it. > > I'm just learning C applied in networking area and I wonder what editor is > preferred by OpenBSD developers. > > At present moment

Editing C with...

2008-05-03 Thread Jordi Espasa Clofent
Yes, I know, it's completely a dumb question; but I'm curious about it. I'm just learning C applied in networking area and I wonder what editor is preferred by OpenBSD developers. At present moment I use vim. -- Thanks, Jordi Espasa Clofent