home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1767 < prev    next >
Internet Message Format  |  1990-12-28  |  1KB

  1. From: ssi@ziggy.EDU (Ssi)
  2. Newsgroups: alt.sources
  3. Subject: Elvis on pc (MSDOS) Turbo C++
  4. Message-ID: <1417@ziggy.EDU>
  5. Date: 1 Sep 90 17:55:13 GMT
  6.  
  7.  
  8.  Has anyone gotten ELVIS to work on a pc (MSDOS) using Turbo C++.
  9. I did a prjcnvt to update the project file. I also compiled wildcard.c
  10. separately (used `tcc -D__TURBOC__ wildcard.c'), got complaints about 
  11. redeclarations, tried using -DM_I86 also, but got errors.
  12.  I have the new elvis.prj elvis.lnk and cut.c files. C++ doesn't seem
  13. to use .lnk files ??
  14.  I'm very new to Turbo C++ (took it out of the box to compile elvis :) ).
  15.  
  16.  
  17. When I type  `elvis file_name'    it comes up
  18.  
  19. "\n
  20. file_name" [NEW FILE]
  21.  
  22. when I type `elvis file_name junk'      it comes up
  23.  
  24. "\n
  25. file_name" NEW FILE]
  26.  
  27. doing a `:n' I get the file I wanted
  28.  
  29. doing another `:n' I get a [NO MORE FILES] type message.
  30. elvis doesn't seem to see the last command line arg ?
  31.  
  32. I think the problem is in wildcard.c and/or main.c . Seems to
  33. have trouble stepping through args or skipping spaces etc.
  34.  
  35.  
  36.  
  37. I had trouble with :g/old_stuff/s//newstuff/g <-- seems to hang
  38.                                             ^
  39.                                             |- works without this g
  40.  
  41. I also had trouble with :1,$s/$/put_this_at_the_end_of_all_lines
  42.                                   ^
  43.                                   |- went in at beginning of line
  44.  
  45.                         Thanks for any help,
  46.                         Greg Ripp ssi@ziggy.edu
  47.                          (813) 628-6100 x5123
  48.