gno/NOTES/TO.DO

158 lines
4.1 KiB
Plaintext
Raw Normal View History

1997-02-28 05:42:27 +00:00
*******
* soon
*
* $Id: TO.DO,v 1.7 1997/12/22 01:20:23 gdr Exp $
1997-02-28 05:42:27 +00:00
*
*******
Finish index in kernel reference manual.
in stack(3) man page, the user shouldn't have to allow for extra
bytes for _assertStack(3). Determine what is necessary. If the
number of bytes left is less than this value, then print out
an abbreviated error message rather than calling errx.
1997-11-01 19:34:29 +00:00
Verify if cp or gshk is corrupting the "fudgeinstall" script.
1997-09-21 22:46:04 +00:00
Add implementations for Tilghman:
strftime(3)
1997-11-01 19:34:29 +00:00
Incorporate Tilghman's setttimeofday(2) routine.
Update funopen, fropen, fwopen, fsettext man pages:
If a user wants binary mode, he has to call fsetbinary
on the resulting file pointer; this info is not carried
over from the previous file pointer.
Create a src/gno/build.tools/dupfile script for duplicating binary
files at user install time. Current packages that need this:
compress/zcat
sum/cksum
1997-11-01 19:34:29 +00:00
Complete mkso util
1997-09-21 22:46:04 +00:00
As a group:
Update utmp.5, libutil (logout, logwtmp), last(1), login(1), who(1),
w(1), init(8), _PATH_UTMP (<utmp.h> and FAQ), rwho(1), users(1)
Add to relevent util man pages:
.SH ATTRIBUTIONS
This command was ported from FreeBSD source code
for distribution with GNO/ME 2.0.6.
Use __STACK_CHECK__ macro for stack checking code.
stdio:
- add %b modifier to fprintf implementation (ORCA/C compatibility)
stdlib/cvt.c:
- handle modes 0 and 1 correctly.
1997-02-28 05:42:27 +00:00
Use result of _setModeEmulation(3) in appropriate calls. These include
chmod -
fchmod -
1997-02-28 05:42:27 +00:00
creat - done
open - done
stat - unnecessary
fstat - unnecessary
lstat - unnecessary
clean up <gno/kerntool.h> -- some require errno args, some don't. Some
can't be specified here, but most traps can.
1997-02-28 05:42:27 +00:00
check up on the type of nlink_t, used in stat(2)
Write a test that handles:
- negative process numbers
- process numbers exceeding INT_MAX and UINT_MAX
the easiest way to do this is to repeatedly exec a program that prints
it's process number. Keep doing so until either the number wraps or
the machine crashes.
libc/sys/exec.c:
buildCmd should single-quote strings containing whitespace.
If the string already has single quotes, then backspace them.
buildPath should only return files of type S16, EXEC, or EXE.
buildPath should use the mapPath facility.
These functions should operate closer to GS/OS when possible.
Also need to reduce stack requirements.
For the exec* functions, there should be a test for whether
or not the file is of type SRC and auxtype EXEC. If that
is the case, and if the first two characters of the file
are '#!', then the shell should be exec'd instead. (currently,
shell scripts cannot be exec'd)
1997-09-21 22:46:04 +00:00
NEED TO WRITE OR DUPLICATE MAN PAGES FOR
----------------------------------------
login libc(3)
login_tty
regexp libc(3)
termcap libc(3)
queue 3
tty 4
grp 5
passwd 5
termcap 5
ms 7
man 7
cron 8
runover 8 (obsolete?) No, needed for single user mode.
1997-09-21 22:46:04 +00:00
dialup 8
1997-02-28 05:42:27 +00:00
*******
* defer
*******
libc/sys/syscall.c:
for unlink, if file is open, then register a call to unlink
(non-recursive) the file via atexit(3)
1997-09-21 22:46:04 +00:00
[not practical?]
1997-02-28 05:42:27 +00:00
libc/gen/environ.c:
Review routines. Force them to use GSString routines, reduce
stack usage (depend on dynamic allocation for parm blocks).
libc/gen/err.c:
Use syslogd if not on a tty.
libc/gen/tty.c:
review these routines
do intro man pages:
1 done
2 review DEFINITIONS section
3 done
4 done
5 done
6 done
7 done
8 done
1997-09-21 22:46:04 +00:00
Add locale implementation to libc.
1997-02-28 05:42:27 +00:00
various man pages:
add note under COMPATIBILITY as to whether the routines
are thread-safe. If they write any globals or static
variables, they are not.
Verify that the setdebug(2) macros in gno/gno.h are correct.
Add implementations for execle; the final
envp can't appear in the prototype, but it can be found since it is
the last argument after the first NULL pointer.
1997-09-21 22:46:04 +00:00
man(1) implementation: create a database in the user's home directory
that contains a list of all man pages and their locations, based
on MANPATH. Keep a magic number the file to see if MANPATH has
changed. *maybe* check the date of the file against the
modification date of the respective directories and generate a
warning if the db is out-of-date.