Prevent xed editor from creating backups


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Prevent xed editor from creating backups
# 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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Prevent user from creating new user from his login

Hi Experts, Need your support Redhat 6.5 I want to create a user with all(read, write, execute) privileges except that user should not be able to create any new user from his login to perform any task. (10 Replies)
Discussion started by: as7951
10 Replies

2. Shell Programming and Scripting

Backups using rsync

Hello all, I'm using nas4free as a SAN and am having troubles getting a backup of it's data to work properly. I've posted in the nas4free forums, but haven't received much help. Here is the code I'm using: #!/bin/sh {... (1 Reply)
Discussion started by: dpatino
1 Replies

3. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

4. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. UNIX Desktop Questions & Answers

Backups too CD

I've been handed the task of backing up some of our system files on a Solaris box. No probs. Zipped the logs that needed backing up but my superiors do not want it on tape, they want it spanned on CD's. The CD-Writer is available on a MS box. FTP'd the zipped logs across too the MS Machine but now... (1 Reply)
Discussion started by: mccrack_2003
1 Replies

7. UNIX for Dummies Questions & Answers

Backups.

Hello everyone my ? is about backups. I'am running SCO OS 505 and currently backing up the hole HD. Well the back up is taking too long and this is becoming a problem for the users since we are a 24-7 bussines, I whant stop backing up every thing on the HD. What are the most important files and... (1 Reply)
Discussion started by: kikkin
1 Replies

8. UNIX for Dummies Questions & Answers

backups

When using hostdump.sh to backup a system I can do it fine. But how can I restore what I backuped up? :) Thx in advance (2 Replies)
Discussion started by: merlin
2 Replies

9. Filesystems, Disks and Memory

Backups

I have been using the hostdump.sh backup script for over a year now and have recently run into a problem. I'm now getting the following error at the end of my jobs; /bin/mt -f: error fsf'ing tape. This script uses the native 'ufsdump'. So, I try to go back and read the last dump on the tape... (11 Replies)
Discussion started by: Solaris
11 Replies
Login or Register to Ask a Question