Linux-Misc Digest #117, Volume #26               Mon, 23 Oct 00 05:13:01 EDT

Contents:
  shell ("Yeung Ming")
  Re: FOR ALL VOTERS - PLS READ (Monte Milanuk)
  Cyclades - Cyclom-Y howto ? ("Dennis")
  install help for RedHat 6.0 ("GJAVV")
  Re: mount/umount LS-120 floppydrive? (Bo Berglund)
  Re: Star Office 6.0? ("�ric GARANT")
  Re: FOR ALL VOTERS - PLS READ (.)
  Re: file problems still (newbie) (no)
  Re: Which Gcc version to compile Linux Kernel ? ("O.Petzold")
  Re: MIcrosoft's web site won't quite work with Netscape (Lew Pitcher)
  error message on console ("Hello World")
  Re: Absurd mouse behavior (Tyler Larson)
  xcin problem (root)
  fullscreen video playback (Matt Garman)
  sysctl: error (Rafael - LumesITSupport)
  Porting SAP from Windows NT to Solaris (Motswako)
  Triple boot with NT in second drive (BO)
  Re: Lost sda1 somehow? (Eric)
  Re: Star Office 6.0? ("David ..")
  Re: sysctl: error (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
  Re: shell (Erik de Castro Lopo)
  ircd ("Cipher9")
  Re: Problems with floppy (Eric)
  placing java VM into kernal, good or bad ? (Ulrich Pfisterer)
  Where are the drivers to be put in a rescue diskette (Ezio PAGLIA)

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

From: "Yeung Ming" <[EMAIL PROTECTED]>
Subject: shell
Date: Mon, 23 Oct 2000 13:13:21 +0800

i want to write a very simple shell by c++  in linux and i don't know what's
the problem when i use the execvp(), it gives me no response. I think i've
followed the requirments specify by the man pages, here is my code
=====================================================================
#include <iostream.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/wait.h>
#include <stdio.h>


int main(int argc, char *argv[])
{
  //to check the input is valid or not
  bool valid = false;

  while (valid == false)
    {
      const int size = 512;
      char buffer[size], *token[size], *tokenPtr, *argv[size];

      int i = 0;

      cout << "Shell# ";
      cin.getline(buffer, size);

      //token the input string to get the command and argument
      tokenPtr = strtok(buffer, " ");

      while (tokenPtr != NULL)
 {
   token[i] = tokenPtr;

   i++;
   tokenPtr = strtok(NULL, " ");
 }

      //just a debug statment, to see the tokens
      for (int k = 0; k < i; k++)
 cout << token[k] << endl;

      //create argument list
      for (int l = 0; l < i; l++)
 if (token[l] != "&")
   {
     argv[l] = token[l];
     //debug, to see the argument list
     cout << "argv " << argv[l] << endl;
   }


      //check for the exit command to determine exit the shell or not
      if (strcmp(argv[0], "exit") == 0)
 exit(1);

      int child_pid = fork();

      if (execvp(argv[0], argv) == -1)
 {
   perror("execve");
   exit(EXIT_FAILURE);
 }

      if (child_pid == 0)
 {
   execvp(argv[0], argv);
   exit(0);
 }

    }
  return 0;
}
==========================================================
can anyone give some hints to me?



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

From: Monte Milanuk <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.unix.admin
Subject: Re: FOR ALL VOTERS - PLS READ
Date: Sun, 22 Oct 2000 23:31:01 -0600

>
> 1st in percentage of poor working parents without insurance
>
> 1st in percentage of children without health insurance
>

Sounds like the parent's fault, not Bush's.  But then being a Gore supporter,
you probably believe that Big Brother (Federal govt) should make things all
better for everybody, and that individuals aren't responsible for their own
situations..


> 1st in executions (average 1 every 2 weeks for Bush's 5 years as Governor)
>
> Just think of what he could do for the country if he were president!
>

God, I wish.  It might people actually afraid of going to prison.

Monte


>
> John R. Finnegan Jr., Ph.D.
> Professor and Associate Dean For Academic Affairs
> School of Public Health, University of Minnesota


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

From: "Dennis" <[EMAIL PROTECTED]>
Subject: Cyclades - Cyclom-Y howto ?
Date: Mon, 23 Oct 2000 17:01:25 +1000

Hi all....

Just wondering if anyone has come accross a Cyclades-Cyclom-Y howto ?
I've looked through all the LDP howtoz but found nothing.

Cheers
Dennis



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

From: "GJAVV" <[EMAIL PROTECTED]>
Subject: install help for RedHat 6.0
Date: Mon, 23 Oct 2000 07:58:21 +0200

A full install help for RedHat 6.0 can be found @

http://home.planet.nl/~gert-jan/


In English and Dutch

Read all about partitioning, configuring and commands. Just the most basic
things to know!

Greetz Gert-Jan



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

From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.hardware
Subject: Re: mount/umount LS-120 floppydrive?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 23 Oct 2000 06:05:02 GMT

On 23 Oct 2000 01:04:12 GMT, [EMAIL PROTECTED] (Dances With Crows)
wrote:

>On Sun, 22 Oct 2000 22:47:06 GMT, Bo Berglund wrote:
>>Then I can read the contents of the disk.  But to get the disk out I 
>>have to
>>umount /mnt/LS-120
>>
>>As soon as the disk is out my Linux box starts to click terribly on
>>the hard disk until I reinsert and mount the disk again.
>>In the /var/log/messages file I find this (entries are on one line
>>following the date):
>>Oct 22 22:41:00 bbfirewall kernel: hdc: The drive reports both
>>126222336 and 0 bytes as its capacity 
>>Oct 22 22:41:00 bbfirewall kernel: ide-floppy: hdc: I/O error, pc =
>>0, key =  2, asc = 3a, ascq =  0 
>>These three lines are repeated several times per second for the entire
>>time that the disk is outside the drive!
>
>Disable whatever's trying to auto-mount the drive?  There's an applet
>that ships with stock RH installs which tries to auto-mount CDs and may
>be trying to get at your LS-120.  There's also a kernel option for
>automounter support; you might have to disable that.
>

How can I find out where the automount is coming from?
Are there any more detailed logs where it can be seen which process is
logging these failures?

But I doubt that there is an aoutomounter around because at first I
tried reading the floppy after inserting it like in a DOS machine, but
it did not work. I had to find out the notion of "mounting" a
floppydisk in order to see it (took a couple of days on Usenet before
I had that information in...). So if there is an automounter around it
fails in its automounting effort....


Bo Berglund

[EMAIL PROTECTED]

PGP: My public key is available at the following locations:
Idap://certserver.pgp.com
http://pgpkeys.mit.edu:11371

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

From: "�ric GARANT" <[EMAIL PROTECTED]>
Subject: Re: Star Office 6.0?
Date: Mon, 23 Oct 2000 06:12:16 GMT

Supposedly the code of StarOffice will become free ...


"John Scudder" <[EMAIL PROTECTED]> a �crit dans le message news:
[EMAIL PROTECTED]
> Has anyone heard anything about Star Office 6.0?
>
> I read somewhere that this will be a major upgrade.   Supposedly
> StarWriter, StarDraw, etc.  will be independent applications so that the
> whole Office Suite won't have to open for the sake of one application.
>
> If I recall correctly,  it was to be available by the middle of
> October.  Nothing on the Sun Site yet.
>
> John
>



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

From: [EMAIL PROTECTED] (.)
Crossposted-To: comp.os.linux.networking,comp.unix.admin
Subject: Re: FOR ALL VOTERS - PLS READ
Date: 23 Oct 2000 06:17:31 GMT

In comp.unix.admin Hal Burgiss <[EMAIL PROTECTED]> wrote:
> On 20 Oct 2000 09:32:32 -0000, Private User <See.Comment.Header@[127.1]> wrote:

>>Just think of what he could do for the country if he were president!
>>
>>John R. Finnegan Jr., Ph.D.
>>Professor and Associate Dean For Academic Affairs
>>School of Public Health, University of Minnesota

> OK, because of this obnoxious off topic post, I now vote for Bush just
> to spite your clueless, self righteous ass. If that's really who you are
> since you don't give an email address and hide behind a remailer. At
> least Bush supporters aren't spamming Linux newsgroups.

No, theyre spamming me directly actually.  No less than 25 emails
per DAY.




=====.


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

From: no <[EMAIL PROTECTED]>
Subject: Re: file problems still (newbie)
Date: Sun, 22 Oct 2000 23:25:58 -0700
Crossposted-To: 
alt.linux,alt.os.linux,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.help,comp.os.linux.questions

The problem sounds like a PATH setting problem...try adding your newly created
directory to your path statement. This should allow you to execute whichever
file you are trying.  In lieu of that procedure you can just try :  
/filename(where filename is the name of the prog you are trying to execute). 
Also, are you sure you do not have to build anything first?  view the README
that accompanies the files you are working with...

On Thu, 05 Oct 2000, Jim Young wrote:
>Hey all. I still have problems executing files that i've untarred.  i
>use tar xvpzf file  while i'm root, and when i ls -l the files, they say
>root root for the properties, yet when i type the name in it sais file or
>command not found. its reallll odd.  if iuse the tab-shortcut key it also
>doesn't recognize it.
>i'm on slackware linux, newest version
>
>
>thank you
>
>Jim


====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
=======  Over 80,000 Newsgroups = 16 Different Servers! ======

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

From: "O.Petzold" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,alt.os.linux
Subject: Re: Which Gcc version to compile Linux Kernel ?
Date: Mon, 23 Oct 2000 07:43:14 +0200

>
> This got rid of the compilation errors,
> but threw up a lot of assembly warnings about not being able
> to modify .modinfo ,
> which seemed to result in no modules being installed
> by "make modules_install".

This is not related on the kernel at all. I've compiled a kernel module which
isn't in the kernel tree with gcc version 2.95.2 19991024 (release)  and
got the similar warnings:

/tmp/ccWv6Hv5.s: Assembler messages:
/tmp/ccWv6Hv5.s:47: Warning: Ignoring changed section attributes for .modinfo

No idea what this means ...
Olaf



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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: MIcrosoft's web site won't quite work with Netscape
Date: Sun, 22 Oct 2000 15:27:52 -0400

Jimmy Navarro wrote:
> 
> Yeap  you're right.  It says:  JavaScript error: Type 'javascript: into
> Location for details'
> 
> So I typed at URL http://www.microsoft.com/javascript and did load but
> then sez:
> 
>        Sorry, there is no microsoft.com Web page matching your request.

Of course there's no microsoft.com web page called
http://www.microsoft.com/javascript.
You didn't follow the instructions, which clearly read  "JavaScript
error: Type 'javascript: into Location for details".

What you are _supposed_ to do is
a) position the text cursor in the "Location" textbox of the Netscape
browser,
b) erase the existing URL in the "Location" text box,
c) enter the text "javascript:" (minux the quotation marks) in the
"Location" text box, and
d) hit enter.


-- 
Lew Pitcher

Master Codewright and JOAT-in-training

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

From: "Hello World" <[EMAIL PROTECTED]>
Subject: error message on console
Date: Mon, 23 Oct 2000 14:25:03 +0800

eth1: transmit timed out, tx_status 00 status e601
eth1: Interrupt posted but not delivered -- IRQ blocked by another device?

is it a irq conflict? i have 3 3c905c in a redhat 6.2 box.



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

From: Tyler Larson <[EMAIL PROTECTED]>
Subject: Re: Absurd mouse behavior
Date: 23 Oct 2000 06:34:47 GMT

Well, if it helps anybody to understand what's going on with my system, 
I think I've narrowed the mouse problem down to something in the software
rather than a hardware problem.

My justification is this: When i DO get my mouse to work, if I stay in
an X session, the mouse will continue to function correctly indefinately.
But if I switch to a 'normal' terminal session, I get the approx. 5 minute
timeout (if you can call it that) where the mouse must be unplugged, 
unconfigured, and plugged in again (in the other serial port) and
reconfigured to make it function.

Am I missing something?  What is the difference to the system whether or
not I'm looking at a standard terminal or at an X windows session?  Even
when I'm running X windows in the background and I alt-F_ to a terminal to
do something, if I stay there too long, my mouse won't function when I go
back to X.

I'm still stumped.  Any opinions would be appreciated.  Thanks.

> I'm at a loss.  If it were a hardware problem, linux should think that the
> mouse is no longer connected and kudzu should try to remove the mouse from
> the configuration *before* I physically disconnect the mouse.  But if it's
> a software problem, *at the very least* rebooting the machine should restart
> whatever service is the offender and make the mouse work again.  Or so, at
> least, my rationale tells me.

> Is there anyone that recognizes this bizzare behavior and can at least 
> tell where the problem lies?

> Happy hacking.

-- 
-Tyler

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

From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: xcin problem
Date: Mon, 23 Oct 2000 02:46:27 +0800

I have installed xcin, libtabe and xa+cv in my Mandrake Linux 7.0. When
I
start xcin in the console, there is an error message.

xcin: error: rcfile: DEFAULT_IM: value not specified.


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

From: [EMAIL PROTECTED] (Matt Garman)
Subject: fullscreen video playback
Reply-To: [EMAIL PROTECTED]
Date: Mon, 23 Oct 2000 06:54:44 GMT

Is there any viewer for Linux that will allow *fullscreen* viewing of
video (particularly mpegs)?

I've seen viewers (mtv/mtvp for example) that advertise fullscreen
playback, but all they do is play the file as original size, but make the
rest of the desktop black.

When something says "fullscreen" I take that to mean it scales the images
to the size of my screen.  Is this possible?

Thanks,
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
"I may make you feel, but I can't make you think."
        -- Jethro Tull, "Thick as a Brick"

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

From: Rafael - LumesITSupport <[EMAIL PROTECTED]>
Subject: sysctl: error
Date: Mon, 23 Oct 2000 09:27:49 +0200
Reply-To: [EMAIL PROTECTED]

What does it mean
sysctl: error 'kernel.sysrq' is an unknown key
Can anybody help me

Rafael


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

From: Motswako <[EMAIL PROTECTED]>
Subject: Porting SAP from Windows NT to Solaris
Date: Mon, 23 Oct 2000 07:30:03 -0000

Hi,

We want to port SAP from an NT to a Unix platform. 
What are the pros and cons of doing this exercise!

Is there any risk associated with this exercise !!!!

Thanks,
Motswako ka Potsane

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

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

From: BO <[EMAIL PROTECTED]>
Subject: Triple boot with NT in second drive
Date: Mon, 23 Oct 2000 07:30:04 -0000

Hi all,

I have a PC running Caldera Linux and Win98(dual boot) with "grub" as my 
boot loader. Not iam planning to have another HDD with WinNT installed in 
it. Could you please advice me how i can do that and whether to use "grub" 
or NT as my boot loader.

Thanks
BO

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

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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.linux.os.help,comp.os.linux.setup
Subject: Re: Lost sda1 somehow?
Date: Mon, 23 Oct 2000 09:45:46 +0200
Reply-To: [EMAIL PROTECTED]

John W. Sargent wrote:
> 
> Good evening. Somehow I suspect (am not sure) that my boot process
> dropped the ability to see my scsi card as later in the effort there is
> a msg that /dev/sda1 is not recognized as a block device and the
> suggestion/result offered that I run 'e2fsck -b 8193 /dev/sda1' suggests
> a corrupt superblock or that the drive isn't really there. I know this
> isn't so as it used to work and I have not adjusted the kernel (yet).
> Previous logs show sda and sda1 listed along with hda1..4 during the
> course of the boot process and now just the hda(n) for whatever reason.
> If anyone knows a way to get the boot process to recognize the scsi and
> associated drive (again) without loosing what is on the drive or
> possibly some other reason that is contributing to this problem
> (kernel?) and how to correct it I'd be most appreciative if you could
> LMK. Thank you in advance...
> 
> Info: Debian V 2.2, Kernel 2.2.17, Adaptec AHA-2920 (fdomain driver is
> (was) used), Jaz 1gb int, /dev/sda,  /mnt/jaz, no other OS in the box.
> 
> 
>Regards..............................................................................JWS

What did you change?
I've seen this occur after adding a new PCI card that didn't function
correctly. Does `dmesg` show the driver getting loaded (try lsmod too,
to see if it is loaded)

Eric

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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Star Office 6.0?
Date: Mon, 23 Oct 2000 02:35:30 -0400

"�ric GARANT" wrote:
> 
> Supposedly the code of StarOffice will become free ...

It already is!

http://linuxtoday.com/news_story.php3?ltsn=2000-10-22-014-04-OP-SW

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Subject: Re: sysctl: error
Date: 23 Oct 2000 09:59:32 +0100

In article <[EMAIL PROTECTED]>, Rafael - LumesITSupport wrote:
>What does it mean
>sysctl: error 'kernel.sysrq' is an unknown key
>Can anybody help me
>
>Rafael
>

You pressed the SysRq key on your keyboard while running a Linux
kernel that was compiled with the kernel hacking option enabled?
Anyway, the kernel didn't know what to do when you pressed it.

Just a wild guess. Haven't seen it before.

/A

-- 
Andreas K�h�ri, 
Uppsala University, Sweden.
================================================================
Debian GNU/Linux, the choice of a GNU generation

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

From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Subject: Re: shell
Date: Mon, 23 Oct 2000 08:34:54 +0000

Yeung Ming wrote:
> 
> i want to write a very simple shell by c++  in linux and i don't know what's
> the problem when i use the execvp(), it gives me no response. I think i've
> followed the requirments specify by the man pages, here is my code

<Snip>

Posting the same question separately to multiple newsgroups is a sign
of extreme cluelessness. If you **REALLY** think that your post deserves
to be seen in more that one newsgroup, then cross-post.

Anyway, I answered this question in alt.os.linux or somewhere. The
best newsgroup for this question is actually comp.os.linux.development.apps
or comp.unix.programmer.

Erik
-- 
+-------------------------------------------------+
     Erik de Castro Lopo     [EMAIL PROTECTED]
+-------------------------------------------------+
"I love deadlines. I especially like the whooshing sound 
they make as they go flying by."  -- Douglas Adams

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

From: "Cipher9" <[EMAIL PROTECTED]>
Subject: ircd
Date: Mon, 23 Oct 2000 10:47:22 +0200

hi, i have a prob configuring ircd.

I can't get it running when i type
    ircdwatch
i get
    /usr/local/sbin/ircd: error: unable to find "/usr/local/sbin/iauth".

although it is there.

if i just type ircd, i get connected, but only one user can connect

please send me a mail fast

[EMAIL PROTECTED]



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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Problems with floppy
Date: Mon, 23 Oct 2000 11:01:18 +0200
Reply-To: [EMAIL PROTECTED]

Filipe Bonjour wrote:
> 
> Hi,
> 
> I'm having some serious trouble using my floppy disk under Red Hat 6.2.
> Anytime I try executing mount, mke2fs, mkbootdisk this is what I get:
> 
> root 1 % mount -t vfat /dev/fd0 /mnt/floppy/
> mount: /dev/fd0 is not a valid block device
> 


What does `ls -l /dev/fd0` return?

Eric

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

Date: Mon, 23 Oct 2000 11:03:35 +0200
From: Ulrich Pfisterer <[EMAIL PROTECTED]>
Subject: placing java VM into kernal, good or bad ?

I have heard that there are plans to place the java virtual machine
directly into the linux kernal. What are the good and bad points ?

Where can I find out more about this ?


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

From: [EMAIL PROTECTED] (Ezio PAGLIA)
Crossposted-To: comp.os.linux.setup,;
Subject: Where are the drivers to be put in a rescue diskette
Date: Mon, 23 Oct 2000 09:08:20 GMT

Dear guru's and admin's,

I backuped my Linux system onto a tape that obviously my RH6.2 treats
very well. I made a rescue diskette with the compressed kernel and a
numer of utilitities. Everythig would go quite well, but how can you
make the booted system understand the presence of a tape on /dev/st0
after the boot from diskette ? Adding /dev/st0 to the diskette and
making the correct mknod is not enough. Where are the drivers to be
installed in the rescue diskette ? I apologize for my intrusion and
incompetence. Thank you in any case.

Your Ezio

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


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