Re: vim Keybindings
On Sat, 31 Oct 2009, Drew Tomlinson wrote: I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on FBSD 7. Whenever I start vim, if I press the down arrow as the first key, it deletes the first line of my file and enters insert mode. All the other keys work fine and even the down arrow works fine after the first press. I've searched for help but haven't turned up anything relevant. Any ideas on what I can check? Thanks, Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Must be a bug. Try to remove it and to install again. Can't remember anything else if your .vimrc is OK. -- Best, Jozsef Kurucity | Web Graphic Designer +971 50 6783113 | jz...@aol.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim Keybindings
The original vi is doing this as well? If not you should write to the port maintainer and the developers. Cheers herb langhans On Sat, Oct 31, 2009 at 12:22:31PM -0700, Drew Tomlinson wrote: I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on FBSD 7. Whenever I start vim, if I press the down arrow as the first key, it deletes the first line of my file and enters insert mode. All the other keys work fine and even the down arrow works fine after the first press. I've searched for help but haven't turned up anything relevant. Any ideas on what I can check? Thanks, Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim Keybindings
Drew Tomlinson wrote: I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on FBSD 7. Whenever I start vim, if I press the down arrow as the first key, it deletes the first line of my file and enters insert mode. All the other keys work fine and even the down arrow works fine after the first press. I've searched for help but haven't turned up anything relevant. Any ideas on what I can check? Hmm. Don't know if your machine is exactly set up as mine, so 1st, does hitting the escape key as the first key fix things? And, on a shell, hit control-V (the common shell escape key for control keys), then the down arrow, what does it print? Not sure I would be able to help, but there is often a timing issue on special function key decoding (like all of the arrow keys, or the function keys, etc) and this may tell what your down key is set for in Vim. Beyond that, Vim's environment is extremely programmable, so one would really have to look carefully through all of your environment files, beginning with vim's ~/.vimrc. If you are using any of vim's huge store of extensions, your .vimrc probably has statements to include subdirectories (perhaps of your homedir). Those files are also candidates for trouble sources. Are you having this problem on ttys, or under X11? Tried both? It's most likely *something* dealing with Vim, because it's unreported on FreeBSD (I know, I love vim and been using it on FreeBSD-current for years). Vim's IRC channel (vim) is extremely good about helping on problems, like bad keymapping, they are just as good as we here on this mailing list are, but they obviously concentrate on vim. Anyways, if you answer these questions on the list or channel, folks are far more likely to be able to help you here (or on the vim channel). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim Keybindings
Try creating /usr/local/share/vim/vimrc with the following: set nomodeline set nocompatible Patrick On Sat, Oct 31, 2009 at 12:22 PM, Drew Tomlinson d...@mykitchentable.net wrote: I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on FBSD 7. Whenever I start vim, if I press the down arrow as the first key, it deletes the first line of my file and enters insert mode. All the other keys work fine and even the down arrow works fine after the first press. I've searched for help but haven't turned up anything relevant. Any ideas on what I can check? Thanks, Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim port have a lot of broken links ??
Spot on.. My server is ipv6 ready.. (We are the hosting department of the ISP if we should examine all ticket we get with.. Its the networks fault we wouldn't do anything else :D ) And fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 is working fine. So it must be that it tries ipv6 first. Well thank you , I'm just gonna add the ipv6 interface after I've installed vim. On Sat, Jul 25, 2009 at 4:00 AM, Steve Bertrand st...@ibctech.ca wrote: Kalle Møller wrote: Well any other port works flawless. It's only the vim ports (other = screen sudo wget bash apache22 mysql-server subversion etc) And the ISP is not the problem - I works for them in the network department (its on a 10 G link :D ) I just made a make distclean and make again = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim. = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/. fetch: transfer timed out = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2 100% of 7034 kB 254 kBps 00m00s This takes 2-3 min And the 24-7 site only have to around 190 the last 40 needs to wait for both primary and 24-7 to timeout before the 3rd site delivers I don't know which network department you work in at your ISP, but in this ISP's network department, we *never* disclaim the possibility of having an issue until the problem has been resolved, and we know *exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive to blind claims that it's not our fault ;) Looked a little deeper... It seems like I can wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 But i cannont fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 wget goes smoothly but fetch times out Both work here: # fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 7.2.002 100% of 1462 B 9327 kBps # wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 [...snip...] 2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462] However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch and wget time-out when trying to reach it over IPv6. eg: # wget -6 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 --2009-07-24 22:02:13-- http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 Resolving ftp.vim.org... 2001:610:1:80aa:192:87:102:42, 2001:610:1:80aa:192:87:102:43 Connecting to ftp.vim.org|2001:610:1:80aa:192:87:102:42|:80... connected. HTTP request sent, awaiting response... ^C Are you IPv6 ready? If not, do you have v6 enabled in some fashion that could be interfering with proper Internet communication? Steve -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim port have a lot of broken links ??
On Saturday 25 July 2009 02:29:30 Kalle Møller wrote: Spot on.. My server is ipv6 ready.. (We are the hosting department of the ISP if we should examine all ticket we get with.. Its the networks fault we wouldn't do anything else :D ) And fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 is working fine. So it must be that it tries ipv6 first. /usr/ports/Mk/bsd.port.mk states: # FETCH_ARGS- Arguments to ftp/http fetch command. # Default: -ApRr Override it in /etc/make.conf: FETCH_ARGS=-4ApRr Or one could set it in your shell environment for the duration that IPv6 is not working. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim port have a lot of broken links ??
On Fri, Jul 24, 2009 at 09:13:43PM +0200, Kalle Mller wrote: When I try to install vim from ports it tries 4-5 sites which all have to time out... and with a 200 files.. thats a lot of timeouts.. Who should I poke to, so the mirrors would be updated ?? -- Med Venlig Hilsen Hi Kalle, If several servers are timing out, there's a good chance that the problem is at your end. Either you or your ISP might be having a problem. If you haven't changed anything (hardware, software, configuration, ISP), then the problem is likely to be temporary. If the problem is a spike in activity that's overburdoning the servers, the following may help: /usr/ports/ports-mgmt/fastest-sites Med venlige hilser til deg ogsaa. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim port have a lot of broken links ??
Well any other port works flawless. It's only the vim ports (other = screen sudo wget bash apache22 mysql-server subversion etc) And the ISP is not the problem - I works for them in the network department (its on a 10 G link :D ) I just made a make distclean and make again = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim. = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/. fetch: transfer timed out = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2 100% of 7034 kB 254 kBps 00m00s This takes 2-3 min And the 24-7 site only have to around 190 the last 40 needs to wait for both primary and 24-7 to timeout before the 3rd site delivers Looked a little deeper... It seems like I can wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 But i cannont fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 wget goes smoothly but fetch times out On Sat, Jul 25, 2009 at 1:11 AM, Bob Hall rjh...@gmail.com wrote: On Fri, Jul 24, 2009 at 09:13:43PM +0200, Kalle Mller wrote: When I try to install vim from ports it tries 4-5 sites which all have to time out... and with a 200 files.. thats a lot of timeouts.. Who should I poke to, so the mirrors would be updated ?? -- Med Venlig Hilsen Hi Kalle, If several servers are timing out, there's a good chance that the problem is at your end. Either you or your ISP might be having a problem. If you haven't changed anything (hardware, software, configuration, ISP), then the problem is likely to be temporary. If the problem is a spike in activity that's overburdoning the servers, the following may help: /usr/ports/ports-mgmt/fastest-sites Med venlige hilser til deg ogsaa. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim port have a lot of broken links ??
Kalle Møller wrote: Well any other port works flawless. It's only the vim ports (other = screen sudo wget bash apache22 mysql-server subversion etc) And the ISP is not the problem - I works for them in the network department (its on a 10 G link :D ) I just made a make distclean and make again = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim. = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/. fetch: transfer timed out = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2 100% of 7034 kB 254 kBps 00m00s This takes 2-3 min And the 24-7 site only have to around 190 the last 40 needs to wait for both primary and 24-7 to timeout before the 3rd site delivers I don't know which network department you work in at your ISP, but in this ISP's network department, we *never* disclaim the possibility of having an issue until the problem has been resolved, and we know *exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive to blind claims that it's not our fault ;) Looked a little deeper... It seems like I can wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 But i cannont fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 wget goes smoothly but fetch times out Both work here: # fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 7.2.002 100% of 1462 B 9327 kBps # wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 [...snip...] 2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462] However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch and wget time-out when trying to reach it over IPv6. eg: # wget -6 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 --2009-07-24 22:02:13-- http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 Resolving ftp.vim.org... 2001:610:1:80aa:192:87:102:42, 2001:610:1:80aa:192:87:102:43 Connecting to ftp.vim.org|2001:610:1:80aa:192:87:102:42|:80... connected. HTTP request sent, awaiting response... ^C Are you IPv6 ready? If not, do you have v6 enabled in some fashion that could be interfering with proper Internet communication? Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: vim port have a lot of broken links ??
Steve Bertrand wrote: Kalle Møller wrote: Well any other port works flawless. It's only the vim ports (other = screen sudo wget bash apache22 mysql-server subversion etc) And the ISP is not the problem - I works for them in the network department (its on a 10 G link :D ) I just made a make distclean and make again = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim. = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/. fetch: transfer timed out = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2 100% of 7034 kB 254 kBps 00m00s This takes 2-3 min And the 24-7 site only have to around 190 the last 40 needs to wait for both primary and 24-7 to timeout before the 3rd site delivers I don't know which network department you work in at your ISP, but in this ISP's network department, we *never* disclaim the possibility of having an issue until the problem has been resolved, and we know *exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive to blind claims that it's not our fault ;) Looked a little deeper... It seems like I can wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 But i cannont fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 wget goes smoothly but fetch times out Both work here: # fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 7.2.002 100% of 1462 B 9327 kBps # wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 [...snip...] 2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462] However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch and wget time-out when trying to reach it over IPv6. To elaborate, the ftp.vim.org is reachable via IPv6: # ping6 ftp.vim.org PING6(56=40+8+8 bytes) 2607:f118::b6 -- 2001:610:1:80aa:192:87:102:42 16 bytes from 2001:610:1:80aa:192:87:102:42, icmp_seq=0 hlim=55 time=113.550 ms ^C So that means that the issue is likely due to the FTP application's interaction with v6 at the network layer that is the issue. I've found this to be common, and very acceptable as IPv6 adoption moves forward. I'd suspect that your machine is trying v6 first, and failing after a timeout. Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: vim port have a lot of broken links ??
On Friday 24 July 2009 17:37:37 Kalle Møller wrote: Well any other port works flawless. It's only the vim ports (other = screen sudo wget bash apache22 mysql-server subversion etc) And the ISP is not the problem - I works for them in the network department (its on a 10 G link :D ) I just made a make distclean and make again = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim. = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/. fetch: transfer timed out = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2 100% of 7034 kB 254 kBps 00m00s This takes 2-3 min And the 24-7 site only have to around 190 the last 40 needs to wait for both primary and 24-7 to timeout before the 3rd site delivers Looked a little deeper... It seems like I can wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 But i cannont fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 wget goes smoothly but fetch times out Check your environment for the HTTP_PROXY value, aside from IPv6 like Steve said. Additionally, you can sort various master sites to your preferences: - /usr/ports/Mk/bsd.sites.mk lists various master sites for ports that have many. - In there we see: .if !defined(IGNORE_MASTER_SITE_VIM) MASTER_SITE_VIM+= \ http://ftp.vim.org/pub/vim/unix/ \ http://mirrors.24-7-solutions.net/pub/vim/unix/ \ ... etc .. - So we can put in /etc/make.conf: IGNORE_MASTER_SITE_VIM=yes MASTER_SITE_VIM=list_of_sites_that_work_best I regularly change this master sites based on geographical location. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On 6/15/09, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? From vim help: 2. Two ways of undo *undo-two-ways* How undo and redo commands work depends on the 'u' flag in 'cpoptions'. There is the Vim way ('u' excluded) and the vi-compatible way ('u' included). In the Vim way, uu undoes two changes. In the Vi-compatible way, uu does nothing (undoes an undo). 'u' excluded, the Vim way: You can go back in time with the undo command. You can then go forward again with the redo command. If you make a new change after the undo command, the redo will not be possible anymore. 'u' included, the Vi-compatible way: The undo command undoes the previous change, and also the previous undo command. The redo command repeats the previous undo command. It does NOT repeat a change command, use . for that. ExamplesVim way Vi-compatible way ~ uutwo times undo no-op u CTRL-R no-op two times undo Rationale: Nvi uses the . command instead of CTRL-R. Unfortunately, this is not Vi compatible. For example dwdwu. in Vi deletes two words, in Nvi it does nothing. Anyway this topic is offtopic. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Sun, 14 Jun 2009 19:46:45 -0700, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? Hi Gary, If you accidentally type 'u' in vim, you can redo it by ^R. There is also the set compatible option, but it isn't exactly compatible with the nvi behavior. In nvi, typing 'u' can undo the last operation. Then repeating the undo command with '.' keeps undoing changes until the buffer is reverted to its original state. In vim, with set compatible enabled, typing 'u' repeatedly toggles between the last two states of the buffer. In compatible mode I am not sure of how to undo multiple changes. In set nocompatible mode, typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple times redoes them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Sun, Jun 14, 2009 at 10:51:06PM -0600, Chad Perrin wrote: On Sun, Jun 14, 2009 at 09:18:42PM -0700, Michael K. Smith wrote: On 6/14/09 7:46 PM, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? If you undo something and it was a mistake, just use the period (.). It's probably better to get in the habit of using :redo than the period to undo an undo, since :redo (or :red for not-very-short) can advance through several levels of undos, but the period can only repeat one single thing over and over again. If you're six levels back in undos, and you want to undo all six levels, but you use the period once, I think that'd wipe out all those levels of undo so they aren't recoverable. Yeah, see, this is exactly my problem. UAually, i just hit 'u' once, check my code, continue. But then I think there may be cap-u ['U'] ... or maybe not. It's only happened three or four times, but that was enough to keep me away from vim! You say that :red can undo 'several' levels without having me dig thru the vim docs, does :reo take an arg, like maybe :redo 5 ? bleah. bill joy had the better idea back in the late 70's with the original vi [IMHO] :_) I haven't directly tested that recently, but that's how I recall it working back when I first learned about multiple undo/redo levels for Vim, lo these many moons ago when the world was young and dinosaurs roamed the Earth. man, i hear THAT! -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth H. L. Mencken: Democracy is the theory that the common people know what they want and deserve to get it good and hard. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Mon, Jun 15, 2009 at 09:24:57AM +0200, Paul B. Mahol wrote: On 6/15/09, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? From vim help: 2. Two ways of undo *undo-two-ways* How undo and redo commands work depends on the 'u' flag in 'cpoptions'. There is the Vim way ('u' excluded) and the vi-compatible way ('u' included). In the Vim way, uu undoes two changes. In the Vi-compatible way, uu does nothing (undoes an undo). 'u' excluded, the Vim way: You can go back in time with the undo command. You can then go forward again with the redo command. If you make a new change after the undo command, the redo will not be possible anymore. 'u' included, the Vi-compatible way: The undo command undoes the previous change, and also the previous undo command. The redo command repeats the previous undo command. It does NOT repeat a change command, use . for that. ExamplesVim way Vi-compatible way ~ uutwo times undo no-op u CTRL-R no-op two times undo Rationale: Nvi uses the . command instead of CTRL-R. Unfortunately, this is not Vi compatible. For example dwdwu. in Vi deletes two words, in Nvi it does nothing. strange, but i just tested dwdw in the nvi that keith bostic gave us. it deletes 2 words. and if you type '.', it repeats the dw by deleting each word. no sense in getting into any 'religious war' over vim vs nvi. it may be what you're used to. i've been using vi for over 30 years and am used to its ease ... and its quirks. gary Anyway this topic is offtopic. -- Paul -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: On Sun, 14 Jun 2009 19:46:45 -0700, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? Hi Gary, If you accidentally type 'u' in vim, you can redo it by ^R. There is also the set compatible option, but it isn't exactly compatible with the nvi behavior. In nvi, typing 'u' can undo the last operation. Then repeating the undo command with '.' keeps undoing changes until the buffer is reverted to its original state. Thank you, Giorgos. THIS is what I wanted to know:: In vim, with set compatible enabled, typing 'u' repeatedly toggles between the last two states of the buffer. In compatible mode I am not sure of how to undo multiple changes. In set nocompatible mode, typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple times redoes them. I've saved this to my vimHelp file. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Monday 15 June 2009 12:45:54 Gary Kline wrote: On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: In vim, with set compatible enabled, typing 'u' repeatedly toggles between the last two states of the buffer. In compatible mode I am not sure of how to undo multiple changes. In set nocompatible mode, typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple times redoes them. I've saved this to my vimHelp file. Really, when using new software it's not a bad thing to get familiar with it. This is covered in lesson 2.7 from the vim tutorial, accessible by typing vimtutor in a terminal near you. Running vim in compatible mode, you might as well run vi as it has roughly the same quirks. You won't get the Improved part, when you don't investigate what the software is capable of. The vimtutor is excellent for this and you may still decide that your fingers are too old to get used to the improved stuff, like I'm incapable of learning emacs. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Mon, Jun 15, 2009 at 01:14:44PM -0800, Mel Flynn wrote: On Monday 15 June 2009 12:45:54 Gary Kline wrote: On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: In vim, with set compatible enabled, typing 'u' repeatedly toggles between the last two states of the buffer. In compatible mode I am not sure of how to undo multiple changes. In set nocompatible mode, typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple times redoes them. I've saved this to my vimHelp file. Really, when using new software it's not a bad thing to get familiar with it. This is covered in lesson 2.7 from the vim tutorial, accessible by typing vimtutor in a terminal near you. Running vim in compatible mode, you might as well run vi as it has roughly the same quirks. You won't get the Improved part, when you don't investigate what the software is capable of. The vimtutor is excellent for this and you may still decide that your fingers are too old to get used to the improved stuff, like I'm incapable of learning emacs. i first used vim in the mid 90's -- guessing, but your point is well taken. gary PS: if gvim ever evolves into a word-processor, life will be *perfect* ;-) -- Mel -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On 6/15/09, Gary Kline kl...@thought.org wrote: On Mon, Jun 15, 2009 at 09:24:57AM +0200, Paul B. Mahol wrote: On 6/15/09, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? From vim help: 2. Two ways of undo *undo-two-ways* How undo and redo commands work depends on the 'u' flag in 'cpoptions'. There is the Vim way ('u' excluded) and the vi-compatible way ('u' included). In the Vim way, uu undoes two changes. In the Vi-compatible way, uu does nothing (undoes an undo). 'u' excluded, the Vim way: You can go back in time with the undo command. You can then go forward again with the redo command. If you make a new change after the undo command, the redo will not be possible anymore. 'u' included, the Vi-compatible way: The undo command undoes the previous change, and also the previous undo command. The redo command repeats the previous undo command. It does NOT repeat a change command, use . for that. ExamplesVim way Vi-compatible way ~ uutwo times undo no-op u CTRL-R no-op two times undo Rationale: Nvi uses the . command instead of CTRL-R. Unfortunately, this is not Vi compatible. For example dwdwu. in Vi deletes two words, in Nvi it does nothing. strange, but i just tested dwdw in the nvi that keith bostic gave us. it deletes 2 words. and if you type '.', it repeats the dw by deleting each word. no sense in getting into any 'religious war' over vim vs nvi. it may be what you're used to. i've been using vi for over 30 years and am used to its ease ... and its quirks. Nvi is not Vi, and Vim is not Nvi clone. gary Anyway this topic is offtopic. -- Paul -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Mon, 15 Jun 2009 14:22:48 -0700, Gary Kline kl...@thought.org wrote: PS: if gvim ever evolves into a word-processor, life will be *perfect* ;-) If you load a LaTeX file in gvim, it will get ahead of a word processor and evolve into a typesetting system. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Tue, Jun 16, 2009 at 12:01:17AM +0200, Polytropon wrote: On Mon, 15 Jun 2009 14:22:48 -0700, Gary Kline kl...@thought.org wrote: PS: if gvim ever evolves into a word-processor, life will be *perfect* ;-) If you load a LaTeX file in gvim, it will get ahead of a word processor and evolve into a typesetting system. :-) how about if i use times-roman at 18pt? the last time i tried to set up gvim with proportional fonts, bzzzt, poor results. gary ps: man, good thing i left in all the TeX stuff in my ascii-to-markup stuff. if you're interested in hanving an ascii or iso_8859-1 textfile be turned into LaTeX, the skeleton is there. if you have time, please have a look. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Mon, Jun 15, 2009 at 01:00:30PM -0700, Gary Kline wrote: Yeah, see, this is exactly my problem. UAually, i just hit 'u' once, check my code, continue. But then I think there may be cap-u ['U'] ... or maybe not. It's only happened three or four times, but that was enough to keep me away from vim! U executes a number of undos in one shot. I've never felt the need to use it, though, so I'm not very familiar with how it works. You say that :red can undo 'several' levels without having me dig thru the vim docs, does :reo take an arg, like maybe :redo 5 ? That won't work. Ctrl-R is a synonym for :redo, though, and if you precede Ctrl-R with a number, it'll undo that many changes. bleah. bill joy had the better idea back in the late 70's with the original vi [IMHO] :_) I feel like the original vi is insufficient for my needs, but that Vim's development doesn't exactly match my preferences. FreeBSD's nvi seems to have moved in exactly the right direction from the original vi, but not far enough for my needs. As a result, I'm pretty much stuck with Vim for now. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Yasir Arafat on religious wars: You're basically killing each other to see who's got the better imaginary friend. pgpOmWEpB5aK8.pgp Description: PGP signature
Re: vim question...
On Mon, Jun 15, 2009 at 11:41:34PM +0200, Paul B. Mahol wrote: Nvi is not Vi, and Vim is not Nvi clone. I thought that was self-evident. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Steve McConnell: Good code is its own best documentation. As you're about to add a comment, ask yourself, 'How can I improve the code so that this comment isn't needed?' pgphTqXa39Off.pgp Description: PGP signature
Re: vim question...
On Mon, Jun 15, 2009 at 05:44:04PM -0600, Chad Perrin wrote: On Mon, Jun 15, 2009 at 01:00:30PM -0700, Gary Kline wrote: I feel like the original vi is insufficient for my needs, but that Vim's development doesn't exactly match my preferences. FreeBSD's nvi seems to have moved in exactly the right direction from the original vi, but not far enough for my needs. As a result, I'm pretty much stuck with Vim for now. the one extension that nvi has--and the only feature added was :wn; joy's original didn't have this. as for vim, from what i can glean from the docs, it does everything but pay its own taxes. ---the important thing is that we don't get into a spitball-throwing contest over which editor is better! gary -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Yasir Arafat on religious wars: You're basically killing each other to see who's got the better imaginary friend. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
Hi, Gary On Sun, Jun 14, 2009 at 10:46 PM, Gary Klinekl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? thanks, gary I don't know what the keybindings for [u]ndo in Vim versus Vi/Nvi are, but there was a recent thread about Vi keybindings for .vimrc. Perhaps that'll provide some insight. Cheers. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Sun, Jun 14, 2009 at 11:00:59PM -0400, Glen Barber wrote: Hi, Gary On Sun, Jun 14, 2009 at 10:46 PM, Gary Klinekl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? thanks, gary I don't know what the keybindings for [u]ndo in Vim versus Vi/Nvi are, but there was a recent thread about Vi keybindings for .vimrc. Perhaps that'll provide some insight. Cheers. -- Glen Barber hi glenn, yeah, i read the recent posts about the key binding and vim; that's what brought my question to the fore. i did read on the evolution list that a gvim plugin may happen. the main reason i use mutt is that my fingers know vi. unfortunately, there're too many things in email now that require a gui reader. be nice to be able to read in evo and if i had to reply, use gvim. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Sun, Jun 14, 2009 at 11:18 PM, Gary Klinekl...@thought.org wrote: hi glenn, One 'n'. :) yeah, i read the recent posts about the key binding and vim; that's what brought my question to the fore. i did read on the evolution list that a gvim plugin may happen. the main reason i use mutt is that my fingers know vi. unfortunately, there're too I use mutt because it sucks less, quoting the author. many things in email now that require a gui reader. be nice to be able to read in evo and if i had to reply, use gvim. Hmm Well, for what it's worth, I didn't even know *vi* had an 'undo' option. I thought that was what 'q!' was for. :) I'm as interested as you are now. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Sun, Jun 14, 2009 at 11:24:29PM -0400, Glen Barber wrote: On Sun, Jun 14, 2009 at 11:18 PM, Gary Klinekl...@thought.org wrote: hi glenn, One 'n'. :) gotcha! and see, this is a case of my occasionally typing 1 key. in vim, typing 'uu' can cause a truckload of code or whatever to vanish. ... [ ... ] use mutt is that my fingers know vi. unfortunately, there're too I use mutt because it sucks less, quoting the author. be nice if there were a quasi-gui version of mutt many things in email now that require a gui reader. be nice to be able to read in evo and if i had to reply, use gvim. Hmm Well, for what it's worth, I didn't even know *vi* had an 'undo' option. I thought that was what 'q!' was for. :) that's almost funny; i have had to use q! all to often if i forget and use vim. it does indeed have some nice features. but if you have to reply using a gui mailer and your typing isn't flawlwss, it's keyboard - mouse. I'm as interested as you are now. -- Glen Barber -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On 6/14/09 7:46 PM, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? thanks, gary If you undo something and it was a mistake, just use the period (.). Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim question...
On Sun, Jun 14, 2009 at 09:18:42PM -0700, Michael K. Smith wrote: On 6/14/09 7:46 PM, Gary Kline kl...@thought.org wrote: the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? If you undo something and it was a mistake, just use the period (.). It's probably better to get in the habit of using :redo than the period to undo an undo, since :redo (or :red for not-very-short) can advance through several levels of undos, but the period can only repeat one single thing over and over again. If you're six levels back in undos, and you want to undo all six levels, but you use the period once, I think that'd wipe out all those levels of undo so they aren't recoverable. I haven't directly tested that recently, but that's how I recall it working back when I first learned about multiple undo/redo levels for Vim, lo these many moons ago when the world was young and dinosaurs roamed the Earth. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth H. L. Mencken: Democracy is the theory that the common people know what they want and deserve to get it good and hard. pgpUEQPgDuua5.pgp Description: PGP signature
Re: vim question...
On Sun, Jun 14, 2009 at 11:51 PM, Gary Klinekl...@thought.org wrote: On Sun, Jun 14, 2009 at 11:24:29PM -0400, Glen Barber wrote: On Sun, Jun 14, 2009 at 11:18 PM, Gary Klinekl...@thought.org wrote: hi glenn, One 'n'. :) gotcha! and see, this is a case of my occasionally typing 1 key. in vim, typing 'uu' can cause a truckload of code or whatever to vanish. ... Agreed. :) [ ... ] use mutt is that my fingers know vi. unfortunately, there're too I use mutt because it sucks less, quoting the author. be nice if there were a quasi-gui version of mutt Interesting idea many things in email now that require a gui reader. be nice to be able to read in evo and if i had to reply, use gvim. Hmm Well, for what it's worth, I didn't even know *vi* had an 'undo' option. I thought that was what 'q!' was for. :) that's almost funny; i have had to use q! all to often if i forget and use vim. it does indeed have some nice features. but if you have to reply using a gui mailer and your typing isn't flawlwss, it's keyboard - mouse. I've found that 'q!' is now muscle-memory to me. When I'm actually in front of a GUI, the Gmail/Firefox spellcheck tends to find most of my typographical mistakes, though unfortunately, not my logic mistakes. :) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vim port problem
In message: 1bd550a00904190201q38e947eeq3b152a0a75782...@mail.gmail.com Fernando Apesteguía fernando.apesteg...@gmail.com writes: 2009/4/19 Glen Barber glen.j.bar...@gmail.com: 2009/4/19 Fernando Apesteguía fernando.apesteg...@gmail.com: Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. An upgrade of the base system Should Not(Tm) affect installed ports under normal conditions. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) I am unfamiliar with automated port utilities. What happens if you do the following?: cd /usr/ports/editors/vim; make deinstall distclean; make install clean It fetches all the files from the remote site without problems and it installs it. However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Don't confuse ports and packages. They are two different ways to install third-party software (until they are installed -- then everything is a package). Sorry, change package for port. What I wanted to say is: when installing the port, it couldn't download one of the needed files (vim-7.2.tar.bz2). After I did it by hand, it could install the port (compiling and all the stuff) because portupgrade found the file already downloaded in /usr/ports/distfiles/vim. http://www.mail-archive.com/freebsd-users...@jp.freebsd.org/msg03072.html According to the link, the ports system fetch the file with -r (resume) option when the previous file transfer had interrupted. However the file entity is changed with the same file name in that period causes the fetch program failed, so you needed the cleaning out of the file or fetch by hand before upgrade, I guess. I hope the ports system can handle this situation. SAITOU Toshihide ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vim port problem
2009/4/19 Fernando Apesteguía fernando.apesteg...@gmail.com: Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. An upgrade of the base system Should Not(Tm) affect installed ports under normal conditions. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) I am unfamiliar with automated port utilities. What happens if you do the following?: cd /usr/ports/editors/vim; make deinstall distclean; make install clean However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Don't confuse ports and packages. They are two different ways to install third-party software (until they are installed -- then everything is a package). Any ideas on this problem? Thanks in advance. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vim port problem
2009/4/19 Glen Barber glen.j.bar...@gmail.com: 2009/4/19 Fernando Apesteguía fernando.apesteg...@gmail.com: Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. An upgrade of the base system Should Not(Tm) affect installed ports under normal conditions. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) I am unfamiliar with automated port utilities. What happens if you do the following?: cd /usr/ports/editors/vim; make deinstall distclean; make install clean It fetches all the files from the remote site without problems and it installs it. However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Don't confuse ports and packages. They are two different ways to install third-party software (until they are installed -- then everything is a package). Sorry, change package for port. What I wanted to say is: when installing the port, it couldn't download one of the needed files (vim-7.2.tar.bz2). After I did it by hand, it could install the port (compiling and all the stuff) because portupgrade found the file already downloaded in /usr/ports/distfiles/vim. Any ideas on this problem? Thanks in advance. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vim insert mode requires 'i' three times
On Friday 14 March 2008 05:22:48 Troy wrote: I'm not sure if anyone has seen this but it started a few months ago. When I startup vim I have to hit 'i' three times to get it to go into insert mode. I started troubleshooting my .vimrc file and figured out that as long as I have a .vimrc file, even if it's completely blank it exhibits this behavior. I notice that there is a 'c' letter in the buffer upon startup but again there is nothing that is in the .vimrc file that is causing this to load. If I delete the .vimrc file and start the program, I can hit 'i' once and it will go into insert mode like it's supposed to. I have had this problem on 6.3 and just upgraded to 7.0 and it still is there. This is happening on two different FreeBSD machines. One machine is running: vim+ruby-7.1.242_5 vim-lite-7.1.242 Anyone have any idea why this is happening? Never seen this, but the only thing consistent throughout installations is the .viminfo file, so maybe delete that? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim insert mode requires 'i' three times
On 2008-03-13 23:22, Troy [EMAIL PROTECTED] wrote: I'm not sure if anyone has seen this but it started a few months ago. When I startup vim I have to hit 'i' three times to get it to go into insert mode. I started troubleshooting my .vimrc file and figured out that as long as I have a .vimrc file, even if it's completely blank it exhibits this behavior. I notice that there is a 'c' letter in the buffer upon startup but again there is nothing that is in the .vimrc file that is causing this to load. It sounds like you are using the wrong terminal type. Is this a console-based session of VIM? Is it under X11? What is your TERM value? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
On Fri, Nov 02, 2007 at 06:09:15PM -0700, Philip Hallstrom wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? I don't know how to do that, but it is one Lunix (bash?) feature that I hate and would like to know how to change it to function the way it does under FreeBSD (tcsh). I hate it when it restores my screen and to prevent that in linux I added this to my .vimrc: set t_ti = set t_te = So read about whatever those options mean and set them accordingly... There's a bit about restoring the screen and setting these variables in vim help. :help rs -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
On Fri, Nov 02, 2007 at 04:00:05PM -0700, Pete Slagle wrote: Yuri wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? Thanks, Yuri This behavior is controlled by xterm settings. I didn't notice that he mentioned xterm (if he's not using xterm, it's harder to fix ;-) Try holding the control key and middle-clicking with the mouse on an xterm window. You should see an Enable Alternate Screen Switching option. See 'man 1 xterm' or http://www.x.org/archive/X11R6.8.0/doc/xterm.1.html http://invisible-island.net/xterm/xterm.faq.html#xterm_tite http://invisible-island.net/xterm/manpage/xterm.html -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpRWaizlHUvA.pgp Description: PGP signature
Re: vim doesn't preserve the terminal content
On Fri, Nov 02, 2007 at 02:29:47PM -0700, Yuri wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? I don't know how to do that, but it is one Lunix (bash?) feature that I hate and would like to know how to change it to function the way it does under FreeBSD (tcsh). jerry Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
On Friday 02 November 2007, Jerry McAllister wrote: On Fri, Nov 02, 2007 at 02:29:47PM -0700, Yuri wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? The easiest way is to use a terminal with standard support for alternate screens, like rxvt. I don't know how to do that, but it is one Lunix (bash?) feature that I hate and would like to know how to change it to function the way it does under FreeBSD (tcsh). This has to do with the terminal capability strings ti and te. Xterm and the FeeBSD console don't have them defined in /etc/termcap (or they are empty). I don't know if syscons even supports alternate screens. Here is some (linux specific) info about it: http://www.shallowsky.com/linux/noaltscreen.html Hope this helps, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
Jerry McAllister wrote: On Fri, Nov 02, 2007 at 02:29:47PM -0700, Yuri wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? I don't know how to do that, but it is one Lunix (bash?) feature that I hate and would like to know how to change it to function the way it does under FreeBSD (tcsh). jerry Thanks, Yuri I believe the save/restore functionality is specified via /etc/termcap; there was a thread about it a few months ago - see http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075665.html for more information. -- Bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
Yuri wrote: I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? Thanks, Yuri This behavior is controlled by xterm settings. Try holding the control key and middle-clicking with the mouse on an xterm window. You should see an Enable Alternate Screen Switching option. See 'man 1 xterm' or http://www.x.org/archive/X11R6.8.0/doc/xterm.1.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim doesn't preserve the terminal content
I use vim both on Linux and FreeBSD. On Linux after I exit vim original screen content is restored. On FreeBSD vim leaves the last content viewed in vim. How do I make vim preserve the screen? I don't know how to do that, but it is one Lunix (bash?) feature that I hate and would like to know how to change it to function the way it does under FreeBSD (tcsh). I hate it when it restores my screen and to prevent that in linux I added this to my .vimrc: set t_ti = set t_te = So read about whatever those options mean and set them accordingly... -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim port not upgrading
Michael P. Soulier wrote: I tried to upgrade vim, and I get a lot of these. === Cleaning for vim-7.0.214 = 7.0.189 doesn't seem to exist in /usr/ports/distfiles/vim. = Attempting to fetch from ftp://ftp.vim.org/pub/vim/patches/7.0/. 7.0.189 100% of 2290 B 1487 kBps = 7.0.190 doesn't seem to exist in /usr/ports/distfiles/vim. = Attempting to fetch from ftp://ftp.vim.org/pub/vim/patches/7.0/. 7.0.190 100% of 1778 B 129 kBps = 7.0.191 doesn't seem to exist in /usr/ports/distfiles/vim. = Attempting to fetch from ftp://ftp.vim.org/pub/vim/patches/7.0/. 7.0.191 100% of 10 kB 31 kBps = 7.0.192 doesn't seem to exist in /usr/ports/distfiles/vim. = Attempting to fetch from ftp://ftp.vim.org/pub/vim/patches/7.0/. The number on the left just keeps going up and it just keeps spinning it wheels. Well the current portversion is patchlevel 214 and the latest vim source tarball is 7.0 so it needs to download all the patches. have you let it download as far as 7.0.214 ? If not then let it do its thing. Vince Any suggestions? Thanks, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim port not upgrading
On Tuesday 27 March 2007 09:40:09 Michael P. Soulier wrote: I tried to upgrade vim, and I get a lot of these. ... The number on the left just keeps going up and it just keeps spinning it wheels. Any suggestions? As you have most likely noticed by now, it stopped at 7.0.214, which is the minor version of vim. Actually it's a patch version. vim applies a series of patches to the original source instead of constantly releasing a large file including all the source. It makes patching fairly easy and saves some bandwidth for them. Just let it run... it will get them all and your build will complete. -Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim port not upgrading
On 27/03/07 Kevin Brunelle said: As you have most likely noticed by now, it stopped at 7.0.214, which is the minor version of vim. Actually it's a patch version. vim applies a series of patches to the original source instead of constantly releasing a large file including all the source. It makes patching fairly easy and saves some bandwidth for them. Just let it run... it will get them all and your build will complete. Indeed it did. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpoGbhXfjfoX.pgp Description: PGP signature
Re: VIM
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-[EMAIL PROTECTED] On Behalf Of unixadmin99 Sent: Wednesday, December 22, 2004 6:38 PM To: freebsd-questions@freebsd.org Cc: Leon Subject: Re: VIM On Wed, 22 Dec 2004 19:35:58 -0500 (EST), Jerry McAllister [EMAIL PROTECTED] wrote: Hi, I have installed a VIM editor. When I create a new file with this editor, I can't type anything. What is wrong. /usr/ports/editors/vilearn is what you need. Vilearn is an interactive vi tutorial. There are five short tutorials, each a text file intended to be edited with vi. -- ~michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi Jerry, VIM uses the pretty much the same commands as VI. To be able to type anything in you are going to need to type i (as in insert). Use the you seem to be following the thread wrong. I wrote the reply re a HowTo, not the question. Though, the tutorial may be a good addition. jerry escape key to exit the insert mode which you will need to do if you are going to use any of the following commands; dd to delete lines, x to delete a single character, w to write the file, and q to quit (if you want to quit without saving changes you will need to type ! after the q command). Those are the most common commands that I use, but there are much more. The tutorial Michael mentioned will teach you everything else you need to know. Another nice package to use if you want all the advantages of VIM in a graphical interface is GVIM. This site (http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build /tutorials/gvim/gvim.html) will give you a good introduction to the gvim editor. Hope that helps. Thad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIM
you need to get into insert mode first - press 'i' the basic functions of vim are the same as 'vi' so you might want to get a starter guid for that.. -- Martin On Tue, 21 Dec 2004 13:56:18 -0500, Leon [EMAIL PROTECTED] wrote: Hi, I have installed a VIM editor. When I create a new file with this editor, I can't type anything. What is wrong. Thanks, Leon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIM
On Tue, 21 Dec 2004 13:56:18 -0500, Leon [EMAIL PROTECTED] wrote: Hi, I have installed a VIM editor. When I create a new file with this editor, I can't type anything. What is wrong. Probably nothing. If you are, indeed, new to the vi editor, then you have a steep learning curve ahead of you, and you'll want to do some reading and use one of the many vi tutorials online to get your head around how this editor works, because it is absolutely not intuitive. Some good starting points are: 'man vi(1)' http://www.unb.ca/documentation/UNIX/tips/vim/ http://www.apmaths.uwo.ca/~xli/vim/vim_tutorial.html http://www.lecb.ncifcrf.gov/~toms/vi.html -- Joshua Lokken Open Source Advocate ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIM
Hi, I have installed a VIM editor. When I create a new file with this editor, I can't type anything. What is wrong. I have not used VIM - installed it once, but never really used it. But, it is basically like vi to use, I think. I have a very basic vi HowTo that I wrote up for our sites. It might help you get started. It is at: http://scnc.k12.mi.us/howto/edit/vi.html jerry Thanks, Leon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VIM
On Wednesday 22 December 2004 05:40 pm, Joshua Tinnin wrote: On Wed, Dec 22, 2004 at 07:35:58PM -0500, Jerry McAllister wrote: Hi, I have installed a VIM editor. When I create a new file with this editor, I can't type anything. What is wrong. I have not used VIM - installed it once, but never really used it. But, it is basically like vi to use, I think. I have a very basic vi HowTo that I wrote up for our sites. It might help you get started. It is at: http://scnc.k12.mi.us/howto/edit/vi.html I personally love vim. You can also try emacs, but you might as well get used to vi if you're going to run any *nix - vim is basically vi extended, although it will operate exactly like vi for the purists if you configure it to do that. It's not intuitive, but once you get used to it it's very efficient. I use it for all sorts of editing, including composing email in Mutt. Joshua Lokken posted some good vim tutorials, and there's another one here: http://www.linuxgazette.com/node/9039 Here's another vi tutorial: http://www.onlamp.com/pub/a/bsd/2001/10/25/FreeBSD_Basics.html And, of course, there's always /usr/local/bin/vimtutor which is vim's 'canonical' tutorial. Any vi tutorial will teach you the basics of what you need to know about vim, but vim is *so much more*, once you get the vi basics under your fingers. - jt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
On 2004-12-16 15:47, Pablo Allietti [EMAIL PROTECTED] wrote: On Thu, Dec 16, 2004 at 12:38:04PM -0500, Dan Kilbourne wrote: Try: cd /usr/ports/ make search name=vim | grep -A1 Port i recently install vim 63 but i need vim enhanced if exist :) That depends on what enhancement is. What are the extra features of vim-enhanced in Fedora? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
On 2004-12-16 20:10, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2004-12-16 15:47, Pablo Allietti [EMAIL PROTECTED] wrote: On Thu, Dec 16, 2004 at 12:38:04PM -0500, Dan Kilbourne wrote: Try: cd /usr/ports/ make search name=vim | grep -A1 Port i recently install vim 63 but i need vim enhanced if exist :) That depends on what enhancement is. What are the extra features of vim-enhanced in Fedora? Nevermind, I found it... The enhancements of vim-enhanced in Fedora are support for Perl, Python scripting and the fancy graphical vim GUI (gvim). You can enable any or all of these in FreeBSD by building the port with one or more of the following options: For scripting: == WITH_PERL Support for scripting vim in Perl is included. WITH_PYTHON Support for scripting vim in Python. WITH_RUBY Support for scripting vim in Ruby. WITH_TCLSupport for scripting vim in TCL. For a graphical UI: === WITH_ATHENA Use the MIT/Athena widgets for gvim. WITH_GTK2 Use plain GTK 2.x widgets for gvim. WITH_GNOME Use the full-blown Gnome support for gvim. WITH_MOTIF Use the Motif X11 widgets. Scripting support for multiple languages may be included without problems IIRC. The GUI options are mutually exclusive though. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
Pablo Allietti extolled: On Thu, Dec 16, 2004 at 08:19:54PM +0200, Giorgos Keramidas wrote: yep i compiled with this functions but for example i edited a document with vim-enhanced and save it, at the next time i open it the cursos appears in the line when i was saved. and i can move with the cursors in edit mode. when i press the cursors in edit mode appears letters like D A etc etc I believe installing vim6 and invoking it (vim, not vi) will do what you are looking for. -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
On Thu, Dec 16, 2004 at 07:53:47PM +0100, Lars Kristiansen wrote: On Thu, Dec 16, 2004 at 08:19:54PM +0200, Giorgos Keramidas wrote: yep i compiled with this functions but for example i edited a document with vim-enhanced and save it, at the next time i open it the cursos appears in the line when i was saved. and i can move with the cursors in edit mode. when i press the cursors in edit mode appears letters like D A etc etc thank you so much this is the solution!!! solve all of my problems. thanks look for something like these: /usr/local/share/vim/vim63/gvimrc_example.vim /usr/local/share/vim/vim63/vimrc_example.vim copy those to ~/.vimrc ~/.gvimrc and edit them to your liking. -- Hilsen Lars Tjenesten mail.adventuras.no ble levert av Adventuras Web Agency http://www.adventuras.no/ ---end quoted text--- -- Pablo Allietti LACNIC -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
On Thu, Dec 16, 2004 at 01:52:26PM -0500, Dan Kilbourne wrote: Pablo Allietti extolled: no. i was try this before write to the list jeje. On Thu, Dec 16, 2004 at 08:19:54PM +0200, Giorgos Keramidas wrote: yep i compiled with this functions but for example i edited a document with vim-enhanced and save it, at the next time i open it the cursos appears in the line when i was saved. and i can move with the cursors in edit mode. when i press the cursors in edit mode appears letters like D A etc etc I believe installing vim6 and invoking it (vim, not vi) will do what you are looking for. -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ---end quoted text--- -- Pablo Allietti LACNIC -- pgps5RHfzgt1C.pgp Description: PGP signature
Re: vim-enhanced
On Thu, Dec 16, 2004 at 12:38:04PM -0500, Dan Kilbourne wrote: Try: cd /usr/ports/ make search name=vim | grep -A1 Port i recently install vim 63 but i need vim enhanced if exist :) Pablo Allietti extolled: exist the package vim-enhanced for freebsd ??? like fedora? -- Pablo Allietti LACNIC -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ---end quoted text--- -- Pablo Allietti LACNIC -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
Try: cd /usr/ports/ make search name=vim | grep -A1 Port Pablo Allietti extolled: exist the package vim-enhanced for freebsd ??? like fedora? -- Pablo Allietti LACNIC -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
On Thu, Dec 16, 2004 at 08:19:54PM +0200, Giorgos Keramidas wrote: yep i compiled with this functions but for example i edited a document with vim-enhanced and save it, at the next time i open it the cursos appears in the line when i was saved. and i can move with the cursors in edit mode. when i press the cursors in edit mode appears letters like D A etc etc On 2004-12-16 20:10, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2004-12-16 15:47, Pablo Allietti [EMAIL PROTECTED] wrote: On Thu, Dec 16, 2004 at 12:38:04PM -0500, Dan Kilbourne wrote: Try: cd /usr/ports/ make search name=vim | grep -A1 Port i recently install vim 63 but i need vim enhanced if exist :) That depends on what enhancement is. What are the extra features of vim-enhanced in Fedora? Nevermind, I found it... The enhancements of vim-enhanced in Fedora are support for Perl, Python scripting and the fancy graphical vim GUI (gvim). You can enable any or all of these in FreeBSD by building the port with one or more of the following options: For scripting: == WITH_PERL Support for scripting vim in Perl is included. WITH_PYTHON Support for scripting vim in Python. WITH_RUBY Support for scripting vim in Ruby. WITH_TCLSupport for scripting vim in TCL. For a graphical UI: === WITH_ATHENA Use the MIT/Athena widgets for gvim. WITH_GTK2 Use plain GTK 2.x widgets for gvim. WITH_GNOME Use the full-blown Gnome support for gvim. WITH_MOTIF Use the Motif X11 widgets. Scripting support for multiple languages may be included without problems IIRC. The GUI options are mutually exclusive though. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ---end quoted text--- -- Pablo Allietti LACNIC -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim-enhanced
On Thu, Dec 16, 2004 at 08:19:54PM +0200, Giorgos Keramidas wrote: yep i compiled with this functions but for example i edited a document with vim-enhanced and save it, at the next time i open it the cursos appears in the line when i was saved. and i can move with the cursors in edit mode. when i press the cursors in edit mode appears letters like D A etc etc look for something like these: /usr/local/share/vim/vim63/gvimrc_example.vim /usr/local/share/vim/vim63/vimrc_example.vim copy those to ~/.vimrc ~/.gvimrc and edit them to your liking. -- Hilsen Lars Tjenesten mail.adventuras.no ble levert av Adventuras Web Agency http://www.adventuras.no/ Tjenesten mail.adventuras.no ble levert av Adventuras Web Agency http://www.adventuras.no/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim on SMB share
Giorgos Keramidas wrote: On 2004-09-10 09:22, Daren Russell [EMAIL PROTECTED] wrote: Thanks for the ideas. The server side is Win2k (so not much I can do there!), the BSD is using version 3 of the Samba client, so I'll try downgrading it to version 2 and see how I go. I guess it must also be to do with the way Vim edits files, as the basic FBSD editor (ee) seems to manage. Vim tries to create a file called .FILENAME.swp when you edit FILENAME. The leading dot is probably what breaks the way vim works on Samba shares. You can always try to make vim write its swap files in another location, i.e. in `/var/tmp' with this in your .vimrc: set dir=/var/tmp or you can disable swapfiles altogether with set noswapfile You can even play nice tricks like selectively disabling the swapfile only for files that live in the well-known path of your Samba shares with something similar to this in your .vimrc: if !exists(samba_swapfile_hack) let samba_swapfile_hack = 1 autocmd BufNewFile,BufRead /share/win2k/* set noswapfile endif Unless, of course, my guess is wrong and all this is nonsense :-) Giorgos I tried it on another FBsd box we have running 4.10 (the first box was running 5.something) and it worked fine. Comparing them it appears to have been something to do with group permissions, although the user had full rwx access, they weren't in the group that the share was mounted with. The 4.10 box had the directory the share was mounted on set to the users user/group by default. I'm guessing SMBFS is a bit paranoid about user/group security (probably a good thing though!) Daren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim on SMB share
Charles Ulrich wrote: Daren Russell said: Hi, I know this is slightly OT, but it is still using FBSD! I have a SMB share mounted, and can generally write to it. I can copy files to it, delete them, use 'ee' to edit and save them. However, when using Vim, I can load and edit without warning, but if I try to save it I get E212: Can't open file for writing I can however create a new file on the share using Vim without problems, try to edit it and get the same problem. Whilst using Gentoo Linux, I did not have an issue with this (but that box has destroyed itself, hence the move to a FBSD box) Is this a known thing with Vim/SMB/FBSD? Any ideas on something stupid I have overlooked? Thanks Daren Hi, I recall running into this and other problems when I was using Samba 3.x on a 4.10 FreeBSD server and smbfs on a 5.2.1 FreeBSD client. In frustration, I updated the server to 5.2.1 and downgraded Samba to 2.x and haven't had problems since. I'd have a hard time believing that going to 5.2.1 on the server side fixed the problem. Rather, I suspect that FreeBSD's smbfs has had little attention lately and doesn't like the changes that have been made to Samba since 2.x. Alternatively, some of the recent patches to 5.2.1 may have had some positive effect on the client's smbfs. Wish I could be more specific on all of this. Charles Ulrich Thanks for the ideas. The server side is Win2k (so not much I can do there!), the BSD is using version 3 of the Samba client, so I'll try downgrading it to version 2 and see how I go. I guess it must also be to do with the way Vim edits files, as the basic FBSD editor (ee) seems to manage. Regards Daren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim on SMB share
On 2004-09-10 09:22, Daren Russell [EMAIL PROTECTED] wrote: Thanks for the ideas. The server side is Win2k (so not much I can do there!), the BSD is using version 3 of the Samba client, so I'll try downgrading it to version 2 and see how I go. I guess it must also be to do with the way Vim edits files, as the basic FBSD editor (ee) seems to manage. Vim tries to create a file called .FILENAME.swp when you edit FILENAME. The leading dot is probably what breaks the way vim works on Samba shares. You can always try to make vim write its swap files in another location, i.e. in `/var/tmp' with this in your .vimrc: set dir=/var/tmp or you can disable swapfiles altogether with set noswapfile You can even play nice tricks like selectively disabling the swapfile only for files that live in the well-known path of your Samba shares with something similar to this in your .vimrc: if !exists(samba_swapfile_hack) let samba_swapfile_hack = 1 autocmd BufNewFile,BufRead /share/win2k/* set noswapfile endif Unless, of course, my guess is wrong and all this is nonsense :-) Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim on SMB share
Daren Russell said: Hi, I know this is slightly OT, but it is still using FBSD! I have a SMB share mounted, and can generally write to it. I can copy files to it, delete them, use 'ee' to edit and save them. However, when using Vim, I can load and edit without warning, but if I try to save it I get E212: Can't open file for writing I can however create a new file on the share using Vim without problems, try to edit it and get the same problem. Whilst using Gentoo Linux, I did not have an issue with this (but that box has destroyed itself, hence the move to a FBSD box) Is this a known thing with Vim/SMB/FBSD? Any ideas on something stupid I have overlooked? Thanks Daren Hi, I recall running into this and other problems when I was using Samba 3.x on a 4.10 FreeBSD server and smbfs on a 5.2.1 FreeBSD client. In frustration, I updated the server to 5.2.1 and downgraded Samba to 2.x and haven't had problems since. I'd have a hard time believing that going to 5.2.1 on the server side fixed the problem. Rather, I suspect that FreeBSD's smbfs has had little attention lately and doesn't like the changes that have been made to Samba since 2.x. Alternatively, some of the recent patches to 5.2.1 may have had some positive effect on the client's smbfs. Wish I could be more specific on all of this. Charles Ulrich -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim 6.3 pthread errors?
On Sun, Aug 08, 2004 at 12:58:34PM +0200, Andreas Ntaflos wrote: objects/os_unix.o: In function `get_stack_limit': objects/os_unix.o(.text+0x3d2): undefined reference to `pthread_attr_init' objects/os_unix.o(.text+0x3e6): undefined reference to `pthread_attr_get_np' objects/os_unix.o(.text+0x3fc): undefined reference to `pthread_attr_getstacksize' objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy' *** Error code 1 Yes, same error here on several 5.2.1p9-machines. The build works fine without GTK2. cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim 6.3 pthread errors?
Uwe Laverenz [EMAIL PROTECTED] wrote: On Sun, Aug 08, 2004 at 12:58:34PM +0200, Andreas Ntaflos wrote: objects/os_unix.o: In function `get_stack_limit': objects/os_unix.o(.text+0x3d2): undefined reference to `pthread_attr_init' objects/os_unix.o(.text+0x3e6): undefined reference to `pthread_attr_get_np' objects/os_unix.o(.text+0x3fc): undefined reference to `pthread_attr_getstacksize' objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy' *** Error code 1 Yes, same error here on several 5.2.1p9-machines. The build works fine without GTK2. cu, Uwe The build works fine here if I run: portinstall -m 'WITH_GTK2=yes WITH_PYTHON=yes' vim This adds the missing -pthread. - Herbert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim 6.3 pthread errors?
On Sun, Aug 08, 2004 at 03:21:23PM +0200, Herbert J. Skuhra wrote: Uwe Laverenz [EMAIL PROTECTED] wrote: On Sun, Aug 08, 2004 at 12:58:34PM +0200, Andreas Ntaflos wrote: objects/os_unix.o: In function `get_stack_limit': objects/os_unix.o(.text+0x3d2): undefined reference to `pthread_attr_init' objects/os_unix.o(.text+0x3e6): undefined reference to `pthread_attr_get_np' objects/os_unix.o(.text+0x3fc): undefined reference to `pthread_attr_getstacksize' objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy' *** Error code 1 Yes, same error here on several 5.2.1p9-machines. The build works fine without GTK2. It does indeed, but I don't like gvim+GTK1 very much (looks ugly if you ask me). The build works fine here if I run: portinstall -m 'WITH_GTK2=yes WITH_PYTHON=yes' vim This adds the missing -pthread. Great, WITH_PYTHON did the trick, now it built fine and uses GTK2. Very nice, thanks! -- Andreas daff Ntaflos | A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing. Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim make install error
first portupgrade, then make deinstall/make reinstall, and at last - make install :-) petre On Mon, 3 May 2004 09:14:26 -0500 Anno Domini, the honourable Bryan Cassidy wrote using one of his keyboards: What is the command you use to install/upgrade vim? On Mon, May 03, 2004 at 03:58:57PM +0300, Petre Bandac wrote: after a cvsup today - when portupgrading rm -rf *.out *.rej *.orig test.log tiny.vim small.vim mbyte.vim test.ok X* rm -f *.o objects/* core vim.core vim xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c rm -f conftest* *~ auto/link.sed if test -d po; then cd po; make prefix= clean; fi make: don't know how to make clean. Stop *** Error code 2 Stop in /usr/ports/editors/vim/work/vim62/src. *** Error code 1 Stop in /usr/ports/editors/vim. please cc to me, as this address is not subscribed thanks, petre -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 6:57 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:06, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- You will be Told about it Tomorrow. Go Home and Prepare Thyself. -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 7:04 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:13, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim make install error
if you are upgrading a port which in this case is vim, you need to run 'portupgrade -f vim' because sence you ran 'cvsup' to update your ports you have a newer version of vim on the ports tree than you do on your system. On Mon, May 03, 2004 at 04:13:50PM +0300, Petre Bandac wrote: first portupgrade, then make deinstall/make reinstall, and at last - make install :-) petre On Mon, 3 May 2004 09:14:26 -0500 Anno Domini, the honourable Bryan Cassidy wrote using one of his keyboards: What is the command you use to install/upgrade vim? On Mon, May 03, 2004 at 03:58:57PM +0300, Petre Bandac wrote: after a cvsup today - when portupgrading rm -rf *.out *.rej *.orig test.log tiny.vim small.vim mbyte.vim test.ok X* rm -f *.o objects/* core vim.core vim xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c rm -f conftest* *~ auto/link.sed if test -d po; then cd po; make prefix= clean; fi make: don't know how to make clean. Stop *** Error code 2 Stop in /usr/ports/editors/vim/work/vim62/src. *** Error code 1 Stop in /usr/ports/editors/vim. please cc to me, as this address is not subscribed thanks, petre -- Login: petre Name: Petre Bandac Directory: /home/petreShell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 6:57 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:06, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- You will be Told about it Tomorrow. Go Home and Prepare Thyself. -- Login: petre Name: Petre Bandac Directory: /home/petreShell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 7:04 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:13, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ogden's Law: The sooner you fall behind, the more time you have to catch up. pgp0.pgp Description: PGP signature
Re: vim make install error
now I can't install it at all what is the remedy ? thanks, petre On Mon, 3 May 2004 09:33:28 -0500 Anno Domini, the honourable Bryan Cassidy wrote using one of his keyboards: if you are upgrading a port which in this case is vim, you need to run 'portupgrade -f vim' because sence you ran 'cvsup' to update your ports you have a newer version of vim on the ports tree than you do on your system. On Mon, May 03, 2004 at 04:13:50PM +0300, Petre Bandac wrote: first portupgrade, then make deinstall/make reinstall, and at last - make install :-) petre On Mon, 3 May 2004 09:14:26 -0500 Anno Domini, the honourable Bryan Cassidy wrote using one of his keyboards: What is the command you use to install/upgrade vim? On Mon, May 03, 2004 at 03:58:57PM +0300, Petre Bandac wrote: after a cvsup today - when portupgrading rm -rf *.out *.rej *.orig test.log tiny.vim small.vim mbyte.vim test.ok X* rm -f *.o objects/* core vim.core vim xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c rm -f conftest* *~ auto/link.sed if test -d po; then cd po; make prefix= clean; fi make: don't know how to make clean. Stop *** Error code 2 Stop in /usr/ports/editors/vim/work/vim62/src. *** Error code 1 Stop in /usr/ports/editors/vim. please cc to me, as this address is not subscribed thanks, petre -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 6:57 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:06, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- You will be Told about it Tomorrow. Go Home and Prepare Thyself. -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 7:04 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:13, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ogden's Law: The sooner you fall behind, the more time you have to catch up. -- Login: petreName: Petre Bandac Directory: /home/petre Shell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 7:23 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:32, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim make install error
On Mon, 2004-05-03 at 12:58, Petre Bandac wrote: after a cvsup today - when portupgrading rm -rf *.out *.rej *.orig test.log tiny.vim small.vim mbyte.vim test.ok X* rm -f *.o objects/* core vim.core vim xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c rm -f conftest* *~ auto/link.sed if test -d po; then cd po; make prefix= clean; fi make: don't know how to make clean. Stop *** Error code 2 Stop in /usr/ports/editors/vim/work/vim62/src. *** Error code 1 Stop in /usr/ports/editors/vim. please cc to me, as this address is not subscribed I've got the exact same problem. Just # cd /usr/ports/editors/vim6+ruby # make will result in the described behaviour. There seems to be no makefile in /usr/ports/editors/vim/work/vim62/src/po hence, no target clean. Anybody ideas? Regards Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim make install error
On Mon, 3 May 2004 15:58:57 +0300 Petre Bandac [EMAIL PROTECTED] wrote: after a cvsup today - when portupgrading rm -rf *.out *.rej *.orig test.log tiny.vim small.vim mbyte.vim test.ok X* rm -f *.o objects/* core vim.core vim xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c rm -f conftest* *~ auto/link.sed if test -d po; then cd po; make prefix= clean; fi make: don't know how to make clean. Stop *** Error code 2 Stop in /usr/ports/editors/vim/work/vim62/src. *** Error code 1 Stop in /usr/ports/editors/vim. please cc to me, as this address is not subscribed thanks, petre -- Login: petre Name: Petre Bandac Directory: /home/petreShell: /usr/local/bin/zsh On since Wed Apr 28 09:00 (EEST) on ttyv0, idle 5 days 6:57 (messages off) On since Sun May 2 19:31 (EEST) on ttyp8, idle 16:06, from gate New mail received Fri Feb 20 10:38 2004 (EET) Unread since Tue Feb 17 12:31 2004 (EET) No Plan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This problem is already discussed in [EMAIL PROTECTED] It worked for me. If you are really in a hurry, do the following: % cd $PORTSDIR/editors/vim % make patch % rm -rf work/vim62/src/po % make build % However, due to the nature of the error (missing src/po/Makefile), you might want to await for a few days for repair. horio shoichi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim make install error
* Petre Bandac [EMAIL PROTECTED] [2004-05-03 06:33]: if you are upgrading a port which in this case is vim, you need to run 'portupgrade -f vim' because sence you ran 'cvsup' to update your ports you have a newer version of vim on the ports tree than you do on your system. now I can't install it at all what is the remedy ? http://freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html and man (1) pkgdb man (1) portsdb -- Joshua I've travelled the world and the seven seas; I am watching you through a camera! -- Artie Ziff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim and NFS and ipfilter(strange problem)
hi all, i discovered what the problem was/is. I just want to post it here, because i think it is rather strange(and hopefully help other people who have the same problem). It did not only happen with vim, but with some other program's also(feh,nview). BTW i forgot to mention this, i use FreeBSD version 5.1 To find the problem i started with a new ruleset allowing everything on all devices. I then added the standard dangerous packages options(short, ipopts), and i noticed that NFS died when i added the short option. I switched back to the original config and commented that one out, and it worked fine. I only have to guess where the short packages are coming from :S They shouldn't be there I think.(BTW i have a realtech nic so maybee...) Sugestions are welcome, Cheers Vincent Vandalon wrote: Hi all, i've set up a firewall with ipfilter. Since i use the deny stance, i needed to jump trough some hoops to get NFS working. I am currently just manually mapping the ports mountd is using. But it seems to work... for 99% I am able to do with the mounted nfs disk what i want, i can create new files( 'touch newfile' and vi 'newfile2' and i can write content in the file with vi) i can delete, read. But(...) when i use viM it will hangs it self. I can't manually kill it(exit-status doesn't matter, it won't die). And i don't get an error, so i have no clue what's wrong. My guess is that it is still busy, looped or something... So i removed(==recompiled kernel) ipfilter and vim worked fine on the nfs mount. Recompiled my kernel again with ipfilter and vim hang itself again. So it is vim+ipfilter I think it is still something with my configuration fo ipfilter, i have a basic rules set. I am still in the learning/finetuning phase, but i coulnd't find anything about this on google, onlamp, freebsddiary etc. Can anybody point me in the right direction? Regards Vincent =config file (sorry comments are in dutch, but still reable in english i guess)=== #een regel om kleine packages te blokken block in log quick on rl0 from any to any with short #Alle tcp blokken block in log proto tcp all flags S/SA #webserver laten zien pass in quick proto tcp from any to any port = www keep state #ssh door laten pass in quick proto tcp from any to any port = ssh keep state pass in quick proto udp from any to any port = ssh keep state #pop door laten pass in quick proto tcp from any to any port = pop3 keep state #imap doorlaten pass in quick proto tcp from any to any port = 143 keep state pass in quick proto udp from any to any port = 143 keep state #smtp ook maar doolaten, in en uit pass in quick proto tcp from any to any port = 25 keep state pass out quick proto tcp from any to any port = 25 keep state #nfs pass in quick proto tcp/udp from any to any port = 2049 keep state pass out quick proto tcp/udp from any to any port = 2049 keep state pass in quick proto tcp/udp from any to any port = 111 keep state pass out quick proto tcp/udp from any to any port = 111 keep state #hack voor mountd pass in quick proto tcp/udp from any to any port = 1021 keep state pass in quick proto tcp/udp from any to any port = 1023 keep state #samba doorlaten pass in quick on rl0 proto udp from any to any port = 137 keep state pass in quick on rl0 proto udp from any to any port = 138 keep state pass in quick on rl0 proto tcp from any to any port = 139 keep state #printer pass in quick on rl0 proto tcp/udp from any to any port = 515 keep state #dns server pass out quick on rl0 proto tcp/udp from any to any port = 53 keep state #eigen verbindingen toestaan pass out quick on rl0 proto tcp all keep state ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim startup time much longer than expected
On Thu, Jan 22, 2004 at 11:43:46AM -0600, Tillman Hodgson wrote: Howdy folks, I NFS export my home directory from a 4-STABLE box. In this home directory are my .vimrc file and a couple of vim plugins that I use. When I launch vim (which I use with mutt) from a workstation running RedHat 7.3 it loads and is ready for input virtually instantly. When I launch vim from the server itself (local disk!) it takes several seconds before it's ready for input. As the config files are identical, I can't think of what else might be causing the difference. Perhaps compile options for the vim port (I use -WITHOUT_X on the FreeBSD server end)? I had this problem before and iirc found it was due to the size of my vim history setting. Given what you say below though, perhaps this isn't your problem here. It does seem, though I haven't attempted to profile or trace the process, that it's hanging much longer while displaying this in the status line: Pattern not found: ^ -- .* That's the result of my quoted .sig dumper for email replies (and thus isn't called when I'm composing a new mail): EMAIL Make VIM use shorter lines for emails au BufNewFile,BufRead .letter,mutt*,nn.*,snd.* set tw=72 Delete quoted .sig's au BufRead /tmp/mutt-* normal :g/^ -- .*/,/^$/-1d I don't understand why that would be faster on the workstation (which is half the box CPU-wise and NFS'ed) than the server. Perhaps the FreeBSD port of vim (6.2 rather than 6.1 on the client) incorporates a deliberate delay for warnings like that? Perhaps you could add a 'shortmess' line to the .vimrc file to inhibit those messages? -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim Shared OBject.
On Fri, 12 Dec 2003, S.Mehdi Sheikhalishahi wrote: I installed FreeBSD in my box.I want to start vim editor but the following error occurred.I think I must set approprite path to Shared OBject library path.Please Help me. /usr/libexec/ld-elf.so.1: Shared object libc.so.6 not found. My FreeBSD specification is : bash-2.05# uname -a FreeBSD cabinet.amnafzar.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 Comments: 1) That's a really old version of FreeBSD you're using. That by itself may cause you problems. 2) Where did this version of vim come from, and how did you install it? The fact that it's looking for libc.so.6 makes me think it might be a version compiled for Linux instead of FreeBSD (my version of vim links to libc.so.4, for example) and if that is true, you need to have your system set up for Linux compatability. See Chapter 22 in the FreeBSD handbook, 'Linux Binary Compatibility' for details. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html) -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim keyboard mapping problems (ssh)
* Khairil Yusof: home,end,cursor keys work, but tab doesn't work for commands. tab key displays ^I instead. Try: :set nolist :help 'nolist' vim (insert mode): up cursor= A + enter left cursor = D + enter right cursor = C + enter down cursor = B + enter This is a terminal problem. Try with different TERM values. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ pgp0.pgp Description: PGP signature
Re: vim keyboard mapping problems (ssh)
On Thu, Nov 27, 2003 at 02:59:56AM +0800, Khairil Yusof wrote: vim (command mode): home,end,cursor keys work, but tab doesn't work for commands. tab key displays ^I instead. vim (insert mode): up cursor= A + enter left cursor = D + enter right cursor = C + enter down cursor = B + enter home= H end = F Put this in your .vimrc file: set nocompatible I may have misremembered the command, but it should be in in /usr/share/examples/vimrc, or somewhere very like it. Do a find /usr -name *vimrc* and your should be able to find the settings you need. -- yours, William O'Higgins [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim and printing
* Bryan Cassidy: All this talk about vim made me wonder something.. BTW, I love vim compared to vi. Don't know what it is yet but I felt very comfortable and confident using it. I was just wondering. Is there a way to print with a command inside vi? Sometimes I would just like to print the file and don't want to quit, save, and print it. The command you are looking for is called: hardcopy -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim port with GUI
On Sat, 2003-10-11 at 20:37, Todd Stephens wrote: Does the vim port build vim with the GUI by default, or does this need to be enabled in the make arguments? It builds with the GTK frontend unless you tell it not to. -- Micheas Herman [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim and printing
On Sat, Oct 11, 2003, Bryan Cassidy wrote: All this talk about vim made me wonder something.. BTW, I love vim compared to vi. Don't know what it is yet but I felt very comfortable and confident using it. I was just wondering. Is there a way to print with a command inside vi? Sometimes I would just like to print the file and don't want to quit, save, and print it. These two sequences will write and print the file :w :!lpr % Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``The whole aim of practical politics is to keep the populace alarmed (and hence clamorous to be led to safety) by an endless series of hobgoblins.'' -- H.L. Mencken, 1923 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim and C code
Martin Vana wrote: Hi, I would like to do some more advanced editing of my C programs in Vim, like to go through program step by step or to have 'watch' on some of variables. All I've achieved now is syntax highlighting and Quickfix with you need a debugger for this, probably gdb with some gui frontend (I like ddd) erik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim and C code
On Sat, Sep 06, 2003 at 11:50:40AM +0200 I heard the voice of Martin Vana, and lo! it spake thus: PS: A bonus questions for those who haven't answered any newbie question yet: I can't get :s/aaa/bbb/g to be working from curosor till the end of file only. :.,$s/aaa/bbb/g -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim and C code
On Sat, 6 Sep 2003, Martin Vana wrote: Hi, I would like to do some more advanced editing of my C programs in Vim, like to go through program step by step or to have 'watch' on some of variables. All I've achieved now is syntax highlighting and Quickfix with :make command. I know there is EMACS somewhere out there, and other more complex enviroments, but I would like to stay with Vim, which I presonally like. A link to some tutorial would be exactly what I need. Thanx This would not be a function of Vim, you'll need to move to another program, like gdb: http://www.delorie.com/gnu/docs/gdb/gdb_toc.html -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim+Mutt+Backspace
On Thu, Jan 23, 2003 at 11:48:07AM -0800, Michael Barrett wrote: That did it. Any idea why that would be needed for mutt but not for regular vi? not exactly. terminal handling is quite complicate. i found some hints in the vim-user-doc. it has something to do which ASCII code is generated when you hit backspace and how vi/vim interprets this code. i could be that it depends on your $TERM settings... you can find some info in the vim user doc: http://vim.sourceforge.net/htmldoc/options.html search for fixdel toni -- Terror ist der Krieg der Armen, | [EMAIL PROTECTED] Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | msg16571/pgp0.pgp Description: PGP signature
Re: Vim+Mutt+Backspace
# [EMAIL PROTECTED] / 2003-01-23 00:16:00 -0800: FreeBSD 4.7 Mutt 1.4i (2002-05-29) Vim 6.1.271 Anyways, when I run vim from the command line, if I'm in insert mode and I hit the backspace key it acts normally. IE: It erases the character to the left of the cursor. However, when I'm editing an email to send (as I am right now) when I hit the backspace key it instead acts like I hit delete. (Erasing the character under the cursor). Any ideas as to why this might be happening? It's highly frustrating. I had the same/similar problem when I started using FreeBSD. The lack of user-level documentation, silence of those-who-have-the-answers, all that was really depressing. That said, I went through my .vimrc, .muttrc, .Xdefaults, and .zsh* files, and /usr/share/misc/termcap, and all I could find was XTerm.backspacekey: ^H XTerm.deletekey: ^? in my .Xdefaults; the ^H and ^? are literal characters, IOW, real backspace and delete. I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys changed the code... -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vim+Mutt+Backspace
On Thu, Jan 23, 2003 at 12:26:53PM +0100, Roman Neuhauser wrote: snip I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys If it was with rxvt that you were having the problem, were you launching it with the ``--backspacekey ^H'' option? I've been using blackbox w/bbkeys for some time now and I have no problem with the backspace key even when I launch rxvt using bbkeys - although I do have to add the above mentioned option. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg16473/pgp0.pgp Description: PGP signature
Re: Vim+Mutt+Backspace
# [EMAIL PROTECTED] / 2003-01-23 07:48:24 -0800: On Thu, Jan 23, 2003 at 12:26:53PM +0100, Roman Neuhauser wrote: snip I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys If it was with rxvt that you were having the problem, were you launching it with the ``--backspacekey ^H'' option? I've been using blackbox w/bbkeys for some time now and I have no problem with the backspace key even when I launch rxvt using bbkeys - although I do have to add the above mentioned option. yes and no. it was rxvt, and I wasn't launching it with that option. I don't have that problem anymore, but it's been more than a year ago, and too many factors changed since then, so I can't tell what is the difference. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vim+Mutt+Backspace
That did it. Any idea why that would be needed for mutt but not for regular vi? Thanks a ton for your help. Wow, it's so nice to be able to use the backspace when I typo. :) On Thu, Jan 23, 2003 at 03:02:27PM +0100, Toni Schmidbauer wrote: On Thu, Jan 23, 2003 at 12:16:00AM -0800, Michael Barrett wrote: Anyways, when I run vim from the command line, if I'm in insert mode and I hit the backspace key it acts normally. IE: It erases the character to the left of the cursor. try these two options in your .vimrc set t_kb=^H fixdel for ^H you have to press CTRL-V and then hit the backspace key. toni -- Terror ist der Krieg der Armen, | [EMAIL PROTECTED] Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | -- Mike Barrett | I used to read, now I go to raves. [EMAIL PROTECTED] | -- Random MUNI Rider, speaking www.daboyz.org |to my friend Allison. +--- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: vim
On Thu, Jan 09, 2003 at 04:00:00PM -0600, Brian Henning wrote: Hello, Is there an x version of vim for bsd? i downloaded the src files from www.vim.org and compiled it, but it created just the terminal verson of vim. Any suggestions? You might try starting gvim from an xterm. Also, you'd better use the ports version of vim which you'll find in ports/editors/vim. HTH regards -- Andreas ant Ntaflos | A cynic is a man who knows the price of [EMAIL PROTECTED] | everything, and the value of nothing. Vienna, AUSTRIA | Oscar Wilde To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message