Commit Graph

81 Commits

Author SHA1 Message Date
tg
d3711647e2 Update BIOS time.
Submitted by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-05-22 11:33:38 +00:00
tg
39e8f234c4 Beautify debugging output. 2001-05-22 11:33:17 +00:00
tg
5ff7125205 Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID. 2001-05-22 11:32:38 +00:00
tg
21dff572d9 Silence some debugging output when installing Borland's Turbo C. 2001-05-22 11:32:15 +00:00
tg
3f61b37d6e Fix boot order (really try A:, then C:, unless the `boot' option is
specified in .doscmdrc).
2001-05-22 11:31:39 +00:00
tg
d56823d7f2 Implement file truncation (DOS function 0x21, sub 0x40).
PR:		20925
Submitted by:	Tatsuya Kudoh <cdr@cosmonet.org>
2001-05-22 11:31:08 +00:00
tg
2486cc2c02 Correct typo to get DOS function 0x51 (get PSP) to work.
PR:		15547
Submitted by:	Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:30:22 +00:00
tg
4a353a58b9 DOS function 0x0a (buffered keyboard input) returned immediately.
PR:		15531
Submitted by:	Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:29:31 +00:00
tg
1877189382 Fix DOS function 4c (exit with return code).
PR:		15528
Submitted by:	Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:28:28 +00:00
asmodai
7d76aced28 Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
asmodai
2f1d3e2cdf Fix typo: seperate -> separate.
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
ru
8a6f8b5fe4 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
phk
7fd96a9db3 Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
2000-12-30 21:02:25 +00:00
ru
e6cfc0711d Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
0d1334ca0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ru
7d99729431 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
ru
a6f5d950d8 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
phk
a4f549597e Initiate deorbit burn sequence for <machine/console.h>.
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.
2000-10-08 21:34:00 +00:00
sheldonh
72cdce1101 Fix problems introduced in the previous commit:
*	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.
2000-06-23 09:08:45 +00:00
tg
67154b7af0 Install a VGA font for the X11 mode. Use a line like
xset fp+ /usr/libdata/doscmd/fonts
in your .xsession to activate it.

Document X11_FONT option in .doscmdrc.

Open window if $DISPLAY is set.
2000-06-23 08:57:17 +00:00
jake
961b97d434 Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
jake
d93fbc9916 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
kris
c23bb59143 Oops, revert previous commit 2000-05-07 09:23:37 +00:00
kris
390c965a23 Update device references. 2000-05-07 09:23:36 +00:00
nik
decea903c2 Remove reference to bsd2dos command, refer to fconv and similar.
PR:             docs/17101
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-04-30 22:45:13 +00:00
kris
dac6e5d6ae Add and document a NO_X knob to force disabling of X support in doscmd
Requested by:	sysop@silver.komanda.com.ua
2000-03-19 09:49:03 +00:00
marcel
9d4189be2d Don't build with X support if DESTDIR is defined. This prevents
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)
2000-01-05 12:59:31 +00:00
marcel
dc10af68ca Fix the case where there's no path and doscmd defaults it to C:\ 1999-11-12 08:59:41 +00:00
jhay
0b538034b3 Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.
Restore dos_makepath() functionality to pre r1.5 days.
1999-11-08 17:28:46 +00:00
imp
54845d7d91 Allow in/out to work in DOS programs.
Submitted by: Parag Patel
PR: bin/8486
1999-10-13 23:48:35 +00:00
imp
83dbf59942 Default to no backspace/delete swapping.
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.
1999-10-13 23:40:49 +00:00
imp
7ec76e0019 Fix one (of the many) buffer overflows in doscmd. 1999-10-12 22:20:18 +00:00
marcel
421cd96595 Fix the breakage of doscmd that was caused by the rebirth
of sigcontext and the change in mcontext_t.

Partial fix submitted by:
        Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>`
1999-10-08 09:02:39 +00:00
marcel
d4e7039177 Unbreak doscmd after the sigset_t change:
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 :-).
1999-09-29 20:09:19 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
obrien
ba7e7370e4 Use our floppy device names rather than BSD/OS's. 1999-08-13 10:08:05 +00:00
nik
6578739ddb Add $Id$, to make it simpler for members of the translation teams to
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
1999-07-12 20:24:20 +00:00
cracauer
5c2c4901ff Break lines to be < 80 chars. This has been done only to that file in
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>
1999-07-07 06:44:53 +00:00
cracauer
f30679239e Update to new struct sigcontext after SA_SIGINFO changes 1999-07-06 07:15:11 +00:00
luoqi
a584a0422d X11 include directory may not actually contain any header file, check for
a specific one (X11/X.h).
1999-04-17 01:57:06 +00:00
imp
5564d6d3da Disable setgid kmem for now. 1999-03-16 20:57:19 +00:00
bde
cc82d3efe0 Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead of
`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.
1999-02-17 13:48:07 +00:00
luoqi
8074f143de Look for aout X libraries at the right place. 1999-02-16 14:57:58 +00:00
bde
400a6ca1d5 Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,
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.
1999-02-15 12:36:21 +00:00
jdp
551758e3a0 Use the new variable NEED_LIBNAMES instead of including
<bsd.libnames.mk> explicitly.
1999-01-22 12:45:27 +00:00
imp
3d26b017dd Add support for accessing ports. This was done to access parallel
ports, but should work for others as well.

Submitted by:  Parag Patel <parag@cgt.com>
1999-01-20 17:55:22 +00:00
jkoshy
f4d0d8887f Fix typos.
PR:		8216
Submitted by:	Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
1998-10-13 08:57:45 +00:00
luoqi
1e573349aa ELFize. In fact, doscmd is ELF natural -- there is no need for a loader
since ELF executables are loaded well above the low memory region that
DOS operates in.
1998-09-24 01:11:45 +00:00
jlemon
39614096be Change doscmd to use i386_set_ioperm() call instead of sysarch(). 1998-07-28 03:39:59 +00:00