summaryrefslogtreecommitdiff
path: root/packages/MSDOS
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2006-11-13 22:13:33 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-11-13 22:13:33 +0100
commitb37e0da0b7dc72ddfa513e319ca71b5f5b8aeb7d (patch)
tree810ec4a83a30b7e001321fdb2402c756f511727e /packages/MSDOS
Initial import15.6-2
Diffstat (limited to 'packages/MSDOS')
-rw-r--r--packages/MSDOS/CVS/Entries4
-rw-r--r--packages/MSDOS/CVS/Repository1
-rw-r--r--packages/MSDOS/CVS/Root1
-rw-r--r--packages/MSDOS/README74
-rw-r--r--packages/MSDOS/djmake.bat22
-rw-r--r--packages/MSDOS/ylwrap.pat11
6 files changed, 113 insertions, 0 deletions
diff --git a/packages/MSDOS/CVS/Entries b/packages/MSDOS/CVS/Entries
new file mode 100644
index 0000000..53f6ad7
--- /dev/null
+++ b/packages/MSDOS/CVS/Entries
@@ -0,0 +1,4 @@
+/README/1.1/Thu Jun 28 15:56:06 2001//
+/djmake.bat/1.4/Sat Sep 30 08:12:59 2006/-kb/
+/ylwrap.pat/1.2/Thu Jul 5 13:47:53 2001//
+D
diff --git a/packages/MSDOS/CVS/Repository b/packages/MSDOS/CVS/Repository
new file mode 100644
index 0000000..835e575
--- /dev/null
+++ b/packages/MSDOS/CVS/Repository
@@ -0,0 +1 @@
+cscope/packages/MSDOS
diff --git a/packages/MSDOS/CVS/Root b/packages/MSDOS/CVS/Root
new file mode 100644
index 0000000..e0eb551
--- /dev/null
+++ b/packages/MSDOS/CVS/Root
@@ -0,0 +1 @@
+broeker@cscope.cvs.sourceforge.net:/cvsroot/cscope
diff --git a/packages/MSDOS/README b/packages/MSDOS/README
new file mode 100644
index 0000000..e026e05
--- /dev/null
+++ b/packages/MSDOS/README
@@ -0,0 +1,74 @@
+
+------------------------------------
+ cscope for DOS using DJGPP
+------------------------------------
+
+*) You need a rather recent DJGPP version and tools
+ installed. For running cscope on DOS, be sure you
+ have:
+
+ * GNU ed for cscope's automated editing of files. It's quite likely
+ you didn't have this installed, unless you're a collector of Unix
+ tools.
+
+ * an editor or viewer to be used as a child program when you open
+ a match, inside cscope. DJGPP-compiled versions, if possible.
+
+ Choose either
+
+ -- `less' if you're content with viewing the file
+ -- some version of `vi' (VIM, Elvis, or NVI) use cscope in it's
+ "classical" way
+ -- GNU Emacs for the full glory :-)
+
+ Set the environment variable CSCOPE_EDITOR or EDITOR to the name
+ of the editor you want to use. You may want to create a [cscope]
+ section in your djgpp.env file, if you know how to do it.
+
+ For more details what cscope is, and how to use it, see the
+ documentation in the root directory of the cscope sources, or the
+ man page.
+
+*) For compiling cscope from sources, you need a much more complete
+ collection of GNU development and commandline tools, in addition
+ to the above, and the obvious GCC and binutils:
+
+ * bash
+ * make
+ * flex
+ * bison
+ * sed
+ * patch
+ * fileutils (cp, ln, ...)
+ * textutils (cat)
+
+ Optionally, if you plan to modify the sources.
+
+ * autoconf
+ * automake
+ * Perl
+
+ These are the ones I'm sure you need --- I may have overlooked some.
+
+ The DJGPP source packages is already configured, so you can just
+ run 'make' to get the package. Then
+
+ make install prefix=d:/djgpp"
+
+ (or wherever else your DJGPP is) to install it.
+
+ Or cd to the top source directory and execute the supplied
+ djmake.bat:
+
+ cd d:\djgpp\contrib\cscope
+ packages\msdos\djmake.bat
+
+ and watch it compile. This will be necessary if you made any
+ substantial changes to the sources.
+
+Have fun with it. In case of problem, mail to djgpp@delorie.com (or the
+attached Usenet newsgroup) or file a bug report at cscope's page on
+Sourceforge.net.
+
+Hans-Bernhard Br"oker (broeker@physik.rwth-aachen.de)
+ (Hans-Bernhard.Broeker@epost.de)
diff --git a/packages/MSDOS/djmake.bat b/packages/MSDOS/djmake.bat
new file mode 100644
index 0000000..260bb11
--- /dev/null
+++ b/packages/MSDOS/djmake.bat
@@ -0,0 +1,22 @@
+@echo off
+
+if exist src\fscanner.l goto dir_okay
+echo !!!! Must run this batch file from the main source directory!
+exit
+
+:dir_okay
+
+echo ---- Start by patching the ylwrap script to avoid problems
+echo with "ln -s":
+
+if exist src\ylwrap patch -p0 -i packages/MSDOS/ylwrap.pat
+if exist ylwrap patch -p1 -i packages/MSDOS/ylwrap.pat
+
+echo ---- Now configure and make it.
+echo -- NOTE --: this assumes you have pdcurses installed!
+echo -- NOTE --: Will be using '-f' mode of flex, for faster scanning
+bash configure
+make CURSES_LIBS=-lpdcurses LFLAGS="-f8B"
+
+echo ---- You may now call "make install", if desired.
+echo -- DONE --
diff --git a/packages/MSDOS/ylwrap.pat b/packages/MSDOS/ylwrap.pat
new file mode 100644
index 0000000..f60049d
--- /dev/null
+++ b/packages/MSDOS/ylwrap.pat
@@ -0,0 +1,11 @@
+--- src/ylwrap Tue Jun 26 15:23:52 2001
++++ src.DOS/ylwrap Thu Jun 28 17:39:31 2001
+@@ -80,7 +80,7 @@
+ ;;
+ *)
+ # Make a symbolic link, hard link or hardcopy.
+- ln -s ../"$input" . > /dev/null 2>&1 || ln ../"$input" . > /dev/null 2>&1 || cp ../"$input" .
++ ln ../"$input" . > /dev/null 2>&1 || cp ../"$input" .
+ ;;
+ esac
+ $prog ${1+"$@"} "$input"