[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57013] rats inserts '\0' characters in to out
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57013] rats inserts '\0' characters in to output string when # of columns exceed screen width |
Date: |
Sun, 6 Oct 2019 16:18:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0 |
URL:
<https://savannah.gnu.org/bugs/?57013>
Summary: rats inserts '\0' characters in to output string
when # of columns exceed screen width
Project: GNU Octave
Submitted by: rik5
Submitted on: Sun 06 Oct 2019 01:18:25 PM PDT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Sample code to reproduce:
s = rats (ones (2, 125), 10)
s =
Columns 1 through
9:^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@
1 1 1 1 1 1
1 1 1
1 1 1 1 1 1
1 1 1
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@
Columns 10 through
18:^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
Or for extra confirmation
double (s)
ans =
Columns 1 through 17:
32 67 111 108 117 109 110 115 32 49 32 116 104
114 111 117 103
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0
32 32 32 32 32 32 32 32 32 32 32 49 32
32 32 32 32
32 32 32 32 32 32 32 32 32 32 32 49 32
32 32 32 32
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0
32 67 111 108 117 109 110 115 32 49 48 32 116
104 114 111 117
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57013>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57013] rats inserts '\0' characters in to output string when # of columns exceed screen width,
Rik <=