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