[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927222: unison: should not output trailing spaces, which can yield blank lines in the terminal



Package: unison
Version: 2.48.3-1+b1
Severity: minor

I got the following output:

Connected [//cventin//home/vlefevre/Mail -> //joooj//srv/d_joooj/home/vinc17/Mail]
Looking for changes
  Waiting for changes from server        
Reconciling changes

local          joooj              
deleted  ---->            Maildir/cur/1286292453.10386_2.prunille.vinc17.org:2,  
deleted  ---->            Maildir/cur/1481745427.18522_2.ioooi:2,FS  
deleted  ---->            Maildir/new/1536005528.4267_2.joooj  
changed  ---->            arc/cur/1538552978.9210_241.zira:2,RS  
changed  ---->            arc/cur/1538552979.9210_243.zira:2,S  
changed  ---->            arc/cur/1540379358.19430_73.cventin:2,S  
new file ---->            arc/cur/1555418881.1921_135.cventin:2,S  
[...]

This is not visible in this mail, but some lines have trailing spaces,
in particular

deleted  ---->            Maildir/cur/1286292453.10386_2.prunille.vinc17.org:2,  

This makes the line have 81 characters instead of 79, and in
a conventional 80-column terminal, this yields a blank line,
which is rather surprising and wastes space. These useless
trailing spaces should be avoided.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unison depends on:
ii  libc6  2.28-8

Versions of packages unison recommends:
ii  openssh-client [ssh-client]  1:7.9p1-10

Versions of packages unison suggests:
ii  unison-all  2.48+2

-- no debconf information


Reply to: