Linux-Misc Digest #922, Volume #20                Sun, 4 Jul 99 23:13:10 EDT

Contents:
  Ftape and Red Hat 6.0 Info (Douglas Bollinger)
  Re: X permissions (L J Bayuk)
  Re: Help with X: can a user detect mouse activity on a remote X console? (Ken 
Pizzini)
  Debian 2.1r2 Linux CDs for sale (John Pearson)
  Re: What config options are in my kernel? (Collin W. Hitchcock)
  Re: script breaks: how compatible bash is with sh/ksh (Farid Hamjavar)
  trouble rebuilding SRPMS (Tim Moss)
  Re: Dell Inspiron compatibility?  What is best laptop? ("H. Michael Smith, Jr.")
  Re: No Xvidtune in RH 6.0??? (Bob Tennent)
  Re: No Xvidtune in RH 6.0??? (Silviu Minut)
  questions about patch and diff (Mark Robinson)
  Static on sound card (Jack Gardner)
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (Stuart Krivis)
  Re: trouble rebuilding SRPMS (Frederic L. W. Meunier)
  Re: open systems?!? Re: Why does Apple not cooperate with Be? (Stephen E. Halpin)
  Re: How do they make any money? ("H. Michael Smith, Jr.")

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

From: [EMAIL PROTECTED] (Douglas Bollinger)
Subject: Ftape and Red Hat 6.0 Info
Date: Sun, 4 Jul 1999 21:03:35 -0400

This weekend I managed to get my internal Travan 3 tape drive, Ftape 
and Red Hat 6.0 working reasonably well together.  While searching 
around for information to help solve my personal dilemma, it seems 
that quite a few other people are having problems with Ftape and RH 
6.0.  This post contains some tips and tricks from my experience 
that might help others.  I could also use some help getting the 
_newest_ version of ftape working on my machine; see the end of this 
post.

My Linux box is using Red Hat 6.0 with kernel 2.2.5-22.  My tape 
drive is a Iomega Ditto 3200, an internal TR-3 unit hooked up to a 
floppy port.

The first step for anyone trying to get Ftape working is the Ftape 
homepage, a vital source of updated documentation and support 
programs.

http://www.math1.rwth-aachen.de/~heine/ftape/

Despite rumors to the contrary, RH 6.0 uses ftape 3.04d.  Look in
/usr/src/linux/drivers/char/ftape/ to verify.  The latest version of 
ftape available at the homepage is 4.03-pre2.

You might be looking for important ftape tools like ftformat, 
listtape, etc that are not included with RH6.0.  These can be d/l'ed 
from the ftape homepage, but be aware that the latest ftape tools 
are not compatible with ftape 3.04d, the version included with 
RH6.0.  I am quite sure that the newest version of ftformat will not 
work with the 3.04 modules, but the scripts from the new ftape tools 
package seem to work ok.  You have to d/l the older 3.04 archive, 
ftape-3.04d.tar.gz, and look in the contrib directory for a version 
of ftformat that will work with RH6.0.

After reading the docs and editing the MCONFIG to suit your personal 
preferences (I dumped all the help programs in /usr/local), typing 
"make" and "make install" should set everything up.  The modules 
won't compile (they are already installed), but everything else 
that you need should work.  Since I just needed the older version of 
ftformat, it was easier for me to type "make" in the ftformat 
directory to compile the program, and manually move the executable 
to /usr/local/bin.

When you need to use ftape, you have to load the modules into 
memory.  As root, type "modprobe zftape" to load the zftape and 
ftape modules.  Typing "lsmod" should list both modules.  The zftape 
modules is required!

If you would like the ftape modules to load auto-magically, add this 
line to /etc/conf.modules

alias char-major-27 zftape

At this point, everything should work.  Try typing "mt -f /dev/qft0 
status" or, if you have the ftools installed, "ftmt -f /dev/qft0 
status" and you should get some kind of positive response.

You might want to change the ownership of the principal devices, 
qft0 and nqft0, so you don't have to be root all the time to use 
your tape drive.

When using ftformat, I had to be root to get things to work even 
though I could backup with my normal user account (I set device 
ownerships).  This is the command I used to format a Travan 3 
cartridge, "ftformat -f /dev/rawqft0", notice the use of the raw 
device.

The intricacies of using tar and mt with your tape drive will be 
left as an exercise for the reader.

Right now, I can format tape cartridges and the small backups that 
have been tried seem to work ok, but I still would rather be using 
the newer 4.x version of ftape.  The new ftape tools also includes a 
nifty x-window front-end, but it doesn't seem to work correctly with 
ftape 3.02.

Unfortunately, I can't compile the latest ftape modules, probably 
because the kernel is already set-up with the older version.  To use 
ftape 4.x, I believe I'm going to have to recompile the stock RH 
kernel, but I'm hoping someone will tell me a better way!

-- 
Douglas Bollinger
Mt. Holly Springs, PA   17065

My other computer runs Linux.

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

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: X permissions
Date: 5 Jul 1999 01:05:38 GMT

[EMAIL PROTECTED] wrote:
>Hmm... in the process of backing up and restoring my system, I
>seem to have lost a lot of the file permissions.   Now when any
>user but root tries to start X, I get
>
>Fatal server error:
>xf86OpenConsole: Server must be running with root permissions
>You should be using Xwrapper to start the server or xdm.
>We strongly advise against making the server SUID root!
>
>I think I'm running a 'plain vanilla' X installation (with source
>downloaded from xfree86.org) so its already being run with Xwrapper
>or xdm, if that's the stock installation.l
>
>How can I figure out what file's permissions are wrong?

Probably just /usr/bin/X11/Xwrapper is wrong, since it sounds like
you are using startx, which calls xinit, which runs Xwrapper.
Make sure it is setuid to root: chmod 4711 Xwrapper
But if you lost setuid on Xwrapper, you probably lost it on
xterm as well.

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

From: [EMAIL PROTECTED] (Ken Pizzini)
Crossposted-To: comp.unix.questions,comp.os.linux.x,comp.unix.programmer
Subject: Re: Help with X: can a user detect mouse activity on a remote X console?
Date: 5 Jul 1999 01:04:39 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 04 Jul 1999 15:19:03 -0400,
Christos Siopis <[EMAIL PROTECTED]> wrote:
>Suppose that user A works on a (Linux, if that matters) console
>running X. I would like to know whether it is possible for (a
>different) user B (other than root!) who is remotely logged on
>to the same computer as user A, to test whether the mouse
>attached to the console is being used (by user A).

How about a "ls -Llu /dev/mouse" (or whatever the name
of the mouse device is for that system)?

                --Ken Pizzini

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

From: [EMAIL PROTECTED] (John Pearson)
Subject: Debian 2.1r2 Linux CDs for sale
Date: 5 Jul 1999 10:52:31 +0950

Hello, all!

I'm now burning Debian Linux 2.1r2 CDs for Intel-based PCs (2CDs), and
Source CDs for the same (3CDs).  You can buy the binary set for $AUS 25 +
$AUS 5 postage & packaging, and the source set for $AUS 15 + $AUS 5 postage
& packaging. If you've bought Debian CDs from me before and you'd like a
better price, ask.

These CDs are *not* 'Official' Debian CDs, and contain software not
available on the official CDs.  They:
  - Are bootable on modern motherboards that support it;
  - Install Debian 2.1r2, including contrib, non-US and (some)
    non-free packages;
  - Include apt-0.3.7, an updated version of Debian's 'next generation'
    packaging system;
  - Include .deb packages of kernel source 2.2.10 and 2.0.37;
  - Include packages for GNOME 1.0, not yet a part of Debian proper;
  - Include all proposed updates to 27 June 1999;
  - Include fixed versions of some packages not yet in proposed-updates;
  - Include packages required to run kernel 2.2.x;

The two binary CDs contain over 1200Mb of packaged software, in over 2500
Debian packages.

The CDs may be used to install new Debian systems, or for upgrading
exisiting Debian 1.x/2.x systems to 2.1r2.

Proposed updates are not installed by default; neither are packages
required for kernel 2.2.x as some may not work correctly with kernel 2.0.x.
All may be installed later at the user's discretion using apt.

The CDs are burned on Kodak Digital Science(r) CDRs, and come in jewel cases
with cover booklets and a README.cd that, together with Debian's
installation manual (also included, or viewable from Debian's web site) and
the CD cover booklets, should tell you all you need to know.  All CDs are
checked for readability.

Please note that these CDs do *not* include Netscape and many other non-free
packages, due to licenses that appear to prohibit redistribution; Netscape
may be installed automagically from Debian's web site after installation,
using the 'apt-get' command.

Debian 2.1r2 requires about 8Mb of RAM (16 recommended; 24 recommended for
X), an IDE drive or SCSI drive connected to a supported adapter, and between
about 100 and 1000 Mb of disk space depending on what you install.

Please don't respond in this newsgroup, because at the moment I'm not
reading news fast enough to see most articles.

Mail me at either of the addresses in my .sig if you're interested and want
more information, or via snail mail at
  John Pearson
  PO Box 3412
  RUNDLE MALL SA 5000
A valid cheque and mail address are required before I mail CDs.

Visit http://www.debian.org/ for more information about Debian Linux.

DISCLAIMER
==========
To quote the README.cd on the discs:
"The CDROMs and the software that they contain are provided without warranty
of any kind, in the belief that they may be useful."

Bye for now,


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark

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

From: [EMAIL PROTECTED] (Collin W. Hitchcock)
Subject: Re: What config options are in my kernel?
Date: 04 Jul 1999 21:36:28 -0400


> How can I tell what config options my kernel was compiled with?

1) If you compiled it yourself look at .config in the top level source
directory.

2) If you are using a kernel that came with a Redhat distribution, get
the kernel source RPM (confusing distinction: *NOT* the binary RPM
titled kernel-source-2.*.i386.rpm but the source RPM titled
kernel-2.*.src.rpm) for that distribution.  With reasonable knowledge
of RPM you can retrace the actions of the packager.

There are probably ways to do this for other distributions as well.
Maybe someone else can post them.

3) You can always find out what was compiled as a module by looking at
/lib/modules/<kernel-version>

Collin

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

From: [EMAIL PROTECTED] (Farid Hamjavar)
Crossposted-To: comp.os.linux.setup,comp.unix.shell,comp.unix.questions
Subject: Re: script breaks: how compatible bash is with sh/ksh
Date: 4 Jul 1999 19:18:58 -0600

On Sun, 4 Jul 1999, Marc Mutz wrote:

> Date: Sun, 04 Jul 1999 00:33:36 +0200
> From: Marc Mutz <[EMAIL PROTECTED]>
> Newsgroups: comp.os.linux.misc, comp.os.linux.setup
> Subject: Re: script breaks: how compatible bash is with sh/ksh
>
> Farid Hamjavar wrote:
> >
> > (and I don't plan on compiling/using pdksh)
> <snipped the part with [[->[ & print->echo>
> > What other options do I have?
> >
> None. Rewrite your scripts or install a ksh {,clone}.
>
> Marc
>


In regards to '[['
Am I missing something.... 
How should one interpret the following then?

Thanks,
Farid




http://www.gnu.org/manual/bash-2.02/text/bashref.txt



`[[...]]'
          [[ EXPRESSION ]]

     Return a status of 0 or 1 depending on the evaluation of the
     conditional expression EXPRESSION.  Expressions are composed of
     the primaries described below in *Note Bash Conditional
     Expressions::.  Word splitting and filename expansion are not
     performed on the words between the `[[' and `]]'; tilde expansion,
     parameter and variable expansion, arithmetic expansion, command
     substitution, process substitution, and quote removal are
     performed.

     When the `==' and `!=' operators are used, the string to the right
     of the operator is considered a pattern and matched according to
     the rules described below in *Note Pattern Matching::.  The return
     value is 0 if the string matches or does not match the pattern,
     respectively, and 1 otherwise.  Any part of the pattern may be
     quoted to force it to be matched as a string.





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

From: Tim Moss <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.rpm,comp.os.linux.questions
Subject: trouble rebuilding SRPMS
Date: 04 Jul 1999 18:59:39 PDT

I have my rpmrc file configured to optimize packages for Pentium (i586)
processors. Many packages rebuild fine but several give me one of the
two following errors and I don't know what to do.

Installing mysql-3.21.30-1.src.rpm
Architecture is not included: i586

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot cre
ate executables.
Bad exit status from /var/tmp/rpm-tmp.28718 (%build)

Can someone shed some light on these problems and what I can to about
them?
Thanks

--
Tim
(remove "nospam" from reply address)



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

From: "H. Michael Smith, Jr." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable,comp.os.linux.hardware
Subject: Re: Dell Inspiron compatibility?  What is best laptop?
Date: Sun, 4 Jul 1999 22:09:35 -0400

=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1

To the best of my knowledge Dell is NOT shipping, or supporting in
anyway, Linux.


Adrian Hands wrote in message <[EMAIL PROTECTED]>...
>Michael Smith wrote:
>>
>> I'm running RedHat 6.0 on my Inspiron 7000 (ATI Rage video 8mb; 15"
LCD;
>> etc).  X works great without down-grading the BIOS (I had to enable
frame
>> buffering).   An excellent resource is the [Linux Inspiron] mail
list, and
>> associated web sites.  http://inspiron.ntsj.com/ (the web page
refers to
>> Insp.3500, but the list deals w/ all models).
>>
>> // Michael
>
>I just put SuSE 6.1 on my wife's new Thinkpad.  It's nice, but it
looks
>like IBM puts useless winmodems on there laptops.  Yeesh.
>
>Toshiba is just now setting up a site with info about running Linux
on
>their laptops.
>
>Dell has supposedly been shipping Linux for some time, but everytime
I
>get a flyer in the mail from them all I see is M$ BS.
>
>I guess RH should work a SparcBook too ?
=====BEGIN PGP SIGNATURE=====
Version: PGPfreeware 6.0.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBN4AT3n63VjIQ5dxwEQJlKACgwvRzi18cj76Iocfxvr8eyNoDEIsAoKuT
Sl4rj05Ys0j8MzsOyxk2No38
=AFQn
=====END PGP SIGNATURE=====




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

From: [EMAIL PROTECTED] (Bob Tennent)
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: No Xvidtune in RH 6.0???
Date: 5 Jul 1999 02:25:03 GMT
Reply-To: rdt(a)cs.queensu.ca

On Sun, 4 Jul 1999 20:44:23 -0400, Spotillius Maximus aka \"Spot\" wrote:
 >Thanks Bob, that did the trick, but, how do you get the settings saved after
 >you find out what they are.  My 6.0 doesn't seem to have the XF86Setup
 >utility that prompts you to run xvidtune at the end.  I need to find a way
 >to save the settings.  Thanks.
 >
Hit the "Show" button; the modeline parameters will be output to
the screen.  You can then edit /etc/XF86Config and insert them into
a suitable Modeline.  If you're already in X, you can pick up and later
drop the output by clicking the mouse.

To run XF86Setup, just install the XFree86-XF86Setup rpm.

Bob

 >
 >Bob Tennent wrote in message <7lohbh$m4p$[EMAIL PROTECTED]>...
 >>On Sun, 4 Jul 1999 15:47:39 -0400, Spotillius Maximus aka \"Spot\" wrote:
 >> >What happened to Xvidtune that used to be in 5.2?  
 >> >
 >>Try xvidtune :+)
 >>

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

From: Silviu Minut <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: No Xvidtune in RH 6.0???
Date: Sun, 04 Jul 1999 22:21:45 -0400

XF86Setup is in /usr/X11R6/bin/.
It comes with XFree86-XF86Setup-3.3.3.2-49.i386.rpm (probably with other
versions too).
Once you use xvidtune, save the settings in XF86Config. It's under /etc/X11.
Before you change it, make a backup copy, if you have somewhat reasonable
settings. If everything is ok you can then delete the backup.




Spotillius Maximus aka \"Spot\" wrote:

> Thanks Bob, that did the trick, but, how do you get the settings saved after
> you find out what they are.  My 6.0 doesn't seem to have the XF86Setup
> utility that prompts you to run xvidtune at the end.  I need to find a way
> to save the settings.  Thanks.
>
> Ed
>
> Bob Tennent wrote in message <7lohbh$m4p$[EMAIL PROTECTED]>...
> >On Sun, 4 Jul 1999 15:47:39 -0400, Spotillius Maximus aka \"Spot\" wrote:
> > >What happened to Xvidtune that used to be in 5.2?  I just installed 6.0
> > >today and am amazed at how well it went, or at least I thought.  How do
> you
> > >adjust the position and size of the picture after you set up X?  Oh, the
> > >pain.  When will it end?  I thought I was on my way to becoming a
> seasoned
> > >linux user till I got 6.0.  Thanks.
> > >
> >Try xvidtune :+)
> >
> >Bob T.


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

From: Mark Robinson <[EMAIL PROTECTED]>
Subject: questions about patch and diff
Date: Mon, 05 Jul 1999 01:47:05 GMT

3 quick questions about patch and diff:

1. Do they work with binary files?

2. Do they work well with binary files?

3. Is there something better for binary files?

(4. Is this the wrong new group for this?)



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

From: [EMAIL PROTECTED] (Jack Gardner)
Subject: Static on sound card
Date: Mon, 05 Jul 1999 02:38:48 GMT

I'm running Rh 6 with a Cystal  Audio 3 d 64V Wavetable sound card
(dell dimension).  I ran sndconfig  and it detected my card correctly.
I can hear sound from the card, but there is always a "cracking" sound
whenever the card is first accessed (it even happens on boot).  Is
there any way to fix this?

Thanks,

Jack Gardner


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

From: [EMAIL PROTECTED] (Stuart Krivis)
Crossposted-To: 
comp.os.linux.networking,comp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark?
Date: 5 Jul 1999 02:42:12 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 28 Jun 1999 03:20:47 -0500, Alan Burns <[EMAIL PROTECTED]> wrote:

>
>Clients depend on your judgment about what they need, because in many 
>instances they're either uninformed or misinformed.  Only an idiot or a 
>shyster would sell a client something just because they ask for it.  You 
>can continue to sell your clients whatever they ask for if you want, but 
>I'm going to sell mine what they really need because that's what they 
>trust me to do.

What they need whether they want it or not!

Let's say you have a client who wants FooServer on Windows NT 2112.
You might discuss it with them and point out that you feel that there
are better solutions. But will you refuse to install it if that is
what they really want?

-- 

Stuart Krivis  

*** Remove "mongo" in headers for valid reply hostname

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

From: Frederic L. W. Meunier <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.rpm,comp.os.linux.questions
Subject: Re: trouble rebuilding SRPMS
Date: 5 Jul 1999 02:41:57 GMT

Can someone shed some light on these problems and what I can to about
them?
,,,
Look at the config.log


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

From: [EMAIL PROTECTED] (Stephen E. Halpin)
Crossposted-To: comp.sys.mac.programmer.misc,comp.sys.be.misc,comp.unix.misc
Subject: Re: open systems?!? Re: Why does Apple not cooperate with Be?
Date: Mon, 05 Jul 1999 02:09:35 GMT

On Mon, 21 Jun 1999 11:31:51 -0700, "William Edward Woody" <[EMAIL PROTECTED]>
wrote:

>Lawrence D�Oliveiro <[EMAIL PROTECTED]> wrote in message...
>> "William Edward Woody" <[EMAIL PROTECTED]> wrote:
    <<stuff deleted>>
>> The only holdout left is UNIX, which still insists that X Windows is a
>> good architecture for graphics. So I find that launching Netscape on a
>> 600MHz DEC Alpha requires a full 10 seconds before a window even appears.
>> A slow, elderly Mac can do better than that!

Given how much slower NT and MacOS react to the user using similar
graphics cards and comparable processors, I would say "they" are right.

>That's because X uses TCP/IP (!) for IPC. Portable, but not exactly
>the fastest thing around. There are much better IPC models than
>TCP/IP.

What does TCP/IP have to do with Netscape taking ten seconds to start?
Establishing a socket on a local machine, exchanging data and closing
it down can occur in less time than you can perceive, and smaller X
applications such as xterm and xclock can start in a small fraction of
a second on a modern PC.  Also, TCP/IP is just one of many transports
which X will run over, particularly on DECs operating systems where
they used shared memory transports, TCP/IP, DECnet and LAT.

As for Netscape, running it on a FreeBSD PC and using an NT server
running Exceed as the display device (ie using an actual network
instead of the loopback device or a shared memory interface), it
completes the startup sequence and displays the window with the
About Communicator page in less than four seconds, as compared to
the six second time it takes for the NT native version to start.
Its clearly not X or TCP thats causing that ten second time....

    <<more stuff deleted>>

-Steve

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

From: "H. Michael Smith, Jr." <[EMAIL PROTECTED]>
Subject: Re: How do they make any money?
Date: Sun, 4 Jul 1999 14:33:13 -0400

Also see...  www.opensource.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