summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
Commit message (Collapse)AuthorAgeFilesLines
* Use macro API to <sys/queue.h>phk2000-12-301-1/+1
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: /sbin/md5
* Prepare for mdoc(7)NG.ru2000-12-191-0/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-094-7/+11
| | | | Use _PATH_* where where possible.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-19/+18
|
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-11/+10
|
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+1
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Fix problems introduced in the previous commit:sheldonh2000-06-231-5/+4
| | | | | | | | | * Do not use explicit paragraphing (Pp) to separate list items. * Do not use semi-colons to punctuate list items; the use or periods eases maintenance. * Do not mark up external shell commands as internal commands (Ic). * Do not introduce new hard sentence breaks.
* Install a VGA font for the X11 mode. Use a line liketg2000-06-235-7/+146
| | | | | | | | | xset fp+ /usr/libdata/doscmd/fonts in your .xsession to activate it. Document X11_FONT option in .doscmdrc. Open window if $DISPLAY is set.
* Back out the previous change to the queue(3) interface.jake2000-05-261-2/+2
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-2/+2
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Oops, revert previous commitkris2000-05-071-2/+2
|
* Update device references.kris2000-05-073-8/+7
|
* Remove reference to bsd2dos command, refer to fconv and similar.nik2000-04-301-3/+3
| | | | | PR: docs/17101 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Add and document a NO_X knob to force disabling of X support in doscmdkris2000-03-191-2/+2
| | | | Requested by: sysop@silver.komanda.com.ua
* Don't build with X support if DESTDIR is defined. This preventsmarcel2000-01-051-21/+18
| | | | | | | | breaking a cross-build caused by taking the X libraries on the build machine. In general this means that we never compile with X support. The user has to manually compile doscmd for that. Suggested by: bde, imp (among others)
* Fix the case where there's no path and doscmd defaults it to C:\marcel1999-11-121-1/+1
|
* Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.jhay1999-11-082-2/+3
| | | | Restore dos_makepath() functionality to pre r1.5 days.
* Allow in/out to work in DOS programs.imp1999-10-135-3/+94
| | | | | Submitted by: Parag Patel PR: bin/8486
* Default to no backspace/delete swapping.imp1999-10-131-1/+2
| | | | | | | | | | Add a title "DOS" to the X window. Submitted by: Parag Patel <parag@cgt.com> PR: bin/8486 Note: The pr was closed a long time ago when the original patch was applied, rather than the amended one.
* Fix one (of the many) buffer overflows in doscmd.imp1999-10-121-1/+2
|
* Fix the breakage of doscmd that was caused by the rebirthmarcel1999-10-083-3/+4
| | | | | | | of sigcontext and the change in mcontext_t. Partial fix submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>`
* Unbreak doscmd after the sigset_t change:marcel1999-09-2920-263/+224
| | | | | | | | | | | | doscmd heavily depends on struct sigcontext which luckily is mostly passed between functions as usion regcontext_t. By redefining union regcontext_t in terms of mcontext_t almost all bases are covered. It also seems to me that doscmd was in a transitional state. The redundant definitions made it difficult to get a clear overview and could easily cause oversight. To make sure my changes were ok, I went as far as to complete the transition. It was not exactly necessary, but I expect to have to come back here some more ("whistle" if I'm wrong :-).
* $Id$ -> $FreeBSD$peter1999-08-2852-52/+52
|
* Use our floppy device names rather than BSD/OS's.obrien1999-08-132-3/+5
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Break lines to be < 80 chars. This has been done only to that file incracauer1999-07-071-16/+25
| | | | | | | | | | doscmd that was affected by the SA_SIGINFO changes (which made many lines longer). This application is in need for general code reformatting and warning fixes. Submitted by: Warner Losh <imp@village.org>
* Update to new struct sigcontext after SA_SIGINFO changescracauer1999-07-064-18/+20
|
* X11 include directory may not actually contain any header file, check forluoqi1999-04-171-2/+2
| | | | a specific one (X11/X.h).
* Disable setgid kmem for now.imp1999-03-161-2/+2
|
* Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead ofbde1999-02-171-5/+5
| | | | | | | `ld ... <fudged ${LDFLAGS}>' to invoke the linker. This gets the flags and standard library paths right without complications. Unfortunately, it doesn't help for the X11 library paths -- cc only appends /aout for standard library paths.
* Look for aout X libraries at the right place.luoqi1999-02-161-4/+10
|
* Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,bde1999-02-151-2/+2
| | | | | | since it means -s (strip), and static linkage is forced correctly anyway. Other things in ${LDFLAGS} are still bogusly passed to ld. This only affects the aout case.
* Use the new variable NEED_LIBNAMES instead of includingjdp1999-01-221-2/+2
| | | | <bsd.libnames.mk> explicitly.
* Add support for accessing ports. This was done to access parallelimp1999-01-201-4/+19
| | | | | | ports, but should work for others as well. Submitted by: Parag Patel <parag@cgt.com>
* 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...
OpenPOWER on IntegriCloud