🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by MW Wed, 26 Jan 2000 00:00
XNews:Problem overwriting files without warning
#57305
Author: MW
Date: Wed, 26 Jan 2000 00:00
40 lines
2180 bytes

I use XNews and an external browser (ACDSee).  When I double click on an 
image file, XNews decodes it into the specified dir and spawns the viewer.

The problem is, if that directory already has images stored that have the 
same name they are overwritten.

For example I decode a picture called apple001.jpg that is a picture of a 
fruit and keep it. If I now double click on another posted image called 
apple001.jpg that is a picture of a computer.  XNews will overwrite the 
picture of the fruit without warning when it spawns the browser to view 
the new apple001.jpg wich is a picture of the computer. If I delete the 
spawned image because I don't want it, both are gone. If I keep the new 
image, I only have one apple001.jpg file, the computer, and the fruit is 
gone.

This doesn't happen if you Q and decode articles. Duplicate files are 
saved as apple001.jpg and apple001_0.jpg. But if you simply double-
click to decode and view the new viewed file overwrites without any 
warning.

This can be prevented by usung different directories for viewing and 
saving, but I find that awkward. Also the fact that it happens without any 
warning means that you often lose many files before you notice thay are 
missing.

Is there a way of setting XNews to not overwrite existing files when a new 
one is spawned directly to a viewer?



MW






Re: XNews:Problem overwriting files without warning
#57288
Author: Bill Simeon
Date: Wed, 26 Jan 2000 00:00
60 lines
2845 bytes
nobody@nowhere.com (MW) wrote in 
<519917325887FB52.F0EFA134C3483B87.C24EE2E5B8F6C955@lp.airnews.net>:

>I use XNews and an external browser (ACDSee).  When I double click on an 
>image file, XNews decodes it into the specified dir and spawns the viewer.
>
>The problem is, if that directory already has images stored that have the 
>same name they are overwritten.
>
>For example I decode a picture called apple001.jpg that is a picture of a 
>fruit and keep it. If I now double click on another posted image called 
>apple001.jpg that is a picture of a computer.  XNews will overwrite the 
>picture of the fruit without warning when it spawns the browser to view 
>the new apple001.jpg wich is a picture of the computer. If I delete the 
>spawned image because I don't want it, both are gone. If I keep the new 
>image, I only have one apple001.jpg file, the computer, and the fruit is 
>gone.
>
>This doesn't happen if you Q and decode articles. Duplicate files are 
>saved as apple001.jpg and apple001_0.jpg. But if you simply double-
>click to decode and view the new viewed file overwrites without any 
>warning.
>
>This can be prevented by usung different directories for viewing and 
>saving, but I find that awkward. Also the fact that it happens without any 
>warning means that you often lose many files before you notice thay are 
>missing.
>
>Is there a way of setting XNews to not overwrite existing files when a new 
>one is spawned directly to a viewer?
>
>
>
>MW
>
>
>
>
>
>

Check for the following lines in the MISC section of your xnews.ini file. 
This should solve your problem.

; save option for batch decoding; 1=overwrite existing file 2=rename if file 
exists
DecodeOpt=2
; save option for attachments; 1=overwrite 2=rename
AttachOpt=2

-- 
Required Disclaimer:
The opinions expressed herein are my own and are NOT those of my employer.
Bill Simeon MCSE MCP+I
NCR HAGSC
When I die, I want to go peacefully, In my sleep, like my grandfather.
Not screaming, like the passengers in his car!
wsimeon@netscape.net

Re: XNews:Problem overwriting files without warning
#57315
Author: GM
Date: Wed, 26 Jan 2000 00:00
30 lines
1567 bytes
wsimeon@hotmail.com (Bill Simeon) wrote in <8EC7657D8wgs@153.80.109.11>:

>nobody@nowhere.com (MW) wrote in 
><519917325887FB52.F0EFA134C3483B87.C24EE2E5B8F6C955@lp.airnews.net>:
>
>>[snip]
>
>Check for the following lines in the MISC section of your xnews.ini
>file. This should solve your problem.
>
>; save option for batch decoding; 1=overwrite existing file 2=rename if
>file exists
>DecodeOpt=2
>; save option for attachments; 1=overwrite 2=rename
>AttachOpt=2
>

Thanks for the answer. I have the same problem, but had given up hope 
on it and just used decode (F4) instead of just hitting Enter.

I looked at the manual and it doesn't mention AttachOpt in the [Misc]
section. Is it undocumented?

Gregory

-- 
Make this a valid address:
put the land before the news.

Re: XNews:Problem overwriting files without warning
#57338
Author: GM
Date: Thu, 27 Jan 2000 00:00
30 lines
1645 bytes
wsimeon@hotmail.com (Bill Simeon) wrote in <8EC7657D8wgs@153.80.109.11>:

>nobody@nowhere.com (MW) wrote in 
><519917325887FB52.F0EFA134C3483B87.C24EE2E5B8F6C955@lp.airnews.net>:
>
>>[snip]
>
>Check for the following lines in the MISC section of your xnews.ini
>file. This should solve your problem.
>
>; save option for batch decoding; 1=overwrite existing file 2=rename if
>file exists
>DecodeOpt=2
>; save option for attachments; 1=overwrite 2=rename
>AttachOpt=2
>

Thanks for the answer. I have the same problem, but had given up hope 
on it and just used decode (F4) instead of just hitting Enter.

I looked at the manual and it doesn't mention AttachOpt in the [Misc]
section. Is it undocumented?

Gregory

-- 
Make this a valid address:
put the land before the news.

Re: XNews:Problem overwriting files without warning
#57341
Author: Rich
Date: Thu, 27 Jan 2000 00:00
9 lines
1314 bytes
On Thu, 27 Jan 2000 03:19:43 GMT, GM <marti@mainews.com.invalid> wrote:

>I looked at the manual and it doesn't mention AttachOpt in the [Misc]
>section. Is it undocumented?

It's in there, but for some reason was commented out.  If you open the 
manual in a text editor like Notepad you can find it.

Re: XNews:Problem overwriting files without warning
#57386
Author: GM
Date: Thu, 27 Jan 2000 00:00
27 lines
1793 bytes
rumht002@usa.com (Rich) wrote in <8EC8519D6rumht00@209.99.56.11>:

>On Thu, 27 Jan 2000 03:19:43 GMT, GM <marti@mainews.com.invalid> wrote:
>
>>I looked at the manual and it doesn't mention AttachOpt in the [Misc]
>>section. Is it undocumented?
>
>It's in there, but for some reason was commented out.  If you open the 
>manual in a text editor like Notepad you can find it.

I found it using Notepad. However, although I entered the option
in xnews.ini (and also in groups.ini), it still overwrites instead of 
renaming. 

I also looked at changes.txt. In the changes for ver. 2.09.02 it 
says that a weirdness with attachment saving was fixed from previous 
versions. Maybe this explains it, because I remember that renaming was 
working fine for me in version 2.07.14.

Thanks anyway,
Gregory

-- 
Make this a valid address:
put the land before the news.

Re: XNews:Problem overwriting files without warning
#57440
Author: MW
Date: Sat, 29 Jan 2000 00:00
18 lines
1354 bytes
wsimeon@hotmail.com (Bill Simeon) wrote in <8EC7657D8wgs@153.80.109.11>:

>Check for the following lines in the MISC section of your xnews.ini
>file. This should solve your problem.
>
>; save option for batch decoding; 1=overwrite existing file 2=rename if
>file exists
>DecodeOpt=2
>; save option for attachments; 1=overwrite 2=rename
>AttachOpt=2
>

Yes I have those lines in my xnews.ini MISC section but they have no 
effect.

MW

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