Re: No CRs in :! command output from vim in rxvt
On 2009-10-05, Gary Johnson wrote: When I run vim in an rxvt terminal, and I execute a shell command such as :!ls there are no carriage returns in the output, only line feeds at the ends of the lines, so the lines stair-step across the terminal window. [...] This looks to me like a problem with rxvt rather than with vim, but I'm not sure. In any case, does anyone know of a solution, other than piping all such commands through u2d? Thanks. Here's a little more information. While on a Linux system, I opened an xterm window, ssh'd to a system running Cygwin 1.5 on Windows XP, executed stty onlret, started vim and executed :!stty with the result that the stair-stepping is still there. :!stty speed 38400 baud; line = 0; -imaxbel onlret That would suggest that the problem is with vim on Cygwin and not with rxvt. Vim on Linux doesn't do this. Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
No CRs in :! command output from vim in rxvt
When I run vim in an rxvt terminal, and I execute a shell command such as :!ls there are no carriage returns in the output, only line feeds at the ends of the lines, so the lines stair-step across the terminal window. This has been a problem for as long as I've been using vim on Cygwin. The problem is in vim 7.2.148 I compiled myself on Cygwin 1.5, and in the official vim 7.2.264 package just released for Cygwin 1.7. On 1.5 I'm using rxvt package version 20050409-11 and on 1.7 I'm using rxvt 20050409-21. Using my Cygwin 1.7 system, the output from stty -a is: :!stty -a speed 38400 baud; rows 24; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = undef; eol2 = undef; swtch = undef; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -tostop echoctl echoke where I've cleaned up the missing CR problem for clarity. I would think that the 'onlcr' setting would cause the output to include CRs at the end of each line, but it doesn't. I also tried setting 'onlret' before running vim, but it doesn't seem to have any effect, either. I've captured the output of the :!ls command by running script before starting vim and I can see that each line ends with a newline and no carriage return. This looks to me like a problem with rxvt rather than with vim, but I'm not sure. In any case, does anyone know of a solution, other than piping all such commands through u2d? Thanks. Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
vim under rxvt : screaming ^G as though keyboard buffer full
Sudden development following latest update (curl: surely no connection but that's the only recent change that I can think of). Typing vim anyfilename in rxvt causes scream from PC bell exactly the same as when keyboard buffer is full or other error condition cycles. No change to invocation, to .vimrc or to anything else. No problems with vim anyfilename at the bash prompt. Anybody else getting the same now or in the past? Thank you. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: vim under rxvt : screaming ^G as though keyboard buffer full
Sorry: far too quick to the list. I had set terminal type to 'linux' whilst exploring something else. It seems that vim doesn't like this at all. OK when terminal type set back to 'cygwin' or 'rxvt' or ... Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: VIM in rxvt syntax highlighting
The recent installation of vim lacks the default startup file that earlier vesions had. So: place in your home directory (/home/alec/ or whatever) a file called .vimrc (note the dot) containing set nocompatible set backspace=indent,eol,start set backup set history=50 set ruler set background=dark set showcmd set incsearch syntax on set hlsearch or, to make it accessible to all users, put these lines in a file called vimrc (no dot) in the /usr/share/vim/ directory. Hope this helps. (I don't know which lines cause the syntax hghlighting -- probably just line -1? -- but the other lines seem to make vim work in the way I'm used to, anyway.) Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: VIM in rxvt syntax highlighting
does the :version display +syntax? if yes, do syntax on vipin - Original Message - From: Alec [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 2:03 PM Subject: Re: VIM in rxvt syntax highlighting On Thursday 28 February 2002 03:08 am, Fergus Daly wrote: In your command line for rxvt try rxvt --backspacekey ^H -e bash which might help. It does. However, there's another problem I just noticed: The syntax highlighting isn't colored, but black and white. What can I do about that? Thanks Alec -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: VIM in rxvt
Fergus Daly wrote: In your command line for rxvt try rxvt --backspacekey ^H -e bash which might help. Or you could set it in your Xdefaults file like this: $ cat ~/.Xdefaults XTerm.scrollBar: False XTerm.saveLines: 2000 XTerm.font: Lucida Console-16 Rxvt.backspacekey: ^H If you're not familiar with resource files search the archives for some samples of .profile, .bash_profile, .bashrc, .inputrc, .vimrc, .logout ... Fergus -- Med venlig hilsen / Kind regards Hack Kampbjørn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: VIM in rxvt syntax highlighting
On Thursday 28 February 2002 04:30 am, Fergus Daly wrote: The recent installation of vim lacks the default startup file that earlier vesions had. So: place in your home directory (/home/alec/ or whatever) a file called .vimrc (note the dot) containing set nocompatible set backspace=indent,eol,start set backup set history=50 set ruler set background=dark set showcmd set incsearch syntax on set hlsearch I tried your .vimrc file. Is your syntax highlighted in COLOR? Mine isn't. Well, not in rxvt-2.7.2. It is colored in the default terminal emulator though. Alec -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
VIM in rxvt
Hi When I run rxvt with rxvt -e bash, and then launch vim, backspace doesn't work in the command mode, and both backspace and the arrow keys print funny characters in the input mode instead of moving the cursor or deleting characters. Is this a bug? Can it be fixed. Is there a work-around? Thanks Alec -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: VIM in rxvt
In your command line for rxvt try rxvt --backspacekey ^H -e bash which might help. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/