[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Editing system files from within Emacs
- To: emacspeak@xxxxxxxxxxx
- Subject: Editing system files from within Emacs
- From: Jason White <jasonw@xxxxxxxxxxx>
- Date: Tue, 4 Aug 1998 20:11:49 +1000 (AEST)
- Old-Return-Path: <jasonw@xxxxxxxxxxx>
- Resent-Date: Tue, 4 Aug 1998 06:09:33 -0400
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <"F828F.A.o8.S3tx1"@hub>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
Recently, I have confronted the problem of how best to edit system files
while logged in as an ordinary user and working via Emacspeak. My solution
involves visiting the relevant directory in shell mode, becoming the super
user, changing the ownership of the file temporarily from "root" to my
login name, editing the file in Emacs (with find-file: c-x, c-f) and then,
after having saved the file, changing its ownership back to "root". I also
tried running Emacs from an eterm buffer, but the cursor keys did not
operate correctly and editing text was not very convenient.
Has anyone devised a better approach than those outlined above?
Jason.
-----------------------------------------------------------------------------
To unsubscribe or change your address send mail to
"emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe