Re: HP Laserjet 6L for Linux?

1998-09-29 Thread John Kloss

On Tue, 29 Sep 1998, Mrpeabody wrote:
 I'm looking to get a printer for my linux box.  I was wondering if the
 HP Laserjet 6L would work with my linux machine?  Most of the hardware
 compatability lists seem kinda out to date and its hard to find out what
 newer stuff is supported.
 -jeff
 

I use an HP Laserjet 6L with my linux box. It works well. I set up
apsfilter and chose the hpljet4 postscript interpreter (?) for ghostscript
and everything works great. at any rate, it's really easy to set up using
either magicfilter or apsfilter.

HTH

- John Kloss



Re: 16bpp XFree86 on IBM Thinkpad 760XL

1998-08-08 Thread John Kloss
On Sat, 8 Aug 1998, Robert J. Alexander wrote:

 Have XFree86 running smoothly 8bpp on my 760XL ... anyone has hints on
 driving it to 16bpp ??
 Tried startx -- -16bpp (or similar) but get the screen readable but
 broken in four mixed up sections ...
 Here is my XF86Config.
 Thank you very much. Bob
 
 -- 
 Robert J. Alexander [EMAIL PROTECTED]
 AIX Certified System Administrator - Debian Linux addict - Win.\* victim
 Via Sciangai, 53 - 00144 Rome, Italy

I'm sending you my XF86Config file. I have the same computer running at
16bpp. I used the DefaultColorDisplay 16 flag in the config file to set
things at 16bpp.

You can't use acceleration in 16bpp as far as I know because the thinkpad
760xl has only 1m video memory.

HTH
- John Kloss
# File generated by xf86config.

Section Files

RgbPath /usr/X11R6/lib/X11/rgb

FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/

FontPath /usr/X11R6/lib/X11/fonts/freefont/
EndSection


Section ServerFlags

EndSection


Section Keyboard

ProtocolStandard
AutoRepeat  500 5

XkbOptions  ctrl:swapcaps
XkbRulesxfree86
XkbModelpc101
XkbLayout   us

XkbKeymap   xfree86(us)

EndSection


Section Pointer

ProtocolPS/2
Device  /dev/psaux

Emulate3Buttons
Emulate3Timeout50

EndSection


Section Monitor

Identifier  ThinkPad 760XL Monitor
VendorName  IBM
ModelName   Unknown

HorizSync   31.5 - 37.9
VertRefresh 50-90

Modeline 800x600 40 800 840 968 1056 600 601 605 628 +hsync +vsync

EndSection


Section Device

Identifier  Generic VGA
VendorName  Unknown
BoardName   Unknown
Chipset generic

EndSection

Section Device

Identifier  Trident Cyber9385
VendorName  Trident
BoardName   Cyber 9385

Chipset cyber9385
VideoRam1024

#Option noaccel
#Option linear
#Option tgui_pci_read_on
#Option tgui_pci_write_on
Option  cyber_shadow

ClockChip   tgui

EndSection



Section Screen

Driver  svga
Device  Trident Cyber9385
Monitor ThinkPad 760XL Monitor

DefaultColorDepth 16

Subsection Display
Depth   8
Modes   800x600
ViewPort0 0
Virtual 800 600
EndSubsection

Subsection Display
Depth   16
Modes   800x600
ViewPort0 0
Virtual 800 600
EndSubsection

EndSection


Section Screen

Driver  vga16
Device  Generic VGA
Monitor ThinkPad 760XL Monitor

Subsection Display
Modes   800x600
ViewPort0 0
Virtual 800 600
EndSubsection

EndSection


Section Screen

Driver  vga2
Device  Generic VGA
Monitor ThinkPad 760XL Monitor

Subsection Display
Modes   800x600
ViewPort0 0
Virtual 800 600
EndSubsection

EndSection


Re: getting RealPlayer 5 running

1998-07-22 Thread John Kloss
 
 Have any of you guys been able to get RealPlayer 5 running in Linux.  Now 
 that 
 I am over the bash 2.0/Netscape issue I am not able to get RealPlayer 
 running. 
  I always get these errors when I try to open any Real Audio file.
 
 Error 38 : File compression not supported. Cannot locate the requested 
 RealMedia decoder
 
 The codec for this video was not found on your system, please upgrade.

you need to set your LD_LIBRARY_PATH variable to point to the current
directory where you have RealPlayer set up. 

On my machine, Real Player is at

$HOME/bin/rvplayer5.0/

so my .bash_profile has

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/bin/rvplayer5.0
export LD_LIBRARY_PATH

this is mentioned in the install documents for rvplayer, I think.

HTH

- John Kloss



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Sound

1998-07-18 Thread John Kloss
Just a question, did you try it as root or as a regular user? and if as a
regular user where you a member of the group audio? I couldn't use sound
until I edited /etc/group and added my user name to the audio group.

HTH
- John Kloss


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


printer problems

1998-07-10 Thread John Kloss
I've been trying off and on for the last three days to get my printer
working. I tried magicfilter but that didn't work, output was always
screwed up and truncated. So I purged magicfilter and installed apsfilter
to see if it was any better and now my printer daemon is refusing all
requests. specifically

connection to 'localhost' failed - connection refused
job 'cfA223theseus' transfer to [EMAIL PROTECTED] failed

now I purged magicfilter with

dpkg --purge magicfilter

and intsalled apsfilter the manual way (since I guess it isn't maintained
as a package). 

so how do I change this? I know my printer works because I can do somethng
like this

cat file.ps | gs -q -r600x600 -sDEVICE=ljet4 -OutputFile=\|lpr -

and have the file print out just fine (at least I could before I purged
magic filter, now lpd is refusing connections). 

so I have debian 2.0 and using lprng . Everything worked under debian 1.3.

- John Kloss


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


SOLVED: printer problems

1998-07-10 Thread John Kloss
well, no one responded to this, so I'll just say that I fixed the problem
by removing lprng and installing lpr. I read that lprng is supposed to be
better but I also read in the bug lists that lprng has a problem with
truncating the pipe before the printer has a chance to receive all the
data, which was my problem with magicfilter. I think my problem with
apsfilter is the filter is a shell script and lprng wants everything to be
root which /usr/bin/magicfilter is, a root owned program, and you can't
run shell scripts as suid root. maybe that isn't the problem, but it
certainly looked that way to me (i.e. I didn't test anything to see for
sure). well lpr doesn't have that problem and apsfilter is happy with it
and what do I need the power of lprng for? I'm running a printer off of a
parallel port on a laptop, single user system.

sometimes it's just not my day.
 

- John Kloss


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: installing a modem under debian 1.3

1998-06-29 Thread John Kloss
On Sun, 28 Jun 1998, scott hussey wrote:

 I am a very novice Linux/Debian user and am trying to setup minicom.  I am
 curious about how to get minicom to recognize my modem. I read in the man
 page that most linux systems have the serial port as /dev/modem or
 /dev/cua#. How can I get Linux to install my modem as a dev. Currently,
 pppd recognizes my modem as ttys2, but minicom gives me the message 'I/O
 Error' when it tries to open ttys2. Any help is greatly appreciated.
 

so I'm no expert here, but I certainly had to go through alot to get my modem
to work with debian (but then, I use a laptop with pcmcia card modem :-) ).

I think you mean /dev/ttyS2. The serial ports are /dev/ttyS# and equal com port
numbers minus one (i.e. com1 = /dev/ttyS0, etc). My modem card installs at com2
so I use /dev/ttyS1. I have been told that /dev/cua# is deprecated and that
docs using /dev/cua# are out of date (sigh ...).

I'm pretty sure that /dev/modem is just a symbolic link (at least it is on my
machine) so to make /dev/modem type

ln -s /dev/ttyS2 /dev/modem

you also need to check to make sure that /dev/ttyS2 is set for the proper irq
and port # for your modem. read the docs that came with your modem and check to
see what irq it's expecting to use and what memory address and then type

setserial -a /dev/ttyS2

and see what it says. If not, you can use setserial to change those values 
(read the man pages on setserial), or you can check to see if one of the other
serial ports is actually the one you want (setserial -a /dev/ttyS0, etc). If
your modem is internal, debian should be able to detect it on start-up since it
detects most serial ports on startup but I'm not sure since again I use a
laptop and usually my modem isn't in one of my card slots on bootup. At any 
rate you can see which ports where detected by typing

dmesg

after startup and logging in. You'll get a list of devices detected at startup
and other messages too.

I'm sure someone else here can give you alot more info (probably more accurate
too), but this is my attempt.

HTH

- John Kloss



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Newbie Thinkpad question

1998-06-24 Thread John Kloss
I installed debian 1.3 on my thinkpad 760xl and as I recall it wasn't that bad
if you had the external floppy drive using a port replicator. so that's about 
extra $300 or $400 or something (I don't remember) but the drive was (and is)
recognized by debian instantly and then I was able to install the whole thing
in one shot.

I used the tecra disks, by the way. 

HTH

- John Kloss


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Problem with Linux recognizing modem

1998-06-24 Thread John Kloss

On Wed, 24 Jun 1998, Fungame Game wrote:

 I have a modem that is installed on COM2, and is internal. It is 
 compatible with all Hayes-type commands. PPPd is setup to dial out 
 (using chat, using ppp-go). However, when I run it, I get something like 
 this: pppd[299] tcgetattr I/O error. This sounded like a problem talking 
 to my modem, or an incorect setup (eventhough I had it setup for 
 /dev/ttyS1) so I launched minicom.

I don't know anything about modems or setup or anything like that but I _do_
know that I've received that error before and it was because my irq for com2
was wrong. so you can check the settings of com2 as

setserial -a /dev/ttyS1

and read the info, and you can change the irq as

setserial /dev/ttyS1 irq whatever

so I did this trying to get my palmpilot to be recognized by my thinkpad. it's
an unrelated problem but by setting my com2 port to irq 3 the modem stopped
working and I got the above error. when I reset it to irq 5 (which is what
is set when the module loads. my modem is a card and the pcmcia features load
as a module) everything worked. 

so there is a way to get setserial to choose a non-conflicting irq automatic
which I don't remember but is in the manpages. 

HTH

-John Kloss


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


SOLVED: palmpilot III and thinkpad 760xl

1998-06-22 Thread John Kloss
so my thanks to Maitland and SEGV. I appreciate your response but my
problem turned out to be something else. It turns out all I had to do was
read the README file provided by 3com.

apparently in thinkpads the serial port is turned _off_ by default so that
you can use the infra-red port (and I'm telling you, I use that infra-red
all the time :-) ) So I had to reboot into NT and use the IBM thinkpad
features to turn off the infra-red and turn on the serial port. now
everything works fine. I'm sure there is a way to do this in linux I just
dont know how. probably a HOW-TO somewhere.

I really should just calm down and read the documentation once and a
while. make my life sooo much easier.

- John Kloss



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


palmpilot III and ibm thinkpad 760xl

1998-06-19 Thread John Kloss
so my parents gave me a palmpilot III for my birthday (which was nice).
However, I can't get it to work with my thinkpad. 

here's what I have

debian 1.3.1
pilot-link 8.9
 a palmpilot III

here's what I did

compiled pilot-link 8.9, no real problems
installed pilot-link stuff, no real problems
tried to get it to communicate with my palmpilot via

pilot-xfer /dev/ttyS0 -l

with no luck, palmpilot can't find my computer. But this is not a surprise
really because gpm is using /dev/ttyS0. so I mv'd the gpm script in
/etc/init.d/ to gpm.bak and ran update-rc.d gpm remove and rebooted.
0setserial configured /dev/ttyS0 to the following

uart 16550A port 0x03f8 irq 4

which is what the thinkpad documentation says is one of the possible
resource defaults for the serial port. still no go _and_ my xserver starts
going weird (race conditions or something causing it to die) and my pcmcia
cardmanager fails to correctly set up the serial connection for my modem
card. so bag that and reinstall gpm and everything is okay. I don't know
why my system seems dependent on gpm; I've never used it (and I thought
that I read in this list that it wasn't really necessary).

so I tried using /dev/ttyS1 but my modem is using that one out, so I pop
my modem out and thought that would release the serial connection, but no
pilot-xfer says it can't make a connection to port ttyS1.

specifically it says

unable to bind to port '/dev/ttyS1'

so I tried doing setserial

setserial /dev/ttyS2 uart 16550A irq 4 port 0x03e8
setserial /dev/ttyS3 uart 16550A irq 3 port 0x02e8

but setserial won't actually set the serial connections (yes, I ran the
command as root). so why is that and where do I go from here? And in
either case, same response from pilot-xfer.

so the specks for the serial port in the back of the thinkpad are

irq 4   port 0x03f8
30x02f8
40x03e8
30x02e8

the standard com 1-4 stuff.

I'd really like to use this pda with linux so any help would be greatly
appreciated. And if it will make anyone smile, I couldn't get the damn
thing to work with NT either-- consistent, supported platform, my ass.

- John Kloss


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: How to make X fonts Bigger

1998-06-03 Thread John Kloss
On Wed, 3 Jun 1998, Rev. Joseph Carter wrote:

 On Tue, Jun 02, 1998 at 10:22:34PM -0400, Kevin Atkinson wrote:
  Is there any way to make all X fonts say 1.5 times bigger than they are
  now?
 
 If you find a solution to X fonts being too small and not scaling properly,
 LET ME KNOW!  I cannot use X till I find a solution to this or get a bigger
 monitor.

You can compile in support for TrueType fonts. Found the code for this at

www.dcs.ed.ac.uk/home/jec/programs/xfsft

I haven't done it yet, but this guy had screen shots of Netscape before
and after and the difference was dramatic. I'm just waiting for hamm to go
stable so that when I switch over I can apply this.

HTH

- John Kloss



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Boot to Linux from NT; problem

1998-06-03 Thread John Kloss
I had this problem when I changed my file system on nt from fat to ntfs.
my boatloader line read something like

Linux: ... c:/BOOTSECT.INI

but the actual file was

c:/bootsect.ini

and it wouldn't load because the nt boatloader was looking for the file to
be all caps (which was fine for fat because that was the dos name for the
file). Any way when I changed the line in the boatloader to all lower case
it booted linux. really, it was that simple.

I'm not at my computer right now so I can't check the the boatloader init
file. This was from memory so I hope it's clear.

hth
- John Kloss


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Stronghold Apache

1998-05-28 Thread John Kloss
so I'm thinking about hosting a web site to do e-commerce (selling disk
and database space to some local stores who want on-line catalogs). so I
figure that they would probably want SSL for credit card stuff. since I'm
in the US I can't just compile in SSLeay to apache without copywrite
violation to RSA, etc. (so says the apache web site) I was thinking about
Stronghold. I went to their site and they said it was basically apache
(I'm assuming 1.2.6 since 1.3 is still beta) with 128bit  encryption. They
have binaries for red hat 5.0 but I want to use debian 2.0 since it's what
I know and I like it.

anyone had any experience with this? anyone know of another way (other
than moving out of the US, paying a license fee to RSA and registering a
digital signature with verisign (or whatever they're called), or waiting
for congress to get a clue about encryption)? I want to use apache or some
derivative (because that is also what I know).

thanks in advance

- John Kloss



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Stronghold Apache

1998-05-28 Thread John Kloss

 There are AFAIK patches available to SSLeay to use RSAREF.  There are also
 Apache-ssl Debian packages in non-us which can be IMPORTED to the US, but
 not EXPORTED again.  There's also a rsaref package in non-us.
 
 So, get the source packages for all of these things, build a custom SSLeay
 with RSAREF linked in, build a custom apache-ssl, and call it good.  Or if
 you don't CARE if your apache uses RSAREF since it uses SSLeay which
 functions the same with or without it, just grab the apache-ssl binary
 package.  I won't tell RSA if you don't.  =
 

Okay, so I know about rsaref and I can't use it, not commercially at
least. I really don't have any interest in breaking the law no matter how
stupid the law is.

so I've also heard of the covalent raven ssl module for apache. this
option is much less expensive then stronghold (raven is ~$400 while
stronghold is ~$1000) and comes as a module so I can still custom compile
apache (which, believe it or not, is what I want to do. I like to know
what went in to my binaries). 

so again, anyone using the above products on debian? any experience with
this whatsoever? any advice is much appreciated.

- John Kloss


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Choosing a printer for Linux:

1998-04-04 Thread John Kloss

I have an HP LJ 6L which I'm very satisfied with. $400 or less for the
machine (probably less now, sigh ... ). Used magicfilter to get it working
with linux (took about 5 seconds to do, no configuring really). I do
mostly postscript printing (latex to postscript using dvips, and
ghostscript to print the postscript) and the pages come out very nice and
clear. However, the first one I bought had a misaligned roller so 
everything came out slanted so ask for a test page print out at the store
where you buy it (compusa was very nice about this). 

I use linux kernel 2.0.30, gs 3.33-5, and magicfilter 1.2-10. Been using
it for about two months, no problems.

- John Kloss

On Sat, 4 Apr 1998, Liran Zvibel wrote:

 Hello,
 I'm planing to buy a printer, and I don't know whether to choose Epson
 Stylus color 800 or HP LJ 4L. I know that the Epson has PS level 2 as an
 option, but the one at my store doesn't have it. Are there any other good
 printers to choose from? 
 Does anybody have experience with those? 
 
 Thanks,
 
 Liran Zvibel. 
 
 http://www.math.tau.ac.il/~liranz/
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fetchmail qmail inter-operability

1998-03-07 Thread John Kloss


On Sat, 7 Mar 1998, Richard A Leach wrote:

 I've looked at fetchmail, but it seems to require smtp to be working so
 it can submit the mail it has downloaded through port 25 and the normal
 smtp demon (qmail-smtpd in my case). Experiments with smtp disabled and
 
   fetchmail ... -m sendmail   # dan's clone
 
 caused mail to be received but not delivered.

I'm no expert on this (I just started using linux), but I think you might
want to say

fetchmail ... -m sendmail %s

where %s will be filled in with the user name executing the fetchmail
program. This is what I have in my .fetchmailrc

poll theseus with proto pop3 port  timeout 45:
user jkloss
pass password
mda  /usr/sbin/sendmail %s
fetchall
preconnect ssh -f -L :my.school.edu:110 my.school.edu 'sleep
60'  /dev/null

so the line mda /usr/sbin/sendmail %s does what you want I think.

hope this is relevant

- John Kloss



--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: Netscape fails to automatically open ps, ram, ...

1998-03-03 Thread John Kloss

On Tue, 3 Mar 1998, Fredrik Ax wrote:

 On Mon, 2 Mar 1998, Bob Nielsen wrote:
 
  On Mon, 2 Mar 1998, Fernando Tadeu C Brandt wrote:
  
   Netscape is showing the following error box when I try to open 
   postscripts, sound file, etc:
   
   sh: -c line 1: missing closing ')' for arithmetic expression
   sh: -c line 1: syntax error near unexpected token `;'
   sh: -c line 1: '((gv /tmp/MO34FAF5B0003B1); rm /tmp/MO34FAF5B0003B1 )'
   
 [SNIP]
 
  This is the classic symptom of running the somewhat-buggy bash-2.0 in bo.
  
 
 The problem is that bash interpretates (( not as two seperate brackets
 but as a bracket for expression evaluated according to the arithmetic
 evaluation rules and therefore misses the closing )) bracket.
 
 
  I would suggest upgrading to hamm to get around this.  There is a bo
  version of bash-2.05 around which provides a workaround, but you have to
  be very careful when you do upgrade to hamm if you have that version
  installed (I found out the hard way). 
 
 A faster solution whould be to install ash wich is distributed in
 version 0.2-1 in bo. Use dselect, or for even faster install 
 dpkg -i bo/binary/shells/ash_0.2-1.deb from your Debian 1.3x
 distribution.
 
 When installed change the symlink name sh in /bin to point at ash 
 instead of bash:
 
 % cd /bin
 % ln -sf ash sh
 

Okay, maybe this was a stupid thing to do, but I used emacs to edit the
binaries. On line 17183 of my version of netscape (4.04) I changed the
line

(([EMAIL PROTECTED] %s | ^@); rm %.200s )

to

( ([EMAIL PROTECTED] %s| ^@ ); rm %.200s)

and things seemed to work just fine. At least I got rvplayer to work that
way and netscape doesn't crash (so far).

I'm sure the better solution is to upgrade to hamm, but I'm waiting for
the code freeze before I order the cd's (I just have this hangup about
using something that says unstable).

- John Kloss



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: /dev/cua? and /dev/ttyS?

1998-02-06 Thread John Kloss
As I recall I tried using ttyS0 (I want to use ttyS0 not ttys0 right? I
think the other one is a terminal port). At any rate, things never worked
out for that one. Believe me, that was the first one that I tried, since
that was what the PCMCIA-HOWTO recommended. As an aside, I don't nor have
I ever used DOS, so your assumptions were wrong.

Another reason why I chose /dev/cua1 was this paragraph in the
PCMCIA-HOWTO which states

3.3 How do I use my PCMCIA modem card?

Linux serial devices are accessed via the /dev/cua* and /dev/ttyS*
special device files. The ttyS* devices are for incoming connections, such
as directly connected terminals. The cua* devices are for outgoing
connections, such as modems. The configuration of a serial device can be
examined and modified with the setserial command.

When a PCMCIA serial or modem card is detected, it will be
assigned to the first available serial device slot. This will usually be
/dev/cua1 or /dev/cua2, depending on the number of buil-in serial ports.

Okay, so end quote. When I configured the pcmcia card daemon, cardmgr it
refused to recognize my card (one high beep, then one low -- meaning card
not configured). This problem was solved when I did a mknod /dev/cua1 and
set the major and minor numbers. After that it worked, ... well ... after I
changed a #define in the kernel code to point to the right I/O address
and added some lines to the /etc/pcmcia/config.opts. In otherwords, it was
a real hassel to get linux to recognize my modem and I stopped as soon as
everything seemed to be working.

Now, having had a chance to relax and fully use linux I've taken a
look at my /var/run/stab file and see that it states

Socket 0: Serial or Modem Card
0   serial  serial_cs   0   ttyS1   4

So I see that I was choosing the wrong device, ttyS0 not ttyS1. This port
seems to work fine, and I'm using it now. But I hope you can see my
confusion, I was relying on the only documentation that I had.

- John Kloss


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: /dev/cua? and /dev/ttyS?

1998-02-05 Thread John Kloss


On Thu, 5 Feb 1998, robert havoc pennington wrote:

 
 On Fri, 6 Feb 1998, impale wrote:
  What is the difference between /dev/cua? and /dev/ttyS? ?
  
 
 See the PPP HOWTO for one explanation. Essentially cua? is obsolete,
 ignore it and use ttyS?. 
 
 Havoc Pennington
 

Okay, I'm pretty new to linux but I have my version up and running on my
laptop just fine and I can say this about /dev/cua*

It is NOT obsolete. The only way that I can connect to my modem (which is
a pcmcia card) is through /dev/cua1. I tried many times to connect to my
ISP through /dev/ttyS1, 2, 3 (it should be 1 because that is what the com
port is) and nothing happened. When I switched to /dev/cua1 everything
worked.

- John Kloss


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


SOLVED: /etc/printcap setup

1998-02-04 Thread John Kloss
So taking the suggestion of many people I installed magicfilter and used
the magicfilterconfig script that came with it. So it set printcap fine
and everything works now.

Great program. Thanks alot.


- John Kloss


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


/etc/printcap set up

1998-02-03 Thread John Kloss
I recently bought an HP Laser Jet 6L and I'm happy to say that it works
beautifully with linux. After a little work I hacked together a perl
script which will print ascii just fine and ghostscript allows me to do
postscript and latex so I'm happy with that.

The problem is I can't get lpr to recognize the filters I want to use. I
know that lpr searches the /etc/printcap file to see how each printer is
setup. Having read the Printing-HOWTO I was under the impression that I
could add the filters I wanted in that file. Currently my /etc/printcap
looks like this

lp|Laser Jet:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:pl#64:\
:sh:

Now the Printing-HOWTO said to add a text filter for just plain lpr'ing,
that is, a simple command with no options, like

lpr myfile.txt

I should add the line

:if=/etc/filter.txt:\

to /etc/printcap and things would work out right. Well I wrote the
filter.txt and tried it (as root) with

# cat myfile.txt | /etc/filter.txt  /dev/lp0

and things worked out fine. I also tried it with this (as an ordinary
user)

$ cat myfile.txt | /etc/filter.txt | lpr

and once again things worked out fine (the job was spooled to the printer
and printed out correctly) so I don't think it's a problem with my file
permissions or my script. So when I add the line

:if=/etc/filter.txt:\

to /etc/printcap, all I get is one blank page printed out. So I know the
next question, where did I add the line, well /etc/printcap looks like
this

lp|Laser Jet:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lp:\
:if=/etc/filter.txt:\
:mx#0:\
:pl#64:\
:sh:

So what I'm I doing wrong? I've read both the Printing-HOWTO and the
Printing-Usage-HOWTO and they tell me this should work, but it doesn't.

I would also like to print tex files from lpr by using

$ lpr -d myfile.dvi

which means I should add

:df=/etc/filter.dvi:\

right?

I would also like a script to handle postscript. Currently to print
postscript I have to type

cat myfile.ps | gs -sDEVICE=ljet4 -sOutputFile=- -dNOPAUSE - | lpr

which works but I'd rather have a script for it that lpr will call with
some command line argument (-p ?) I don't know which one to use.

So I could write a bunch of bash aliases to handle all this, but I'd
rather have lpr do it for me because I thought that was what /etc/printcap
was all about.

Any help would be greatly appreciated.

- John Kloss


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .