Linux-Misc Digest #39, Volume #25                 Tue, 4 Jul 00 09:13:02 EDT

Contents:
  Re: Problems with fsck on new disk (Bob Martin)
  Re: ANSI Colors in a C program under Linux... (Timo Nieminen)
  Re: -Patition table damage - (Arnaud Kok)
  Re: ANSI Colors in a C program under Linux... ("Daniel M. Pfeffer")
  Krazy sound problem (SeaTron)
  What happened to my authentification? ([EMAIL PROTECTED])
  HOW ANY THINGS FAIL? ([EMAIL PROTECTED])
  Re: Where Can I Find Pico Source Code? ([EMAIL PROTECTED])
  Re: A Newbie Question: How To Upgrade XFree86 ([EMAIL PROTECTED])
  Re: Apache allow subdirectories? and how save *.zip? (Stan Towianski)
  HP dj 610C (Martin Stoll)
  Re: Need clarification:  what really is 'MBR' and what is 'BOOT SECTOR'? ("Peter T. 
Breuer")
  Re: fonts problem in Netscape (Hal Burgiss)
  Re: A confusing, but interesting topic... (Johan Kullstam)
  Re: IrcClient (Nicholas Murison)

----------------------------------------------------------------------------

From: Bob Martin <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,alt.linux
Subject: Re: Problems with fsck on new disk
Date: Tue, 04 Jul 2000 10:30:53 +0000

[EMAIL PROTECTED] wrote:
> 
> I am having problems adding a new harddrive to my system. It was working
> fine in Windows. It is a Western Digital Caviar 34000
> specs:
> 7752 Cylinders
> 16 heads
> 63 spt
> 4000.7 megabytes
> 
> I tried to fdisk it. It runs fine, but When I ran an fsck it complained
> about not being able to find the superblock. I tried iterations of the
> superblock backup. No luck. I finally ended up doing a mk2efs /dev/hdb
> 
> Now I can run fsck on it. I fdisk deleted all partitions. I then ran
> fsck on it. If I run an "fsck -y /dev/hdb" it runs clean.
> 
> If I run a "fsck -y -c /dev/hdb" it fails. I get a ton of errors.
> Here is what I see (small sample):
> 

You run fsck on a filesystem, not a device. until you run mke2fs there
is no filesystem, so no superblock
-- 

Bob Martin

------------------------------

From: Timo Nieminen <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.lang.c
Subject: Re: ANSI Colors in a C program under Linux...
Date: Tue, 4 Jul 2000 21:04:52 +1000

Floyd Davidson <[EMAIL PROTECTED]> wrote:
>If you would like to see a demo program illustrating how to use
>the terminfo data base (without invoking the entire ncurses package)
>to determine terminal characteristics and terminal attributes
>such as colors (and others such as cursor addressing etc.), just
>say so and I'll email you such a program.  It isn't terribly long,
>but a bit more than commonly is posted to a newsgroup.

Send me one, dunno if I'll use it, but wth, I';m p=isedd a newt, and knowledge
is goiod.

Timo

Or post it here


------------------------------

From: Arnaud Kok <[EMAIL PROTECTED]>
Subject: Re: -Patition table damage -
Date: 4 Jul 2000 11:22:35 GMT

Rick Matthews <[EMAIL PROTECTED]> wrote:
> Eric <[EMAIL PROTECTED]> wrote:

>>if you have written down the partition-boundaries on paper (which is
>>a wise thing to do, although hardly anyone ever does this) you can
>>restore the partitions with the use of fdisk. 

Even if you have not written them down, there are ways to retrieve this
information. I made a (very) shot page about a partition problem i once had
(deleted the partition table with dd) and how it was fixed.
See http://www.phys.uu.nl/~akok for more info.

Grt,
Arnaud.

------------------------------

From: "Daniel M. Pfeffer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.lang.c
Subject: Re: ANSI Colors in a C program under Linux...
Date: Tue, 4 Jul 2000 14:33:25 -0000

"Hendrix" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi folks,
>
> I recently noticed that the command line 'linuxconf' program has
> text-based colors in its interface...  How would it be possible for me
> to utilize these colors in my own C, or C++, program?  I remember doing
> this with ANSI colors back when I used to run my own PCBoard from
> DOS...  I was also experienced in using the QuickBASIC color statement
> to print ANSI colors on SCREEN 0 (text mode)...  Whenever I ask
> questions about color and graphics in "comp.lang.c" they send me
> elsewhere and say that it is compiler specific...???  I do not agree
> with this!!!  I think that a C program can be written with ANSI escape
> characters in order to colorize a screen, and I believe that this would
> be included in the ANSI Standard of the C language...  It isn't graphics
> functions, it just uses the ANSI escape sequences to print...
>
> I don't know, I may very well be wrong, but if I'm not, could someone
> please help me figure this out...  If it is possible to present ANSI
> colors in a C program (and still complie to the ANSI C Standard) then
> could someone show me a "Hello World" kind of program that has a blue
> background with yellow writing (much like the 'linuxconf' console
> program)...  Thanks a bunch for reading my ramblings...*s*

The ANSI/ISO C standard and the ANSI standard for terminal-control strings
are two separate standards. MS-DOS, OS/2 and  Win9x/NT come with a driver,
ANSI.SYS, which interprets these strings and performed the appropriate
actions on-screen. Similar drivers may exist for other O/Ses.

As another poster has mentioned, the ncurses library has been ported to many
(all?) versions of UNIX, and could easily be ported to other environments,
if required. Using this de-facto standard may be a quicker solution than
finding/writing an ANSI terminal driver for your display device(s).


Daniel Pfeffer




------------------------------

From: SeaTron <[EMAIL PROTECTED]>
Subject: Krazy sound problem
Date: Tue, 04 Jul 2000 11:39:12 GMT

Ok, I have sound in both KDE and Gnome, But every time a sound event
happens, It plays the sound event 3 times. music files are fine. Just
Desktop event sound bites.
-I have a on-Board cmi8330 sound chip.
-I am have throble finding snd-seq-oss.

any idea's wellcome...
Thanks for your help
                    SeaTron


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.security,alt.os.linux,comp.os.linux.setup
Subject: What happened to my authentification?
Date: Tue, 04 Jul 2000 11:37:54 GMT

I can telenet into my machine. I can SSH into my machine.
But FTP & mail passwords render "access denied", and IMAP throws me to
some XXX's user mailbox.

I have no idea what could have caused it? I shut down some runlevel
services at startup, maybe I picked the wrong ones? Yesterday,
everything was running smooth. Might it be the portmap service?

Any idea what the hell is wrong?

Ammar


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: HOW ANY THINGS FAIL?
Date: Tue, 04 Jul 2000 11:40:43 GMT

Hello,

 I want to configure two ethernet cards on my 486/DX2 (ram=16MB,
 disk=420MB).
 My cards are D-Link DE-220E, distr. Slackware 7.0 (no X Windows
 installed ;) ! ).
 eth0 (ip=10.1.1.10, 0x320, IRQ=3), eth1(ip=10.1.1.11, 0x300, IRQ=5).

 I experienced several problems in configuration:
 1) Only one of these cards can be recognised.
 2) LILO: linux ether=.... or putting in lilo.conf append="..." do not
change any things.
 3) uncommenting the related support in rc.modules, creating
 conf.modules or modules.conf putting in it alias to ne2000 or ne,
options (even with -o for each card), kill
 or up rc.netdevice file, all this do not allow to the second card to be
recognised.
 4) Recompiling the kernel or even uncommentting all options in rc.S do
not change any things.
 5) Using /sbin/ifconfig eth0 10.1.1.10 netmak... run for this card but
fail for eth1.
 6) netconfig with eth1 IP find alway the same card (eth0) but with the
eth1 ip address that I give.
 7) Finally I find that the order of the card support in rc.modules is
important that is when I put
 /sbin/modprobe ne io=0x320 the frst eth0 will be found at irq 3, and
when put /sbin/.... io=0x300
 eth1 will be found at irq 5.
 I dont understand how the order can be important?

 Can linux guru's helps for this problem?

Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Where Can I Find Pico Source Code?
Date: Tue, 04 Jul 2000 11:56:59 GMT

Hello J Bland and Martin,

Thank you!

I searched the hard drive and didn't find any pico source files.
There were only binaries since I didn't compile the program on
my computer.

Then I searched the Linux CD which came with the book on Linux;
however, the CD did't have the source code either. Anyway, as you
guys suggested, I will try to download the source file from the
net. Thanks much!


In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (J Bland) wrote:
> >One more question. My computer has Linux and I do know it already has pine.
> >Does it mean the source file of pine is already on my computer? or only the
> >binary files are on the computer??
>
> If you installed binaries of Pine you will have only the binary of both pine
> and pico.
>
> If you compiled it from source you will have the source code to both pine
> and pico.
>
> Frinky
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: A Newbie Question: How To Upgrade XFree86
Date: Tue, 04 Jul 2000 12:08:52 GMT

Hello Matt,

Thanks much for replying to my question!

Anyway, yes, I am using Linux 5.1. I installed that on my computer
since it came with the book "RedHat Linux Secrets (2nd ed.)" by
Naba Barkakati. Since my video chipset, SiS530 was not supported
by the xfree96 program which came with the CD, I really want to
upgrade it!

Anyway, I'll download the kernel and other system files as well as
the xfree86 files. Please help me out when I encounter problems
while upgrading the programs. Also, thanks for the links although
the link seems very busy. . . Thanks!


In article <8jnmlt$jrl$[EMAIL PROTECTED]>,
  "Matt Ebb" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Depending on what version of Redhat you are using, you may not need to
> upgrade.
>
> Redhat 6 comes with 3.3.3, Redhat 6.1 comes with 3.3.5 and Redhat 6.2
> comes with 3.3.6.Apparently the only version that you can RPM-upgrade to
> is 3.3.5 so only bother with this if you are running Redhat 6 or earlier.
>
>  Xfree86 4.0 has been released, but as yet it still has a few problems
>  with driver support, and so I would adivse against installing it for now.
>
> Anyway, if you are running RH6 or earlier, then the best way to update is:
>
> Go to the redhat updates FTP site at ftp://updates.redhat.com . If you
> bought the redhat CD box set you can use the redhat priority FTP service,
> but I won't go into that here. Alternatively, for best performance, you
> should find a local FTP mirror to visit. I know that one local to me
> (Australia) is at ftp://mirror.aarnet.edu.au .
>
> Anyway, navigate through the relevant nested directories (for example
> redhat / updates / 6.1 / i386 etc. etc. etc. etc.) until you come to a
> directory with lots of .rpm files. Make sure that it is the correct
> directory for your version of redhat. In this directory there should be a
> whole heap of files that look like: XFree86-XXXX-3.3.5-1.6.0.i386.rpm .
> Download XFree86-3.3.5 , XFree86-SVGA , XFree86-VGA16 , XFree86-libs ,
> XFree86-XF86Setup , XFree86-devel , Xfree86-xfs, and XFree86(fonts to your
> choosing) and XFree86-(the brand that corresponds to your video driver).
>
> Once you have downloaded these, open a terminal, 'su' to root, and change
> to the directory to which you downloaded the files. Then type
>
> rpm -Uvh XFree86*.rpm
>
> This means to upgrade the rpm packages of all the XFree86 files that are
> in the directory. (make sure that there is only one version of the files
> in that drectory! :).
>
> Restart X, and you're done!
>
> -Matt
>
> > Hello all,
> >
> > I have a newbie question on how to upgrade xfree86.
> >
> > I have Linux on my computer, which I installed from the Redhat CD. Since
> > I am using the Redhat Linux version, do I have to get the xfree86 files
> > from Redhat? Mixing different distributions together is a bad thing to
> > do?  Is it okay to just follow the following instructions below? Since I
> > am very new to Linux, I would appreciate any help. Thanks.
> >
> > aleatory
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Stan Towianski <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Apache allow subdirectories? and how save *.zip?
Date: Tue, 04 Jul 2000 12:25:19 GMT

Hi,

Thanks!  That's what I needed.  I used netscape composer to throw together
this quick test page and I used 'Browse File' to find the file link and it
giving me
the invalid path.  I just assumed it would do it correctly and did not pay
attention.
whatever.zip and /files/whatever.zip as you said do work.

I kept playing with the file/directory rights and the Apache config.

Thanks.
Stan.

Akira Yamanita wrote:

> Stan Towianski wrote:
> >
> > <snip>
> > It points to the standard /home/httpd/html.  I have a simple link in my
> > index.html like:
> > <a href="/html/whatever.zip">whatever</a>
> > With netscape 4.73 I go to localhost, then add index.html and that works
> > fine.  But when
> > I pick the link, it does not ask me where to save whatever.zip like
> > I want.  It gives me:
> >
> > Not Found
> >
> > The requested URL /html/whatever.zip was not found on this server.
> >
> > It will find another html link.  I at first created a subdirectory
> > called ./html/files.  It says
> > the same thing if I put the file in there, and I think it did not even
> > find an html file in here.
> > I know these might be 2 different problems.
>
> What do you mean it will find another html link? What's the full
> explicit path and how are you referencing it?
>
> example: /home/httpd/html/whatever.zip is linked using "/whatever.zip".
>
> > I cannot find anything in the apache doc.s that tellls me if it
> > automatically lets you go into subdirectories
> > of html or not.  I looked at the <Directory> command, but it does not
> > say, and I cannot find anything
> > about how it will handle *.zip files.  I thought *.zip files were
> > automatically asked to be saved, or is my
> > netscape not set up with a mime-type for *.zip?  Do I have to do that
> > manually?
> >
> > 1.) I want to have an <a href> link to a (zip) file so when the user
> > clicks it he will be asked to download and save it.
>
> If /home/httpd/html is the document root and whatever.zip is in
> /home/httpd/html then /html/whatever.zip as the link is wrong.
> The link should simply point to whatever.zip if the HTML file
> is in the same directory. If you're referencing a file from a
> different directory, you'll need to use the appropriate relative
> path or the full path.
>
> > 2.) How can I tell Apache to let me use subdirectories of /html or how
> > can I tell it a list of directories I want to use?
>
> Subdirectories inherit the access rights and options from above.
>
> Can you give better examples as to where on the filesystem the
> file is located (/home/httpd/html/files/whatever.zip) and how
> the file is referenced from the HTML document as a link?
> (/files/whatever.zip)


------------------------------

From: Martin Stoll <[EMAIL PROTECTED]>
Subject: HP dj 610C
Date: Tue, 4 Jul 2000 14:27:14 +0200

Hello out there,

  I've heard the HP Deskjet 610C works fine under Linux. 

  However, even though I did set the printing quality to 'presentation'
(as a switch for the recommended ghostview driver cdj670) the colour
pictures it produces are of a much poorer quality than when using
M$-Windows and the appropriate driver.

  My System is a SuSE 6.4 with the apsfilter configured. Printing b/w
works fine btw.

Any idea could help! Thanks,
Martin



------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: microsoft.public.windowsnt.misc,linux.redhat.misc
Subject: Re: Need clarification:  what really is 'MBR' and what is 'BOOT SECTOR'?
Date: 4 Jul 2000 12:25:36 GMT

Rod Smith <[EMAIL PROTECTED]> wrote:
: [Posted and mailed]

: In article <z9S65.19877$[EMAIL PROTECTED]>,
:       "Charlie Root" <[EMAIL PROTECTED]> writes:
:> 
:> I'll have to experiment most of the stuff I got here, including that 'dd
:> if=/dev/zero of=/dev/hda bs=512 count=1' if it really whack the NT boot code
:> at MBR or just the NT boot sector.

: Once again, **DO NOT** do this on any system you care about. It'll make
: it impossible to recover any data from the disk unless you know the
: EXACT disk geometry and partition layout, and then only if you know

Nonsense lad. You're confusing the MBR with the partition table.

Do it to your heart's content.

Peter

------------------------------

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: fonts problem in Netscape
Reply-To: [EMAIL PROTECTED]
Date: Tue, 04 Jul 2000 12:39:53 GMT

On Tue, 04 Jul 2000 07:13:17 +0000, Jim Jerzycke <[EMAIL PROTECTED]>
wrote:
>Uhhhh.....not to be a smarta** or anything, but where can one find this
>document?

S'OK ...

http://www.linuxdoc.org/HOWTO/mini/FDU.html (Font De-uglification)
http://home.c2i.net/dark/linux.html#ttf
http://feenix.eyep.net/xstuff/xfs.html (RH)

-- 
Hal B
[EMAIL PROTECTED]
--

------------------------------

Crossposted-To: alt.os.linux,nf.comp.linux
Subject: Re: A confusing, but interesting topic...
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Tue, 04 Jul 2000 12:46:26 GMT

Hendrix <[EMAIL PROTECTED]> writes:

> Hi there,
> 
> How is linux installed from a distro?  For instance, is the packages
> kept as an image, or is it compiled from source everytime the distro is
> installed on a new system...  I can see doing a new compile being a very
> good option, hence, the software can probe the new system in attempt to
> customize the kernel, and other programs, to work better on that
> partitcular machine...  But to do this, the library files, sources,
> compiler and other required "compiliation" utilities need to be
> available...  

all distributions install a bunch of binaries on your system.  some
make it more or less easy to recompile things however.

> Someone told me that Red Hat just installs everything from a binary (RPM
> I guess) image.  Maybe the boot disk provides an interface to activate
> the CD so that it acts like a working system to install and configure
> the new system...
> 
> I've read over the various "projects" (such as linuxfromscratch, and
> diylinux), and I noticed that these all have to be setup and installed
> from an existing, and fully functioning, distribution (with libraries,
> compilier etc...)....
> 
> I'm just wondering how this can be done while installing from CD...

you've got to bootstrap from something.  binaries are not evil in and
of themselves.  don't worry about it.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

------------------------------

From: Nicholas Murison <[EMAIL PROTECTED]>
Subject: Re: IrcClient
Date: Tue, 04 Jul 2000 14:59:43 +0200
Reply-To: [EMAIL PROTECTED]

Thomas Hartmann wrote:
> 
> What's the greatest IRC Client under X11 with Gnome and Enlightenment
> 
> I'm using SuSE Linux 6.3
> 
> regards
> -Tom

I like XChat.  It's written using GTK, which means it'll share themes
with your GNOME desktop environment.  It has a lot of functionality, and
can be greatly customised.  You can find it at http://www.xchat.org/
-- 
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins
Registered Linux User #153895   http://counter.li.org

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to