You are not logged in.

#1 2016-06-15 11:23:46

baumeister
Member
Registered: 2016-06-15
Posts: 4

Terminal output not properly aligned

Hello there,

Often, my terminal-output is not properly aligned:

http://i.imgur.com/JCDtoOg.png

Though this is not a big deal, it doesn't look too nice and can be a bit confusing from time to time. How can I fix this?

Here is my ~./bashrc, if it matters:

# ~/.bashrc

[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

Offline

#2 2016-06-15 11:48:17

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Terminal output not properly aligned

What font is your terminal using?

It needs to be a monospaced font for proper alignment.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2016-06-15 13:49:08

baumeister
Member
Registered: 2016-06-15
Posts: 4

Re: Terminal output not properly aligned

It is Monospace. I can narrow the gap between the columns by choosing another font (e.g. DejaVuSans Mono). But this has no effect regarding the alignment.

Offline

#4 2016-06-15 14:16:37

phw
Member
Registered: 2013-05-27
Posts: 318

Re: Terminal output not properly aligned

Looks like a "swapon  -s" issue to me, I think it did not expect a swap size > 10GB (or more than 7 digits). My output is identical but properly aligned, but I have only half of your swap set.

Offline

#5 2016-06-16 13:12:33

baumeister
Member
Registered: 2016-06-15
Posts: 4

Re: Terminal output not properly aligned

@phw Swapon -s was  just an example. It happens on numerous occasions.

This is really the strangest problem I ever came across, because everything works fine when using Live-CDs (no matter, what branch, eg. archbang, xubuntu ...everything is properly formatted)? But when i install them physical, my terminal gets messed up? Whatever. I think I just have to live with it for now.

Last edited by baumeister (2016-06-16 13:13:20)

Offline

#6 2016-06-16 13:14:45

phw
Member
Registered: 2013-05-27
Posts: 318

Re: Terminal output not properly aligned

Maybe I don't understand the issue then. Is there also a problem with the "swapon --show" you posted? Because that just looks fine for me

Offline

#7 2016-06-16 13:59:45

baumeister
Member
Registered: 2016-06-15
Posts: 4

Re: Terminal output not properly aligned

No , <swapon ---show> is indeed perfectly fine. The second command was just for demonstration how I wanted it to be every time.

Offline

Board footer

Powered by FluxBB