LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2005, 10:29 AM   #1
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
C source code duplication


hello

When using multiple source files I like to use an old laptop runing in terminal mode and my computer running gnome at the same time to edit source files.

the problem is i get a duplicate of every source file that I access via the two methods.

I get man.c and main.c~ and then file.c and then file.c~ etc in the working directory.

I am using gedit in gnome.

how can I get around this so I only have one copy of each source file ?

Use another file editior?

I quite like gedit.

thnks in advance.

rj
 
Old 07-23-2005, 10:43 AM   #2
Starch
Member
 
Registered: Jan 2005
Posts: 77

Rep: Reputation: 15
these other files that end in ~ are backup's to disable backups do this

open gedit goto edit>perferenses in menu. In "editor" tab find "File saving" and take of the back up check mark and it will stop.
 
Old 07-23-2005, 10:47 AM   #3
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
cool ,
cheers
 
Old 07-24-2005, 05:24 PM   #4
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Use vi - it's the best editor in the world.
 
Old 07-25-2005, 10:14 AM   #5
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
within the terminal enviroment I do.
Its quirky,but its what I know..
 
Old 07-30-2005, 05:06 PM   #6
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
vi quirky? Nonsense - it's a very logical and orthogonal editor. Some of the commands may seem quirky, like 'l' to move the cursor right one position, but there are good reasons for each of the alleged "quirks".
 
Old 07-30-2005, 06:04 PM   #7
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
:0) ....err. ok.

I'm sure there are,but I don't think you could call it intuitive.

However,i'm not arguing with you because as I've said its what I use in 90 % of the time.
 
  


Reply



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
where is source code? agpev1 Ubuntu 3 11-23-2005 08:04 PM
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM
Does anyone know where the source code is? Echo Kilo Mandriva 8 12-22-2004 12:00 PM
source code of ls avadhootak Linux - Software 1 11-02-2003 12:06 PM
Looking for source code sourceman Linux - General 0 05-21-2002 01:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:43 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
Open Source Consulting | Domain Registration