vi and terminal behaviour

2006-12-04 Thread Carles Cufi
Hi there, I have been using both the default Cygwin shell and rxvt for a while. I seem to have some trouble getting the terminal emulators to behave correctly (i.e. as it does under Linux). When I edit a file using vi and use the "cw" key sequence to change a word, the expected outcome is for th

Setting vim to nocompatible by default in Cygwin

2006-12-04 Thread Carles Cufi
Hi there, After some discussion with Matt Wozniski I've come to the conclusion that the default global config file for vim (/usr/share/vim/vimrc) included with Cygwin differs quite importantly from the ones included in other UNIX-like operating systems like Linux or Mac OS X (and yes, I know Cy

Re: Setting vim to nocompatible by default in Cygwin

2006-12-05 Thread Carles Cufi
cygwin@cygwin.com Sent: Tuesday, December 5, 2006 10:48:35 AM Subject: Re: Setting vim to nocompatible by default in Cygwin On Dec 4 14:29, Carles Cufi wrote: > Hi there, > > After some discussion with Matt Wozniski I've come to the conclusion that the > default global config file for vi

sed: --binary flag is undocumented

2010-08-09 Thread Carles Cufi
Hi there, I just found out in the IRC channel that to avoid trouble with cygwin's sed turning \r\n into \n one needs to pass the "--binary" flag. But this is not documented in the sed man pages, I was wondering if it should be. Thanks! -- Carles -- Problem reports: http://cygwin.com/proble