A13 Image Directory Names in Filesystem

Started by embecon, October 09, 2014, 11:16:49 AM

Previous topic - Next topic

embecon

Hi,
I have a A13-MICRO board and a 4.3inch TFT. I got it running and it boots the image and also starts the desktop. The board is powered from a 5V DC-2.5A power source
Now I have a terminal connected to UART1, via a serial to USB cable. When I issue an ls command to view the directory contents, the name of files and folders are appended with some junk characters at the start and end. Please see below. All the characters while booting and data besides the filenames are fine, so it can't be the UART to USB cable. I am pasting below a part of what I recieve, when I do an ls in the bin directory
[01;32mz is added before and [0m is added after the file name.


-rwxr-xr-x  1 root root   1758 Jun 20  2012 [01;32mzcmp[0m
-rwxr-xr-x  1 root root   5766 Jun 20  2012 [01;32mzdiff[0m
-rwxr-xr-x  1 root root    121 Jun 20  2012 [01;32mzegrep[0m
-rwxr-xr-x  1 root root    121 Jun 20  2012 [01;32mzfgrep[0m
-rwxr-xr-x  1 root root   2133 Jun 20  2012 [01;32mzforce[0m
-rwxr-xr-x  1 root root   5914 Jun 20  2012 [01;32mzgrep[0m
-rwxr-xr-x  1 root root   2039 Jun 20  2012 [01;32mzless[0m
-rwxr-xr-x  1 root root   2802 Jun 20  2012 [01;32mzmore[0m
-rwxr-xr-x  1 root root   5049 Jun 20  2012 [01;32mznew[0m

Am I missing something

JohnS

Looks like escape sequences to show them in colour(s).

In effect, you've asked for that.

It's a combination of the terminal type you've set (or failed to set) and ls settings you've set (or failed to set).

Simple check:
ls | cat

If OK, then go hunting the settings.

John

embecon

Thanks...This was exactly the issue.
Am using Putty now....and it works great with the colors.