Re: Issue with appearance of an asterisk "*" on COBOL source

2008-11-14 Thread John Culleton
e i.e. label) to end the > sentence. In slightly more verbose COBOL, the above sentence is > equivalent to > > COMPUTE A = ((B PLUS C) DIVIDED BY D) > MULTIPLIED BY ((E TIMES F) PLUS G. > > or even, in a somewhat older version of the standard wh

Search and delete

2009-06-22 Thread John Culleton
The Oualine book seems not to cover this. I want to delete all lines containing the string "http://www.booklocker.com/books/4055.html --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/mailli

Compiling 7.3

2011-01-24 Thread John Culleton
The vim.org site offers all kinds of alternate ways to obtain and install vim 7.3, requiriing software I never heard of before. On Linux can I just: 1. Download the bz2 file. 2. bunzip 3. tar xvf 4. ./configure 5. make 6. make install ? -- John Culleton Create Book Covers with Scribus

COBOL syntax modification.

2011-01-24 Thread John Culleton
le in what subdirectory do I need to modify? -- John Culleton Create Book Covers with Scribus: http://www.booklocker.com/p/books/4055.html Typesetting and indexing http://wexfordpress.com book sales http://wexfordpress.net Free barcode: http://www.tux.org/~milgram/bookland/ -- You received this messag

Font adjustment.

2011-06-06 Thread John Culleton
What did I do wrong? -- John Culleton Wexford Press "Death Wore Black" Police procedural by retired police chief Bill Redding -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more inf

Re: Font adjustment.

2011-06-08 Thread John Culleton
On Monday, June 06, 2011 10:13:02 pm Tony Mechelynck wrote: > On 06/06/11 23:00, John Culleton wrote: > > Because the font was too small for readability I changed it on the fly > > to Minion Pro at 14 points. The result had a blank space between each > > two glyphs which wa

Re: Font adjustment.

2011-06-08 Thread John Culleton
On Wednesday, June 08, 2011 02:20:37 pm John Culleton wrote: > On Monday, June 06, 2011 10:13:02 pm Tony Mechelynck wrote: > > On 06/06/11 23:00, John Culleton wrote: > > > Because the font was too small for readability I changed it on the fly > > > to Minion Pro at

Print function

2011-07-27 Thread John Culleton
here a way to cajole Gvim to use Cups as does Scribus, Gimp, Acrobat Reader, KMail etc.? -- John Culleton "Death Wore Black" Police procedural: http://www.deathworeblack.com/ "Create Book Covers with Scribus" http://booklocker.com/books/4055.html -- You received this messa

Re: Print function

2011-07-27 Thread John Culleton
On Wednesday, July 27, 2011 11:30:48 am Benjamin R. Haskell wrote: > On Wed, 27 Jul 2011, John Culleton wrote: > > For some time now I have used Gvim on Linux Slackware without > > difficulty in printing. But my latest Slackware is set up wtih Cups > > and most programs giv

moving line numbers.

2011-11-12 Thread john Culleton
subsequent step is trivial: :%s/$/.jpg/ The other person uses Ubuntu. -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html -- You received this message from th

Quickie to eliminate short lines or words.

2010-03-01 Thread John Culleton
I have sketched out a few steps to create a concordance, an alphabetic list of all the words in a book, one word per line, with dupes eliminated. Now I need to eliminate all words of one or two characters. Anyone have a quickie to suggest? -- John Culleton "Create Book Covers with Sc

Typing accents

2010-03-02 Thread John Culleton
I set the keymap to accents. Now, how do I type e.g. an acute accent in French? I have tried typing 'e and \'e but all I get are those characters. I am looking for a Vim only solution i.e. that does not require remapping the system keyboard. -- John Culleton "Create B

Re: Typing accents

2010-03-02 Thread John Culleton
On Tuesday 02 March 2010 09:45:29 Stahlman Family wrote: > John Culleton wrote: > > I set the keymap to accents. Now, how do I type e.g. an acute accent in > > French? I have tried typing 'e and \'e but all I get are those > > characters. > > CTRL-K e'

F Key /vimrc question.

2010-03-17 Thread John Culleton
and F4 to execute: cobc -m The current file name is the sticking point. How do I jigger the inoremap lines to respond in the new way? I can arrange that all my books are called book.tex but that doesn't work well for programs :<). John Culleton "Create Book Covers with Scribus"

Problem with COBOL syntax.

2010-04-16 Thread John Culleton
When I hit the "Enter" key at the end of a line the current line jumps right about ten spaces. So I have to go back to delete the extra spaces. I use traditional COBOL line numbers in columns 1-6 but with leading zero suppresson. Suggestions? -- John Culleton "Create Book Cove

Re: Problem with COBOL syntax.

2010-04-16 Thread John Culleton
On Friday 16 April 2010 15:11:05 Tony Mechelynck wrote: > On 16/04/10 20:16, John Culleton wrote: > > When I hit the "Enter" key at the end of a line the current line > > jumps right about ten spaces. So I have to go back to delete the extra > > spaces. I use tr

Re: Problem with COBOL syntax.

2010-04-17 Thread John Culleton
On Friday 16 April 2010 16:38:02 John Culleton wrote: > On Friday 16 April 2010 15:11:05 Tony Mechelynck wrote: > > On 16/04/10 20:16, John Culleton wrote: > > > When I hit the "Enter" key at the end of a line the current line > > > jumps right about ten s

Forbidding Visual Mode.

2010-08-17 Thread John Culleton
whole block of text. I don't use visual mode for this project. I need a command to prohibit Gvim from switching to visual mode. -- John Culleton Wexford Press "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html -- You receiv

When using COBOL syntax lines jump around.

2010-11-11 Thread John Culleton
syntax file what kind of statement should I look for? -- John Culleton, Wexford Press "Create Book Covers with Scribus" $5.95 at http://www.booklocker.com/books/4055.html Free eps format barcode: http://www.tux.org/~milgram/bookland/ -- You received this message from the "vim_use&qu

Change needed in cobol.vim syntax file.

2012-02-13 Thread john Culleton
hange? The way it is now I am forced to turn off syntax checking just to read/edit the file in Gvim. -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html -- You

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread john Culleton
On Tue, 14 Feb 2012 08:43:28 + Andrew Long wrote: > > On 14 Feb 2012, at 00:02, john Culleton wrote: > > > In the cobol.vim file, something causes all sentences starting > > with "if" to be colored red just like an error. The "if" verb is > >

Re: Change needed in cobol.vim syntax file.

2012-02-14 Thread john Culleton
On Tue, 14 Feb 2012 15:39:01 -0800 (PST) John Little wrote: > On Feb 14, 1:02 pm, john Culleton wrote: > > In the cobol.vim file, something causes all sentences starting > > with "if" to be colored red just like an error. > > Any chance of sending us some valid

Re: Change needed in cobol.vim syntax file.

2012-02-15 Thread john Culleton
cobol.vim is corrupt. I will try downloading and reinstalling vim. -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html -- You received this message from the "vim_

Re: Change needed in cobol.vim syntax file.

2012-02-15 Thread john Culleton
de, IF no longer causes errors. But line numbers in columns 1-6 are now highlighted as errors. I upgraded to vim 7.3 but still have the same error. I will try disabling my .vimrc file and see if that helps. -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.

Re: Change needed in cobol.vim syntax file.

2012-02-16 Thread john Culleton
On Wed, 15 Feb 2012 16:38:47 -0800 (PST) John Little wrote: > On Feb 16, 10:26 am, john Culleton wrote: > > > > I started with pre-COBOL 68, in 1968.  The IF statement and the > > AT END statements were legal then and still are legal in all the > > compilers I

Switch to unicode.

2012-04-01 Thread john Culleton
I am having a problem with Vim line returns being interpreted as end of paragraph markers in Scribus. Unicode may solve this problem. What string do I need in .vimrc to switch to unicode? -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Police

running a batch of commands against one file.

2012-05-27 Thread john Culleton
? -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Police Procedural and Expose: "Death Wore Black" "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html -- You received this message from the "vim_use&q

Vim on MSwin 8

2012-11-05 Thread john Culleton
Has anyone tried Vim/Gvim on MSWin 8? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" available at http://www.booklocker.com/books/4055.html -- You received this messag

Justify par t of doc.

2012-11-05 Thread john Culleton
I have an F key set up to justify an entire doc ragged right. Now I need a reliable technique to highlight part of a doc and apply justification to just that part. I am in visual mode after highlighting of course. I have tried various keyings but nothing seems to work. Hints? -- John Culleton

Re: Vim on MSwin 8

2012-11-05 Thread john Culleton
On Mon, 05 Nov 2012 17:23:16 +0100 Tony Mechelynck wrote: > On 05/11/12 16:48, john Culleton wrote: > > Has anyone tried Vim/Gvim on MSWin 8? > > > > Certainly. But not me, I'm on Linux. > > > Best regards, > Tony. So am I. But I write books/ebooks th

avoiding visual mode

2014-11-07 Thread john Culleton
As I work in gvim periodically it switches to visual mode. Is there a way to just turn off visual mode altogether? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" availab

converting format

2015-01-16 Thread John Culleton
I have a customer's file in dos format. Is there a command to convert it to *nix format? I use Linux. There are problems with the file and I need to operate in native format. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Up

Who maintains cobol.vim?

2015-02-10 Thread John Culleton
than trying to chase down the maintainer myself I thought I would ask here. Maybe there isn't a current maintainer (gloomy thought.) -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: "Create Book Covers wit

Re: Who maintains cobol.vim?

2015-02-10 Thread John Culleton
On Tue, 10 Feb 2015 17:56:29 + Andrew Long wrote: > On 10 Feb 2015, at 15:57, John Culleton wrote: > > There is an annoying error in cobol.vim when > > used with the traditional layout (i.e. first > > 6 columns reserved for a line number and all > > statements in

Re: Who maintains cobol.vim?

2015-02-10 Thread John Culleton
On Tue, 10 Feb 2015 10:03:21 -0800 Gary Johnson wrote: > On 2015-02-10, John Culleton wrote: > > > In any case cobol.vim should be fixed for all > > users. Rather than trying to chase down the > > maintainer myself I thought I would ask here. > > > > Ma

Re: Editing tar file under osx

2015-02-16 Thread John Culleton
ften run best on Linux, the same or sometimes a little worse on Windows and often have problems or late release dates or both for OS X. When you choose an OS this is what you accept. I only tar and untar files using the tools with those names. I never used vim or gvim for manipulating tar files, nor

Getting rid of smart tabs.

2015-02-16 Thread John Culleton
COBOL is position sensitive. I just wasted some time editing a program that compiled OK yesterday. Turns out that the PROCEDURE DIVISION header had be moved to the right because of a legitimate change that I had made to the line above. Can I get rid of smart tabs and how do I do it? -- John

Extra sheet of paper.

2015-02-19 Thread John Culleton
I often print a one page document from gvim. Inevitably it follows it with a blank sheet of paper. But if I print two sheets it does not add an extra. Other apps such as Okular don't do this. Version 7.4.50 on Linux. -- John Culleton Wexford Press Free list of books for self-publishers:

Re: Getting rid of smart tabs.

2015-02-21 Thread John Culleton
On Tue, 17 Feb 2015 18:12:08 +1100 Erik Christiansen wrote: > On 16.02.15 16:02, John Culleton wrote: > > Can I get rid of smart tabs and how do I do > > it? > > Do you have smarttab set to off? (nosmarttab, > the default) > > Erik > Do I set that in .vim

Inserting genuine tab character.

2015-09-08 Thread John Culleton
I am building an index for a customer. His publisher insists on the use of a genuine tab character and not just spaces emulating a tab. Can gvim insert a tab character? How? -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http

sample .vimrc for text use.

2016-05-28 Thread John Culleton
I set up my .vimrc many years ago. recently my computer died and my .vimrc went with it. I use vim for creating text documents. It would save me many hours of cut and try if someone could recommend or send me a .vimrc or .gvimrc set up for left justified text with paragraphs separated by a blank li

Re: sample .vimrc for text use -> :opt + #vim channel

2016-05-28 Thread John Culleton
On Sat, 28 May 2016 18:11:49 +0200 Sven Guckes wrote: > * John Culleton > [2016-05-28 17:53]: > > I set up my .vimrc many years ago. recently > > my computer died and my .vimrc went with it. > > I use vim for creating text documents. It > > would save me many hours

Loading vim package on Win XP partition without internet access.

2013-07-06 Thread john Culleton
Vim via Linux and then transfer that to the Win partition. Unfortunately just copying an exe file to the Win partition doesn't seem to work. So is there an ISO image anywhere for Vim that I can download, burn on a cd and then use to put vim on my win partition? I have a 64 bit pc. -- John Cul

Re: Loading vim package on Win XP partition without internet access.

2013-07-06 Thread john Culleton
On Sat, 6 Jul 2013 17:44:55 -0400 john Culleton wrote: > My not-so-new router works fine with any version of Linux but thus far > I am unable to convince MSWin (XP or 7) to cooperate with it. I am not > game to reroute all my wires to bypass the router and connect directly >

Applying batch file to a text file.

2013-11-13 Thread john Culleton
oth foo and bar into the command. This is to build an index for TeX. Linux of course. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" available at http://www.booklocker.com/boo

Re: Applying batch file to a text file.

2013-11-13 Thread john Culleton
On Wed, 13 Nov 2013 14:50:10 -0600 Tim Chase wrote: > On 2013-11-13 15:10, john Culleton wrote: > > I want to apply a batch file "foo" to a text file "bar". > > The commands in foo are of the form: > > > > :% s/elephant/\\idx{&}/g > >

Saving a file in utf-8.

2013-12-27 Thread john Culleton
I use Vim and gvim for all kinds of files. One file type has to be saved in UTF-8 format. How do I assure this? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" availab

Turn on spellcheck.

2014-07-02 Thread john Culleton
Most of the functions under the tools menu have key combinations as an alternative. Spellcheck is an apparent exception. How do I set up a key combination to turn spellcheck on? (And why wasn't this done as a standard feature?) -- John Culleton Wexford Press Free list of books for