LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C source code duplication (https://www.linuxquestions.org/questions/programming-9/c-source-code-duplication-345995/)

slzckboy 07-23-2005 10:29 AM

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

Starch 07-23-2005 10:43 AM

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.

slzckboy 07-23-2005 10:47 AM

cool ,
cheers

eddiebaby1023 07-24-2005 05:24 PM

Use vi - it's the best editor in the world.

slzckboy 07-25-2005 10:14 AM

within the terminal enviroment I do.
Its quirky,but its what I know..

eddiebaby1023 07-30-2005 05:06 PM

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".

slzckboy 07-30-2005 06:04 PM

: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.


All times are GMT -5. The time now is 03:10 AM.