View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Editing files
PostPosted: Sat Feb 21, 2004 12:06 am 
Offline
Joined: Fri Feb 13, 2004 5:22 pm
Posts: 7
I have just done my install (auto) and had limited success. I have no TV out and the remote doesn't work. On a monitor, everything looks wonderful though (even with rabbit ears).
I realize I need to do some editing and have some questions. I am a novice and was wondering what you guys use to edit the files. I notice there is no emacs, and I am terrible with vi. Working from xterm is a little new to me. I'm afraid I have relied too heavily on the various GUI distros, but I am learning a lot doing this installation. I am trying not to post too many noob questions here.
If there is anyone who has done a Pundit system and/or would be willing to help me via IM when I get stuck, please let me know.

_________________
ASUS Pundit
Celeron 2.4G
256M Ram
WD 250GB
PVR 250


Top
 Profile  
 
 Post subject: try nano or pico
PostPosted: Sat Feb 21, 2004 1:34 am 
Offline
Joined: Sat Feb 14, 2004 2:32 pm
Posts: 94
Try nano, it's very easy. Cntrl + o to save (-;

apt-get install nano

or pico

apt-get install pine


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2004 4:14 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Well, if you know emacs, as root:apt-get update then apt-get install emacs

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2004 10:38 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
my suggestion would be to run vimtutor which teaches you how to use vi. The reason I say this is that any and every unix system you will ever encounter has vi so you will always have an editor you know how to use. It's really not that hard, and is quite powerful and easy to use once you learn it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2004 12:58 pm 
Offline
Joined: Mon Jan 05, 2004 1:30 pm
Posts: 139
Location: New Hope, MN
While I have no qualm with Vi, emacs, pico, nano, or any other text mode editor, I have found that when editing config files, where it is nice to go back and forth between two files, xedit works very well.

If you exit MythFrontEnd, and left click on the background to bring up the menu, then select xterm, all you have to do to open multiple xedit screens is type:

xedit filename1&
xedit filename2&

If you need to open files in the /etc directory remember to first su to root so you have the privleges you need to edit those files.

For very basic editing, copy and paste, xedit is fairly simple. I would like to be able to highlight a section of text and delete it at times, but for the most part I have to admit that it works well.

It has a single button to save the file (looks like a bit of text with lines around it) near the top, as well as a single button to close. If you highlight text in one window, then middle click in the other window, the highlighted text is pasted into the second window.

I do agree that if you are familiar with another text editor, go for it. If you would rather edit via joe, jove, le, qe, sam, or some other editor, it's reasonably simple to install them via 'apt-get install <editor-name>'.

xedit usually comes as part of the X Windowing System application. vi is almost always installed on linux distributions (exceptions are almost always where the person who put the distribution together preferes emacs). Both are simple, and provide reasonable text editing features. vi as installed (as I observe) does syntax highlighting, xedit does not. This may not matter to you, as a lot of syntax highlighting is fairly specific to the type of file you are editing, and may not be of use to someone who is unfamiliar with the intention of the highlighting. (I also hate the 'dark blue on black' used to highlight a lot of remarks, but that's personal, and to me is not worth editing the syntax hightlight preferences files to change.)

-Rusty

_________________
Master:
- AMD 1800XP on a MSI KT4V motherboard, via KT400 bios
- 120 G Segate Baracuda /, /cache, /myth, swap
- 200 G Segate Baracuda /myth/tv
- 3 Haupauge! WinTV PVR250s
- 19" Daewoo Monitor (1280x1024 ni)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2004 7:43 pm 
Offline
Joined: Fri Feb 13, 2004 5:22 pm
Posts: 7
Thanks for the replies. I did the vim tutorial and I am ok with it now. I decided to do a fresh install R4V2 on the "TV" setting since I will be using this on a TV all the time. I connected the S-video out and I make it through most of the install. When it kicks the cd out to reboot, it goes through the normal boot sequence and then I get a black screen (no signal out). I have serched this site and google, but I am unable to find a solution. The pundidt has a SiS graphics card. When I went in to edit /etc/X11/XF86Config-4 to the proper horiz / vert settings, I do not see any mention of a TV output or TV connection in the options list.
On a side note, when I connect a monitor (upon tv failure) everything looks fine. When I try to watch tv, I get a message saying all available inputs are recording event hough nothing is recording. A reboot doesn't help. Any suggestions?

_________________
ASUS Pundit
Celeron 2.4G
256M Ram
WD 250GB
PVR 250


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu