misc/109075: Line wraping doesn't work when TERM is set to 'linux'

Imri Zvik imriz at co.zahav.net.il
Mon Feb 12 08:00:21 UTC 2007


>Number:         109075
>Category:       misc
>Synopsis:       Line wraping doesn't work when TERM is set to 'linux'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 12 08:00:14 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Imri Zvik
>Release:        6.2-STABLE
>Organization:
Internet Gold
>Environment:
FreeBSD cemetery 6.2-STABLE FreeBSD 6.2-STABLE #6: Sun Jan 21 10:02:39 IST 2007     root at cemetery:/usr/obj/usr/src/sys/IGLD  i386
>Description:
Line wraping doesn't work when TERM is set to 'linux'.
>How-To-Repeat:
export TERM=linux and just type a really long line :)

>Fix:
Removing the xn option from the termcap entry solves this issue:

--- termcap.orig        Mon Feb 12 09:46:33 2007
+++ termcap     Mon Feb 12 09:45:21 2007
@@ -4486,7 +4486,7 @@
 # From Christian Weisgerber, naddy at mips.inka.de, a TERMCAP entry
 # for Linux consoles.
 linux|Linux Console:\
-       :am:eo:mi:ms:xn:xo:\
+       :am:eo:mi:ms:xo:\
        :co#80:it#8:li#25:\
        :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K2=\E[G:\

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list