LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2010, 08:41 AM   #1
anacondauser
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Question 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

total 900

drwx------ 35 anacondauser anacondauser 4096 Mar 8 15:32 .

drwxr-xr-x 3 root root 4096 Jun 6 2009 ..

-rw-rw-r-- 1 anacondauser anacondauser 0 Mar 8 15:32 abc.txt

drwx------ 3 anacondauser anacondauser 4096 Jun 6 2009 .adobe

-rw------- 1 anacondauser anacondauser 5814 Mar 8 15:24 .bash_history

-rw-r--r-- 1 anacondauser anacondauser 33 May 25 2008 .bash_logout

-rw-r--r-- 1 anacondauser anacondauser 176 May 25 2008 .bash_profile

-rw-r--r-- 1 anacondauser anacondauser 124 May 25 2008 .bashrc

drwx------ 3 anacondauser anacondauser 4096 Jan 18 08:08 .bittorrent

drwxr-xr-x 2 anacondauser anacondauser 4096 Mar 8 15:22 .bluefish


]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?
 
Old 03-08-2010, 08:43 AM   #2
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
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.
 
Old 03-08-2010, 08:46 AM   #3
anacondauser
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
both(termina & bluefish) UTF-8 already
Quote:
Originally Posted by MrCode View Post
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.
also vim output has weird characters
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

Last edited by anacondauser; 03-08-2010 at 09:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem logging on as root through terminal cmarnell Linux - Newbie 21 08-28-2006 08:42 AM
gnome-terminal and character encoding problem guillaume31 Linux - Software 0 03-13-2006 10:09 AM
Problem in text based terminal when logging as root MSafty SUSE / openSUSE 3 08-22-2005 04:14 PM
Problem in text based terminal when logging as root MSafty Linux - Software 2 08-17-2005 12:09 AM
newbie - logging terminal session to a file captainObvious Linux - General 3 11-09-2004 10:37 AM


All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration