summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos.jkoshy1998-10-131-5/+5
| | | | | PR: 8216 Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
* ELFize. In fact, doscmd is ELF natural -- there is no need for a loaderluoqi1998-09-242-3/+27
| | | | | since ELF executables are loaded well above the low memory region that DOS operates in.
* Change doscmd to use i386_set_ioperm() call instead of sysarch().jlemon1998-07-281-19/+11
|
* o for unknown int21 functions, set the CY bit to indicate failureimp1998-07-171-2/+34
| | | | | | | | | | | o When reporting a int21 function we don't know about yet, report AH as the major and AL as the minor, as opposed to reporting AL as the major. o Add support for 21:44:7: ioctl check output status. We optimistically say that output is always ready. o Add half support for 21:23: get file size. We always now return failure. This function isn't supported, according to the interrupt list, by the DOS box in windows, so I don't feel too bad.
* o remove -f from doscmd man page, as it is not implemented.imp1998-07-164-14/+25
| | | | | | | | | | | | | | | | | o Remove init printf o Don't set optind from return value for do_args. getopt has already done this. o Bump EMS memory from 1M to 10M (this really should be a command line option). o Open /dev/null when requested to open emmxxxx0 to allow many programs checking to see if EMS is installed to find it. o Route int67 to ems_entry to allow EMS to be used when DOS is emulated as well as when DOS is booted. This may obviate the need for the driver doing anything at all in a really booted situation and won't hurt that case. I can now run the DOS program I'm interested in running with enough EMS memory that its "advanced" functions are enabled and working.
* Add missing ')'..sos1998-07-021-2/+2
| | | | | | Doesn't anybody TEST code before committing.... This is the X'th time these laste couble of days...
* o Be more careful about using sprintf and strcpy.imp1998-07-022-9/+10
|
* o typo: will -> withimp1998-07-021-1/+1
|
* o fix bug in conversion of DOS 32-bit signed number to FreeBSD's 64-bitimp1998-07-022-4/+4
| | | | | | off_t. This fixed the primitive 'copy protection' that the program I'm using.
* Kill printf accidentally committedimp1998-07-011-3/+1
|
* Make sourcer's main program execute in X mode.imp1998-07-017-61/+49
| | | | | | | | o Make the dos emulation treat c: and C: the same way. Sourcer was doing a chdir("c:\\") rather than a chdir("C:\\"); o use drlton() in all places where we used to use -'A' so that we're always case independent. o use drntol() in all places where we used to use + 'A' for similar reasons
* Implement int 2f ax=1600, which is, according to the Interrupt List,imp1998-06-301-1/+5
| | | | | | | used to check to see if windows 3.x if running. We always return 0, which means that neither Windows 3.x nor Windows/386 2.x is running. It also means, btw, that XMS version 1 isn't installed, which is true since we don't implement that either.
* Don't assume that time_t is long.bde1998-06-292-8/+16
|
* Fixed double slashes in pathnames.bde1998-05-311-3/+3
|
* ELF preparation step 2:sos1998-05-261-3/+3
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-4/+3
|
* Honour -static in LDFLAGS.bde1998-03-211-9/+8
| | | | | Install using ${INSTALL}, not `install'. Install generated files using ${COPY}, not -c. Install using a single command when this is easy.
* Don't assume sigset_t and int are equivalent.jraynard1998-02-282-4/+6
|
* Don't claim XMS isn't implemented (it is).msmith1998-02-262-1/+17
| | | | | Attempt to explain the "X11 support not compiled in" diagnostic. Submitted by: philip@rmit.edu.au (Philip Musumeci)
* Add Back-Tab functionality. (Ie. shift-tab)msmith1998-02-221-2/+3
| | | | Submitted by: Randall Hopper <rhh@ct.picker.com>
* Printers under FreeBSD are /dev/lpt*msmith1998-01-221-2/+2
|
* Fix DOS keyboard handling to use standard pointer addresses instead ofjlemon1998-01-211-11/+19
| | | | | an index into a private array. Submitted by: Randall Hopper <rhh@ct.picker.com>
* Fixed DPADD. ${LIBGCC} must be added explicitly since the defaultbde1997-12-161-13/+22
| | | | | | | | | | | | | | | | | | linkage rule is overridden. The -L option must be in ${DPADD} so that `make checkdpadd' works. Actually use ${DPADD}. FIxed missing dependencies for doscmd. Use ${LIBCRT0} instead of a hard-coded path in the rule for doscmd. Added comments about the kludges used to build 2 binaries and 2 data files in one directory. It shouldn't be done this way. The dependencies on sources took extra work to get right, and the dependencies on objects are still broken (one set is missing and the other has the wrong libs). Fixed some style bugs while I'm here: - don't override the (correct) default for MAN1. - use `beforeinstall', not `afterinstall' to install auxiliary files. `afterinstall' is for fixing messes made by `install'.
* Add support for EMS emulation to doscmd. This requires changing thejlemon1997-09-3019-301/+2757
| | | | | | | | | interface for callbacks to doscmd from DOS, obsoleting the instbsdi redirector. (redir.com replaces it) A temporary hack is in place so the instbsdi program will (hopefully) work in the short term. Submitted by: Helmut F. Wirth <hfwirth@ping.at>
* Make X11 support in doscmd dependent on the actual libX11.a library andjlemon1997-08-281-2/+2
| | | | | | include directory, rather than X11BASE. This fixes the build for people who only have the shared X11 distribution installed. Requested-by: A Joseph Koshy <koshy@india.hp.com>
* Clean up Makefile, make compiling in X support dependent on ${X11BASE}.jlemon1997-08-181-26/+14
|
* Enable the use of keypad cursor motion keys.jlemon1997-08-161-3/+14
| | | | Submitted by: John Hay <jhay@mikom.csir.co.za>
* Add support for XMS memory to doscmd.jlemon1997-08-157-68/+1193
| | | | Submitted by: Helmut F. Wirth <hfwirth@ping.at>
* Cleanup and use /usr/libdata/doscmd nowache1997-08-121-8/+6
|
* Build instbsdi.exe in obj directory (make world stopper)ache1997-08-091-4/+4
|
* Add a valuable binary that enables I/O to U**X mounted disks.dyson1997-08-092-1/+176
|
* Commit the manpage for doscmd.dyson1997-08-091-0/+705
| | | | | Submitted by: Jonathon Lemon <jlemon@americantv.com> Obtained from: BSDI
* Add the makefile for doscmd.dyson1997-08-091-0/+61
|
* Add our doscmd to the tree. This is a result of work from BSDI, anddyson1997-08-0953-0/+18766
a group of dos emulator developers. Submitted by: Jonathan Lemon <jlemon@americantv.com> Obtained from: BSDI
OpenPOWER on IntegriCloud