Linux-Misc Digest #67, Volume #24                 Fri, 7 Apr 00 09:13:02 EDT

Contents:
  Re: Installing Red Hat Linux 6.1 (=?iso-8859-1?Q?S=E9bastien?= Cottalorda)
  Linux Connect => NT Gateway ([EMAIL PROTECTED])
  Re: Get Rid of MSh*t ^M's <CR> from a file... (Floyd Davidson)
  Re: MySQL question ([EMAIL PROTECTED])
  Re: HP DeskJet - Too Much Ink (Fabio S.)
  Re: Missing directory on Kodak PhotoCD (Neil Cherry)
  Re: Review: Corel Office 2000 ("Jim Ross")
  Re: File Transfer ([EMAIL PROTECTED])
  IOCTL calls ([EMAIL PROTECTED])
  weep ([EMAIL PROTECTED])
  Why linux will never go beyond geekdom ([EMAIL PROTECTED])
  RE: Your shite ([EMAIL PROTECTED])
  Re: saving newgroup (james)
  Re: saving newgroup (james)
  Re: help! I erased my boot disk! (cll)
  Files just stops downloading at random ("TIM B�KSTR�M LAURSEN")
  Re: HP DeskJet - Too Much Ink (Steffen Kluge)
  Which word editor? Which spreadsheet? (Svein Tjonndal)
  Re: Bloody clock is an hour fast (Kevin White)
  Re: Netscape 6 (Rick Pasotto)
  Re: Linux install (aflinsch)

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

From: =?iso-8859-1?Q?S=E9bastien?= Cottalorda 
Subject: Re: Installing Red Hat Linux 6.1
Date: Fri, 07 Apr 2000 12:33:02 +0200

Hi,

The problem is that /boot partition begins at a cylinder > 1024.
You need to repartition your hard drive as follow :
        1st partition : Windows (3 or 4 Go max) created with DOS FDISK
        2nd partition : Linux /boot     (39Mo) created with diskdruid
        3nd partition : Extended one  (all the free space) created with
diskdruid
                    - Logical partition , Linux ......     created with
diskdruid
                    - Logical partition WIN FAT32    created with diskdruid

Then install Linux.
When you've done the entire install, reboot your computer under Windows and
format D:, ....

Hope this helps.

Sebastien



[EMAIL PROTECTED] wrote:

> Hello everybody, I started to install Linux on my 20GB Hard drive which has
> three partitions. 4.5 GB is for Linux. When I started to install, I got
> stuck when I have to insert Mount Points, yet when I create "/boot" it
> tells me that partition is too big. I gave it 16MB as it said in manual,
> but it still didn't work. What can be the problem?
> Thank you very much.
>
> --
> Posted via CNET Help.com
> http://www.help.com/


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

From: [EMAIL PROTECTED]
Subject: Linux Connect => NT Gateway
Date: Fri, 07 Apr 2000 10:27:46 GMT

I have a LAN of Windows PCs.  Two Win98 connecting to an NT4 box that
acts as the gateway to the internet.

I now have a Linux box that I want to connect to the internet though
the NT gateway.  I've managed to setup Samba and the computers have to
problem seeing eachother, but I can't seem to get the Linux box to see
the internet.

I've used Linuxconf and set the defualt gateway to 192.168.xxx.xxx (the
IP address of the NT machine) - but it still doesn't see the internet.

I'm running Readhat 6.0 if it's any help.

Any suggestions?!?

Many thanks,

Remy.


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

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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Get Rid of MSh*t ^M's <CR> from a file...
Date: 07 Apr 2000 01:53:06 -0800

[EMAIL PROTECTED] (Dances With Crows) wrote:
>On Thu, 06 Apr 2000 23:23:05 +0100, Alan Fay 
><<8cj2t3$jhd$[EMAIL PROTECTED]>> shouted forth into the ether:
>>
>>I'm using Linux 'diff' and 'patch' to merge my source code
>>changes into MSh*t source code files. I take the files from
>>the MS machine and 'diff -c' them.
>>Unfortunately, the MSh*t ^M's are causing me problems.
>>How can I easily get rid of these from all files in a 
>>directory? (recursively?) 
>
>#!/bin/bash
># Call this script from the top of whichever dir you want to
># remove all the ^Ms from.
>for i in `ls -R` ; do
>   dos2unix $i;
>   done
>
>...this assumes you have "dos2unix", and it assumes you have no binaries
>in that directory.  You may want to change `ls -R` to `ls -R *.c *.h` or
>something.  dos2unix is a relatively standard part of Unix; if it's not
>there, you can do the same thing using tr like so, replacing the dos2unix 
>line with this:
>   cat $i | tr -d '\r' > temp.txt ;
>   mv -f temp.txt $i ;
>
>(when your default mode of interaction with the machine is programmable,
>now *THAT'S* a User Environment!)

Perhaps a better command is "col -xb < $i > temp.txt".

Another minor improvement which might save someone a bit of grief
is to change it to this:

  for i in `/bin/ls -R` ; do
    col -xv < $i > temp.txt
    mv temp.txt $i
  done

The reason for "/bin/ls" is that many users will have "ls" aliased
to something like "/bin/ls --color -xF", which will not work.

  Floyd

-- 
Floyd L. Davidson                          [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)

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

From: [EMAIL PROTECTED]
Subject: Re: MySQL question
Date: Fri, 07 Apr 2000 11:02:24 GMT


> Does anyone know where these are kept and what they're called?  I'm
using

/var/lib/mysql/[databasename]/



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

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

From: [EMAIL PROTECTED] (Fabio S.)
Subject: Re: HP DeskJet - Too Much Ink
Date: 7 Apr 2000 11:07:33 GMT

>When I use the cdj500 driver, I get way too much ink on  the page even 
>if I use -dDepletion=2. If I use djet500, I get less ink, but no
>color. Does anyone have a working setup ?

I couldn't find any solution. The point
is (or, at least, seems to be to me) that ghostscript is not sensitive to
any option (-dDepletion and -dShingling should be the relevant ones). That
is, it makes no difference how I set them, I always get the same output.
Now I use cdjmono with the (useless:-) options -dDepletion=2 -dShingling=0
I know I loose colors, but as long I won't buy a color cartridge it
doesn't make a big difference...;-))))

Here is my postscript.cfg:

GSDEVICE=cdjmono
RESOLUTION=600x600
PAPERSIZE=a4
EXTRA_GS_OPTIONS="-dDepletion=2 -dShingling=0"
REVERSE_ORDER=   #this is not yet supported: what a pity!!!!!
PS_SEND_EOF=NO
NUP=1
RTLFTMAR=18
TOPBOTMAR=18

What is stranger, is that cdjmono is obsolete and I should get the same
output by cdj550 with -dBitsPerPixel=1. Well, it is not like that: it
doesn't recognize that option! (or the output is the same as without the
option, I don't remember very well: it just didn't work) 

The versions of the relevant pieces of software I use are

ghostscript-6.01-1
printtool-3.44-2
rhs-printfilters-1.51-2

(all rpm's)

If you have any bettere solution, or hint, I would really appreciate to
know them!

Bye

Fabio


>P.S.:  Fabio S. <[EMAIL PROTECTED]>, if you're reading this - I've emailed 
>you several times - it always bounces !

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

From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Re: Missing directory on Kodak PhotoCD
Reply-To: [EMAIL PROTECTED]
Date: Fri, 07 Apr 2000 11:16:37 GMT

Well I put in the 20x CDRW drive and now I can see the directory with
the pictures in it. The previous drive was not a mutli session drive,
it is a 2x drive and multi session was pretty much a later standard.

-- 
Linux Home Automation           Neil Cherry             [EMAIL PROTECTED]
http://members.home.net/ncherry                         (Text only)
http://meltingpot.fortunecity.com/lightsey/52           (Graphics)
http://linuxha.sourceforge.net/                         (SourceForge)

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

From: "Jim Ross" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Review: Corel Office 2000
Date: Fri, 7 Apr 2000 02:49:26 -0400


Frank Pittel <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In comp.os.linux.misc Craig Kelley <[EMAIL PROTECTED]> wrote:
> : [EMAIL PROTECTED] (David Steinberg) writes:
>
> :  [snip]
>
> :> If it ever becomes reasonably stable, and if such ridiculous features
can
> :> be disabled, I'll give it another look.  For now, there's no way I'd
spend
> :> $150 on that.
>
> : I really don't use "productivity" <snicker> apps that much anyway.  I
> : just bought it to support Corel.
>
> : Their first offering of a Linux distribution is *okay*, which is a lot
> : better than other distributions have fared on their initial attempt.
> : Their office suite is pretty bad right now, but they are pioneering
> : the tools which are needed to port Windows applications to native
> : Linux applications (without needing a new toolkit like Qt or
> : Wxwindows).
>
> I just got office 2000 today. While the installation went smoothly nothing
else
> would start. All I got was a window that told me a fatal error had occured
and I
> should contact corel it the trouble persists.
>
> No explanation, nothing logged. All I got was a stupid popup window. Corel
is going
> to have to shed their ms windows mentality before I throw any more money
their way!
>
Can you tell me if you used Corel Office 2000 in RedHat or Corel Linux?
I'm thinking about buying CO2K myself.

Thanks,
Jim Ross




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

From: [EMAIL PROTECTED]
Subject: Re: File Transfer
Date: Fri, 07 Apr 2000 11:14:36 GMT

Thanks,

For some reason I didn't think of that.

Carson

In article <8cieuq$2174$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Michael Kelly) wrote:
> In article <8cic1j$196$[EMAIL PROTECTED]>,
>       [EMAIL PROTECTED] writes:
> > I was wondering if anyone knew of a way to transfer files across a
> > serial cable from a pc running windoze to a loptop running linux.
> >
> > Thanks,
> > Carson
> >
>
> The easiest would be to use a NULL Modem cable and just
> use any terminal emulator on each end that understands
> the same protocols(e.g. zmodem, ymodem etc..)
>
> You upload on one program while downloading on the other.
> (If they bother understand zmodem then when you send
> from one the other program should automatically start
> receiving.)
>
> These days NULL Modem cables are easier to find, like
> at Comp Usa or some similar place, but if you can't find
> one, you can get a couple of adapters at Radio Shack to
> stick on the end of a standard serial cable to swap the
> lines and convert it to NULL Modem.
>
> Good luck. :)
>
> --
>
> Mike
> --
> "I don't want to belong to any club that would have *me* as a member!"
>              -- Groucho Marx
>
>

--
Carson R. Wilcox
Senior Architect
DMR Consulting Group
[EMAIL PROTECTED]


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

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

From: [EMAIL PROTECTED]
Subject: IOCTL calls
Date: Fri, 07 Apr 2000 11:31:57 GMT

Hi,
        I'm porting my application from SCO Openserver to redhat linux
6.1. One of the programs uses ioctl function call to reset the terminal
settings. In SCO, the structure "sttyb" has a defined in "ttold.h".
        In redhat linux 6.1, there is a prototype declaration for
structure "sttyb" but with no definition.
Is there any other possible way of resetting the terminal?

I'm including a piece of code for which help has been requested.

    42  struct  sgttyb sgttyb;

    43          ioctl(0,TIOCGETP,&sgttyb);
    44
    45    if ((sgttyb.sg_flags & RAW) != RAW)
    46      sgttyb.sg_flags = sgttyb.sg_flags | RAW;
    47
    48    if ((sgttyb.sg_flags & ECHO) == ECHO)
    49      sgttyb.sg_flags -= ECHO;
    50
    51          ioctl(0,TIOCSETP,&sgttyb);

Thanks in advance

Mukesh G


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

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

From: [EMAIL PROTECTED]
Subject: weep
Date: 7 Apr 2000 12:25:24 GMT

weep

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

From: [EMAIL PROTECTED]
Subject: Why linux will never go beyond geekdom
Date: Fri, 07 Apr 2000 12:43:54 GMT

Purely because it sucks the big one, no games ! no word !
KDE....it stinks....Gnome.....amateur hacks with pretty graphics

--
Doh

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

From: [EMAIL PROTECTED]
Subject: RE: Your shite
Date: Fri, 07 Apr 2000 13:06:32 GMT

Fool, everyone knows that linux has games, nice groovy console games, in black and 
white, ais better than word

--
Steve

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

From: james <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: saving newgroup
Date: Fri, 07 Apr 2000 14:01:46 +0200
Reply-To: [EMAIL PROTECTED]

Maurizio Palesi wrote:

> Hi all,
>     Is possible to save a newgroup and consult it off-line with netscape
> 4.7?
> Bye,
>     Maurizio

Don't know if it works, but I'll try at home.
It seems it is possible

Go to "preference"
"Offline"
"select"
And then you can ask for downloading messages.... I guess

Tell me if you have time to experience it before tonight.


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

From: james <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: saving newgroup
Date: Fri, 07 Apr 2000 14:02:43 +0200
Reply-To: [EMAIL PROTECTED]

james wrote:

> Maurizio Palesi wrote:
>
> > Hi all,
> >     Is possible to save a newgroup and consult it off-line with netscape
> > 4.7?
> > Bye,
> >     Maurizio
>
> Don't know if it works, but I'll try at home.
> It seems it is possible
>
> Go to "preference"
> "Offline"

Forgot "dowmload"

>
> "select"
> And then you can ask for downloading messages.... I guess
>
> Tell me if you have time to experience it before tonight.


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

From: cll <[EMAIL PROTECTED]>
Subject: Re: help! I erased my boot disk!
Date: Sat, 08 Apr 2000 00:26:29 +1200

"Benjamin S. Jones" wrote:
> 
> I had LILO on a boot disk which I used to boot up RH5.2 on a PC running
> Win95 and linux.  I acidentally erased that disk, and now I can't boot
> linux.  I do have a rescue disk, but it only gives me a few limited
> commands so I can't seem to repair anything.  Is there any way I can get
> back in?  If not, is there any way I can at least retrieve a few files on
> the linux partition of my hard drive?
> 
> B. Shawn Jones
> [EMAIL PROTECTED]

You can download bootdisks.  I know that Suse bootdisks can boot
installed Linux systems -- even non-Suse ones.
Find a likely bootdisk, download it, use rawrite.exe to create it, then
use it to boot your installed system, then carry out all the necessary
repairs.

-- 
Never trust a man in a suit --
cll

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

From: "TIM B�KSTR�M LAURSEN" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.dial-up
Subject: Files just stops downloading at random
Date: Fri, 7 Apr 2000 14:39:19 +0200

Why do I always have to have the weird problems?

The set up:

RedHat 6.1
LT Win Modem PCI (driver found at http://linmodems.org/linux568.zip)
400 MHz K6-II

I know that a Win Modem is not the best thing to use with Linux, but if my
problem is not related to the modem type, I don't want to go out and spend
money on another modem that won't solve my problem.


When ever I dial up the first attempt always fails. Second attempt usually
goes through just fine. Already here I get a bit suspicious.

Most web sites downloads just fine, but sometimes, especially if there is a
lot of data on the page, the activity on the line just dies. If I hit the
reload button, the download stops at exactly the same point again. The
problem is not restricted to http access, most big ftp downloads fail as
well.

This is really strange. I've been through the set up several times, and I
can't see what I might have done wrong. Under Windows the TCP/IP set up is
quite straight forward. The only things I can see is different from the
Linux set up is that Windows uses IP header compression, which I can't find
any references to in Linux, and that I had to set the DNS to a fixed address
under Linux.



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

From: [EMAIL PROTECTED] (Steffen Kluge)
Subject: Re: HP DeskJet - Too Much Ink
Date: 7 Apr 2000 11:21:47 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Aharon Schkolnik  <[EMAIL PROTECTED]> wrote:
>When I use the cdj500 driver, I get way too much ink on  the page even 
>if I use -dDepletion=2. If I use djet500, I get less ink, but no
>color. Does anyone have a working setup ?

Often this can be adjusted by fiddling with the gamma setting.
Create a file, called gamma45.ps for example, containing the
line:

{ 0.45 exp } dup dup currenttransfer setcolortransfer

Specify the file name on the gs command line, just before the
file to be printed. In RH's printtool you add the file name to
the "GS Options" field.

Play with the setting (other values between 0 and 1 instead of
0.45) until you get acceptable results.

This is to be found somewhere in the ghostscript documentation,
btw.

Hope this helps
Steffen.

-- 
Steffen Kluge <[EMAIL PROTECTED]>
Fujitsu Australia Ltd
Keywords: photography, Mozart, UNIX, Islay Malt, dark skies
--

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

From: Svein Tjonndal <[EMAIL PROTECTED]>
Subject: Which word editor? Which spreadsheet?
Date: Fri, 07 Apr 2000 12:51:14 +0000

Hello,

I need advice on which word editor(s) and spreadsheet(s) to use.
Compatibility with Word is crucial, as that's what everyone else is
using (in the company).

Thanks,
-- 
 Svein Tjonndal
 Educational Consultant, Advanced Technical Program
 Business Objects University
 e-mail: [EMAIL PROTECTED]
 telephone: (33) 1 41 25 37 18

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

From: Kevin White <[EMAIL PROTECTED]>
Subject: Re: Bloody clock is an hour fast
Date: Fri, 07 Apr 2000 08:41:32 -0400

Mark Ferraretto wrote:
> 
> 
> Problem solved.
> 

Whew. Now you don't have to pick up and move one time zone westward!

  :)

-- 

Kevin White
Remove anti-spam center segment from domain
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Rick Pasotto)
Subject: Re: Netscape 6
Reply-To: [EMAIL PROTECTED]
Date: Fri, 07 Apr 2000 12:53:45 GMT

On 07 Apr 2000 06:17:42 GMT in comp.os.linux.misc, termite wrote:
> 
> It seemed extremely pokey for the first minute and then speeded right up.
> Fonts seem to be better and more readable - no tiny letters on some of the
> pages I had been going to.  Also a couple of pages that I had to load in
> IE5 in Win98 (slap!) because Netscape 4.* couldn't handle them, now seem to
> be loading.
> 
> It's too early to say much else, but I do wish they'd have come up with a
> more compact version for Linux.

Following are some problems I've had. 

I've had pages refuse to load saying that java and/or CSS wasn't enabled
even though they're all checked in the preferences. Links that use
javascript don't work.

Also the RGT-ALT + LFT-ARROW for 'back' doesn't work.

The new window that pops up from their help doesn't have any way to
close it. (Have to select 'delete' from the middle button menu on the
desktop.)

The 'save as' doesn't allow saving as text.

Tried to access their newsgroups from their help page and nothing
happened.

-- 
Most of the presidential candidates' economic packages involve 'tax
breaks,' which is when the government, amid great fanfare, generously
decides not to take quite so much of your income. In other words,
these candidates are trying to buy your votes with your own money.
                -- Dave Barry
                   Rick Pasotto email: [EMAIL PROTECTED]

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

From: aflinsch <[EMAIL PROTECTED]>
Subject: Re: Linux install
Date: Fri, 07 Apr 2000 08:56:52 -0500



michael davis <[EMAIL PROTECTED]> writes:
> > I have finally installed Mandrake on my computer and have two questions.
> > 1. How do I install XWindows I am currently using the command line only?
> > 2. Why when I boot up Linux only recognizes 64mb of ram when the computer
> > actually has 124mb. How does that get fixed.
> >

usr loco wrote:
> 
> 124 is an uncommon amount of ram to have, you might want to check
> and make sure it's not 128 megs of ram.


Windows might be reporting 124M, since the computer has 128M & 
has 4M of the 128 dedicated to some sort of onboard video device. 
Which might why the Mandrake installer did not do the X install.

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


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