Linux-Misc Digest #915, Volume #26               Thu, 25 Jan 01 11:13:01 EST

Contents:
  Re: How to create a CD image (-ljl-)
  how to listen to web radio (richard noel fell)
  how to unzip a .zip file (richard noel fell)
  kdm startup  (Gerald Pollack)
  Re: how to unzip a .zip file (David)
  Re: Volume Manager software for Linux ("Peter T. Breuer")
  linux sound problem ([EMAIL PROTECTED])
  Re: $/.bashrc aliases question... (Floyd Davidson)
  Re: Strange problem: su: error while loading shared libraries: libxalflaunch.so.0 
(Carfield Yim)
  Re: x 4.0.2 problems, permissions and other (walt)
  Re: Somebody create a How-To on upgrading to Kernel 2.4, please ! (Jan Schaumann)
  Re: setting the time on HW (Marijan Peh)
  Re: How to use accented characters in BitchX? (Marijan Peh)
  Re: Volume Manager software for Linux ("JP")
  Can't play video CD at Mandrake (Carfield Yim)
  Making a bootable CD. (Thaddeus L Olczyk)
  where to find gettext in Suse distro ("Andreas Moroder")
  Re: how to unzip a .zip file (Christopher Albert)
  Re: How to create a CD image (Matt Haley)
  Re: Volume Manager software for Linux ("Peter T. Breuer")
  Re: Volume Manager software for Linux ("JP")
  Re: How to use accented characters in BitchX? (Hugh Lawson)
  Re: Need a Browser (Sinner from the Prairy)
  Re: Keyboard seting problem (Hugh Lawson)

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

From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: How to create a CD image
Date: Thu, 25 Jan 2001 13:56:40 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Matt Haley) wrote:
> On Thu, 25 Jan 2001 09:02:52 +0100,
>  Gerhard W. Gruber <[EMAIL PROTECTED]> wrote:
>
> >How can I create a binary image of a CD? I tried to use mkisofs but
that
>
> ><SNIP><
>
> >cp /dev/hdc imagefile
>
> Actually:
>
> dd if=/dev/hdc of=imagefile
>
> will create and iso9660 image of the cd.

Wouldn't this depend on the CD, i.e. if it was written as an ISO.
Does dd produce a bit-copy?  If not, is there a way to accomplish
this?

--
Louis-ljl-{ Louis J. LaBash, Jr. }


Sent via Deja.com
http://www.deja.com/

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

From: richard noel fell <[EMAIL PROTECTED]>
Subject: how to listen to web radio
Date: Thu, 25 Jan 2001 10:16:54 -0500

I am using redhat 7, have sound configured correctly and would like to
listen to web radio. Is this possible? I have been unable to get any
connection so far when going to a web site that is broadcasting.
Thanks,
Dick Fell


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

From: richard noel fell <[EMAIL PROTECTED]>
Subject: how to unzip a .zip file
Date: Thu, 25 Jan 2001 10:18:46 -0500

I tried using, with redhat 7, gunzip to uncompress a .zip file. I get
the error message ," unknown suffix --ignored". I thought gunzip could
handle .zip file. Am I mistaken? What other decompression program should
I use?
Thanks,
Dick Fell



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

From: Gerald Pollack <[EMAIL PROTECTED]>
Subject: kdm startup 
Date: Thu, 25 Jan 2001 14:15:54 GMT

I use kdm to log on to my system, and I use icewm as my window manager=20
(i.e. no kde, no gnome). In the past, when I used startx, I could start =

up a screensaver by including the appropriate command in '.xinitrc'. Can=
=20
someone tell me how to do this with kdm? It apparently doesn't use=20
.xinitrc.

Thanks,

--=20
Gerald Pollack, E-mail: [EMAIL PROTECTED]
McGill University, Dept. of Biology, Montreal, Quebec H3A 1B1
Tel: (514) 398-418, Fax: (514) 398-5069

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

From: David <[EMAIL PROTECTED]>
Subject: Re: how to unzip a .zip file
Date: Thu, 25 Jan 2001 14:32:42 GMT

richard noel fell wrote:
> 
> I tried using, with redhat 7, gunzip to uncompress a .zip file. I get
> the error message ," unknown suffix --ignored". I thought gunzip could
> handle .zip file. Am I mistaken? What other decompression program should
> I use?
> Thanks,
> Dick Fell


man unzip

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.017% of seti users. +/- 0.01%

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Volume Manager software for Linux
Date: Thu, 25 Jan 2001 15:26:14 +0100

JP <[EMAIL PROTECTED]> wrote:
> Is there any volume manager software (such as HP's LVM, or the more standard
> (??) veritas based like SUN and Sequents (IBM) offerings that can run on
> Linux 2.2.x / 2.4.x

linux's LVM.

What is LVM good for? I've never seen the advantage over linear raid, in
practical terms. I suppose a virtual disk is a nice idea, though. But you
can do it other ways: via loopback for examble.

Peter

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,linux.redhat
Subject: linux sound problem
Date: Thu, 25 Jan 2001 14:36:14 GMT

I've installed xcdroast and stuff on a linux box (redhat 6.2) with
internal ATAPI 32X CD-ROM CD-R/RW drive using ide-scsi emulation
modules.  The xcdroast seems to be working fine but I'm no longer able
to play the musical CD any more (works before installing xcdroast).  It
doesn't do anything when clicking play button, and generate the lines in
message
log:

Jan 24 15:09:02 pokemon modprobe: modprobe: Can't locate module
sound-slot-0
Jan 24 15:09:02 pokemon modprobe: modprobe: Can't locate module
sound-service-0-3

I've seen these messages before (mostly when running netscape, I think)
and don't know whether they are the reason for musical CD not working.

Thanks for any info, please reply to email addr.

CL


Sent via Deja.com
http://www.deja.com/

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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: $/.bashrc aliases question...
Date: 25 Jan 2001 05:07:41 -0900

Guy Parry <[EMAIL PROTECTED]> wrote:
>     I'm still trying to figure out why I can't get my aliases
>recognized by my user account.
>     When I su'd into it from root today I got: 
>
>bash: /proc/733/fd/0: Permission denied
>
>     I have several questions apart from what the above message means.
>For instance,what does the * after some filenames in Mandrake mean?

Read the man page for ls, because there are several characters which
you will see appended to file names, each indicating some characteristic
of the file.  The '*' indicates it has execute permissions set.

>Anything to do with this?  Is this anything to do with /etc/profile?
>I notice there's a line in it saying: LOGNAME=$USER.  Should I puy my
>userbname in there?  This is really irritating me.  My $/.bashrc looks
>like:

Do you have a file ~/.profile, or ~/.bash_login or ~/.bash_profile ???

If not, make a ~/.bash_profile which looks like this:

  export BASH_ENV=$HOME/.bashrc
  . $HOME/.bashrc


When you login a "login shell" is created.  It reads
/etc/profile and then it reads the first of ~/.bash_profile,
~/.bash_login or ~/.profile and that is it.  Since you have your
aliases in ~/.bashrc, they are not seen by a login shell.

Sub-shells can either be interactive or non-interactive.  An
interactive sub-shell will read ~/.bashrc, and a non-interactive
sub-shell will read whatever file is in the variable BASH_ENV
(on older bash shells it will read the variable ENV instead).

The above two lines, if placed in ~/.bash_profile will cause
every shell to read ~/.bashrc and that will make your aliases
available.

A few comments on your aliases too...  though this amounts
strictly to my _opinion_, and is not cast in stone.

># .bashrc
># User specific aliases and functions
>alias rm='rm -i'
>alias mv='mv -i'
>alias cp='cp -i'

I would NOT do any of those.  If you want that effect, invoke
the commands with the -i option from the command line.  It is a
rare day that I ever do that, so that would never be my choice
for a default.

Another point should be made about defining aliases too.  Always
include the full path to the commands which are part of the alias.
If you like those, use alias rm='/bin/rm -i' instead.

>alias up='cd ..'
>alias tree='tree -d|more'
>alias ls='ls -la|more'

Once upon a time the ls command actually had three (or more)
links to the /bin/ls file.  /bin/ll for example, invoked ls with
the -l option.  Hence the typical old time unix weenie will have
an alias that looks something like:

  alias ll='/bin/ls -l'

and maybe one with lx, la, and ls for names too.  Here are the
three that I use

  alias ll='/bin/ls --color -lF' 
  alias la='/bin/ls --color -axF' 
  alias ls='/bin/ls --color -xF' 

>alias p='cd -'

The problem with the rest of this is it is intended to be
a "generic" .bashrc file.  I always want a very specific one...

># Need for a xterm & co if we don't make a -ls
>[ -n $DISPLAY ] && {
>       [ -f /etc/profile.d/color_ls.sh ] && source
>/etc/profile.d/color_ls.sh
>        export XAUTHORITY=$HOME/.Xauthority
>}
># Read first /etc/inputrc if the variable is not defined, and after
>the /etc/inputrc 
># include the ~/.inputrc
>[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc
># Source global definitions
>if [ -f /etc/bashrc ]; then
>       . /etc/bashrc
>fi
>
>     The ones I'd REALLY like to get going are 'tree' and 'ls'...
>     If I can get this going then I'll start on getting them to work
>in xterm windows.
>     TIA.
>

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Re: Strange problem: su: error while loading shared libraries: 
libxalflaunch.so.0
Date: Thu, 25 Jan 2001 14:54:16 GMT

In article <[EMAIL PROTECTED]>,
  "Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
> Carfield Yim <[EMAIL PROTECTED]> wrote:
>
> >> Actually I don't know the detail but the problem I face now is I can't run su
> >> and man, and I also discover that the problem is only occur at my X session.
> >>
> >> I can find the file libxalflaunch.so.0 at /usr/lib/ so I think that the
> >> problem is libxalflaunch.so.0 can't load some other library, any idea?
>
> > A new find out, I only can't run these at gnome-terminal, they are ok at
> > xterm or kterm
>
> Then check LD_LIBRARY_PATH and LD_PRELOAD. Is su linked to that library
> or not? It begins to sound vaguely like a pam problem. Where does your
> libxflaunch or whatever come from? Whichpackage?
>
> Peter
>

Thx a lot! after I set set the variable $LD_PRELOAD from libxalflaunch.so.0
to /usr/lib/libxalflaunch.so.0, the problem solve.


Sent via Deja.com
http://www.deja.com/

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

From: walt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,linux.debian.user
Subject: Re: x 4.0.2 problems, permissions and other
Date: Thu, 25 Jan 2001 07:00:44 -0800

max barwell wrote:

> i cannot run X as a user, someone told me to edit
> /etc/X11Xwrapper.config so that it does not say alloweduser =
> rootonly, but they did not specify what to change it to and said that
> it was not a secure way to do it. 

Correct on all counts.  But if you don't care about security you can
set allowed_users=console.

> ....my other weird problem is that if i start X,
> all text is gone and icons etc are just grey shapes, if i switch to a
> console with ctl-alt-f1 and back with ctl-alt-f7 it is fixed and runs
> really well. i have heard this is a problem with my chipset (sis6326),
> but X 4.0.1 was fine...

I 'fixed' the problem by copying the file sis_drv.o from another
machine with 4.0.1 still installed, and all works OK as far as I
can see.  If you can't do that then I would say go back to 3.3.6,
which really works pretty well using the SVGA driver.

4.x doesn't seem to offer any real advantages (yet) for us
SiS6326 people.


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

From: [EMAIL PROTECTED] (Jan Schaumann)
Crossposted-To: comp.os.linux.setup
Subject: Re: Somebody create a How-To on upgrading to Kernel 2.4, please !
Date: Thu, 25 Jan 2001 15:07:44 GMT

* Steve Martin wrote:
> Jan Schaumann wrote:
> 
> > > I've searched far and wide, but no avail. No one has created a web page
> > > with detailed, step-by-step instructions  on upgrading the kernel to
> > > 2.4.
> 
> > 2.4.0 is in no way different with respect to the process of setting it up
> > than any other version.
> 
> True, but there are quite a few caveats (admittely included in the
> Changes)
> file) which can trip one up, especially if one is coming from a Linux
> release that is earlier than the latest (like RH6.2 for example).

Not trying to be wise here, but out of pure interest:
Which ones?  I just upgraded to 2.4.0 from whatever came as default kernel in
Debian 2.2 (I think it's 2.2.14, or was it 2.2.18?) and had zero problems
whatsoever - well, that is, at first I selected the wrong processor type for my
machine so the kernel didn't boot, but that was fixed easily and lead to a big
smacking *D'uh*. :)

I could not detect anything different or anything complicated and I did /not/
read through the Change-log (like I should have).

-Jan

-- 
Jan Schaumann <http://www.netmeister.org>

After an instrument has been assembled, extra components will be found
on the bench.

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

From: [EMAIL PROTECTED] (Marijan Peh)
Subject: Re: setting the time on HW
Date: Thu, 25 Jan 2001 15:06:28 +0000 (UTC)

Louis Guillaume writes:
>Hello, 
>
>I am running red hat linux 6.1, kernel 2.2.12-20smp on a dual pentium pro
>machine.
>
>The time can be correctly set using "date" or "ntpdate" but everytime I
>reboot the time goes off. Running ntpd is an option but I would rather not
>have that turned on as I am trying to limit the number of services running
>on this machine. Also, attacking the source of the problem is always better!
>
>I imagine there is some way to set the time on the hardware from within
>linux, does anyone know how?

man hwclock(8) 

-- 
Warning: unauthorized reproduction of this post is prohibited 
by Federal law and subject to criminal prosecution.
        mailto:[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Marijan Peh)
Subject: Re: How to use accented characters in BitchX?
Date: Thu, 25 Jan 2001 15:06:29 +0000 (UTC)

[EMAIL PROTECTED] writes:
>GYULAI Mihaly <[EMAIL PROTECTED]> did eloquently scribble:
>> As I can use accented chars with other apps, I am sure it's a
>> BitchX specific setting, or it's a bug... :(
>
>> I hope someone from Europe use BitchX with national chars,
>> and can tell me how to set it up... :)
>
>Not much help, but there's an accented 'u' on the pound key in the UK
>keyboard map...
>
>:)
>
>(That and the 1/4 symbol are the only non-ascii characters I've been able to
>enter).

If he think on characters like this '����' (u need ISO-8859-2 font to see
this properly); then it's not feature of BitchX: it's dependent on font you
use in xterm or in console (eg. don't have right encoding).

-- 
Warning: unauthorized reproduction of this post is prohibited 
by Federal law and subject to criminal prosecution.
        mailto:[EMAIL PROTECTED]

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

From: "JP" <[EMAIL PROTECTED]>
Subject: Re: Volume Manager software for Linux
Date: Thu, 25 Jan 2001 15:11:35 -0000


Peter T. Breuer <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> What is LVM good for? I've never seen the advantage over linear raid, in
practical terms.

I suppose this gets down to what youre used to. I've used hardware raid (a
little) before and whilst it was possibly more robust when
mirroring/striping felt it was a little inflexible in some instances.

Using a volume manager to create disk volumes on the fly, increase/decrease
disk (partition) sizes always seems a lot easier that normal partitioning of
a disk or in the case of linux using fdisk and not having enough disk space
left.

> I suppose a virtual disk is a nice idea, though. But you
> can do it other ways: via loopback for examble.

What is loopback? I've only heard of that regards networking...

JP




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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Can't play video CD at Mandrake
Date: Thu, 25 Jan 2001 15:11:53 GMT

As title, when I use XMMS smpeg plugin to play, it just skip the file. Then I
try to copy the file to local disk, it reply: I/O error. � I mount the cdrom
as iso 9660, anything wrong?


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Thaddeus L Olczyk)
Subject: Making a bootable CD.
Date: Thu, 25 Jan 2001 15:25:41 GMT
Reply-To: [EMAIL PROTECTED]

Since much has happened lately, I think it may be easy to now make a 
bootable CD, which conatins a relatively full Linux installation 
( not with X, but most basic command line tools etc. ) so that one can
make a very powerful recovery CD which does not limit one to the
problems of eing stuck using "cut down" utilities?

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

From: "Andreas Moroder" <amoroder@se-nord.[nospam]provinz.bz.it>
Subject: where to find gettext in Suse distro
Date: Thu, 25 Jan 2001 16:08:15 +0100

Hello,

I need the gettext utility. Where can I find it in the Suse distros ?

Thank You

Andreas Moroder

P.S. : if possible answer via e-mail too. [EMAIL PROTECTED]



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

From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: how to unzip a .zip file
Date: Thu, 25 Jan 2001 16:31:09 +0100

richard noel fell wrote:

> I tried using, with redhat 7, gunzip to uncompress a .zip file. I get
> the error message ," unknown suffix --ignored". I thought gunzip could
> handle .zip file. Am I mistaken? What other decompression program should
> I use?
> Thanks,
> Dick Fell

Dick,

gzip will not work with all .zip compressed files. Use
unzip

Chris


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

From: [EMAIL PROTECTED] (Matt Haley)
Subject: Re: How to create a CD image
Date: Thu, 25 Jan 2001 15:31:34 -0000

On Thu, 25 Jan 2001 13:56:40 GMT,
 -ljl- <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (Matt Haley) wrote:
>> On Thu, 25 Jan 2001 09:02:52 +0100,
>>  Gerhard W. Gruber <[EMAIL PROTECTED]> wrote:
>>
>> >How can I create a binary image of a CD? I tried to use mkisofs but
>that
>>
>> ><SNIP><
>>
>> >cp /dev/hdc imagefile
>>
>> Actually:
>>
>> dd if=/dev/hdc of=imagefile
>>
>> will create and iso9660 image of the cd.
>
>Wouldn't this depend on the CD, i.e. if it was written as an ISO.
>Does dd produce a bit-copy?  If not, is there a way to accomplish
>this?

It makes a duplicate of whatever format the CD is in.
And no, it's impossible to make a bit-by-bit copy of a CD in any
standard CD-ROM, but 'dd' is the closest you can hope for, I believe.

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Volume Manager software for Linux
Date: Thu, 25 Jan 2001 15:35:48 GMT

JP <[EMAIL PROTECTED]> wrote:
> What is loopback? I've only heard of that regards networking...

You can mount any file as a partition, using the loopback device (man
losetup).



Peter

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

From: "JP" <[EMAIL PROTECTED]>
Subject: Re: Volume Manager software for Linux
Date: Thu, 25 Jan 2001 15:51:21 -0000

Peter T. Breuer <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> You can mount any file as a partition, using the loopback device (man
> losetup).

Cheers, I didn't know about that...

Sounds like it could have performance problems and you'll still be limited
to the actual size of the partition or does this allow spanning of disks?

JP





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

From: [EMAIL PROTECTED] (Hugh Lawson)
Subject: Re: How to use accented characters in BitchX?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 15:43:54 GMT

In article <[EMAIL PROTECTED]>, Marijan Peh wrote:
>[EMAIL PROTECTED] writes:
>>GYULAI Mihaly <[EMAIL PROTECTED]> did eloquently scribble:
>>> As I can use accented chars with other apps, I am sure it's a
>>> BitchX specific setting, or it's a bug... :(
>>
>>> I hope someone from Europe use BitchX with national chars,
>>> and can tell me how to set it up... :)

I'm not familiar with BitchX, but if you are running it in X, you can try
this:

xmodmap -e "keycode 78 = Multi_key"

On my keyboard this sets ScrollLock key to the keysym Multi_key.

Then tap, for example 

Multi_key '  a     On my setup this produces �
or using  "  a                      produces �
          ,  c                      produces �
          ^  a                      produces �

and so on.  Note that I have inserted spaces for clarity.  These are not
actually typed.

This msg is being typed in 'pico' which is running in an xterm.  If this
works for you, you can make it permanent by placing the following line in
a ~/.Xmodmap file

keycode 78 = Multi_key

And of course you may use a different key than ScrollLock.  Use the
program 'xev' to identify the X keycode of a desireable key.

Hope this helps.
-- 
Hugh Lawson
Greensboro, North Carolina
[EMAIL PROTECTED]

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

From: Sinner from the Prairy <[EMAIL PROTECTED]>
Subject: Re: Need a Browser
Date: Thu, 25 Jan 2001 11:03:16 +0000

Jan Schaumann wrote:

> > I use lynx for 90% of my web browsing.
> > For another 9%, wget.
> > For 0.9%, NS.
> > for the last 0.1%, IE
 
> Which OS do you use that you can use wget, lynx AND IE?  (Does wget run under
> cygwin?)

Linux, of course.
Checkhttp://www.geocities.com/sinner_prairy/wine/IExplorer5-02.jpg


Salut,
Sinner
-- 
http://www.geocities.com/sinner_prairy
[MaDuiXa PoWeR] http://www.maduixa.net
__________________
                  |\                 Linux User # 89976
=====Sinner==== >=--[]>- a Mach 2.5!!  Running on Mandrake 7.2
__________________|/                     Linux Machine # 38068

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

From: [EMAIL PROTECTED] (Hugh Lawson)
Subject: Re: Keyboard seting problem
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 15:46:42 GMT

In article <94p98k$9tl$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Hi all!
>
>I have just installed RedHat 7.0 and got a problem.
>When I open a terminal session from X-win (KDE) I
>can't use the backspace key and the key combination ALT GR + some key
>does not work. The backspace key generates a "~" char and a beep.
>I can't set "stty erase" to backspace key because the shell substitutes
>the "~" char to my home dir.
>I have a swedidh keyboard layout and a Dell keyboard.
>
>How do one solve this kind of keyboard setup problem ??

I don't know about Swedish, but there is a Danish keyboard howto that my
help you solve this problem. On my Debian system it is located at:

/usr/doc/HOWTO/en-txt/Danish-HOWTO.txt.gz

If it's not on your system, it's available on the web.
-- 
Hugh Lawson
Greensboro, North Carolina
[EMAIL PROTECTED]

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


** 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 by posting to comp.os.linux.misc.

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