🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Storm Mon, 15 May 2000 00:00
[xnews] Uh oh! hdr file is 1kb but mbx is 2Gig,... is there any retrieving it??
#61561
Author: Storm
Date: Mon, 15 May 2000 00:00
14 lines
1282 bytes
I downloaded a bunch of stuff (to the binaries folder) earlier today and
planned on decoding it all at once at the end of the day,... I just went to
do that, and the folder is empty,.... so I looked at the hdr and mbx
files,... the mbx is about 2gig (what I expected) but the hdr is about 1.5MB
smaller than I would have expected..... can I retrieve any of those files??
I don't normally archive to the binaries permanantly, but I do use it as a
temp storage til the end of the day,.... and have never had this trouble.

Thanks
Storm.



Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig,... is there any retrieving it??
#61567
Author: Ross Presser
Date: Mon, 15 May 2000 00:00
34 lines
2062 bytes
alt.distinguished.stormbringr@nospamgeocities.com
(Storm).wrote.posted.offered: 

>I downloaded a bunch of stuff (to the binaries folder) earlier today
>and planned on decoding it all at once at the end of the day,... I
>just went to do that, and the folder is empty,.... so I looked at
>the hdr and mbx files,... the mbx is about 2gig (what I expected)
>but the hdr is about 1.5MB smaller than I would have expected.....
>can I retrieve any of those files?? I don't normally archive to the
>binaries permanantly, but I do use it as a temp storage til the end
>of the day,.... and have never had this trouble. 

Using a text editor, hack the mbx file into parts less than 2Gb.  Then 
use Xnews to transfer invidual articles into several folders.

Let me restate that as a step-by-step procedure.
1. Copy BIGFLDR.MBX to SAVEFLDR.MBX
2. Using text editor, delete the bottom half of the file, making a note 
of the message with the last line.
3. Use Xnews to copy messages from BIGFLDR to FOLDER1.
4. Exit Xnews.
5. Copy SAVEFLDR.MBX back to BIGFLDR.MBX
6. Using text editor, delete the top half.
7. Use Xnews to copy messages from BIGFLDR to FOLDER2.



-- 
Ross Presser * ross_presser@imtek.com
'"Stuck" is not a state of being unable to solve a puzzle. "Stuck" is
a state of *believing* that you are unable to solve a puzzle.'
- Andrew "Zarf" Plotkin, waxing philosophical again

Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61605
Author: Storm
Date: Tue, 16 May 2000 00:00
15 lines
1182 bytes
Out of curiousity,.... what text editor do you suggest that can open a 2gig
file without thrashing memory?? Dos Edit can't, nor WordPad, Notepad
obviously can't....

Storm


>>Using a text editor, hack the mbx file into parts less than 2Gb.  Then
>>use Xnews to transfer invidual articles into several folders.





Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig,... is there any retrieving it??
#61610
Author: Storm
Date: Tue, 16 May 2000 00:00
24 lines
1677 bytes
Hey thanks! It looks like it's going to be a several day process, (harddrive
isn't big enough here to create a 2nd copy) so I'll take the file home, and
transfer it to the big system and try it there.  I appreciate the help, I'll
let you know how it all turns out.

Storm

>Using a text editor, hack the mbx file into parts less than 2Gb.  Then
>use Xnews to transfer invidual articles into several folders.
>
>Let me restate that as a step-by-step procedure.
>1. Copy BIGFLDR.MBX to SAVEFLDR.MBX
>2. Using text editor, delete the bottom half of the file, making a note
>of the message with the last line.
>3. Use Xnews to copy messages from BIGFLDR to FOLDER1.
>4. Exit Xnews.
>5. Copy SAVEFLDR.MBX back to BIGFLDR.MBX
>6. Using text editor, delete the top half.
>7. Use Xnews to copy messages from BIGFLDR to FOLDER2.




Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61630
Author: Storm
Date: Wed, 17 May 2000 00:00
49 lines
3353 bytes
Er,.. the "user" is a programmer analyst,.... but is very unfamiliar with
the program.  Technical Sophistication is not an issue.  That actually
seemed a fairly arrogant statment.  Perhaps I did not state the problem in
techie terms, but I have been "trained" out of that,... since it tends to
cause confusion when people use different terminology.  I asked the question
because I wanted to know if there was an easier way than the things I
was -going- to try.  Perhaps there was a way of recovering it in XNews
itself.  Or something that would save me the trouble of trying to transfer a
2gig file elsewhere to recreate it.  Finally, if a text editor is
impractical for the application, why not suggest that the unsophisticated
user educate themselves on the tool that -would- be suited to the
application?? A "simple" text editor is simply not capable, it needs to be a
different program that what was found in Windows,... if they were going to
have to go looking for a new program, then why not point them to the correct
one?? Also, a P200 with 64MB of Ram quickly runs out of resources, and
cannot open that file, and therefore, Processor power/Swap Time are not
cheap in this situation.

On that note,.. thanks to all who offered suggestions.  At my earliest
convenience, I will be going up onto the net to find these programs and
determine what might be suited to my immediate needs, and begin to learn to
use them.

Storm
Programmer Analyst
TekMetrics/ BrainBench High IT Aptitude Certified.


>Vim (www.vim.org) is my favorite.  Others that can handle the file
>would include emacs, multiedit, PFE, and probably many others.
>
>"Thrashing memory" is of course a concern with nearly any editor and a
>large file.  In practice *I* would probably *not* use a text editor; I
>would identify the cut points using LIST.COM, then use head, tail, or
>perhaps split (ports of unix tools, see www.cygnus.com) to actually cut
>it up.
>
>However, my impression was that the user might not be up to the
>technical sophistication required to use such tools, so I said "text
>editor", figuring that processor and hard drive swap time is cheap.
>--
>Ross Presser * ross_presser@imtek.com
>'"Stuck" is not a state of being unable to solve a puzzle. "Stuck" is
>a state of *believing* that you are unable to solve a puzzle.'
>- Andrew "Zarf" Plotkin, waxing philosophical again



Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61649
Author: Ross Presser
Date: Wed, 17 May 2000 00:00
26 lines
1888 bytes
alt.distinguished.stormbringr@nospamgeocities.com
(Storm).wrote.posted.offered: 

>Out of curiousity,.... what text editor do you suggest that can open
>a 2gig file without thrashing memory?? Dos Edit can't, nor WordPad,
>Notepad obviously can't....

Vim (www.vim.org) is my favorite.  Others that can handle the file 
would include emacs, multiedit, PFE, and probably many others.

"Thrashing memory" is of course a concern with nearly any editor and a 
large file.  In practice *I* would probably *not* use a text editor; I 
would identify the cut points using LIST.COM, then use head, tail, or 
perhaps split (ports of unix tools, see www.cygnus.com) to actually cut 
it up.

However, my impression was that the user might not be up to the 
technical sophistication required to use such tools, so I said "text 
editor", figuring that processor and hard drive swap time is cheap.
-- 
Ross Presser * ross_presser@imtek.com
'"Stuck" is not a state of being unable to solve a puzzle. "Stuck" is
a state of *believing* that you are unable to solve a puzzle.'
- Andrew "Zarf" Plotkin, waxing philosophical again

Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61657
Author: semanticist
Date: Wed, 17 May 2000 00:00
15 lines
1403 bytes
stormbringr@nospamgeocities.com (Storm) spake this:

>Out of curiousity,.... what text editor do you suggest that can open
>a 2gig file without thrashing memory?? Dos Edit can't, nor WordPad,
>Notepad obviously can't....
>

There are lots available. I tried a few, and settled on NotePad+ by 
RogSoft. No limit on file size, freeware, small exe (244K), and it lets 
me have white text on a blue field :). I simply renamed the exe to 
Notepad.exe and copied it over the MS program file in c:/windows.

rdb

Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61658
Author: Ross Presser
Date: Wed, 17 May 2000 00:00
33 lines
2244 bytes
Guess I've put my foot in it again....

alt.distinguished.stormbringr@nospamgeocities.com
(Storm).wrote.posted.offered: 

>Er,.. the "user" is a programmer analyst,.... but is very unfamiliar
>with the program.  Technical Sophistication is not an issue.  That 
>actually seemed a fairly arrogant statment. 

I made an unwarranted assumption.  I sincerely apologize.  Worse than 
that, I dumbed down my response without thinking it through.  Even the 
veriest newbie in your situation would deserve a proper explanation and 
pointers to the most appropriate tools.  If the explanation was not 
understood, *that* is the time to adjust the technical level.

I am very sorry.  I haven't been thinking clearly lately.

With duplication, the easiest way is probably to use GNU split(1).  The 
--line_bytes=1000m option would make it write a set of files, broken at 
full lines, each containing no more than 1 gigabyte.

Avoiding duplication seems to be rather hard.  You'd need to find a 
utility that can cut down the size of a file without copying it.  I can 
think of how to write such a utility in C, but I don't know if one 
already exists or not.

-- 
Ross Presser * ross_presser@imtek.com
'"Stuck" is not a state of being unable to solve a puzzle. "Stuck" is
a state of *believing* that you are unable to solve a puzzle.'
- Andrew "Zarf" Plotkin, waxing philosophical again

Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61661
Author: Erland Sommarskog
Date: Wed, 17 May 2000 00:00
22 lines
1905 bytes
Ross Presser (rpresser@NOSPAMimtek.com.invalid) writes:
>However, my impression was that the user might not be up to the 
>technical sophistication required to use such tools, so I said "text 
>editor", figuring that processor and hard drive swap time is cheap.

Did you ever try to edit a 2GB file with a text editor? You really
need a big swap to ever get it to work, and it won't be very fun.
Text editors are designed to manipulate data in memory, not data
on disk. And with a such a big file, all but a fraction will be
on disk.

I believe there are editors for such larges files out there, and
I seem to recall having seen my sysadmin having used one, but I 
can't recall the name. I looked around a little on www.winfiles.com,
but there are quire a few text editors. Some say "docuements of
unlimited size", but that doesn't that they will perform well 
with a 2GB file...

-- 
Erland Sommarskog, Stockholm, sommar@algonet.se

Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61674
Author: Ed
Date: Thu, 18 May 2000 00:00
35 lines
2581 bytes
sommar@algonet.se (Erland Sommarskog) wrote in 
<8F37F089DYazorman@194.213.69.152>:

>Ross Presser (rpresser@NOSPAMimtek.com.invalid) writes:
>>However, my impression was that the user might not be up to the 
>>technical sophistication required to use such tools, so I said "text 
>>editor", figuring that processor and hard drive swap time is cheap.
>
>Did you ever try to edit a 2GB file with a text editor? You really
>need a big swap to ever get it to work, and it won't be very fun.
>Text editors are designed to manipulate data in memory, not data
>on disk. And with a such a big file, all but a fraction will be
>on disk.
>
>I believe there are editors for such larges files out there, and
>I seem to recall having seen my sysadmin having used one, but I 
>can't recall the name. I looked around a little on www.winfiles.com,
>but there are quire a few text editors. Some say "docuements of
>unlimited size", but that doesn't that they will perform well 
>with a 2GB file...
>

True, but with 128MB of real memory why would any 'text' editor need to use 
over 30MB of swap space to edit a 3MB file?  I never found out how much was 
needed since I killed the loading.  The problem is programmers who don't 
know how to program and designers creating an OS that is a pig.  That's the 
problem and it's not going to be fixed here.  As others have pointed out, 
if you need to do this, get a program from a programmer who knows what they 
are doing!  Should this be necessary?  NO!  But it is life.

Please take me back to the days when 4K was unlimitted memory!!!!!

Ed

Re: [xnews] Uh oh! hdr file is 1kb but mbx is 2Gig... more
#61689
Author: Jerry Gardner
Date: Thu, 18 May 2000 00:00
12 lines
1381 bytes
stormbringr@nospamgeocities.com (Storm) wrote in
>Out of curiousity,.... what text editor do you suggest that can open a
>2gig file without thrashing memory?? Dos Edit can't, nor WordPad,
>Notepad obviously can't....

Emacs will edit just about anything, even binary files, irregardless of size.

-- 
Jerry Gardner                   | Bill Clinton has all the steely resolve of
email: w6uv@hotmail.com         | a kamikaze pilot on his 37th mission.

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