Re: Is there any way to fix Software Update in Standard user accounts?



Jolly Roger <jollyroger@xxxxxxxxx> wrote:

In article <1ifrlpd.jkze7zoa8mzbN%lists@xxxxxxxxxxxxxxxxxx>,
lists@xxxxxxxxxxxxxxxxxx (Jamie Kahn Genet) wrote:

Ian Gregory <foo@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Perhaps you can tell me how to quit visudo?
Because I cannot see any way to interface with this CL app in the way I
have with other CL apps like ... well, man for example. Or lynx. Or any
CL app I've been able to comprehend (my comprehension usually depending
on an understandable man file).

The default editor is vi. To enter the quit command, type a colon (:)
followed immediately by a q character, then press Return / Enter on the
keyboard:

:q

Quitting Terminal anyway leaves me with an error about a copy of the
sudoers file in a temp directory, IIRC (this was last night and I'm not
keen on running it again and getting stuck).

Also I'm experiencing slow launching of apps and beachballs since this.
I thought you said visudo isn't an editor? So why did it create a temp
version of the file? Anyone know what might be causing these slowdowns?
Could visudo have corrupted my sudoers file? Would that cause these
symptoms? Hardly any CPU cycles are being used.

When you abort (force quit) vi and there are unsaved changes to an open
document, vi saves the document, in its current unsaved state to a
temporary file so that you can easily recover those changes the next
time you run vi.

The next time you run vi and edit the same file, vi displays a notice
tat describes this and gives you instructions for recovering those
changes. It's pretty straight-forward. Basically, you enter the
"recover" command, like so:

:recover

Then you save the file with the write command:

:w

Cheers JR, now I know WHAT app I'm in it's a huge help.

Regards,
Jamie Kahn Genet
--
If you're not part of the solution, you're part of the precipitate.
.



Relevant Pages

  • Re: Is there any way to fix Software Update in Standard user accounts?
    ... Perhaps you can tell me how to quit visudo? ... Because I cannot see any way to interface with this CL app in the way I ... temporary file so that you can easily recover those changes the next ...
    (comp.sys.mac.system)
  • Re: Steve Carroll does not know the difference between saving and quitting.
    ... or in an app where it can be used for additional work it ... Most apps cannot be used with no window open... ... yet it does not quit. ... And nor should it Snit! ...
    (comp.sys.mac.advocacy)
  • Re: What apps are running?
    ... a developer the ability to save state on manual quit, ... way that Lion will suspend your app automatically and "invisibly" to free ... The restart issue is, like many other things, covering a fault in the machine, so yes, if you restart it should come back exactly as you left it, but if you quit, I view that as a separate issue where you are saying 'I don't want this any more'. ... you will expect those documents to be there and open when you switch back. ...
    (uk.comp.sys.mac)
  • Re: What apps are running?
    ... I think there will be a surprising number of situations in which an app can ... a developer the ability to save state on manual quit, ... If they were kept in the dock after quiting, ...
    (uk.comp.sys.mac)
  • Re: What apps are running?
    ... I think there will be a surprising number of situations in which an app can ... a developer the ability to save state on manual quit, ... If they were kept in the dock after quiting, ...
    (uk.comp.sys.mac)