Terminal logging character problem -Newbie-
in terminal wanted to log with script command
but output file has some strange characters when I try to open with gedit or bluefish Script started on Mon 08 Mar 2010 03:32:39 PM EET ]0;anacondauser@localhost:~[anacondauser@localhost ~]$ ls -al [00mtotal 900 drwx------ 35 anacondauser anacondauser 4096 Mar 8 15:32 [00;34m.[00m drwxr-xr-x 3 root root 4096 Jun 6 2009 [00;34m..[00m -rw-rw-r-- 1 anacondauser anacondauser 0 Mar 8 15:32 [00mabc.txt[00m drwx------ 3 anacondauser anacondauser 4096 Jun 6 2009 [00;34m.adobe[00m -rw------- 1 anacondauser anacondauser 5814 Mar 8 15:24 [00m.bash_history[00m -rw-r--r-- 1 anacondauser anacondauser 33 May 25 2008 [00m.bash_logout[00m -rw-r--r-- 1 anacondauser anacondauser 176 May 25 2008 [00m.bash_profile[00m -rw-r--r-- 1 anacondauser anacondauser 124 May 25 2008 [00m.bashrc[00m drwx------ 3 anacondauser anacondauser 4096 Jan 18 08:08 [00;34m.bittorrent[00m drwxr-xr-x 2 anacondauser anacondauser 4096 Mar 8 15:22 [00;34m.bluefish[00m [m]0;anacondauser@localhost:~[anacondauser@localhost ~]$ exit Script done on Mon 08 Mar 2010 03:32:44 PM EET How can I get rid of these weird characters? |
What are the character encoding settings in your terminal and gedit/bluefish? You may just have to set one or the other so they match.
|
both(termina & bluefish) UTF-8 already
Quote:
drwx------ 35 anacondauser anacondauser 4096 Mar 8 15:32 ^[[00;34m.^[[00m^M drwxr-xr-x 3 root root 4096 Jun 6 2009 ^[[00;34m..^[[00m^M -rw-rw-r-- 1 anacondauser anacondauser 0 Mar 8 15:32 ^[[00mabc.txt^[[00m^M drwx------ 3 anacondauser anacondauser 4096 Jun 6 2009 ^[[00;34m.adobe^[[00m^M -rw------- 1 anacondauser anacondauser 5814 Mar 8 15:24 ^[[00m.bash_history^[[00m^M -rw-r--r-- 1 anacondauser anacondauser 33 May 25 2008 ^[[00m.bash_logout^[[00m^M |
All times are GMT -5. The time now is 09:44 PM. |