Bug 259434

Summary: Konsole truncates lines longer than 80 columns
Product: [Applications] konsole Reporter: support
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: adaptee, hr.denzler
Priority: NOR    
Version: 2.4.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description support 2010-12-10 12:37:51 UTC
Version:           2.4.5 (using KDE 4.4.5) 
OS:                Linux

Was working fine yesterday. Today ps -ef results in lines being truncated at 80 columns instead of line wrapping. The Konsole width is set to 80 columns and matches both the COLUMNS env var and the stty -a output

Reproducible: Always

Steps to Reproduce:
Start konsole
Run ps -ef

Actual Results:  
Output truncated to 80 columns

Expected Results:  
Output longer than 80 characters should wrap to the next line
Comment 1 support 2010-12-10 14:27:05 UTC
This is caused by adding eval `resize` to the shell startup files. If this is removed the COLUMNS env var remains unset and ps behaves as expected. You have to add the eval `resize` to fix the two year old Konsole bug (176902) that breaks signal handling for screens of exactly 80x40 in size
Comment 2 Hans-Rudi Denzler 2010-12-10 20:27:44 UTC
> man 1 ps
/--cols
n
> ps -ef --cols 150
Comment 3 Jekyll Wu 2011-08-20 01:33:43 UTC
The problem is not specific to konsole. 'ps -ef' will get line truncated in xterm/gnome-terminal/linux-console. 'ps -ef --cols ...' from comment #1 works well.

So I will close it.