-
Notifications
You must be signed in to change notification settings - Fork 2
/
history.txt
228 lines (145 loc) · 5.18 KB
/
history.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
SamaruX
(c) Miguel I. Garcia Lopez / FloppySoftware
http://www.floppysoftware.es
https://cpm-connections.blogspot.com
floppysoftware@gmail.com
SamaruX v2.07, 21 Sep 2021
==========================
Last changes.
New built-in commands:
----------------------
expr : Compute simple expressions.
ps : Print running commands.
SamaruX v2.06, 18 Dec 2016
==========================
Last changes.
Shell improvements:
-------------------
- Added support for '>>' in output redirection.
New built-in commands:
----------------------
fortune : Print a random adage.
sleep : Suspend execution for a # of seconds.
SamaruX v2.05, 06 Jun 2016
==========================
Last changes.
New built-in commands:
----------------------
false : Return false.
head : Return first lines from files.
shift : Shift positional parameters to the left.
tail : Print last lines from files.
true : Return true.
tty : Return user's terminal name.
whoami : Print the user name.
External commands
-----------------
Some built-in commands can be compiled as external ones.
Compile SamaruX with SX_MINIMAL for a minimal number of built-in commands. Then
execute make_all_ext2 to build the excluded built-in commands as external.
SamaruX v2.04, 04 Sep 2015
==========================
Last changes.
Executing SamaruX external commands
-----------------------------------
Like in previous releases, SamaruX will search the external command files in the
directory specified in the environment variable BINDIR:
env BINDIR system:
It this variable does not exists, or it's not valid, SamaruX will search the
external command files in the current working directory.
If you prefix the filename with a directory, Samarux will search the external
command file there:
mescc:cc myprog
New in this release: You can force SamaruX to search a external command file in
the current working directory, if you prefix the filename with the character ':',
as in:
:cc
Searching manuals with the command man
--------------------------------------
Like in previous releases, SamaruX will seach the manual files in the directory
specified in the environment variable MANPATH:
env MANPATH manuals:
It this variable does not exists, or it's not valid, SamaruX will search the
manual files in the current working directory.
If you prefix the filename with a directory, Samarux will search the manual
file there:
man mescc:help stdio
New in this release: You can force SamaruX to search a manual file in the current
working directory, if you prefix the filename with the character ':', as in:
man :help stdio
SamaruX v2.03, 03 Sep 2015
==========================
Last changes.
New built-in command:
---------------------
diralias : Support for named directories.
With the use of diralias, you can reference a directory (a
drive and user specification) with a name.
I.E.:
diralias root a0:
diralias temp m0:
diralias mescc a3:
cat mescc:sx.c | more
ls root:*.x
cd root:
SamaruX v2.02, 22 Ago 2015
==========================
Last changes.
New examples of SamaruX external commands:
------------------------------------------
banner - print text banners (ported)
cal - print calendars (ported)
head - print first lines of files (ported)
whoami - print current user name
strings - print strings from binary files
robots - a game (already included in last SamaruX version)
Added support for SamaruX external commands:
--------------------------------------------
As an example, the game robots has been included.
New built-in commands:
----------------------
date : Print and set the system date and time (only CP/M 3).
mem : Show memory usage.
sort : Sort text lines.
wc : Count text lines, words and characters.
tee : Copy standard input to standard output and to a file.
Improved commands:
-----------------
batch : Default file type for batch files - ".sx".
cat : Added -k and -n options.
cd : Added support for $HOME.
cpm : Under CP/M 3, it uses the BDOS fn. CHAIN TO PROGRAM.
ed : Added COPY and PASTE commands.
env : Added -s option.
if : Added in_env test for environment variables.
man : Added support for $MANPATH and external manuals.
Default file type for manual files - ".man".
New environment variables:
--------------------------
- HOME : Default user directory.
- BINDIR : Directory for SamaruX external commands.
- MANPATH : Path for manuals.
SamaruX v1.02, 27 Feb 2015
==========================
Last changes.
New control characters for command line edition:
------------------------------------------------
To delete the entire line:
CTRL-U (0x15)
CTRL-X (0x18)
To retype the line:
CTRL-R (0x12)
New environment variables:
--------------------------
- LINES : Number of console lines.
- COLUMNS : Number of console columns.
- TMPDIR : Temporary directory (used by pipes).
The use of these environment variables is optional.
When a builtin command asks for a system variable,
the procedure is as follows:
- If the corresponding environment variable exists and
has a legal value, use it.
- Under CP/M 3, use the value from the SCB.
- Otherwise, use the default values (for the console dimensions,
the values #defined in the source code; for the temporary
drive, the current drive).