Prevent xed editor from creating backups

Tags
solved, ubuntu

 
Thread Tools Search this Thread
# 1  
Old 08-26-2017
Question Prevent xed editor from creating backups

This is the oddest thing I've seen in any text editor in the three OSes I've used since buying my first home computer in 1993.

Short version: "where's the switch?"

the xed GUI (version 1.0.6) appears to have no Option to keep it from creating backups (~-marked files) if a text or ASCII file is let open for 5 minutes or more, or edited without saving for about that long. Neither Pluma, gedit or kate/kwrite (which I also use, though far less frequently) do this, and I know gedit and the two KDE editors at least have an Option to prevent it from happening.

I like the idea of backups in word-processors, but as I only script (and don't code; I make an 'old-school' distinction there), I see no reason for them in other types of writing or editing. When writing scripts I much prefer Geany, mainly for its color scheme in shell scripts. In xed etc, I normally write the lists and what-have-you my scripts use as input.

Any Google hit I've followed that describes this option, ie enableBackups, doesn't explain as to where to write it. Is it necessary, as with wget or curl, to create a config file the app will read as it launches? Will it, in version 1.0.6, see such a file as valid?

I should probably post these questions to the appropriate forum on github, but I've honestly not been able to find the "front door" of any of those, even Google-ing for them.

wrong

Last edited by iamwrong; 08-26-2017 at 09:46 AM.. Reason: Emphasised cerain words, edited clauses.
# 2  
Old 08-26-2017
Code:
xed -nb  <filename>

# 3  
Old 08-27-2017
Hi.

A Google search for man xed turned up many hits, among them: Linux Manpages Online - man.cx manual pages)

which produces:
Quote:
NAME

xed − text editor for X
SYNOPSIS

xed [-s] [-p string] [-nb] [-P] [-ttymode] [-fn font]
[-x N] [-nsb] [-help] [-version] [file]
DESCRIPTION

Xed is the standard text editor, conveniently re-written for use in the standard windowing system.

Xed is a completely backward-compatible implementation of the ed line-oriented text editor. See the ed(1) manual page for a description of the basic ed syntax and command set; what follows is a description of the features unique to xed.

OPTIONS


-s


Suppresses diagnostics.


−p string

Specifies a command prompt. This may be toggled on and off with the ’P’ command.


-nb


Turns off automatic file backup. By default, xed will back up a file to filename before writing to that file.

...
Google and man are your friends ... cheers, drl

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Backups using rsync dpatino Shell Programming and Scripting 1 03-27-2013 12:58 PM
AIX 6.1 Backups ollie01 AIX 2 01-28-2011 03:24 PM
Oracle 9i - Backups adelsin UNIX and Linux Applications 1 03-03-2010 07:25 AM
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen durgaprasadr13 Solaris 1 10-13-2008 08:39 AM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-13-2008 03:01 AM
Pasting text in VI editor from a different editor harishmitty UNIX for Dummies Questions & Answers 10 09-10-2008 07:22 PM
Backups too CD mccrack_2003 UNIX Desktop Questions & Answers 1 07-12-2003 09:26 PM
restoring backups yls177 UNIX for Dummies Questions & Answers 1 04-15-2003 06:02 PM
backups in background jairog UNIX for Advanced & Expert Users 4 09-04-2002 03:07 PM
Backups. kikkin UNIX for Dummies Questions & Answers 1 08-20-2002 11:34 AM
UNIX backups saood UNIX for Advanced & Expert Users 4 08-12-2002 08:57 AM
backups merlin UNIX for Dummies Questions & Answers 2 05-18-2002 04:03 PM
Backups Solaris Filesystems, Disks and Memory 11 05-06-2002 11:44 AM