[alt.sources] Elvis on pc

ssi@ziggy.EDU (Ssi) (09/02/90)

 Has anyone gotten ELVIS to work on a pc (MSDOS) using Turbo C++.
I did a prjcnvt to update the project file. I also compiled wildcard.c
separately (used `tcc -D__TURBOC__ wildcard.c'), got complaints about 
redeclarations, tried using -DM_I86 also, but got errors.
 I have the new elvis.prj elvis.lnk and cut.c files. C++ doesn't seem
to use .lnk files ??
 I'm very new to Turbo C++ (took it out of the box to compile elvis :) ).


When I type  `elvis file_name'    it comes up

"\n
file_name" [NEW FILE]

when I type `elvis file_name junk'      it comes up

"\n
file_name" NEW FILE]

doing a `:n' I get the file I wanted

doing another `:n' I get a [NO MORE FILES] type message.
elvis doesn't seem to see the last command line arg ?

I think the problem is in wildcard.c and/or main.c . Seems to
have trouble stepping through args or skipping spaces etc.



I had trouble with :g/old_stuff/s//newstuff/g <-- seems to hang
                                            ^
                                            |- works without this g

I also had trouble with :1,$s/$/put_this_at_the_end_of_all_lines
                                  ^
                                  |- went in at beginning of line

                        Thanks for any help,
                        Greg Ripp ssi@ziggy.edu
                         (813) 628-6100 x5123