aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-syscmd.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-26 08:10:59 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-26 08:10:59 +0000
commit8e0498b66e19be7e22039866d695c1cb81707bd6 (patch)
tree162eee1a3365c43d8b35bff9eb7b23b00d6af09c /src/interp/i-syscmd.boot
parent9584120cc4fd35f1ae0639430e07d5936f1ac39b (diff)
downloadopen-axiom-8e0498b66e19be7e22039866d695c1cb81707bd6.tar.gz
* boot/tokens.boot: Automatically translate alphabetic?, digit?,
lowerCase?, upperCase?, readByte, readInteger, readLine, writeByte, writeLine. * interp/as.boot: Use them. * interp/bc-matrix.boot: Likewise. * interp/bc-solve.boot: Likewise. * interp/br-con.boot: Likewise. * interp/br-search.boot: Likewise. * interp/br-util.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/c-util.boot: Likewise. * interp/database.boot: Likewise. * interp/format.boot: Likewise. * interp/fortcall.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-util.boot: Likewise. * interp/guess.boot: Likewise. * interp/ht-root.boot: Likewise. * interp/htcheck.boot: Likewise. * interp/htsetvar.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/i-util.boot: Likewise. * interp/int-top.boot: Likewise. * interp/intfile.boot: Likewise. * interp/mark.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/pf2sex.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/scan.boot: Likewise. * interp/slam.boot: Likewise. * interp/sys-utility.boot: Likewise. * interp/topics.boot: Likewise. * interp/trace.boot: Likewise. * interp/word.boot: Likewise.
Diffstat (limited to 'src/interp/i-syscmd.boot')
-rw-r--r--src/interp/i-syscmd.boot8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot
index 71dc1fbb..77e4b866 100644
--- a/src/interp/i-syscmd.boot
+++ b/src/interp/i-syscmd.boot
@@ -1703,7 +1703,7 @@ writeInputLines(fn,initial) ==
file := histInputFileName(fn)
histFileErase file
inp:= DEFIOSTREAM(['(MODE . OUTPUT),['FILE,:file]],255,0)
- for x in removeUndoLines nreverse lineList repeat WRITE_-LINE(x,inp)
+ for x in removeUndoLines nreverse lineList repeat writeLine(x,inp)
-- see file "undo" for definition of removeUndoLines
if fn ~= 'redo then sayKeyedMsg("S2IH0014",[namestring file])
SHUT inp
@@ -2663,7 +2663,7 @@ undo(l) ==
null l => -1
first l
if IDENTP n then
- n := PARSE_-INTEGER PNAME n
+ n := readInteger PNAME n
if not FIXP n then userError '"undo argument must be an integer"
$InteractiveFrame := undoSteps(undoCount n,undoWhen)
nil
@@ -2826,7 +2826,7 @@ removeUndoLines u == --called by writeInputLines
s2 := trimString SUBSTRING(s1,0,m)
n :=
s1 = '")redo" => 0
- s2 ~= '"" => undoCount PARSE_-INTEGER s2
+ s2 ~= '"" => undoCount readInteger s2
-1
y.first := strconc('">",code,STRINGIMAGE n)
nil
@@ -2835,7 +2835,7 @@ removeUndoLines u == --called by writeInputLines
for y in tails nreverse u repeat
(x := first y).0 = char '_> =>
code := x . 1 --code = a,b, or r
- n := PARSE_-INTEGER SUBSTRING(x,2,nil) --n = number of undo steps
+ n := readInteger SUBSTRING(x,2,nil) --n = number of undo steps
y := rest y --kill >n line
while y repeat
c := first y