🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Rao Akella Sun, 27 Dec 1992 01:54
xrn: Changing "Overwrite Confirm" default.
#2857
Author: Rao Akella
Date: Sun, 27 Dec 1992 01:54
12 lines
1206 bytes

When you save an article with confirmation turned on, the default in the
"Overwrite Confirm" dialog box is "Overwrite".  Is there any way to change this
to "Append"?

If there's no customizable way, I'm willing to modify the source to make it so. 
Could any kind xrn guru point out the diffs to me?  I'm using v6.17-22.

Thank you very much for any and all help.

-- Rao Akella    <rao@moose.cccs.umn.edu, rao%moose@umnacvx.bitnet>
Re: xrn: Changing "Overwrite Confirm" default.
#2863
Author: Rick Murphy
Date: Mon, 28 Dec 1992 04:03
33 lines
1964 bytes
The attached context diff will get you what you want - effectively,
edit "save.c" and swap the order of the buttons in the dialog box.
	-Rick
diff -c save.c /tmp/save.c
*** save.c      Tue Sep 29 14:18:31 1992
--- /tmp/save.c Sun Dec 27 23:01:10 1992
***************
*** 356,363 ****
  {
      XEvent ev;
      static struct DialogArg args[] = {
-       {"Overwrite", overwriteHandler, (caddr_t) XRNsave_OVERWRITE},
        {"Append",    overwriteHandler, (caddr_t) XRNsave_APPEND},
        {"Abort",     overwriteHandler, (caddr_t) XRNsave_ABORT},
      };

--- 356,363 ----
  {
      XEvent ev;
      static struct DialogArg args[] = {
        {"Append",    overwriteHandler, (caddr_t) XRNsave_APPEND},
+       {"Overwrite", overwriteHandler, (caddr_t) XRNsave_OVERWRITE},
        {"Abort",     overwriteHandler, (caddr_t) XRNsave_ABORT},
      };


--
Rick Murphy, WA1SPT/4			Washington Open Systems Resource Center
Domain:  murphy@dco.dec.com -or- murphy@burfle.enet.dec.com
Bang:    decwrl!burfle.enet!murphy	"Somewhere between 30 and Death" -
Ding:	 (301) 918-5883				bumper sticker.
Disclaimer: This nonsense came from an AI program written in TECO. Ignore it.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads