Stdout is no longer filtered
This commit is contained in:
parent
00ef33a8a6
commit
e687bb3716
@ -446,34 +446,34 @@ pagerTokens() = ["Press return for more:"]
|
|||||||
|
|
||||||
function GPSession(sid::Symbol)
|
function GPSession(sid::Symbol)
|
||||||
function readTask(sid, stream, channel)
|
function readTask(sid, stream, channel)
|
||||||
# function gpreadline(stream)
|
function gpreadline(stream)
|
||||||
# line = ""
|
line = ""
|
||||||
# while true
|
while true
|
||||||
# c = read(stream, Char)
|
c = read(stream, Char)
|
||||||
# (c == '\r') && continue
|
(c == '\r') && continue
|
||||||
# (c == '\n') && break
|
(c == '\n') && break
|
||||||
# if c == Char(0x1b) # sixel
|
if c == Char(0x1b) # sixel
|
||||||
# buf = Vector{UInt8}()
|
buf = Vector{UInt8}()
|
||||||
# push!(buf, UInt8(c))
|
push!(buf, UInt8(c))
|
||||||
# while true
|
while true
|
||||||
# c = read(stream, Char)
|
c = read(stream, Char)
|
||||||
# push!(buf, UInt8(c))
|
push!(buf, UInt8(c))
|
||||||
# (c == Char(0x1b)) && break
|
(c == Char(0x1b)) && break
|
||||||
# end
|
end
|
||||||
# c = read(stream, Char)
|
c = read(stream, Char)
|
||||||
# push!(buf, UInt8(c))
|
push!(buf, UInt8(c))
|
||||||
# write(stdout, buf)
|
write(stdout, buf)
|
||||||
# continue
|
continue
|
||||||
# end
|
end
|
||||||
# line *= c
|
line *= c
|
||||||
# for token in pagerTokens() # handle pager interaction
|
for token in pagerTokens() # handle pager interaction
|
||||||
# if (length(line) == length(token)) && (line == token)
|
if (length(line) == length(token)) && (line == token)
|
||||||
# return line
|
return line
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
# return line
|
return line
|
||||||
# end
|
end
|
||||||
|
|
||||||
saveOutput = false
|
saveOutput = false
|
||||||
while isopen(stream)
|
while isopen(stream)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user