Linux-Misc Digest #116, Volume #25               Wed, 12 Jul 00 14:13:02 EDT

Contents:
  OOPS! Re: problems compiling 2.4.0-test3? (Robert Lynch)
  Re: Why isn't [X]Emacs a word processor? (J Bland)
  Re: CDrecord (Aaron Ginn)
  Re: Why isn't [X]Emacs a word processor? ([EMAIL PROTECTED])
  Re: How can a script tell if X is running? (Grant Edwards)
  job opening in Berlin (Guido Matzer)
  Re: Config network cards ([EMAIL PROTECTED])
  Re: WordPerfect 8 for Linux won't install under SuSE 6.4 (J Bland)
  Re: Microsoft ([EMAIL PROTECTED])
  Re: removing programs in Linux ([EMAIL PROTECTED])
  Re: >>>>> Help Needed <<<<< ([EMAIL PROTECTED])
  Re: Window Manager With X (Hexdump)
  print server ("Rob")
  Linux to Unix print setup (scott)
  Re: emacs seg fault (Paul Kimoto)
  Which one to use ("conduit")
  Re: Read Linux CD? (Nicholas Murison)
  Re: conf.modules & modules.conf (Stuart Brady)
  Re: IP aliasing to a different network ("Scott Harney")
  Mandrake 7.1 ("javier")

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

From: Robert Lynch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: OOPS! Re: problems compiling 2.4.0-test3?
Date: Wed, 12 Jul 2000 09:16:40 -0700
Reply-To: [EMAIL PROTECTED]

Robert Lynch wrote:
> 
> Brien Sullivan wrote:

> > You don't need to be bilingual: cd to "/usr/src/linux/kernel" and
> > then open "timer.c" with your favorite test editor. Comment out
> > lines 580 & 581 like so:
> >
> >         /*    if (p->priority < DEF_PRIORITY)
> >                      kstat.cpu_nice += user_tick;  */
> >
[snip]
> I did this instead in kernel/timer.c:
> -----
> ...
> #include <asm/uaccess.h>
> 
> /* 7-10-00 missing define? (from 2.2  linux/sched.h)*/
> #define DEF_PRIORITY    (20*HZ/100) /* 210 ms time slices */
> ...
> /* 7-10-00 error in source code?
>         if (p->priority < DEF_PRIORITY) */
>         if (p->rt_priority < DEF_PRIORITY)
> ...
> -----
[snip]
This morning I was looking at patch test4-pre3, it seems neither fix is
correct:
----
...
diff -u --recursive --new-file v2.4.0-test3/linux/kernel/timer.c
linux/kernel/timer.c
--- v2.4.0-test3/linux/kernel/timer.c   Mon Jul 10 16:47:27 2000
+++ linux/kernel/timer.c    Tue Jul 11 09:25:36 2000
@@ -577,7 +577,7 @@
            p->counter = 0;
            p->need_resched = 1;
        }
-       if (p->priority < DEF_PRIORITY)
+       if (p->nice > 0)
            kstat.cpu_nice += user_tick;
        else
            kstat.cpu_user += user_tick; 
...
=======
Bob L.                                       
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (J Bland)
Subject: Re: Why isn't [X]Emacs a word processor?
Date: 12 Jul 2000 16:25:45 GMT

On 11 Jul 2000 23:33:18 PST, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>David Steuber <[EMAIL PROTECTED]> wrote:
>> You can edit text, shred text, do all sorts of unspeakable things to
>> text, just like a food processor does to food.  So why isn't XEmacs
>> and its older, estranged brother considered a word processor?
>
>Because it is just *text* that is being manipulated. Try opening
>a MS Word document, for example, in a text editor and you will see
>the difference.

There is no reason at all why a word processor's files shouldn't be in ascii
text and thus be used in either the wp iteself or a text editor.

A text editor can usually do everything a bog standard word processor (I'm
not talking about the hundreds of tools and wizards in Word etc that barely
anyone uses) can do bar formatting.

I don't do Emacs that much, but if it has a mode for doing things like
centering, boldtype etc then by a standard definition it would be a word
processor. (I suppose using Emacs to write markup such as LaTeX, HTML etc
could fall into this). People used to 'bloat processors' wouldn't believe
you but word processors have always been glorified typewriters IMO.

Whether it really should be considered as one really depends on what you
want your wordprocessor to do.

Frinky

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

From: Aaron Ginn <[EMAIL PROTECTED]>
Subject: Re: CDrecord
Date: 12 Jul 2000 08:59:17 -0700

"Hiawatha Bray" <[EMAIL PROTECTED]> writes:

> I don't get this.  I've recompiled my kernel (RH 6.0) to support SCSI-IDE
> emulation for a CD burner.  According to dmesg, it seems to have worked.
> The bootup message says the emulator is running and it says it's detected my
> Ricoh burner as a SCSI CD-ROM device.  In fact, it says so 8 times, refering
> to it as sr0 through sr7.

> So why is that when I run "cdrecord -scanbus" I get an error message saying
> "cdrecord: No such file or directory.  Cannot open SCSI driver."?  What am I
> doing wrong?  Thanks.


Here's what I do to tune my kernel for IDE-SCSI emulation:

1) Enable Generic SCSI support
2) Enable SCSI CD-ROM support
3) Disable IDE CD-ROM support  *** Maybe this is the problem? ***
4) Enable SCSI emulation

If you do these four things, you shouldn't have a problem.  I have a
CD-RW as the master on my secondary IDE controller, and a CD-ROM as
the slave on the same controller.  cdrecord -scanbus finds them both
as sr0 and sr1 respectively.

Hope this helps.

Aaron



-- 
Aaron J. Ginn                     Motorola SPS
Phone: (480) 814-4463             SemiCustom Solutions
Fax:   (480) 814-4058             1300 N. Alma School Rd.
mailto:[EMAIL PROTECTED]    Chandler, AZ 85226

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

From: [EMAIL PROTECTED]
Subject: Re: Why isn't [X]Emacs a word processor?
Date: 12 Jul 2000 09:32:52 -0700

Dowe Keller <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] writes:
> 
> > David Steuber <[EMAIL PROTECTED]> writes:
> 
> > I use now is TeX, which is, of course, not WYSIWYG but is a word
> > processor.  So, WYSIWYGness is not equivalent to word processing.
> 
> I hate to nit-pick, but TeX is not a word processor, it's a
> typesetting language.
   ...<snip>...
   You're right.  One needs a text editor (emacs, vi,...) and some way to
output the result (dvips + a postscript printer for instance, and ideally
a viewer like ghostview) to make a complete word processing package.
     ----  Remove "UhUh" and "Spam" to get my real email address ----

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: How can a script tell if X is running?
Date: Wed, 12 Jul 2000 16:37:07 GMT

In article <[EMAIL PROTECTED]>, Krzys Majewski wrote:

>What's the kosher way to say, in a shell script, "Is X running right 
>now?" 

For what definition of "X running"?

Many programs check to see if the environment variable
"DISPLAY" is set to determine whether to run as X clients or as
text-mode programs. Whether DISPLAY is set or not is
independant of whether or not there is an X server running on
the local computer.

Do you need to know if there is one or more X servers running
on the local machine? If a particular X server owns a
particular virtual display? If a particular virtual display is
current being displayed on a physical display?

To find out if root is running X on :0, one fairly simple (but
not 100% reliable) solution might be:

 1) search all processes for X servers.
 
 2) look at command line args to see which one is runnin on :0

 3) find the parent process of that X server and see what UID
    it has. [looking at the UID of the X server is useless
    since it is usually suid root.]

To find out if :0 is actually being displayed on a physical
display, you need to figure out what virtual console the X
server is using, then ask the vc driver what virtual console is
currently active.

I'm sure you were hoping for a simpler answer...  ;)

-- 
Grant Edwards                   grante             Yow!  ... Just enough
                                  at               time to do my LIBERACE
                               visi.com            impression...

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

From: [EMAIL PROTECTED] (Guido Matzer)
Crossposted-To: 
comp.os.linux.x,comp.os.linux.development,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking
Subject: job opening in Berlin
Date: 12 Jul 2000 11:45:32 -0500

Anyone to join our team in Berlin? We are developing cluster systems for
display applications.

Required skills: networking, X/windows, OOD/OOP with C++


Send CV and background info to: [EMAIL PROTECTED]


Best regards,


Guido

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

From: [EMAIL PROTECTED]
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Config network cards
Date: 12 Jul 2000 16:47:25 GMT

Marc Nesheim <[EMAIL PROTECTED]> writes:

: My /etc/conf.modules looks like:

: alias parport_lowlevel parport_pc
: alias eth0 eexpress
: alias eth1 eexpress
: options eexpress io=0X310,0X300 irq=3,5

: Does anyone know how to fix this problem?

In the Ethernet-HOWTO it mentions that some older ISA cards don't like
to be loaded with the same name, so you have to do something like:

alias eth0 eexpress
alias eth1 eexpress
options eth0 -o eexpress-0 io=0x310 irq=3
options eth1 -o eexpress-1 io=0x300 irq=5

Did you try that?

HTH,

C

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

From: [EMAIL PROTECTED] (J Bland)
Subject: Re: WordPerfect 8 for Linux won't install under SuSE 6.4
Date: 12 Jul 2000 16:39:43 GMT

>>Why bother to download it? WP8 is included on the SuSE CD set.
>>(If you're using the SuSE 6.4 evaluation CD, what error messages are you
>>getting that causes the install to fail?)
>
>I'd love to capture them, but they fly by so quickly I have no hope in hell
>of even reading them.

Useful tip; SHIFT-PG[UP|DOWN] in VCs and xterms will move you up and down
through the history of the terminal.

And on an xterm etc you can move around in it with the scroll bar on the side.

"Scrolling by too fast" isn't much of an excuse on unix. Particularly if you
can direct the output to something like less, eg

ls -l /dir_with_hundreds_of_files/ | less

which will display the directory contents a screen at a time (or let you
scroll up and down etc through the output)

Frinky

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

From: [EMAIL PROTECTED]
Subject: Re: Microsoft
Date: Wed, 12 Jul 2000 14:51:51 +0100

RealCea <[EMAIL PROTECTED]> did eloquently scribble:
> A stagnat meglomothic computer software company 
            ^^^^^^^^^^^
Hmmm... Never heard this one before...
Is this a software company that spends it's life bashing it's head against a
giant light bulb?

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "The day Microsoft makes something that doesn't |
|            in            |  suck is probably the day they start making     |
|     Computer science     |  vacuum cleaners" - Ernst Jan Plugge            |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: removing programs in Linux
Crossposted-To: alt.os.linux.suse,comp.os.linux.setup
Date: Wed, 12 Jul 2000 14:57:50 +0100

In comp.os.linux.misc beo <[EMAIL PROTECTED]> wrote:
> Hello all,

> Currently, I have apache 1.3.10 installed in my SuSE 6.2; however, I
> upgraded to 1.3.12 using the source package. And my question is how do I
> know whether my 1.3.12 has overwritten the 1.3.10 or not? Also, since Apache
> has many different files in many directories, how can I remove the Apache
> program in linux? Do I need to go in every direcotries to remove the
> individual files? Thanks!!

One thing you could do is
make uninstall
(This will remove all the files installed from the tarball)
Then uninstall the old apache using YaST (if any of it still exists).
That should leave you with a clean slate and allow you to reinstall the
stuff from the tarball. (you may wish to backup the config files before
uninstalling the rpm however).
-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "Are you pondering what I'm pondering Pinky?"   |
|Andrew Halliwell BSc(hons)|                                                 |
|            in            | "I think so brain, but this time, you control   |
|     Computer Science     |  the Encounter suit, and I'll do the voice..."  |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: >>>>> Help Needed <<<<<
Date: Wed, 12 Jul 2000 15:13:59 +0100

David Steuber <[EMAIL PROTECTED]> did eloquently scribble:
> N/A <[EMAIL PROTECTED]> writes:

> ' I NEED SOMEONE WHO WILL STEP BY STEP TUTOR ME ON INSTALLING COREL LINUX 
> ' DELUX, IF YOUR INTERNESTED GIVE ME YOUR E-MAIL AND WE WILL GET TO WORK, 
> ' THANKS.

> FIRST, LOOK FOR A KEY LABELED "CAPS LOCK".  PRESS IT AND SEE THAT A
> LIGHT ON THE KEYBOARD, USUALLY LABLED WITH THE LETTER `A' GOES OUT.

MINE'S LABELED WITH... Ahem... Mine's labeled with Caps...
:)

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   |                                                 |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"          |
|            in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
|     Computer Science     | - Father Jack in "Father Ted"                   |
==============================================================================

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

From: [EMAIL PROTECTED] (Hexdump)
Subject: Re: Window Manager With X
Reply-To: [EMAIL PROTECTED]
Date: Wed, 12 Jul 2000 17:03:29 GMT

On Wed, 12 Jul 2000 00:53:01 -0600, Homer Jay wrote:
>On Wed, 12 Jul 2000 00:48, Nicholas Murison <[EMAIL PROTECTED]>:
>>Bill wrote:
>>> How do I make X run without a Window Manager in RedHat 6.2?
>>
>>Run the command X.  This will give you nothing but the basic X server
>>with a dot-matrix background.  To exit, press Ctrl-Alt-Backspace.
>>Nicholas John Murison
>
>Doesn't X use a default window manager in this instance, perhaps fvwm?

Don't remember if RedHat starts a default wm or not, I don't believe it
does. Slackware most certainly does not. 

Hexdump

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

From: "Rob" <[EMAIL PROTECTED]>
Subject: print server
Date: Wed, 12 Jul 2000 08:51:17 -0500

Hopefully I am in the right group, if not please forgive me and direct me to
the right one....But anyway here is my problem. I have a netgear PS110 print
server over 100 Base T Ethernet. It has it's own static IP and on the same
subnet as the others in my office. What I wanted to do is tell mandrake 7.0
that it is there and try to print to it. The printer I have is a Lexmark
Z51. Thanks



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

From: scott <[EMAIL PROTECTED]>
Subject: Linux to Unix print setup
Date: Wed, 12 Jul 2000 17:30:12 GMT

WE already have smb.conf configured on unix and printing can be done from
all Windows machines. The problem is that we cannot get it to work under
Linux Mandrake 7.0?

--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: emacs seg fault
Date: 12 Jul 2000 13:42:00 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Dan Austin wrote:
> I'm not sure if this is emacs or the filesystem, but when i run emacs
> with no X when i close it I get a seg fault, anyone else seen this?

Which version of emacs ("M-x version") are you running (and where did it
come from), and which libc version do you use ("ls -l /lib/libc.so.*")?

-- 
Paul Kimoto

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

From: "conduit" <[EMAIL PROTECTED]>
Subject: Which one to use
Date: Wed, 12 Jul 2000 10:36:29 -0700

Hi, I am looking to re-experience installing
linux on my computer.
After two years i think it is time to try
a different distribution. I am looking at either
Slack
SuSE    or
Debian.
Now i know there must be some
opinions out there.
So join in on the debate.....
Which is best ??

WW



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

From: Nicholas Murison <[EMAIL PROTECTED]>
Subject: Re: Read Linux CD?
Date: Wed, 12 Jul 2000 19:41:22 +0200
Reply-To: [EMAIL PROTECTED]

"David .." wrote:
> 
> Micromans wrote:
> >
> > Whenever I want to read the RedHat linux CD I can't. I do a "cd /mnt/cdrom"
> > and ls.
> >
> > It is defined as ISO something or other (ISO9066??) in the fstab.
> >
> > So to read it I do a "mount /mnt/cdrom" and get in fine. I can then do "ls".

                            / \
                             |
                           YOHOO
> >
> > How come? What file system does the CD use?
> >
> > Mark M.
> 
> The CD_Rom is a device which has to be mounted (module loaded) first
> before being able to read it.
> 
> --
> Registered with the Linux Counter.  http://counter.li.org
> ID # 123538

Did you read the entire post?
-- 
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins
Registered Linux User #153895   http://counter.li.org

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

From: Stuart Brady <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: conf.modules & modules.conf
Date: Wed, 12 Jul 2000 18:34:33 +0100

Andy Wallace <[EMAIL PROTECTED]> wrote:

>They are the same thing, but the use of conf.modules is now (since the
>introduction of the 2.2.x kernels) deprecated. You should be using
>modules.conf if you've got a 2.2.0 or newer kernel.
>conf.modules still works, but won't forever.

Don't think that you can just rename conf.modules to modules.conf and
expect eveything to work properly, though. Some init scripts and setup
tools that haven't been changed yet will need to use to "conf.modules",
and updated programs/scripts will want "modules.conf" -- in that case,
you will need to make a symbolic link from one name to the other.
-- 
Stuart Brady


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

From: "Scott Harney" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: IP aliasing to a different network
Date: Wed, 12 Jul 2000 12:53:28 -0600

Sounds like it might be a firewall issue.  Try doing this to
remove ipchains temporarily:
ipchains -F
ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT

If it then works, then you need to adjust your firewall ruleset
to accommodate the new subnets

In article <[EMAIL PROTECTED]>, Lilia Vogt <[EMAIL PROTECTED]>
wrote:
> I need to give several IP addresses (aliases) to the same NIC. It works
> if the alias addresses are on the same network, but it doesn't work of
> the alias address is on a different network than the main IP.
> 
> What I did is:
> 
> ifconfig eth0:0 <alias IP> netmask <mask> route add  -net <alias IP
> network> netmask <netmask> dev eth0:0
> 
> If I try to ping the alias IP address on the box itself, it works.
> However, it is not reachable  from the network.
> 
> All help will be greatly appriciated!!!!
> 



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

From: "javier" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.portable,comp.os.linux.x,comp.windows.x
Subject: Mandrake 7.1
Date: Wed, 12 Jul 2000 13:55:55 -0400

Hello,
    I was trying to help a colleague get X running on his Toshiba Tecra
8100. He's got a Savage 3 chipset. Apparantly, there is a patch for the
file s3vga_vbe.c in the XFree86-3.3.x distribution which we applied.
Then we rebuilt and reinstalled XF86, but whenever we tried to configure
X using Xconfigurator, none of the test configurations worked. We got a
"chipset does not support configuration" error for everything we tried.

 Has anyone had any luck running X on such a machine/chipset?

Thanks.



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


** 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