Opened 24 years ago
Closed 19 years ago
#64 closed defect (fixed)
vim-6.4
Reported by: | Owned by: | Matthew Burgess | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: | blfs-book@… |
Description
Change History (32)
comment:1 by , 24 years ago
dependson: | → 30 |
---|
comment:2 by , 24 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 23 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | vim-5.8 → vim-6.0 |
comment:4 by , 23 years ago
there's some problem with opening .sh files, patch here:
ftp://ftp.surfnet.nl/pub/editors/vim/patches/
perhaps it's sed'able
comment:6 by , 23 years ago
As Jeremy Jones (mca) puts it:
Screw patch ;) <start commands> sed '/shUntil\|link shRepeat/{ /shUntil/N //i\
exists("b:is_bash") |
p /$/i\ endif d }' runtime/syntax/sh.vim > sh.vim.fixed && mv sh.vim.fixed runtime/syntax/sh.vim && continue the commands.. <end commands> sed 101:
- Match only the lines with either "shUntil" or "link shRepeat" in
- them.. the { tells sed I have a slew of commands for it, not just one
'/shUntil\|link shRepeat/{
- If the matched line (from above) contains "shUntil", pull the line
- directly below it into my buffer too.
/shUntil/N
- Insert the text after this literal newline at the beginning.
//i\
exists("b:is_bash") |
- Print the contents of my buffer
p
- Insert the text after this literal newline at the end.
/$/i\ endif
- Delete (don't print) these matched lines.
d
- End of command sequence, input file
}' runtime/syntax/sh.vim
comment:7 by , 23 years ago
From Mark:
I've also just looked at putting vimrc in etc and and the install file in vim60/src recommends this instead: ./configure --prefix=/usr && make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim MAKE="make -e" or the FHS compliant version: ./configure --prefix=/usr --localstatedir=/var/lib/vim && make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim MAKE="make -e"
comment:8 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:9 by , 23 years ago
vimrc's location is set to /etc (src/auto/pathde.c confirms this) but it's not working. The /etc/vimrc file is ignored, /usr/share/vim/vimrc is accepted.
Still working on a fix, keep ya posted
comment:10 by , 23 years ago
New installation instructions, for now, until somebody is able to come up with a fix (see lfs-dev posts, I've tried using CPPFLAGS or editing the Makefile file, or install according to src/INSTALL but neither worked):
echo "#define SYS_VIMRC_FILE \"/etc/vimrc\"" \
src/feature.h &&
make && make install
comment:11 by , 23 years ago
make that:
echo "#define SYS_VIMRC_FILE \"/etc/vimrc\"" \
src/feature.h &&
./configure --prefix=/usr && make && make install
comment:12 by , 23 years ago
Let's try that patch again, the previous one here in bugzilla had too many line breaks:
sed '/shUntil\|link shRepeat/{ /shUntil/N //i\
exists("b:is_bash") |
p /$/i\ endif d }' runtime/syntax/sh.vim > sh.vim.fixed && mv sh.vim.fixed runtime/syntax/sh.vim &&
comment:13 by , 23 years ago
New vim-6.0 installation. Finally got the CPPFLAGS worked out, here are the final commands as they will go in the book, including the sed:
sed '/shUntil\|link shRepeat/{ /shUntil/N //i\
exists("b:is_bash") |
p
/$/i\
endif
d
}' runtime/syntax/sh.vim > sh.vim.fixed &&
mv sh.vim.fixed runtime/syntax/sh.vim &&
./configure --prefix=/usr &&
make CPPFLAGS=-DSYS_VIMRC_FILE=
\"/etc/vimrc
\" &&
make install
comment:14 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:15 by , 23 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | vim-6.0 → vim-6.1 |
we'll have to double check but this release *should* allow us to remove that blasted sed from the book.
comment:16 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:17 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:18 by , 23 years ago
Keywords: | VERIFIED added |
---|
comment:19 by , 23 years ago
Keywords: | VERIFIED removed |
---|
comment:20 by , 22 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | vim-6.1 → vim-6.2 |
Version increment (6.2)
comment:21 by , 22 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:22 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:23 by , 21 years ago
dependson: | 30 |
---|
comment:24 by , 21 years ago
Cc: | added |
---|
comment:25 by , 21 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | vim-6.2 → vim-6.3 |
Version increment (6.3)
comment:26 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:28 by , 19 years ago
Summary: | vim-6.3 → vim-6.4 |
---|
comment:29 by , 19 years ago
Version: | 3.0-pre3 → SVN |
---|
comment:30 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:31 by , 19 years ago
Status: | new → assigned |
---|
comment:32 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added