xref: /titanic_51/usr/src/cmd/csh/README (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1[seizo:09/09/92]
2To fix #1098866, the directory structure is modified.
3This directory contains machine independent source codes of csh.
4Two files are currently machine dependent. These are
5	signal.c and signal.h
6Machine dependent files are moved under $(MACH) directory.
7
8So, if you are going to port csh for other architecture,
9you have to do:
10	1) create a directory for the new architecture.
11		(Say, intel)
12
13	2) create following files.
14	   (You can use sparc/{Makefile, signal.c, signal.h} as templates.
15		intel/Makefile
16		intel/signal.c
17			You need to modify sigvechandler()
18		intel/signal.h
19			You need to modify struct sigcontext.
20
21In future, I am planning to rewrite csh so it uses modern
22signal interface so csh will not have any machine dependent
23portion.
24
25usr/src/cmd/csh/SCCS/{s.signal.c, s.signal.h} are move under
26usr/src/cmd/csh/sparc/SCCS. So, if you wish to see sccs histories
27of signal.c and signal.h, please refer to usr/src/cmd/csh/sparc/SCCS.
28