Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Problem with binary file I/O
       [not found] <ccurtis@ee.fit.edu>
@ 1998-04-27  3:37 ` Larry Zimmerman
  1998-04-27  3:43   ` Christopher Curtis
  1998-04-27  4:02 ` Larry Zimmerman
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Larry Zimmerman @ 1998-04-27  3:37 UTC (permalink / raw)
  To: axp-list

Thank you, problem solved. I guess I have an outdated man page.
The program works with fopen(  ,"a+") in the addsta function,
since it does just append to this file. I used fopen(  ,"r+")
in the repsta function (updates the record), and now it works.

Larry Z.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with binary file I/O
  1998-04-27  3:37 ` Problem with binary file I/O Larry Zimmerman
@ 1998-04-27  3:43   ` Christopher Curtis
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Curtis @ 1998-04-27  3:43 UTC (permalink / raw)
  To: axp-list

On Sun, 26 Apr 1998, Larry Zimmerman wrote:

> Thank you, problem solved. I guess I have an outdated man page.
> The program works with fopen(  ,"a+") in the addsta function,
> since it does just append to this file. I used fopen(  ,"r+")
> in the repsta function (updates the record), and now it works.

D'oh!  Glad you didn't listen to me.  "w+" would trunc the file.  Heh. 

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with binary file I/O
       [not found] <ccurtis@ee.fit.edu>
  1998-04-27  3:37 ` Problem with binary file I/O Larry Zimmerman
@ 1998-04-27  4:02 ` Larry Zimmerman
  1998-04-27  4:26   ` Christopher Curtis
  1998-04-27  4:42 ` PBM, etc Larry Zimmerman
  1998-08-04  4:59 ` Multia Sound Larry Zimmerman
  3 siblings, 1 reply; 7+ messages in thread
From: Larry Zimmerman @ 1998-04-27  4:02 UTC (permalink / raw)
  To: axp-list

        Christopher Curtis wrote:
	
	D'oh!  Glad you didn't listen to me.  "w+" would trunc the file.  Heh. 

Actually I did follow up on what you suggested, and found the
right combination that way. Thanks again.

Re: pbm - I have a netpbm-1mar1994-15.alpha.rpm on my system.
    I think it came from RedHat - not sure. If it's not on their
    site, I can try to copy it to my anon ftp site for you or ...?

Can't help you with nn - I use knews, but I don't think it will
do what you want.

Larry Z.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem with binary file I/O
  1998-04-27  4:02 ` Larry Zimmerman
@ 1998-04-27  4:26   ` Christopher Curtis
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Curtis @ 1998-04-27  4:26 UTC (permalink / raw)
  To: axp-list

On Sun, 26 Apr 1998, Larry Zimmerman wrote:

> Actually I did follow up on what you suggested, and found the
> right combination that way. Thanks again.

Glad to help.  =)

> Re: pbm - I have a netpbm-1mar1994-15.alpha.rpm on my system.

I do have the RedHat RPM - can you install yours?  Mine gives an error
when I try to install it - something about a header check.

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PBM, etc.
       [not found] <ccurtis@ee.fit.edu>
  1998-04-27  3:37 ` Problem with binary file I/O Larry Zimmerman
  1998-04-27  4:02 ` Larry Zimmerman
@ 1998-04-27  4:42 ` Larry Zimmerman
  1998-04-27 11:59   ` Christopher Curtis
  1998-08-04  4:59 ` Multia Sound Larry Zimmerman
  3 siblings, 1 reply; 7+ messages in thread
From: Larry Zimmerman @ 1998-04-27  4:42 UTC (permalink / raw)
  To: axp-list

  Christopher Curtis wrote:

	> Re: pbm - I have a netpbm-1mar1994-15.alpha.rpm on my system.
	
	I do have the RedHat RPM - can you install yours?  Mine gives an error
	when I try to install it - something about a header check.

I just installed it - no error messages. I have kernel 2.0.30, libc-1.99.??
Is the header check an RPM thing or is this a "header" file thing?

If you're looking for libpbm, etc. it's in the libgr-* rpms.

Larry Z.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PBM, etc.
  1998-04-27  4:42 ` PBM, etc Larry Zimmerman
@ 1998-04-27 11:59   ` Christopher Curtis
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Curtis @ 1998-04-27 11:59 UTC (permalink / raw)
  To: axp-list

On Sun, 26 Apr 1998, Larry Zimmerman wrote:

>   Christopher Curtis wrote:
> 
> 	I do have the RedHat RPM - can you install yours?  Mine gives an error
> 	when I try to install it - something about a header check.
> 
> I just installed it - no error messages. I have kernel 2.0.30, libc-1.99.??
> Is the header check an RPM thing or is this a "header" file thing?

Too strange.  I've downloaded the file half a dozen times, but each time I
try to install it, I've gotten this message:

	cannot read header at 538616248 for dependency check

Redhat 4.2, kernel 2.0.33, all 4.2 RPM updates; 166MHz UDB.

> If you're looking for libpbm, etc. it's in the libgr-* rpms.

I believe those are installed already.  Can you email me your rpm or make
it available for ftp for me?  Which version of RPM do you have?  2.4.12?

TIA
--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Multia Sound
       [not found] <ccurtis@ee.fit.edu>
                   ` (2 preceding siblings ...)
  1998-04-27  4:42 ` PBM, etc Larry Zimmerman
@ 1998-08-04  4:59 ` Larry Zimmerman
  3 siblings, 0 replies; 7+ messages in thread
From: Larry Zimmerman @ 1998-08-04  4:59 UTC (permalink / raw)
  To: axp-list


From: Christopher Curtis <ccurtis@ee.fit.edu> Mon, 3 Aug 1998
> Hrm... until Redhat gets some decent list archive management software...
	
> Sound on the Multia was recently discussed.  I appear to have the same
> problem.  Cat'ing a file to /dev/audio sounds like a truck driving through
> a field of parrots.  What are the proper settings?

My favorite song ;-) Is that the Johnny Cash or Merle Haggard version?
Try using the "play" command, it works better on my UDB than "cat",
but only seems to work for .wav and a few others.

> If someone could compare this with a working setup it would be greatly
> appreciated.

This is from my kernel 2.0.30 config:
#
# Sound
#
CONFIG_SOUND=y
# CONFIG_PAS is not set
# CONFIG_SB is not set
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
CONFIG_MSS=y
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
CONFIG_MIDI=y
# CONFIG_YM3812 is not set
MSS_BASE=530
MSS_IRQ=9
MSS_DMA=3
MSS_DMA2=1
DSP_BUFFSIZE=65536
CONFIG_LOWLEVEL_SOUND=y
# CONFIG_ACI_MIXER is not set

The DMA2 is from a patch I got somewhere?

Hope this helps.

Larry Z.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-08-04  4:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ccurtis@ee.fit.edu>
1998-04-27  3:37 ` Problem with binary file I/O Larry Zimmerman
1998-04-27  3:43   ` Christopher Curtis
1998-04-27  4:02 ` Larry Zimmerman
1998-04-27  4:26   ` Christopher Curtis
1998-04-27  4:42 ` PBM, etc Larry Zimmerman
1998-04-27 11:59   ` Christopher Curtis
1998-08-04  4:59 ` Multia Sound Larry Zimmerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox