![]() |
X-Term with colored text?
Is there any way to get colors on x-term just like on an Ubuntu desktop? i like how Ubuntu changes the color of folders against files. Its much easier (and faster) to navigate.
|
Re: X-Term with colored text?
Yea, check my latest post here: http://talk.maemo.org/showthread.php?t=60791&page=3
|
Re: X-Term with colored text?
nephridium, if i understand correctly, and given my VERY limitted knowledge of linux, this method requires an installation of bash (which was probably installed on your device through a package. mine does not come with it). Isnt there any native solution?
I tried to mess around with ~/.bashrc but that did not work. |
Re: X-Term with colored text?
The original xterm shell used in the N900 is called "busybox". Afaik the ls command that comes with it was not compiled with color support. The ls.color command that you can get here: http://talk.maemo.org/showthread.php?t=40418 can run on busybox though (as well as bash).
|
Re: X-Term with colored text?
Please don't mix up the program xterm with the shell applications that run within it. xterm of n900 does indeed support color as can be seen e.g. by running vim . But it is correct that the default shell is busybox which supplies simplified versions of lots of core utilies, which includes ls . To get the "real" ls you need to install coreutils-gnu. See for example:
http://metalab.at/wiki/Hack-A-N900/First_Steps |
Re: X-Term with colored text?
the OP asked for ls --color which is a feature of GNU ls.
busybox is a set of cut-down tools with less functionality than their GNU coreutils equivalents. busybox uses Korn Shell (ksh) instead of Bourne Again Shell (BASH). xterm is one of many Terminal Emulators. ROXterm should be in the repo. The OP will need to install the coreutil version of ls and (if the package doesn't) add Code:
alias ls=`ls --color=auto` For the N8X0: color-ls (this was compiled with color hard-coded to the ls command) For the N900: coreutils-gnu |
All times are GMT. The time now is 05:07. |
vBulletin® Version 3.8.8