*Synopsis*: ksh93: Horizontal scrolling sometime present when not editing cmd
line.
CR 6882828 changed on Sep 16 2009 by <User 1-5Q-1267>
=== Field ============ === New Value ============= === Old Value =============
Category shell opensolaris
SubCategory korn93 triage-queue
====================== =========================== ===========================
*Change Request ID*: 6882828
*Synopsis*: ksh93: Horizontal scrolling sometime present when not editing cmd
line.
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype:
Status: 1-Dispatched
Substatus:
Priority: 3-Medium
Introduced In Release:
Introduced In Build:
Responsible Engineer:
Keywords: opensolaris
=== *Description* ============================================================
Category
solaris/shell (Solaris Utilities/Commands)
Sub-Category
korn93
Description
If either of the environtment variables VISUAL or EDITOR is set to
/usr/bin/vi,
then ksh93 will scroll the input line horizontally as the input line reaches the
right margin of the window instead of wrapping the line.
This causes problems in recording shell sessions using script as the recorded
session may have garbled lines.
This behavior is not exhibited in ksh88 on solaris 10.
This problem is not fixed in the ksh93_integration_20090916_snapshot.
Frequency
Always
Regression
No
Steps to Reproduce
EDITOR=/usr/bin/vi ; export EDITOR or
VISUAL=/usr/bin/vi ; export VISUAL
ksh93
Enter a very long line.
Expected Result
Expect the line to wrap to the beginning of a new line when the right edge of
the window is reached.
Actual Result
Line scrolls left when the right end of the line nears the right edge of the
window.
Error Message(s)
none.
Test Case
Workaround
unset VISUAL
unset EDITOR
Use "set -o vi" in the .kshrc file in order to use vi command line editing.
Of source, this workaround may impact other commands that read VISUAL or EDITOR.
Additional configuration information
*** (#1 of 1): 2009-09-16 22:11:21 GMT+00:00 <User 1-F4SZV>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
=== *Additional Details* =====================================================
Targeted Release:
Commit To Fix In Build:
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also:
Duplicate of:
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5:
Hook6: <email address omitted>
Program Management:
Root Cause:
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2009-09-16 22:11:20 GMT+00:00
Submitted By: <User 1-F4SZV>
Status Changed Date Updated Updated By
=== *Service Request* ========================================================
Impact: Limited
Functionality: Nonessential
Severity: 5
Product Name: solaris
Product Release: solaris_nevada
Product Build: snv_111
Operating System: solaris_nevada
Hardware: x86
Submitted Date: 2009-09-16 22:11:21 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================