A fix is available
APAR status
Closed as program error.
Error description
Steps to reproduce: - use "vi" in a locale with a code set other than ISO8859-1 e.g.: export LANG=fr_FR.8859-15 - load a file containing "null" characters (which should be ignored) e.g.: # echo "a\n\000b" > testfile # od -a testfile 0000000 a lf nul b lf 0000005 -> vi testfile shows a a b ~ -> the first line is doubled
Local fix
- use a locale with a code set of "ISO8859-1" OR - remove all null characters from the input file # cat file | tr -d "\000" > file.repaired
Problem summary
vi with a non ISO8859-1 code set fails to handle null character.
Problem conclusion
Ignoring the null character.
Temporary fix
Comments
APAR Information
APAR number
IV49910
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2013-09-24
Closed date
2013-09-24
Last modified date
2014-05-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U859850
UP14/05/22 I 1000
PTF to Fileset Mapping
U859850 bos.rte.edit 7.1.3.15
U859850 bos.rte.edit 7.1.3.15
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
23 May 2014