Skip to content

debug output contains stray CRs #312

@jeffgunter

Description

@jeffgunter

when trying debug a disk i/o oddity in my tops10 monitor, i get odd simh debug output.

using
SET DEBUG STDOUT
SET RPA DEBUG
SET RPA NODEBUG=DATA

during sequences of
RPA fetch,
RPA fetch2,
RPAx read done

sequences, get stray CRs:

output from vi
DBG(2799152781)> RPA DETAIL: RPA3 seek 395 395^M
DBG(2799152781)> RPA DETAIL: RPA3 read (395,2,10)^M
DBG(2799152781)> RPA EXP: RPA fetch 001000 200000005120^M
DBG(2799152781)> RPA EXP: ^MRPA fetch2 005120 604002537101^M ?why highlighted ^M ?
DBG(2799152781)> RPA EXP: ^MRPA3 read done^M
DBG(2799154074)> RPA CONI: RPA 542 CONI 002413 PC=145733 0^M
DBG(2799154077)> RPA CONI: RPA 542 CONI 002413 PC=145735 0^M

output from hexdump
00001480 3a 20 52 50 41 20 66 65 74 63 68 20 30 30 31 30 |: RPA fetch 0010|
00001490 30 30 20 32 30 30 30 30 30 30 30 35 31 32 30 0d |00 200000005120.|
000014a0 0a 44 42 47 28 32 37 39 39 31 35 32 37 38 31 29 |.DBG(2799152781)| at 14bb? i think,
000014b0 3e 20 52 50 41 20 45 58 50 3a 20 0d 52 50 41 20 |> RPA EXP: .RPA | <== . represents stray 0d, ie=CR, octal 15
000014c0 66 65 74 63 68 32 20 30 30 35 31 32 30 20 36 30 |fetch2 005120 60|
000014d0 34 30 30 32 35 33 37 31 30 31 0d 0a 44 42 47 28 |4002537101..DBG(|
000014e0 32 37 39 39 31 35 32 37 38 31 29 3e 20 52 50 41 |2799152781)> RPA|
000014f0 20 45 58 50 3a 20 0d 52 50 41 33 20 72 65 61 64 | EXP: .RPA3 read|
00001500 20 64 6f 6e 65 0d 0a 44 42 47 28 32 37 39 39 31 | done..DBG(27991|
00001510 35 34 30 37 34 29 3e 20 52 50 41 20 43 4f 4e 49 |54074)> RPA CONI

this results in odd appearing output during some types of displaying.
vi is visually ok because it displays the cr as ^M.
however, for example if i scp the file from linux to my tops10 system,tops10, then tops10 .TYPE (PIP) or .TECO types out the CR and overwrites the line, and makes some of the output "disappear" (because it is overwriten). obviously the data is still there.

i understand completely if your response is that DEBUG isn't a supported thing.
i can make myself happy by post processing the resultant output file to make it more to my liking (ie: no overprints)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions