Linux-Misc Digest #486, Volume #19               Wed, 17 Mar 99 06:13:09 EST

Contents:
  Re: Mounting CDROM in 8.3 uppercase mode (Manfred Kreisel)
  Re: Netscape DNS ("K. Brant Niggemyer")
  Re: Bash and setuid (Villy Kruse)
  Re: who problems ("asdf")
  Re: WordPerfect 8 not displaying properly... (fred smith)
  Re: Linux behind MS Proxy ("arutha")
  LPRng problems ("Peter Caffin")
  Re: Looking for ODBC Database ("Fredrik �lund")
  Re: decent pop mail client othern than netscape... ("Peter Caffin")
  Re: Print API (David Steuber)
  Re: hp Laserjet 3si (David Steuber)
  Re: More bad news for NT (Harry)
  Help a newbie (Paul Richards)
  sshd[7194]: refused connect from unknown (Abe Lin)
  Re: FreeBSD vs. Linux vs. Windows (Martin)
  Re: Sharing swap partition? (Cedric Ware)
  Re: MCSE preparation exams (Harry)
  Re: MCSE preparation exams (Harry)
  CPU load scheduling: Newbie question (Srini Chakravarthi)
  Re: problem printing accented chars. (Erik Rossen)
  IDE Cache Controller TEKRAM DC-680T (VL-Bus) (biv)
  Re: Stupid Newbie tricks (Add this to list) (Per =?iso-8859-1?Q?Bj=F6rklund?=)
  Re: fs type : iso 9660 not supported by your kernel!!! ("D. Vrabel")
  Re: CR/LF Question (Andi Vontobel)
  Floppy Drive Mounting Problem (Deepak Gursahaney)
  Two single ide cards (Dr Paul Kinsler)

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

From: [EMAIL PROTECTED] (Manfred Kreisel)
Crossposted-To: de.comp.os.unix.linux.misc
Subject: Re: Mounting CDROM in 8.3 uppercase mode
Date: 17 Mar 1999 06:47:23 +0100

Anas Nashif <[EMAIL PROTECTED]> writes:

> Hallo,
> 
> An application i am trying to install needs the files in uppercase.
> On other OSs there is the map option or the hsfs filesystem.

Try the mount option 'norock'. If that doesn't work, try both 'norock'
and 'check=relaxed'.

HTH,
Manni

-- 
Any solution to a problem alters the problem.

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

From: "K. Brant Niggemyer" <[EMAIL PROTECTED]>
Subject: Re: Netscape DNS
Date: Tue, 16 Mar 1999 07:30:24 +0000

>  I've MOZILLA_NO_ASYNC_DNS set to true though.

could you either elaborate on this environment variable or point me to a
relevant doc?

Thanks



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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Bash and setuid
Date: 17 Mar 1999 09:00:27 +0100

In article <7cm7iv$[EMAIL PROTECTED]>,
joseph_a_philbrook__iii <[EMAIL PROTECTED]> wrote:


>
>So I'm wondering, can root setuid a wrapper, and then use normal group
>permision settings on the wrapper itself to controll who can run the setuid
>wrapper????
>


That is about right.  You should consider, though, that when you write
such a wrapper, you should check the environment for values that might
cause the called script to do things in wan't intended to do.  Among other
things the PATH variable, the IFS variable, and probably a lot more.
Best thing is to totally define an environment with only the PATH,
SHELL, LOGNAME variables.  Also, it is obvious that the shell scripts
are not writable, and the directories containing the scripts are not
writable either.  Maybe you should consider making the shell scripts
not even readable by anyone but root.

If you don't do this, we might just as well have suid shell script,
with the security riscs that creates.

Villy

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

Reply-To: "asdf" <[EMAIL PROTECTED]>
From: "asdf" <[EMAIL PROTECTED]>
Subject: Re: who problems
Date: Wed, 17 Mar 1999 00:12:17 -0800

I have compiled and installed the util-linux package and the sh-utils
package and various others with glibc-2.1 and egcs-1.1.1.  If they did read
that the used different formats, but how will I get them to work with the
new format? Are there any new utils packages that are made for libc6?

Paul Kimoto wrote in message ...
>Have you mixed libc5 and libc6 (== glibc) programs?  The formats
>of the utmp and wtmp files have changed (see FAQ #3.2 in the
>glibc-2.0 source distribution).
>
>--
>Paul Kimoto <[EMAIL PROTECTED]>



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

From: [EMAIL PROTECTED] (fred smith)
Subject: Re: WordPerfect 8 not displaying properly...
Date: Wed, 17 Mar 1999 00:06:38 GMT

Rod Smith ([EMAIL PROTECTED]) wrote:
: In article <[EMAIL PROTECTED]>,
:       Al Wang <[EMAIL PROTECTED]> writes:
: > I just installed Corel's WordPerfect * for Linux, and while the program
: > seems to run, all the icons, button, splash screens, or anything that
: > involves graphics is completely garbled.  I've never had any other
: > problem with any other application, including Netscape, GIMP, or xv. 
: > I'm running it on Red Hat 5.1 with X11R6, Afterstep, and an S3 Virge
: > board.  Anyone experience something similar?
: If you're running at 24 bpp, that's the problem; WP doesn't get along with
: XFree86 at 24 bpp.  It's fine at 16 bpp or at 32 bpp, and I'm told that
: Accelerated-X works fine with WP at 24 bpp, too.

That's funny, I run it in 24bpp mode all the time. Using XFree86 3.3.3.1
on RH 5.2 with the MACH64 server on an ATI Xpert98 card with 8megs RAM
on board.
--
---- Fred Smith -- [EMAIL PROTECTED] -----------------------------
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
      it with justice and righteousness from that time on and forever."
=============================== Isaiah 9:7 (niv) ==============================

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

From: "arutha" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Linux behind MS Proxy
Date: Thu, 11 Mar 1999 19:37:48 -0400

You have to setup the socks proxy service.  Look at the MS white pages/help
files to help with this.  If I remember you do this by IP address.  There
really isn't anything special that you have to do with redhat.  Good Luck
Edward Lee wrote in message <7c6dni$[EMAIL PROTECTED]>...
>How to setup RedHat 5.2 behind Microsoft Proxy Server 2.0?
>
>In Netscape, I can configure the proxy settings.  But, other than that, my
>Linux cannot access the Internet.  I can't use ftp, telnet... command.
>
>Please help.
>
>













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

From: "Peter Caffin" <[EMAIL PROTECTED]>
Crossposted-To: linux.debian.user
Subject: LPRng problems
Date: 17 Mar 1999 08:20:57 GMT

I've just upgraded my LPR from BSD to LPRng and I'm having some problems
getting it to work properly. This is after not having problems with BSD's
LPR before.

`lpq` results in:

 Host 'localhost' - cannot open connection to `in@localhost' - Connection
 refused

Using `lpr stmlogo.ps -D 1` results in my screen being filled up with the
following:

 in: seteuid_wrapper: Before RUID/EUID 0/0, DaemonUID 7, UID_root 1
 in: seteuid_wrapper: After uid/euid 0/0

This is happening with both Debian Linux PCs that have been upgraded from
the BSD LPR to LPRng. It's odd, since I just removed LPRng and reinstalled
LPR and it works fine.

I really need to have LPRng going, though, as one of my filters depends
upon being able to pass a command-line option via LPRng's -Z option.

Any help would be greatly appreciated.

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        


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

From: "Fredrik �lund" <[EMAIL PROTECTED]>
Subject: Re: Looking for ODBC Database
Date: Wed, 17 Mar 1999 09:49:07 +0100

You can try the MIMER RDBMS (www.mimer.com). It's a fully relational DBMS
with full transaction support and it ships with the ODBC-driver.

Regards,
Fredrik �lund

>>Art Green wrote in message ...
>>>On 13 Mar 1999 19:58:08 GMT, William Burrow <[EMAIL PROTECTED]>
>wrote:
>>>>On Sat, 13 Mar 1999 12:59:13 -0600,
>>>>PostNet News <[EMAIL PROTECTED]> wrote:
>>>>>I am looking for an ODBC database to run on linux.  Are there any free
>>ones
>>>>>available?
>>>>
>>>>ODBC seems to be a Windows thing.  Oracle might export via ODBC
>protocols,
>>>>maybe some of the others do as well.  ODBC clients on Unix are virtually
>>>>non-existent, as far as I can tell.
>>>>
>>>1. ODBC is NOT a "Windows thing".  The "O" stands for "open".
>>>2. ODBC is not a database, it is a connectivity package.  The "C" stands
>>for
>>>"connectivity".
>>>
>>>If you want UNIX (not Linux, it isn't supported yet) ODBC drivers for
>>common
>>>databases, check out http://www.intersolv.com.
>>>
>>>If you want a half decent Linux SQL database, you might try ProgreSQL or
>>MySQL.
>>>
>>>Art
>>>
>>
>>
>
>



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

From: "Peter Caffin" <[EMAIL PROTECTED]>
Subject: Re: decent pop mail client othern than netscape...
Date: 17 Mar 1999 08:49:16 GMT

In article <[EMAIL PROTECTED]>, William O'Neal wrote:
> ...does anyone know of any decent **free** pop mail clients other than
> netscape?

Have a look into Arrow, if it's an X11 Eudora-ish app you're after. It's a
semi-matured application, but, the author is reponsive and I reckon it's
a program going places :).

http://www.cco.caltech.edu/~glenn/arrow/

It uses Pine-compatible mail-files, which is a bonus.

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        


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

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: Print API
Date: 16 Mar 1999 14:15:31 -0500

Jacques Oosthuizen <[EMAIL PROTECTED]> writes:

-> Is there a print API for Linux

I C terms, it is exactly like writing to a file.  Use fopen() to open
the printer device (/dev/lp1).

-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

Where was it you said you wanted to go today?  Sorry, you can't get
there from here.

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

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: hp Laserjet 3si
Date: 16 Mar 1999 14:06:39 -0500

--Multipart_Tue_Mar_16_14:06:39_1999-1
Content-Type: text/plain; charset=US-ASCII

Andy Vontobel <[EMAIL PROTECTED]> writes:

-> Hello.
-> 
-> I try to print on a hp Laserjet 3 si (with postscript) but I
-> get only lines like this
-> 
-> abcd def
->          ghi jklmn
->                    opqrst
-> 
-> What should I do? May you send me your configuration-Files?
-> 
-> Unforutnately I've no manual for the printer.
-> 
-> If you have one, please let me know that.
-> 
-> Thanks, Andy.

I have a HP 6MP with PS.  It is attached to the par port and set up as 
a postscript printer.  File is generated by yast (SuSE 6.0).

Attached is my /etc/printcap file:


--Multipart_Tue_Mar_16_14:06:39_1999-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="printcap"
Content-Transfer-Encoding: 7bit

#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#       @(#)etc.printcap        5.2 (Berkeley) 5/5/88
#
# DecWriter over a tty line.
#lp|ap|arpa|ucbarpa|LA-180 DecWriter III:\
#       :br#1200:fs#06320:tr=\f:of=/usr/lib/lpf:lf=/usr/adm/lpd-errs:
#lp:lp=/dev/lp0:sd=/usr/spool/lp0:of=/usr/lib/lpf: lf=/usr/adm/lpd-errs
#
# Generic printer:
\
        :rm=interloper:\
        :rp=lp:\
        :sd=/usr/spool/lp1:
#
# typical remote printer entry
#ucbvax|vax|vx|ucbvax line printer:\
#       :lp=:rm=ucbvax:sd=/usr/spool/vaxlpd:lf=/usr/adm/lpd-errs:
#varian|va|Benson Varian:\
#       :lp=/dev/va0:sd=/usr/spool/vad:mx#2000:pl#58:px#2112:py#1700:tr=\f:\
#       :of=/usr/lib/vpf:if=/usr/lib/vpf:tf=/usr/lib/rvcat:cf=/usr/lib/vdmp:\
#       :gf=/usr/lib/vplotf:df=/usr/local/dvif:\
#       :vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:
#versatec|vp|Versatec plotter:\
#       :lp=/dev/vp0:sd=/usr/spool/vpd:sb:sf:mx#0:pw#106:pl#86:px#7040:py#2400:\
#       :of=/usr/lib/vpfW:if=/usr/lib/vpsf:tf=/usr/lib/vcat:cf=/usr/lib/vdmp:\
#       :gf=/usr/lib/vplotf:vf=/usr/lib/vpltdmp:lf=/usr/adm/lpd-errs:\
#       :tr=\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
#\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:
#
#lp|panasonic:lp=/dev/lp1:sd=/usr/spool/lp/panasonic:lf=/usr/bin/mail:mc#1:\
#             ft=$$c$$p$$r$$f:hl#2:fl#3:ht=$$c$$n$$r$$t:sh:
#
# HP Laser jet plus
#lp|hpj:\
#        :lp=/dev/lp1:\
#        :sd=/usr/spool/lp1:\
#        :mx#0:\
#        :of=/usr/spool/lp1/hpjlp:
#        :lf=/usr/spool/lp1/hp-log:
#
#lp|Generic dot-matrix printer entry:\
#        :lp=/dev/lp1:\
#        :sd=/var/spool/lp1/lp:sh:\
#        :if=/usr/bin/lpf:\
#        :df=/var/spool/lp1/filter.ps:\
#        :tf=/var/spool/lp1/filter.ps:\
#        :af=/var/spool/lp1/lp-acct:\
#        :lf=/var/spool/lp1/lp-err:
#
#
lp|remote printer on interloper:\
        :sd=/var/spool/lpd/lp:\
        :rm=interloper:\
        :rp=lp:\
        :bk:sh:mx#0:

--Multipart_Tue_Mar_16_14:06:39_1999-1
Content-Type: text/plain; charset=US-ASCII



-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

Where was it you said you wanted to go today?  Sorry, you can't get
there from here.

--Multipart_Tue_Mar_16_14:06:39_1999-1--

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

From: Harry <[EMAIL PROTECTED]>
Subject: Re: More bad news for NT
Date: Wed, 17 Mar 1999 03:46:18 -0500

While some of the early debate about NT vs Linux in this thread was 
very informative, lately it's become dominated by inaccurate 
information about NT and exaggerations about its advantages and 
pitfalls. When the other chap claimed that Explorer isn't the GUI, 
and that separate instances of it run concurrently, I wondered just 
what claims you can get away with in this forum. NT causes third 
world debt? NT causes sterility? NT eats babies?

Yes, NT includes more GUI code than some other apps and some of it 
may be loaded in memory when there's no-one logged on the system. 
However, the claims about NT being slugged by the GUI when it's 
acting as a server are not justified as far as I'm concerned. You 
can monitor NT's resource usage very accurately without any third 
party tools using Performance Monitor, and you can do this remotely 
for an unattended server. Try this yourself and see the results.

Harry

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

From: Paul Richards <[EMAIL PROTECTED]>
Subject: Help a newbie
Date: Tue, 16 Mar 1999 22:24:45 +0000
Reply-To: Paul Richards <[EMAIL PROTECTED]>

Hi,
I'm a complete newbie to Linux but I'm good with DOS/Win95 and I've just
installed Red Hat Linux v5.1.  I've got LILO set up to boot linux by
default or let me specify win95 if I want to.  How do I get LILO to
automatically boot to win95 by default and only boot Linux if I want to?
I need this so that my Mom and Pop will still be able to use the
computer.

Oh, and another thing.
Can linux access my win95 partition and can win95 access my linux
partition?

TIA
-- 
Paul Richards (aka. Pauldoo)
EMAIL   [EMAIL PROTECTED]
HTTP    www.dunvegan1.demon.co.uk/paul/
ICQ#    14106503

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

From: [EMAIL PROTECTED] (Abe Lin)
Subject: sshd[7194]: refused connect from unknown
Date: Wed, 17 Mar 1999 09:50:19 GMT

Hi, the power up there:

Just installed SSH1.2.26. It's not working.
Read everything on the docs. 

My system is a Redhat 5.2 (full install) on a 486.
sshd1.2.26 from www.ssh.fi. Steps are:
1.unpack 
2.cd ~/ssh-1.2.26 
3../configure --with-x --with-libwrap=/usr/lib/libwrap.a 
     --disable-suid-ssh  --with-rsh=/usr/bin/rsh
     --program-transform-name='s/^s/r/'
4.make; make install
5. edited /etc/inetd.conf:
ssh     stream  tcp     wait    root    /usr/sbin/tcpd
/usr/local/sbin/sshd -i -d
6. edited /etc/services:
ssh             22/tcp 
7. killall -HUP inetd
8. ssh-keygen and produce keyfile on server side.
9. copied public key from client side to ~/.ssh/authorized_keys
10. try. Only see blinking from SecureCRT.
11. found a lot of this in /var/log/secure:
Mar 17 04:50:09 modemcable120 sshd[7297]: refused connect from unknown
Mar 17 04:50:15 modemcable120 sshd[7298]: warning: can't get client
address: Transport endpoint is not connected

all done with root login.
Thanks,
abe 

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

Crossposted-To: comp.unix.bsd.freebsd.misc
From: [EMAIL PROTECTED] (Martin )
Subject: Re: FreeBSD vs. Linux vs. Windows
Date: Wed, 17 Mar 99 09:56:34 GMT

In article <[EMAIL PROTECTED]>, Frank Sweetser 
<[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Leslie Mikesell) writes:
>
>> NT has all the underlying concepts for multi-user operation except for
>> distributing windows.   Since most of the useful windows apps need
>> a window, in a practical sense you can't do multiuser access without
>> add on software (windows terminal server, etc.).  But, you can
>> use telnet, rlogin, etc. if you can find something that you would
>> like to run that way.
>
>i can believe that the OS deep underneath has the needed support.  but what
>about the apps?  most of 'em assume they're running on a machine where the
>user has full rights to muck around with all files, including the registry.
>ie, apps like Word storing user-specific preferences in a non-user-specific
>file in C:\windows and C:\windows\system
>

You can login using telnet and run any character mode application just the 
same as you would under Unix. The standard NT command shell did have a problem 
in this area since it was not written with this in mind and changes which one 
user made to the environment could impact on another user. There were 
alternative command shells available which did not suffer from this and I 
believe that it has now been fixed in the standard shell, though I haven't 
tried it for some time, so I can't be sure...

It is certainly true that MS did not anticipate NT being used this way - the 
accepted architecture for multi-user Windows family applications is two or 
three tier client-server with the clients running on low(er) end PCs under one 
of the Windows varients and a small number of high spec servers running NT for 
the lower tiers plus file and print services. We have built several packages 
using this architecture and it works fine. It is, of course, possible to 
achieve the same using Unix on the servers and we have also done that with 
equal success. There is also nothing to stop the clients also being Unix 
machines other than cost - before Linux came along, the price of a single user 
Unix licence for each workstation would have been too high. Linux may have 
solved that, but there is still a lack of good development tools for the 
client end...

Martin

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

From: [EMAIL PROTECTED] (Cedric Ware)
Subject: Re: Sharing swap partition?
Date: 17 Mar 1999 08:44:49 GMT

Tim Williams <[EMAIL PROTECTED]> wrote:
>
>I don't have Linux yet,  but am planning on it. Is there a way to 
>share a linux swap partition and OS/2's SWAPPER.DAT file?

Yes. It's more difficult than sharing it between two distributions
of Linux but it is possible. (I've done that in the past myself...)
However, it will only save maybe 100M on your hard disk, which might
not be worth the trouble, especially as you can easily trash your
partitions if you make a mistake. More so if you are inexperienced
with Linux/UN*X or the PC partition system...

If you still want to, what you need is basically the Swap-space mini-HOWTO
(ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/unmaintained/mini/Swap-Space).
It describes a way to share Linux and Windows swap, but it applies to OS/2
as well, provided that you know how to use SWAPPATH in your CONFIG.SYS...
Also, it is a bit outdated, in that many Linux distributions use multiple
startup/shutdown scripts executed in a specific order as opposed to one.

What it suggests is to:

- dedicate a partition to swap (put SWAPPER.DAT alone on a FAT partition),

- modify your Linux startup scripts to mkswap it (overwrite and change it
  to a Linux swap partition),

- set your Linux shutdown scripts so that they restore the FAT filesystem.

It could be safer to use a Linux swap file on the FAT partition, but I
haven't done it. It might hurt performance too, compared to using a swap
partition, but not that much...

By the way, does anybody know how to swap only in the data area of a FAT
partition, instead of erasing the filesystem on each boot?

                                                Hope this helps,
                                                Cedric.


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

From: Harry <[EMAIL PROTECTED]>
Subject: Re: MCSE preparation exams
Date: Wed, 17 Mar 1999 03:50:05 -0500

>I know several non-MCSEs that can troubleshoot the britches 
completely off some MCSEs that work right along side them.<

It's like anything else in life, some people that don't have the 
qualifications nevertheless have the knowledge. But that isn't the 
point. Someone who doesn't have a driver's licence may be an 
excellent driver, but at least having the licence means you've been 
through the course and passed the test. This is an important first 
step in the selection process.

Harry

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

From: Harry <[EMAIL PROTECTED]>
Subject: Re: MCSE preparation exams
Date: Wed, 17 Mar 1999 03:53:43 -0500

> people who already possess a high degree of competence will be 
required to pay <

That's a valid point, though I think you'll find that the actual 
cost of an MCSE has been somewhat exaggerated (by MCSEs trying to 
put others off the exam?). For about $100 or so you can sit one of 
the exams and get an MCP, which is accepted by many firms that don't
need all the exams.

Harry

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

From: Srini Chakravarthi <[EMAIL PROTECTED]>
Subject: CPU load scheduling: Newbie question
Date: Tue, 16 Mar 1999 15:11:49 -0500

Hi:

 Is it possible to run jobs that take not more than say 50% (or a max
limit) cpu load even if no other cpu intensive job is running on the
processor? If so, how do I it? I want to run long jobs on my laptop and
avoid it getting too hot.

 Thanks,
 Srini

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

From: Erik Rossen <[EMAIL PROTECTED]>
Subject: Re: problem printing accented chars.
Date: Wed, 17 Mar 1999 10:23:06 MET

[EMAIL PROTECTED] (Walter Strong) wrote:
>Hi, I hope that this is a simple problem, but I can't seem to get my printer to
>print out accented characters.  It's just an old epson compat. 9-pin, but it should
>still be able to handle accents.  Is there a particular filter that one uses?

First check your printer documentation to see which character set it is using -
there is a small possibility that it is set to ASCII-only.  If this is the case,
you are going to have to find the printer code for changing the character set to
one with accents in it.  ISO-8859-1 would be perfect, but I bet that your printer
was manufactured before that standard even existed.  In any case, find out what
character set it is using.

Next, modify the filter for your printer to recode ISO-8859-1 characters into the
character set that your printer understands.  This is done with the GNU recode
utility.  You should start seeing properly accented characters.  The French-HOWTO
explains this a bit.  Go 'recode --help' to get a quick explanation of recode
options.  'recode latin1:ibmpc' will work in many cases.

For example, I have an HP550C DeskJet printer.  In my printer filter, I precede
every job with a printer command sequence to change the character set to HPROMAN8
and then apply the appropriate recode filter to stdin afterwards.

The queue entry in /etc/printcap looks like this:
#
latin1:\
        :lp=/dev/lp1:\
        :sd=/usr/spool/lpd/latin1:\
        :lf=/usr/spool/lpd/latin1/errs:\
        :if=/usr/spool/lpd/latin1/lpf:\
        :mx#0:\
        :sh:\
        :sf:
#

and the filter (/var/spool/lpd/latin1/lpf) looks like this: 
#!/bin/sh
# Filter for HP printers to treat LF as CRLF
# PLUS recode for (almost) proper ISO-8859-1 character treatment
# the ``echo -ne'' assumes that /bin/sh is really bash
echo -ne \\033\&k2G
echo -ne \\033\(8U
/usr/local/bin/recode latin1:hproman8
echo -ne \\f

The first "echo" is the control code for LF->CRLF translation, the second "echo"
switches character sets, and the final "echo" is for ejecting the page.

Hope this helps,

Erik Rossen
[EMAIL PROTECTED]

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

From: biv <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: IDE Cache Controller TEKRAM DC-680T (VL-Bus)
Date: Wed, 17 Mar 1999 14:18:12 +0400

I welcome All!

I, have IDE Cache Controller TEKRAM DC-680T (VL-Bus), but I can not find the
driver under Linux.
On www.tekram.com, I anything under Linux have not found, is only under SCO
Unix, Novel Netware, Windows 95/NT.
Maintenance of function of caching under DOS, in this controller, are written
down in BIOS, but I think, that in Linux, without the driver, function of
caching will not work.
Help me to connect this controller under Linux. 

The answers, I ask to send on mine Email: [EMAIL PROTECTED]  

Beforehand is grateful for the help.

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

From: Per =?iso-8859-1?Q?Bj=F6rklund?= <[EMAIL PROTECTED]>
Subject: Re: Stupid Newbie tricks (Add this to list)
Date: Wed, 17 Mar 1999 11:32:50 +0100

Hmm.. I guess I should share this with you so that you can have a good
laugh..

Once upon a time (many many years ago), when I was using UMSDOS on a 386
with 4mb RAM. I activated swap on /dev/hda1 (the DOS-partition)... I
still don't know why I did it.. But it crashed my FAT....

And, with the same computer, I wanted to compile a new kernel (1.2.13)..
But it gave me a message sayng virtual memory exhausted.. and.. since I
didn't have a swappartition (read above.. ;), and I didn't know about
swapfiles under Linux., I substitued all /dev/hda1 to /dev/fd0 in the
instructions about swappartitions ;) .. and. . It worked.. but
slooooow.. ;)..






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

From: "D. Vrabel" <[EMAIL PROTECTED]>
Subject: Re: fs type : iso 9660 not supported by your kernel!!!
Date: Thu, 11 Mar 1999 00:13:41 +0000

On 10 Mar 1999, Kishore wrote:

> hi,
> when try to mount the cdrom it says is9660 is not suported by kernel..
> and in the /etc/fstab 
> /dev/cdrom /mnt/cdrom  iso9660    noauto,ro  0 0
> Actually i wanted to look at the  HOWTO files , but this doesn't work.
> Thanks for the input in advance.
Recompile the kernel to include iso9660 support.

David
--
David Vrabel
Engineering Undergraduate at University of Cambridge, UK.


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

From: Andi Vontobel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: CR/LF Question
Date: Wed, 17 Mar 1999 08:01:55 +0100

dos2ux (or probably dos2unix) is solving your problem

Andy

Stressed wrote:
> 
> If I get a script file from the net using a DOS or Win9x machine, how can I
> get it into Linux so that I can use it. The CR/LF problem produces nothing
> but errors on scripts, and unreadable text sometimes.

-- 
  -------------------------:WARNING:----------------------------
By sending me unsolicited commercial/political/religious/MailPush
E-mail message/s (known also as "spam"), you irrevocably agree to
pay me $500.-(plus any legal expenses incurred by my trying to
collect the amount due) per unsolicited commercial/political/
religious/MailPush E-mail message - for the service of receiving it.

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

Date: Wed, 17 Mar 1999 03:55:33 +0000
From: Deepak Gursahaney <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Floppy Drive Mounting Problem

Hi.  I installed Red Hat 5.2 on a Micron NetFrame 3100.  The problem I'm having
is that during and after the installation, Linux does not want to mount the
floppy drive.  I tried the command

        mount /dev/fd0 /mnt/floppy

The drive light comes on but it just hangs.  After waiting a (long) while, I
take the disk out, and it generates an "Unable to handle kernel paging request
at virtual address cc03df10".  I haven't included all of it here because it's a
standalone machine and I'd have to type it all in, but if it can be of use, I
will.  Any thoughts on what might be causing this?

BTW, Mounting the cdrom drive works fine.



--
Deepak Gursahaney
Active Edge New Media, Inc.
http://www.ActiveEdge.com
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Dr Paul Kinsler)
Subject: Two single ide cards
Date: Wed, 17 Mar 1999 10:19:45 +0000 (GMT)

I have two IDE i/o cards, both with a single IDE interface.
I've tried using both in the same machine at once, but the
machine hangs at boot (when the bios prints "WAIT...").  Both
cards work by themselves.

Is it actually possible to do this?  Is there some jumper
setting I might change to get it to work?  I can imagine
if both cards are trying to use the same irq or i/o addresses
there'd be problems, but then cards with two IDE interfaces
work somehow.

-- 
==============================+==============================
Dr. Paul Kinsler                 
Institute of Microwaves and Photonics
University of Leeds            (ph) +44-113-2332089
Leeds LS2 9JT                  (fax)+44-113-2332032
United Kingdom                 [EMAIL PROTECTED]
WEB: http://www.ee.leeds.ac.uk/staff/pk/P.Kinsler.html

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


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