Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   terminal setting (http://www.linux-archive.org/fedora-user/325441-terminal-setting.html)

François Patte 02-13-2010 10:41 AM

terminal setting
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

I would like to setup my terminals to have aligned columns when I use ls
- -l command.

Right now it looks like this:


drwx------ 6 fp ufr 4096 mai 17 2009 sauv-config
drwx------ 4 fp ufr 4096 déc. 3 2008 scan-livres

As you can see: the first six columns are aligned, but as there is one
more character in déc. than in mai, the following columns are no more
aligned and it becomes worst if there are 2 more characters.

Is this setup can be done and how? (I did not find anything in man xterm)

Thanks for attention.


- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 4286 2145
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkt2j+oACgkQdE6C2dhV2JUUeACgsafOLtfymT ho9cF5md8Un3eI
hAwAoIFv3qIijv5kWNMSwQTPuSpLz32R
=4Mgk
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Ed Greshko 02-13-2010 11:13 AM

terminal setting
 
François Patte wrote:
> Bonjour,
>
> I would like to setup my terminals to have aligned columns when I use ls
> -l command.
>
> Right now it looks like this:
>
>
> drwx------ 6 fp ufr 4096 mai 17 2009 sauv-config
> drwx------ 4 fp ufr 4096 déc. 3 2008 scan-livres
>
> As you can see: the first six columns are aligned, but as there is one
> more character in déc. than in mai, the following columns are no more
> aligned and it becomes worst if there are 2 more characters.
>
> Is this setup can be done and how? (I did not find anything in man xterm)
>
> Thanks for attention.
>
That seems a bit strange to me.....

Is this F12...and are you using xterm or another terminal?

I changed my LANG to fr_FR.UTF-8 and have no problems....

drwxrwxr-x. 2 egreshko users 4096 févr. 06 2010 bin
drwxr-xr-x. 2 egreshko users 4096 déc. 18 2009 Desktop
drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Documents
drwxr-xr-x. 3 egreshko users 4096 janv. 22 2010 Downloads
drwxr-xr-x. 13 egreshko users 4096 janv. 16 2010 firefox
drwxrwxr-x. 17 egreshko users 4096 févr. 13 2010 Maildir
drwxr-xr-x. 4 egreshko users 4096 févr. 08 2010 Music
drwxrwxr-x. 2 egreshko users 4096 janv. 05 2010 NFS
drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Pictures
drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Public
drwxrwxr-x. 8 egreshko users 4096 févr. 01 2010 src
drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Templates

What is the output of "locale"?



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Ed Greshko 02-13-2010 01:59 PM

terminal setting
 
François Patte wrote:
> Le 13/02/2010 13:13, Ed Greshko a écrit :
> > François Patte wrote:
> >> Bonjour,
> >>
> >> I would like to setup my terminals to have aligned columns when I
> use ls
> >> -l command.
> >>
> >> Right now it looks like this:
> >>
> >>
> >> drwx------ 6 fp ufr 4096 mai 17 2009 sauv-config
> >> drwx------ 4 fp ufr 4096 déc. 3 2008 scan-livres
> >>
> >> As you can see: the first six columns are aligned, but as there is one
> >> more character in déc. than in mai, the following columns are no more
> >> aligned and it becomes worst if there are 2 more characters.
> >>
> >> Is this setup can be done and how? (I did not find anything in man
> xterm)
> >>
> >> Thanks for attention.
> >>
> > That seems a bit strange to me.....
>
> > Is this F12...and are you using xterm or another terminal?
>
> > I changed my LANG to fr_FR.UTF-8 and have no problems....
>
> > drwxrwxr-x. 2 egreshko users 4096 févr. 06 2010 bin
> > drwxr-xr-x. 2 egreshko users 4096 déc. 18 2009 Desktop
> > drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Documents
> > drwxr-xr-x. 3 egreshko users 4096 janv. 22 2010 Downloads
> > drwxr-xr-x. 13 egreshko users 4096 janv. 16 2010 firefox
> > drwxrwxr-x. 17 egreshko users 4096 févr. 13 2010 Maildir
> > drwxr-xr-x. 4 egreshko users 4096 févr. 08 2010 Music
> > drwxrwxr-x. 2 egreshko users 4096 janv. 05 2010 NFS
> > drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Pictures
> > drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Public
> > drwxrwxr-x. 8 egreshko users 4096 févr. 01 2010 src
> > drwxr-xr-x. 2 egreshko users 4096 nov. 19 2009 Templates
>
> > What is the output of "locale"?
>
> LANG=fr_FR.UTF-8
> LC_CTYPE="fr_FR.UTF-8"
> LC_NUMERIC="fr_FR.UTF-8"
> LC_TIME="fr_FR.UTF-8"
> LC_COLLATE="fr_FR.UTF-8"
> LC_MONETARY="fr_FR.UTF-8"
> LC_MESSAGES="fr_FR.UTF-8"
> LC_PAPER="fr_FR.UTF-8"
> LC_NAME="fr_FR.UTF-8"
> LC_ADDRESS="fr_FR.UTF-8"
> LC_TELEPHONE="fr_FR.UTF-8"
> LC_MEASUREMENT="fr_FR.UTF-8"
> LC_IDENTIFICATION="fr_FR.UTF-8"
> LC_ALL=
>
>
> It is f10 and same problem occurs with every terminal I have:
> gnome-terminal, xterm, urxvt, etc.
>
Hummm.... Same as mine, except I'm trying this on F12.

I don't recall ever seeing a problem like that unless my system font was
set to a variable width font.

Ed

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


All times are GMT. The time now is 09:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.