LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-09-2005, 05:33 PM   #1
ffenliv
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
gedit problems


Howdy, I'm new to Linux, o please forgive any of my noobish ways here.

I set up fc4 with the server config, mostly just to play around with it, since i'm really sick of IIS.

I atttempted to open httpd.conf in gedit ... but it refuses to open, complaining about uknown character encoding. I know what the error is about, but haven't got the foggiest idea how to resolve it .. can anyone help?

Thanks,
Jer
 
Old 08-09-2005, 05:44 PM   #2
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Is using another editor an option? I imagine something else could handle it.
My other suggestion would be to try to open gedit normally, then see if you can change the encoding from there.
But really...just use vi or something
 
Old 08-09-2005, 05:46 PM   #3
ffenliv
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
i tried gedit, obviously, as well as open office - which at least gave me encoding options, but none seem to produce what i want .. the default producing a document some 3000 pages in length.

I'll try vi.
 
Old 08-09-2005, 05:51 PM   #4
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
The other option would be to try to cat the file into another file, or even go extreme and cat it then pipe it to xmessage and copy from there.
Code:
cat httpd.conf > testfile
gedit testfile

# or #

cat http.conf | xmessage -file -
# then open up a simple editor (such as Leafpad) and paste the xmessage contents into the file, then resave
Of all the things Linux can do well, text is one of them
Hope that helps.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gedit problems openning files UmneyDurak Linux - Software 6 11-24-2005 07:45 PM
gedit very slow janux Linux - Software 6 11-07-2005 02:54 PM
problems with gedit hitlaur Linux - Newbie 4 11-09-2004 10:16 PM
how can i reinstall gedit? vree13 Linux - Newbie 5 03-05-2004 04:17 PM
Gedit JsCAMRY Linux - Software 10 11-06-2003 01:54 PM


All times are GMT -5. The time now is 01:15 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration