Re: Ans: Re: Debian max file size is 1GB instead of 2GB?

1998-01-27 Thread Brian K Servis
Ben Pfaff writes:

   On my machine running hamm:
 $ ulimit
 unlimited

   I ran out of space at 1GB on the bo machine, but I don't have space to
   check this on the hamm machine.  Did anyone here run into a 1GB limit
   on a hamm machine?

My hamm machine has a 1GB limit, that I don't remember ever setting:

blp:/raid/home/blp$ ulimit
1048576


'ulimit' is a bash builtin, the corresponding builtin command for tcsh
is 'limit'.  It appears that the bash ulimit has more options for
setting various system limits as compared to the tcsh equivalent.

See 'man ulimit' for bash users and 'man tcsh' for tcsh users. 

Brian 


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


Re: [lesspipe]

1998-01-26 Thread Brian K Servis
Peter S Galbraith writes:

 
 export LESSOPEN='|/usr/bin/lesspipe %s'
  This makes less pipe everything you view through this script.
 This gives you readable information for verious non-text files, like .tgz,
 .gz, .tar, .zip, .arj and .deb files.

This is nice, but where is lesspipe?


It is in the unstable less package not the current stable package.
I keep a local copy of the stable/Contents and unstable/Contents files
on hand.  Just grep those two files and you can find any file in any
package.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: WINE useage

1998-01-23 Thread Brian K Servis
BRIAN SCHRAMM writes:

 I downloaded the latest version of Wine from the Wine web page.  I
 extracted it and read the readme file for compiling it.  I found out
 that I needed xpm and the x lib development on my system.  I then went
 to dselect and installed the two libraries.  I then ran config and
 make depend and make.  somewhere in the middle of it the make crashes
 saying 'ld: cannot open -lXpm No such file or directory'.

 Is there something that needs to be put in from the package system?
 Maybe someone else has had good luck at compiling the 0118 wine file.
 Any help would be beautiful


It's not clear from your post but did you install the xpm*-dev package
or just the xpm runtime package?  You probably need the xpm*-dev package
since it is calling the Xpm libraries to link against.  Also, if you did
install the xpm*-dev package try running 'ldconfig -p | grep Xpm' as root 
and see if you get anything.  If you don't and have installed xpm*-dev 
then run 'ldconfig' as root to rebuild the database.

Good luck,

Brian 

p.s. I am speaking from experience not as a C programmer!

-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Two Monitors

1998-01-21 Thread Brian K Servis
Britton writes:


I read an article in LJ describing the Metro-X server (I think that was it
anyway), which can drive multiple video cards (though only with the right
cards).  I don't know if Xfree has any support for this sort of thing, or
exactly how it would shake out with interrupts and such.  I too am
interested in this.  If you find anything else out let me know.


In the Feb. 98 LJ on pg. 72 there was a user question on this response
was suggested Accelerated-X over Metro-X.  Multiple monitors feature
is refered to multi-headed.

I have no experience in this I am just passing this info on

On Tue, 20 Jan 1998, Richard L Shepherd wrote:

 Has anyone any experience in using two monitors on one machine.  I'm
 thinking particularly of X.  I can get a second video card (which I guess
 is mandatory or there'd be nowhere to plug the second one in right?).
 
 What I'm really interested in is getting the tow side-by-side and having X
 treat them as one big screen (similar to the way Macintosh's can do this).
 Is this possible?  Or is my best bet to run up X :0 and X :1 and use
 Ctrl-Alt-F[78] to switch between them?
 
 I'd be interested to hear...
 
 8---8
 Richard Shepherd ([EMAIL PROTECTED])
 Phone: 07-838-4764
 8---8
 
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 
 


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




Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Using xmodmap to set the Alt and Meta keys (emacs, X, and Alt key)

1998-01-21 Thread Brian K Servis
Peter S Galbraith writes:

If XFree is setup correctly, then the `Windows' key (identified above as 
Win), are Meta keys and the Alt keys are really seen in Emacs as Alt keys.
I use the Alt key to insert 8-bit characters, like é.
The `Menu' key really works and is a synonym for `Meta-x' in Emacs
(and pops up a buffer-specific menu in XEmacs).



What is the 'correct' setup in XF86Config for a keyboard with windows
keys?  What Xkb* parameters need to changed from defaults and to what?

Thanks,

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: user management

1998-01-21 Thread Brian K Servis
Paul Miller writes:

Is there a program that is similar to Novell's syscon program?  Linux
really needs a good user management program (terminal-based) that can
quickly add/remove groups, set passwords/info fields, delete users, set
quotas, etc

---
Paul Miller [EMAIL PROTECTED], finger for public PGP key

Check out 

ftp://ftp.ecn.purdue.edu/pub/ACMAINT/  

It is a user management program that was built by folks at Purdue
University to handle the user base of thousands of students and
machines!  I know it has support for lots of different OS's.  I have
used it as an end user on a Sun machine and it is VERY powerful and
does everthing you mentioned.  I have not tried building it on a Linux
box. If you get it working on a Linux box I think it has been added to
the list of possible packages for Debian.

Good luck,

Brian Servis  
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: command set

1998-01-19 Thread Brian K Servis
Oleg Krivosheev writes:

On Mon, 19 Jan 1998, J.P. Beebe wrote:

 Date: Mon, 19 Jan 1998 11:28:03 -0800
 From: J.P. Beebe [EMAIL PROTECTED]
 To: debian-user@lists.DEBIAN.org
 Subject: command set
 Resent-Date: Mon, 19 Jan 1998 17:24:30 +
 Resent-From: debian-user@lists.DEBIAN.org
 Resent-cc: recipient list not shown: ;
 
 I'm trying to learn how to use Linux. Can you tell me where I can find a
 command set for it? I don't know how to maneuvre in this system at all. 
 Thanks!
 J.P. Beebe
 

http://www.geocities.com/CapeCanaveral/4466/

then grab UNIX reference card


Don't laugh but those '* for Dummies' series of books aren't to bad.
If I recall there is a 'UNIX for Dummies' book among them.

Brian 


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


Re: Whereis libXpm

1998-01-14 Thread Brian K Servis
Steve Witt writes:

On Wed, 14 Jan 1998, Mario Filipe wrote:

 On Wed, 14 Jan 1998, Remco van de Meent wrote:
 
  In that case i need another type of assistance. When i do 
 ldconfig -p | grep libXpm i get this :
 
  126 - ELF libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4
  127 - ELF libXpm.so = /usr/X11R6/lib/libXpm.so
 
 So this would mean that i do have libXpm installed. THe problem is that
 when i try compile something (gnome in this case) it tell's me that it
 cannot find it ! I would appreciate any help here if that would be
 possible.
 

This sounds like a Makefile configuration problem.  It would help if
you showed us the make error that you got when you compiled it.  make has
a -L switch that allows one to indicate the directory(ies) that libraries
can be found in.  So to solve this, you would add the following to the
line in the Makefile that builds the executable target:

 -L /usr/X11R6/lib  

I'm not familiar with the gnome software or its build process but I think
/usr/X11R6 is a pretty standard path for X so I'm a little surprised that
this wouldn't already be in the Makefile.  Anyway, I hope this helps.


I went through this last week with gnome.  The problem is that the
Makefiles are missing the -lXpm flag for some of the $x_libs
variables in the Makefiles.  I couldn't convince the configure script
to add the -lXpm flag so I had to do it by hand to the Makefile in the
directory were the compile failed. I then ran into other problems and
adventually gave up after having to install about 5 or 6 addtional
dev packages, etc.

Good luck.
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


compiling gnome-0.11?

1998-01-09 Thread Brian K Servis

Hello gnomers,

I am trying to compile gnome-0.11 and am running into trouble.  This
is the last error messages and text from the compile.

/bin/sh ../libtool --mode=link gcc -g -O2  -o gnome-score-helper  
gnome-score-helper.o ../libgnome/libgnome.la -lgdk -lglib -L/usr/X11R6/lib 
-lX11  -lXext -lSM -lICE 
gcc -g -O2 -o _libs/gnome-score-helper gnome-score-helper.o -Wl,-rpath 
-Wl,/usr/local/lib ../libgnome/_libs/libgnome.so -lgdk -lglib -L/usr/X11R6/lib 
-lX11 -lXext -lSM -lICE
../libgnome/_libs/libgnome.so: undefined reference to `bindtextdomain'

I have gettext, guile, gtk, slib, xlockmore, libXpm, libjpeg, libpng, zlib
all installed either with deb packages or under /usr/local.  ld.so.conf
has /usr/local/lib in it and I have run ldconfig after I install each of
the above packages.  What am I missing?  I am really interested in
checking out gnome.  Thanks for any help or pointers.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: compiling gnome-0.11?

1998-01-09 Thread Brian K Servis
Brian K Servis writes:


Hello gnomers,

I am trying to compile gnome-0.11 and am running into trouble.  This
is the last error messages and text from the compile.

/bin/sh ../libtool --mode=link gcc -g -O2  -o gnome-score-helper  
gnome-score-helper.o ../libgnome/libgnome.la -lgdk -lglib -L/usr/X11R6/lib 
-lX11  -lXext -lSM -lICE 
gcc -g -O2 -o _libs/gnome-score-helper gnome-score-helper.o -Wl,-rpath 
-Wl,/usr/local/lib ../libgnome/_libs/libgnome.so -lgdk -lglib -L/usr/X11R6/lib 
-lX11 -lXext -lSM -lICE
../libgnome/_libs/libgnome.so: undefined reference to `bindtextdomain'


Well I appear to have fixed this with --with-gnu-gettext as an argument
to ./configure.

Now I am getting this error:

/bin/sh ../libtool --mode=link gcc -g -O2  -o htmltest  test.o 
../gtk-xmhtml/libgtkxmhtml.la -lgtk -lgdk -lglib -lm -L/usr/X11R6/lib -lX11  
-lXext -lSM -lICE -lz -ljpeg   
gcc -g -O2 -o _libs/htmltest test.o -Wl,-rpath -Wl,/usr/local/lib 
../gtk-xmhtml/_libs/libgtkxmhtml.so -lgtk -lgdk -lglib -lm -L/usr/X11R6/lib 
-lX11 -lXext -lSM -lICE -lz -ljpeg
../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to 
`XpmCreateXpmImageFromBuffer'
../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmInfo'
../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to `XpmGetErrorString'
../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to 
`XpmCreateXpmImageFromData'
../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmImage'
make[2]: *** [htmltest] Error 1


I have gettext, guile, gtk, slib, xlockmore, libXpm, libjpeg, libpng,
zlib all installed either with deb packages or under /usr/local as
required by the README for gnome.  ldconfig -v shows libXpm in it's list
and I have run ldconfig after I installed each of the above packages.
What am I missing?  I am really interested in checking out gnome.
Thanks for any help or pointers.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: package to morph images

1998-01-08 Thread Brian K Servis
Frank Barknecht writes:

Ana Silva hat gesagt: // Ana Silva wrote:

 On Wed, 7 Jan 1998, Paul McDermott wrote:
 
  Hi Ana, yes there is an animated gif program called whirlgif.
  hope this helps you.
  Paul
 
 Thanks, but what I ment was a thing that automaticly morphes the images,
 but don´t worry, I´ve found xmorph...

Be sure to also check out xmrm. 
URL: http://www.cg.tuwien.ac.at/research/ca/mrm/

Much better :)

Wow! xmrm is a great program!  It is so easy and fast.  

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Is the list alive?

1998-01-07 Thread Brian K Servis
Is the list alive?  I haven't received a post since yesterday.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


where is RESEDIT?

1998-01-02 Thread Brian K Servis
From the Re: How are .Xdefaults files handled under Debian? thread:

Jens B. Jorgensen writes:

Wintermute wrote:
 
 If you want to find the resource listing for ANY X program you can use
 the tool 'resedit' which comes with a normal X install.  Read up on it
 first though, it's not the most intuitive of programs, but it will
 enable you to see all of a programs resources, with their full names,
 and save certain ones to a file of your choice for later inclusion into
 your .Xdefaults/.Xresources file.

No, not ANY X program. Only any X program which is based upon the X Toolkit.
Check out the man page.


Where can I find RESEDIT I searched both the stable and unstable 
Contents files and neither appears to have it.  Any suggestions?

I need it to figure out why Netscape 4.04 is making all my apostrophies
appear as question marks. I figure it must be a font problem.

Thanks,
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Two Miceh

1998-01-02 Thread Brian K Servis
Asher Haig writes:

I've been looking for an answer to this question for a while (it's 
actually two questions, I suppose). Both questions regard using two mice, 
one on /dev/psaux (Touchpad on a laptop) and one on /dev/cua0 (Kensington 
serial mouse).

The first is with GPM: It appears I can do this with the -M flag, but 
does anyone know exactly how? I've been trying to make it work and have 
yet to be able to.


Here you go!

I have a 2btn mouse on /dev/psaux and a keyboard pointer on
/dev/ttyS0(don't use the /dev/cua* devices they are not being used
anymore, especially for non-communication devices) and I use gpm to
control both on the console and act a a repeater(see the gpm man page)
for X.

/etc/gpm.conf:
device=/dev/psaux
responsiveness=
type=ps2
append=-M -m /dev/ttyS0 -t ms -r 2 -R

   
 I think this is not needed(the -M = -R) but it works.

Second: In X: Is it even possible? I haven't seen anything that says how, 
but it'd seem like it wouldn't be overly difficult. Or at least it 
shouldn't be.


Again see the gpm man page on the repeater section.

/etc/X11/XF86Config(Pointer Section)
Section Pointer
Protocol MouseSystems
Device  /dev/gpmdata
Emulate3Buttons
Emulate3Timeout50
EndSection

Note that you can modify the responsiveness of the individual
mice/pointers/pads with gpm but that only works for the console
pointer.  When using the /dev/gpmdata device gpm does not modify the
inputs. So if one is more responsive than the other you will have to 
live with it or adjust xset to a happy medium for the two in X.

Enjoy,
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


kernel panic with Supermount!

1997-12-13 Thread Brian K Servis

Is anybody using Supermount v6 for the 2.0.32 kernel?  I recently
added the supermount patches to my 2.0.32 kernel and when I do a
system shutdown I get an occasional kernel panic when the
/etc/init.d/halt script is at the 'umount -a' line.  The system
hangs at that point and I have to hit the reset button.  When 
the system comes back up it complains of that the filesystem
wasn't cleanly unmounted. When it panic's I can still switch
to other VC's but Ctrl-Alt-Del won't work.

This is the error that is displayed on the console.

kernel panic: SUPERMOUNT panic (device 0/2): umount_subfs: subfs root\
 i_count = 788, should be 1

I really like the supermount patches but I can't have my filesystem
getting trashed on shutdown. (This is a dual boot machine that frequently
get rebooted between OS's)

Thanks for any help,

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis



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


HELP! Taper Seg Faults on Restore!!!

1997-12-12 Thread Brian K Servis
Help,

I need to restore a file from a Taper 6.7.4 backup and when I try 
a restore Taper seg faults as soon as I select any file for restore.
I need to get a file off the backup ASAP!  Is there any other
program that can read the tapes.  I am using the ftape driver to
write to an QIC-80 Extra cartridge.  The backup went without a hitch
last week.

Please Help!

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: looking for a script to display current location in filesystem

1997-12-11 Thread Brian K Servis
Rick Macdonald writes:

On Wed, 11 Dec 1996, cs51wcs wrote:

 Hi,
   I'm currently trying to figure a way to display where I am in the 
 filesystem like in dos, but am having  a hard time. Any assistance is 
 appreciated.

Do you mean the prompt? Try something like this for the bash shell:

 export PS1='\h:\w$ '


Or for tcsh:

   set prompt='%/: '

Brian 


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


Re: Can I stay current using source packages instead of binaries?

1997-12-08 Thread Brian K Servis
Peter Mutsaers writes:

Hello,

Normally I stay current with hamm using dselect or dpkg directly. This
uses binary packages. The drawback is that sometimes (most often) the
real package doesn't change, but only the patches that were made to
'debianize' it.

Now I wonder whether it is possible (e.g. like the FreeBSD ports
system) to stay current using source code; thus one only downloads the
underlying package once, and gets new versions of the debian patches
only.

Thanks,


This is a VERY interesting concept.  I would think that this could
even be applied to the binaries.  Since much of the changes are to
text based config files or the Debian control files.  I envision a
patch based upgrade for the Debian revision updates.  Just update the
files that have actually changed, and then update the dpkg status
files to reflect the upgrade.  Of course if there is a binary update
then that would be included in the update package. This would be a
huge savings for those of us who live off of dpkg-ftp over a dialup
connection.  Has this been discussed on debian-devel?

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: HP printer and printcap (cont.)

1997-12-01 Thread Brian K Servis
G. Kapetanios writes:

 
Thanks very much for your help. I am using  magicfilter and from what I
heard in the list, people think it might be slightly better, it has worked
for my bubblejet anyway. In the last few minutes I managed to print dvi
files by using the dvihp command. However the most important thing for me
is to print ps files. Does anyone know of a utility that turns ps files to
pcl ?? It seems likely that the ljet4l-filter that comes with magicfilter
is not dealing very well with any file type apart from test files for
which it removes the staircase effect and now pcl files. 

Thanks 
George 


You need ghostscript.  Get the Alladin version out of non-free as it
has the most up to date drivers.  It will convert ps files to about
any printer language out there.  There is even a driver for the hp
550(cdj550).  When you installed the magicfilter package it should
have asked you if you wanted to install the gs package as well.

Good luck,
Brian
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis





On Mon, 1 Dec 1997, Pancho Horrillo wrote:

 Hi!
 I have a HP550C working under debian, just using apsfilter / lpr
 It's easy to configure, it asks everything necessary.
 note: apsfilter doesn't work with LPRng, there is a package named
 magicfilter for it, but i haven't tried it.
 


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


Re: hptools and magicfilter

1997-11-26 Thread Brian K Servis
Mario Filipe writes:


Hi

A couple of days ago, I had a HP660C installed on my Linux box. Installed 
magicfilter, enscripts, lprng,... . First question : I chose to use the
550C filter. Is there any filter more recent than that ?

After printing some test pages and seeing that everything was ok i saw
that the printer was always printing in high quality. Since most of the
work doesn't need that quality i started to think about a way to tell the
printer to print in econofast mode. Looking through the debian list mails
my colleague found someone (sorry don't remember your name) that mentioned
hpset. We asked him about where to get it and got it. Apparently hpset
works but I still couldn't get econofast to work. After relooking into
hpset docs I saw that they mentioned something about filters and so i
tried but to no avail. I'll show you my printcap file, and explain what i
was trying to do. Basycally I wanted to have 2 different names for the
same printer. One printing in high quality and the other for the lowest
quality :

My printcap :

lp|dj|hpdj660c|HP Deskjet 660C:\
:lp=/dev/printer:sd=/var/spool/lpd/hpdj660c:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/usr/sbin/dj550c-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

lpecono:\
:lp=/dev/printer:sd=/var/spool/lpd/hpdj660c:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/myfilter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

The myfilter file looks 

#!/bin/sh
hpset -o stdout econo
/usr/sbin/dj550c-filter


That person was me.  

I think the problem is that the stdin to your myfilter, which can be
anything, and the stdout from hpset, which is hp escape codes, are not
of the same format and probably get misinterpreted by magicfilter and
are probably not even appended to each other.  You need to prepend the
hpset output to the processed stdout of ghostscript and send them to
stdout as one unit to the printer.  This is my solution:

/etc/printcap:
# econo mode
lpc|djc|hpdj660c|HP Deskjet 660Cse Color Econo:\
:lp=/dev/lp1:sd=/var/spool/lpd/hpdj660c:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/usr/sbin/dj550c-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:
# letter quality
lpcl|djcl|hpdj660cl|HP Deskjet 660Cse Color:\
:lp=/dev/lp1:sd=/var/spool/lpd/hpdj660cl:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/usr/sbin/dj550cl-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:


/usr/sbin/dj550c-filter:
#! /usr/sbin/magicfilter
#
# PostScript
0   %!  ffilter /usr/local/lib/magicfilter/econogsc $FILE
[rest of filter left out]


/usr/local/lib/magicfilter/econogsc:
#!/usr/bin/tcsh
# called as: econogsc psfile
# send hpset hp escape codes to a tmp file
/usr/local/bin/hpset -c econo ! /tmp/prt.$$
# append the ghostscript hp escape codes to that tmp file
/bin/cat $1 | /usr/bin/gs -q -dSAFER -dNOPAUSE -r300 -sDEVICE=cdj550 
-sOutputFile=- -  /tmp/prt.$$
# cat the tmp file to stdout
/bin/cat /tmp/prt.$$
# clean up
/bin/rm /tmp/prt.$$

/usr/sbin/dj550cl-filter:
#! /usr/sbin/magicfilter
#
# PostScript
0   %!  filter  /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300 
-sDEVICE=cdj550 -sOutputFile=- - 
[rest of filter left out]


Good luck,
Brian
--
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: I'm an idiot and sed proves it...

1997-11-26 Thread Brian K Servis
Nathan E Norman writes:

On Wed, 26 Nov 1997, Dale Scheetz wrote:

: On Wed, 26 Nov 1997, Aaron Denney wrote:
: 
:  [EMAIL PROTECTED] wrote:
:sed -e 's/-'\n'//g' infile outfile
:   
:   and although the file gets slightly smaller (I didn't try to find out 
just
:   what had been removed) none of the hyphonated text is corrected.
:  
[ snip ]
:  The \t is not quoted, but is interpreted by your shell, which replaces the 
\t
:  with an actual t.  If you take out the inner quotes, it should work:
: sed -e 's/\t/ /g' infile outfile
:  
:  This will pass an actual \t to sed, which will interpret it as a tab 
character.
:  
[snip]

ps I too thought sed interpreted a '\t' as a tab.  Apparently this is
not the case ... perl does, but sed does not.  Oh well.


According to the sed man page:

   \c  Any backslash-escaped character c, except for `{',
   '}', `(', `)', `',  `',  `|',  and  `+'  matches
   itself.

so \t = t to sed.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


on/off topic(was Re: I'm an idiot and sed proves it...)

1997-11-26 Thread Brian K Servis
Dale Scheetz writes:

On Wed, 26 Nov 1997, Aaron Denney wrote:

 [EMAIL PROTECTED] wrote:
 sed -e 's/-'\n'//g' infile outfile
  
  and although the file gets slightly smaller (I didn't try to find out just
  what had been removed) none of the hyphonated text is corrected.
 
 This isn't quite the appropriate venue for such questions, as it is
 a general unix/sed question and not very specific to Debian.  In the
 future try the newsgroup comp.unix.programmer or comp.unix.questions.

You are absolutely correct, and as a developer I should probably know
better. My only excuse is that I spend a lot of time on this list, and
consider the folks here my friends. This leaves little time to go
exploring other venues, and besides, I'd rather ask a favor of a friend
than of some stranger somewhere else ;-)

Personally, I find the off topic threads on this list are often very
interesting. I almost always learn some new twist or trick that I had not
seen before, so it is my hope that, when I have problems, the solution may
be valuable to others as well.


Not to start this thread again about on/off topic, splitting the
lists, etc., but if all the non-Debian specific traffic was removed
from this list there would be almost no traffic at all.  I agree with
Dale that I learn lots of great stuff by reading this list and its
non-Debian specific topics.  Really the only Debian specific traffic
is stuff relating to package management/policy, dselect/dpkg,
filesystem structure and third party .deb packages.  After you have
installed the packages it technically becomes a non-Debian specific
problem.  But who cares! As long as it can run under a Debian system I
don't mind seeing traffic about it.


My $0.02(us),
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: hptools and magicfilter

1997-11-26 Thread Brian K Servis
Jens B. Jorgensen writes:

Brian K Servis wrote:
 
 Mario Filipe writes:
 
 
  [ initial problem text removed ]
 
 
 /usr/local/lib/magicfilter/econogsc:
 #!/usr/bin/tcsh
 # called as: econogsc psfile
 # send hpset hp escape codes to a tmp file
 /usr/local/bin/hpset -c econo ! /tmp/prt.$$
 # append the ghostscript hp escape codes to that tmp file
 /bin/cat $1 | /usr/bin/gs -q -dSAFER -dNOPAUSE -r300 -sDEVICE=cdj550 
 -sOutputFile=- -  /tmp/prt.$$
 # cat the tmp file to stdout
 /bin/cat /tmp/prt.$$
 # clean up
 /bin/rm /tmp/prt.$$
 

Why all the mess? Why not:

#!/bin/sh
/usr/local/bin/hpset -c econo
/usr/bin/gs -q -dSAFER -dNOPAUSE -r300 -sDEVICE=cdj550 -sOutputFile=- -
 ^^^  
   You forgot
  this.
   
Because it worked and that is all that I cared at the time.  Besides,
I wasn't sure if the stdout's and stdin's would get put together,
mixed up or whatever.

Thanks for the tip.  I tried it and it works.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


sound interference

1997-11-25 Thread Brian K Servis

The sound card(SB16) on my Debian box picks up electronic interference
when I use the line-in as source(external radio).  It sounds like I a
helicopter, whop, whop, whop, whop and it fades in and out. It only
happens under Debian, when I am booted in Win95 it doesn't happen.

Setup:
Debian 1.3.1
kernel 2.0.30
real SB16 with speakers on line-out and portable radio on line-in

Any suggestions?  Why would it make a difference between the OS's?
My only thought is the sound driver but I don't know.

Thanks,
Brian 
-- 
Mechanical Engineering   [EMAIL PROTECTED]
Purdue Universityhttp://www.ecn.purdue.edu/~servis


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


Re: MSDOS files...what to do...

1997-11-25 Thread Brian K Servis
Andrew Akins writes:

I have copied some MSDOS text files (documents, java source files) to my
Linux box. So, of course, they all have ^M at the end of each line. At
our SCO box at work, we have a dos2unix command that would fix
these...does Linux have a similar tool, and what package is it in?


dos2unix is in the sysutils package.

A suggestion, download a copy of the .../stable/Contents-i386 file
from your favorite Debian mirror.  It lists every file and its
package.  Then just grep it for your file in question, I use it all
the time.

#grep dos2unix Contents-i386
usr/bin/dos2unix utils/sysutils
usr/man/man1/dos2unix.1  utils/sysutils

Good luck,
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Matlab5

1997-11-21 Thread Brian K Servis
Steve Hsieh writes:


Sounds like you need to include some of the libraries that matlab was
compiled against inside the $MATLAB/sys/lnx86 directory -- the libstdc++
library that comes with debian doesn't work with matlab 5.1 and will
produce the error you write below.  Here's the libs we use for a working
matlab on Debian... You can get them from mathwork's ftp site, or
alternately, you can email me privately and I can send them to you.


Hmmm.  I am using the libc++ that is in libg++_2.7.2.1-8.deb and am
having no problems.  This is what ldd is giving me on Matlab 5.1.0.421:

#ldd $MATLAB/bin/lnx86/matlab
libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4
libXt.so.6 = /usr/X11R6/lib/libXt.so.6
libXext.so.6 = /usr/X11R6/lib/libXext.so.6
libX11.so.6 = /usr/X11R6/lib/libX11.so.6
libdl.so.1 = /lib/libdl.so.1
libg++.so.27 = /usr/lib/libg++.so.27
libstdc++.so.27 = /usr/lib/libstdc++.so.27
libm.so.5 = /lib/libm.so.5
libc.so.5 = /lib/libc.so.5
libSM.so.6 = /usr/X11R6/lib/libSM.so.6
libICE.so.6 = /usr/X11R6/lib/libICE.so.6


Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis



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


netscape4_4.0-6.deb w/o libc6!

1997-11-20 Thread Brian K Servis
Does anybody know were to find a netscape4_4.0-6.deb that does not
depend on libc6, so that I can use it on a 1.3.1 system?  Why does it
need to depend on libc6 anyway?

I could modify the control file but I don't know how to put the
pieces back together once I have extracted them using ar and tar.
Any simple step on doing this would be helpful as well, without
pointing me to the package maintainers documents.

Thanks,
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Need help hacking print filter.

1997-11-18 Thread Brian K Servis
Dale Scheetz writes:

I am printing postscript files to my HP DeskJet using printcap and a gs
filter. Things work as expected, but I have several minor glitches that I
can't figure out how to deal with.

When I print a plain ascii file I simply cat the file to the printer.
The printer defaults to high quality print mode, so to save ink I cat a
set of 4 characters that push the printer into draft mode. My problem is
that I can't figure out how to get the filter to prepend these characters
to the front of the input stream, so all my postscript files use ink like
crazy. Is there any way that I can get the characters prepended so that
postscript files will print in draft mode as well?


I use magicfilter but that is just the wrapper to process various input 
file types.  For the actual ps filter I first use a program that I found 
on sunsite called hptools(/pub/Linux/system/printing/hptools-1.2.3.tar.gz).
It has most of the esc sequences coded into the program and can either 
send the codes to stdout or directly to the port.  Anyway for printing ps 
files you need to send your esc codes to a temp file then concatenate the gs
output for your printer type to that same temp file and then send all
that to stdout.  Something like this(it may not be pretty but it works!):

#!/usr/bin/tcsh
# econo gs filter called as:  econogs source.ps
 
#the hptools program
hpset -c econo ! /tmp/prt.$$   # send econo esc codes to tmp file 
# send the input file through gs and concatenate to the tmp file
cat $1 | gs -q -dSAFER -dNOPAUSE -r300 -sDEVICE=cdj550 -sOutputFile=- -  
/tmp/prt.$$
# sent the resulting file to stdout
cat /tmp/prt.$$
# clean up
rm /tmp/prt.$$

In addition I get an error message every time I print a postscript file.
The message:

Error: /undefinedfilename in (stcolor.ps)
  Operand stack:
 Execution stack:

appears at the top of the first page (alone thankfully). Is there some way
to get this error message to the null device instead of the printer?


Well if the above is coming out on stderr then you could trap this and
send to null and the other to stdout.  But that is not the best solution.
I am using alladin-gs and am not having any errors.  I don't know what
version off hand(not at my machine).   Good luck.

As I said these are fairly minor problems, and I'm sure HP would be happy
if I couldn't reduce my ink usage, but my prospective use is going to go
up so I could realy use a solution.

The econo mode makes ps printing about twice as fast! Which makes it much
easier to print more and waste paper...

Brian Servis
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: magicfilter permissions

1997-11-12 Thread Brian K Servis
Orn E. Hansen writes:


 This is what is currently set mode wise:
# ls -l /usr/local/bin/hpset
  11 -rwxr-xr-x   1 root root10445 Jul 10 16:47
 /usr/local/bin/hpset*
# ls -l /dev/lp1
0 crw-rw   1 root lp 6,   1 May 28 17:16 /dev/lp1

  You can either, make '/dev/lp1' accessable to everybody.  Or, you can
make your 'hpset' program as a member of group 'lp' and make it set
group id.


Since this is a standalone machine I did both the above and still no luck.
I am trapping the output of the hpset and it says is still can't open the
/dev/lp1 device, it just cat's it to it.

#ls -l /usr/local/bin/hpset
  11 -rwxr-sr-x   1 root lp  10445 Jul 10 16:47 
/usr/local/bin/hpset*
#ls -l /dev/lp1
   0 crw-rw-rw-   1 root lp 6,   1 May 28 17:16 /dev/lp1

I am really confused.  As root it works, as a regular user it works but as
the printer daemon it does not work!

Thanks for any input,

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


[OFF TOPIC] M$ Explorer for Solaris!!!!

1997-11-11 Thread Brian K Servis
Look out *NIX world here comes M$!!!

M$ has released preview 1 of M$ Explorer for Solaris 2.5.
http://www.microsoft.com/ie/ie40/download/unix.htm.  It is even more 
bloated than Communicator it says it need 30M of disk space when done
installing and 60M during the install, YIKES!  

Brian Servis
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


magicfilter permissions

1997-11-11 Thread Brian K Servis

This is a permissions problem that I can't straighten out.  I have a
util called hpset that I use to change the print qualilty of my hp
dj660c.  This program currently will only let root execute it since it
writes directly to /dev/lp1.  I want to stick this command in my
magicfilter filter file but it fails due to lack of permissions.  What
do I need to change to give magicfilter(i.e. lpd) permissions to
execute hpset on /dev/lp1?  

This is what is currently set mode wise:

# ls -l /usr/local/bin/hpset
 11 -rwxr-xr-x   1 root root10445 Jul 10 16:47 /usr/local/bin/hpset*
# ls -l /dev/lp1
   0 crw-rw   1 root lp 6,   1 May 28 17:16 /dev/lp1

By the way this the 'filter' line that I want to put into my
magicfilter filter.

# PostScript
0   %!  filter /usr/local/bin/hpset econo  /dev/null 21;\
   /usr/bin/gs  -q -dBitsPerPixel=1 \
   -dShingling=0 \
   -dDepletion=0 \
   -dSAFER \
   -dNOPAUSE \
   -r300 \
   -sDEVICE=cdj550 \
   -sOutputFile=- -


Thanks,
Brian Servis
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: How to multitask in X-windows?

1997-10-01 Thread Brian K Servis
ImmortaL writes:

Actually your both right because my question can go both ways it doesnt
matter they both are helpful BUT,i tried both ways and they dont work for
example if i enter X and start netscape and then go back to Xterm i cant
enter any commands its locked until i kill netscape,i tried it only with
Xterm i opened two Xterms but the first one didnt work after i opened the

you need to put the application in the background by following the
cammand with a .

% netscape 
% xterm 

second one.Then tried the Virtual way Ctrl-alt-Fx and when i did that and a
new logon screen came on and then when i went back to X there was no X
there was a shell screen and it showed all the usual commands when X starts
and it was locked.and i cant do anything so i have to kill it.Do you have
to be running XDM for it to work?Or do you have any idea why this wont
work?

If you started X from VC 2 for example that is were all the X output messages
will go but with the default setup the actual X display will be on VC-7.
So do a Ctrl-alt-F7 to get back to X.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: extract only PART of an archive

1997-09-27 Thread Brian K Servis
Will Lowe writes:

I need to extract JUST ONE of the files in a .deb 

I've searched through the dpkg info and man pages and haven't found any
way to do this (I might be blind, though).  Is there anyway to do it with
out doing

dpkg -R /tmp/ file.deb

and then moving the one file and clearing /tmp?

   Will

The only way I know is to use ar to pull the data.tar.gz from the .deb
and then untar the file from that.

ar -x file.deb  data.tar.gz
tar zxvf data.tar.gz ONE-FILE
rm data.tar.gz

There may be others?

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Netscape 4.03 for Linux is out!

1997-09-17 Thread Brian K Servis

Hi all,

Just thought you would like to know, Netscape 4.03 english version is
out for Linux.  It comes in three forms: standard, professional and 
just the stand alone browser with now news/mail/composer/etc.

ftp://ftp.netscape.com/pub/communicator/4.03/shipping/english/unix/linux20/

  base_install/ Fri Sep  5 23:46:00 1997 Directory
  navigator_standalone/ Tue Sep  9 18:13:00 1997 Directory
  professional_edition/ Tue Sep 16 19:31:00 1997 Directory

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Project.tmpl

1997-09-12 Thread Brian K Servis

% grep Project.tmpl Contents-i386
usr/X11R6/lib/X11/config/Project.tmplx11/xlib6-dev

I keep a copy of the Contents file locally in case I can't find a file 
that should be in a package somewhere.  If 'dpkg -S file' can't find
it then I do the above.  My. $.02.

Brian


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


Re: Setting X mouse responsiveness

1997-09-11 Thread Brian K Servis
Brian White writes:

How can I adjust the responsiveness of the mouse under X?  Right now I
almost have to move the mouse half way across the room to cross the
screen?  It's a PS/2 mouse.

I've adjusted (lowered) the resposiveness under GPM.  Could that be affecting
things in X?  X is accessing the mouse directly, not via the GPM repeater.


I have a similar problem. I am using the gpm repeater(/dev/gpmdata)
to pass the input of two pointers, a keypad pointer(/dev/ttyS0) and a
mouse(/dev/psaux) to gpm and X.  The pointer is more responsive so I
have lowered it with gpm and that works find under the tty's.

gpm -m /dev/psaux -t ps2 -M -m /dev/ttyS0 -t ms -r 2

However X does not seem to pay attention to what gpm has set for the
pointer responsiveness so the cursor is super sensitive with the
pointer and normal with the mouse.

# XF86Config pointer section
Section Pointer
Protocol MouseSystems
Device  /dev/gpmdata
Emulate3Buttons
Emulate3Timeout50
EndSection

Any suggestions on how to set the separate responsiveness under X?
I have looked at the XInput options for XFree but they only allow 
one or the other and not both simultaneously.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Exchange mouse button 2 3 in X.

1997-08-30 Thread Brian K Servis
Carey Evans writes:

[EMAIL PROTECTED] writes:

 I'd like to swap button 2 and 3 of mouse when in X,
 such that the paste button is on the rightmost
 button.

xmodmap -e 'pointer = 1 3 2'


But be warned that it will effect everything else that uses the 2 and
3 buttons.  Examples: Netscape, Emacs, XV,   So if you have a 2
button mouse you now have to hold both down to get button 3 menus on
these.
 
I wish X would have an option to control the Cut/Paste functionality of 
the buttons.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Bash upgrade,Netscape helpers...

1997-08-25 Thread Brian K Servis
Jens B. Jorgensen writes:

Damir J. Naden wrote:
 
 Hi, everyone --
 
 I was following the thread that was going on for a while here regarding
 the bug in bash 2.0 that is holding us back in using some Netscape
 helpers. I must admit that I missed the final point: what is the best
 way of fixing this problem? Usualy i'd go to unstable and fetched and
[snip]

I have ftp'd bash-2.01 from mit. I tar -xzf'd it. Ran ./configure.
Ran make, make tests, and everything looks kosher. I'm replacing the
bash I have. My system is stock 1.3.1 from a Greenbush Technologies
Gold CD. The size is 412800 bytes uncompressed, 188709 compressed
with gzip -9. I'll email it to anyone who wants it (no warranties, 
expressed or implied as to the usability or fitness for a specific
purpose, etc. etc. etc.). It seems to work fine on this system, though
I've just compiled it and been using it. I've been using it on our
Solaris system for weeks and have had no problems.

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


Regardless of the status of libc6, the change over to 1.3.x or 1.3 Rev
x, the desire to keep changes to the stable tree to a minimum, or
whatever, this needs to be upgraded NOW. I have had a few other apps
crap out on this bash 2.0 bug and since the Debian system lives and
dies by bash it needs to be fixed A.S.A.P. by the maintainer, and or
the development team, not kind Jens who got sick of it enough to
download the source.

My $0.02(US)

Brian






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


Re: Use Joystick to reboot.

1997-08-07 Thread Brian K Servis
Daniel J. Mashao writes:

On 6 Aug 1997, Linh Dang wrote:

 
 I remember having seen somewhere that you can use the joystick to make a 
 clean
 reboot. That's handy when X freezes and your keyboard and mouse get stuck. 
 Any
 info, pointer ?
That happens in OS/2 but I would not expect to see this in Linux. A copule
of times I had that problem on my laptop. It turns of the problem was that
my mouse was using the same IRQ 12 as the modem. 

I used at-batch to get it to reboot after I noticed the problem is
occuring after touching the mouse or trying to use the modem. 

So my suggestion is try to make sure there is no IRQ conflicts first -
otherwise you should not need a joystick reboot.
~~~
D.J. Mashao, [EMAIL PROTECTED]
---

I'll have to disagree with you.  I have had Netscape 4.01b6(java
related) and StarWriter both lock me out of keyboard or mouse button
activity.  I still could move the pointer though.  My only solution at
the time was to push the reset button.  If I had had a joystick driver
active I could have started a clean shutdown which would have saved me
some work when the system came back up with all kinds of disk errors
due to the cold reboot.

my $.02
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


xf86Jstk.so missing from 1.3.1

1997-07-30 Thread Brian K Servis

Why is the XF86 v3.3 module xf86Jstk.so not to be found in any of the
XF86 packages?  All the other modules are present.  Is it not part of
the upstream distribution even though it is listed in the man pages?

Thanks,

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Debian is getting free publicity!

1997-07-23 Thread Brian K Servis

Hi all,

Just thought I would let ya knowDebian is getting some free
publicity among Metamail users these days.  A few months ago a CERT
advisory(ftp://info.cert.org/pub/cert_advisories/CA-97.14.metamail)
was issued about Metamail and problems with the CSH code used in which
security could be broken.  These security holes are not present in the
SH versions used in Debian(which is mentioned in the advisory) and
folks are mentioning the Debian versions of the Metamail package as a
solution on some of the Metamail related mailing lists and newsgroups.


Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: One last thing before I pass out

1997-07-22 Thread Brian K Servis
Daniel Laffin writes:


After su'ing in an xterm and trying to run any x app i get this.  I tried
xhosts -, but it still gives me this.  *scratches his head*  Sleep
now--thanks.  =)

apollyon:/# xterm
Xlib: connection to :0.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: :0.0
Exit 1
apollyon:/# 


-Dan


You need to set the DISPLAY env variable to :0.0 once you are root.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: /etc/issue file

1997-07-18 Thread Brian K Servis
[EMAIL PROTECTED] writes:

 I want to add a clear screen character to the beginning of the /etc/issue
 file instead of having a clear command in the .bash_logout... I think it
 is ^L... how can I add this character with emacs?
 
I'm not sure how you would do it in Emacs - I use vi (actually Elvis...)

The characters you want are ESC[HESC[J  where ESC is the escape

Ctrl-Q is the emacs literal quote, FYI. 

Ctrl-Q ESC [H Ctrl-Q ESC [J  should do it in emacs. 

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: bash 2.01

1997-07-18 Thread Brian K Servis
Jens B. Jorgensen writes:

Hong Huang wrote:
 
 BG Lim [EMAIL PROTECTED] writes:
 
 bash 2.01 is in the Incoming directory of master.debian.org. However, it's
 compiled against libc6. If you still stay with bo (1.3.1), you'll have to
 grab the debianized source codes, make necessary modification and compile
 it against libc5.
 

Wouldn't this problem satisfy the criteria of being added to the 
bo distribution, even though bo is frozen?

-- 

I second this, the bash 2.0 bug of handling ((  is making life
difficult for lots of programs that call sh(linked to bash) to run
external programs, such as Netscape for all its helper applications. 

Can I change the sym link of sh to ash to temporarily work around
this?  I use tcsh in all my shells so sh is only used by shell scripts
and programs that come in packages.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Switching mouse buttons and multiple pointers?

1997-07-18 Thread Brian K Servis


I have a M$ 2-btn PS/2 mouse.  When using cut and paste in X I have to
click the L  R button simultaneously to paste.  I would like to click
the R button to paste as with gpm on the tty's.  Can I switch this
around?  Or is my only solution to buy a 3-btn mouse?

Related question: Is it possible to have 2 pointers at once under X?
I am thinking about getting a new ergonomic keyboard with a built in
pointer but I would like to keep my current mouse connected.  My mouse
is ps/2 and most pointer keyboards use the serial port so I they would
be using different protocols.  Although from what I under stand
adapters are available to hook on up to the other.  I have seen ps/2
and serial Y adapters offered by P.I. Engineering(http://199.177.127.219/)
that are an option as well.

Thanks.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Account Maintenance Package

1997-07-17 Thread Brian K Servis
Hi all,

Here at Purdue the Engineering Computer Network staff have developed a
very awesome account management package called ACMAINT.  They currently
use it to manage all the accounts and machines on the network.(Over
13,000 users with over 336,000 accounts on approx. 800 Sun's, 120
HP's, and handful of IBM's, SGI, etc!) From any machine on the
network you can change any account on any other machine via a client
server arrangement.  The source and doc are in
ftp://ftp.ecn.purdue.edu/pub/ACMAINT/.  I don't think it has been
ported to Linux but can be built on 20 different *nix's including
BSD4.2, BSD4.3  BSDPOSIX so it shouldn't be to difficult to add
support for Linux.  It is very customizable.  I believe it was written
in tcl/tk and uses an oracle database.  All the developers have since
left the network and so the code is for the most part frozen. There is
a mailing list mentioned in the README's which is still active and the
route to get support. I have used it on the computers at school and
was very impressed but have not tried to get it to run on my single
personal Linux box at home(don't see much point).  I just thought I
would mention this to the list in case someone would be interested in
taking a look at it.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Modem

1997-07-16 Thread Brian K Servis
Jason Killen writes:

Along those lines.  What tty is my modem  I have two working com
ports and an internal modem.  Is there a way to say the internal is number 1
or number 2 if I want.  

This is usually set by jumpers on the modem along with the interupt.  If
you have 2 builtin com ports you need to put your modem at com3(ttyS2) or
com4(ttyS3).  If you are not using the builtin's and your mother board
has jumpers you can also disable the on board com ports and make your
modem be com1(ttyS0) or com2(ttyS1).

And I though getting the ethernet stuff up was crazy.  (Actually it wasn't
that bad.)
My guess is that modems are a bit more work since you have to first 
establish a connection and then you are at the point of the ethernet
cards. But this is only my opinion since I have never set up an ethernet
card.(Somebody want to drop a T1 in my house?)

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: XTerm on XFree86 3.3-3 trouble

1997-07-14 Thread Brian K Servis
H Huang writes:

On 13 Jul 1997, Paul Seelig wrote:

 [EMAIL PROTECTED] writes:
 
  I have a strange XTerm behaviour after upgrading to XFree 3.3-3.
  
  When I start mc in a xterm I have trouble with the F-Keys:
  
  F1 gives P
  F2 gives Q 
  F3 gives R 
  F4 gives S
  
  F5 - F10 work just fine.
  
  When I start mc in a rxvt, all F-Keys work just fine.
  
  Has someone else encountered this problem ?
  
 So i'm not alone with this! :-( The only difference is that F1 does

I get the same behavior with Matlab.  So it is not an mc related issue.
It must be an XFree86 3.3 issue.

My $.02


Brian 


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


Re: PPP connection dying

1997-07-11 Thread Brian K Servis
Casey Feskens writes:

Still having problems keeping ppp from dying out.  Telnet works 
without any problems whatsoever.  So does ping.  FTP and Netscape
seem to be the biggest problems.  FTP works fine until I begin
downloading files.  It works for awhile, then my whole ppp connection
begins to hang.  Same with netscape.  I can connect to a site or
two, but soon enough it just hangs the whole connection.  

I have to kill all the processes to get out and then reboot the 
machine or redial 30 or so times to get a connection started again.

Can anyone give me any ideas?  I need help desparately.

Casey


Not that this is any help but all of a sudden I started getting the
same behavior with Debian 1.3.1 and Netscape 3.01 Gold.  However I can
repeat the failure by submiting a form in Netscape. This will freeze
my PPP connection until lcp-echo-failure kicks in and ppp dies.  Like
you the logs don't show anything usefull.  I used to not have any
problems with forms.  The only thing that I have changed is gone from
1.3.0 to 1.3.1 the one thing that changed besides all XFree86 v3.3
related files is libc5 from v23 to v33.  I think you said you were
using Debian 1.2 so there shouldn't be any relations here. Oh well,
more info for the masses I guess.

Anybody else have any hints, this IS really anonying.

Brian Servis



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


Re: PPP connection dying

1997-07-11 Thread Brian K Servis
Brian K Servis writes:

Casey Feskens writes:

Still having problems keeping ppp from dying out.  Telnet works 
without any problems whatsoever.  So does ping.  FTP and Netscape
seem to be the biggest problems.  FTP works fine until I begin
downloading files.  It works for awhile, then my whole ppp connection
begins to hang.  Same with netscape.  I can connect to a site or
two, but soon enough it just hangs the whole connection.  

I have to kill all the processes to get out and then reboot the 
machine or redial 30 or so times to get a connection started again.

Can anyone give me any ideas?  I need help desparately.

Casey


Not that this is any help but all of a sudden I started getting the
same behavior with Debian 1.3.1 and Netscape 3.01 Gold.  However I can
repeat the failure by submiting a form in Netscape. This will freeze
my PPP connection until lcp-echo-failure kicks in and ppp dies.  Like
you the logs don't show anything usefull.  I used to not have any
problems with forms.  The only thing that I have changed is gone from
1.3.0 to 1.3.1 the one thing that changed besides all XFree86 v3.3
related files is libc5 from v23 to v33.  I think you said you were
using Debian 1.2 so there shouldn't be any relations here. Oh well,
more info for the masses I guess.

Anybody else have any hints, this IS really anonying.


As a small update to this. Submiting forms with lynx works fine, it is 
netscape that seems to be causing me the problems.  Maybe I will try
a different grapical browser,=(, to see if that changes anything.

Brian 


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


Re: nobody is running find at too high a priority

1997-07-08 Thread Brian K Servis
Brandon Mitchell writes:
There is no happy medium.  IMO, 7 is too early.  I was around 4 am, but 
the users who lonly turned their computers on during the day never got 
their logs rotated and wondered why their /var/log got so large.  
Changing the crontab is easy as you have said, so making sure it is run 
seems more important to me.

HTH,
Brandon


This is a job for anacron!


Brian 


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


Re: determining serial link speed?

1997-07-02 Thread Brian K Servis
[EMAIL PROTECTED] writes:


On 07:06:32 Lawrence wrote:
Martin Steigerwald wrote:
 
 Hi!
 
 Is there any easy way to find out, what speed my modem connected to
 the ISP? (using ppp  chat on Debian Linux m68k Amiga).
 
 I want to be sure that it connected at 28800 baud and not at 14400.
 

If its a Hayes modem, there is a command that will tell the modem to 
report the DCE (modem-to-modem) speed rather than the DTE port to
modem speed.  That value is returned on the local DTE, but how to get
chat to echo that so you can see it is another matter.

Paul

PS: Oh, forgot, that Hayes command is: ATW1



Don't know if this is Hayes or USR commands but my USR command set has
Un which sets the floor connect speed where n is between 0 and 14.
With 0 being disabled and 14 being 28.8kbps.  There is also a Nn
which sets the restricts the connect speed or when used in conjuction
with Un works as the ceiling connect speed, thus creating a connect 
speed window.

You might also want to look at the REPORT option of chat.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: Matlab for Debian?

1997-06-30 Thread Brian K Servis
Shaya Potter writes:



On Mon, 30 Jun 1997, Mark Phillips wrote:

 
 Can you get Matlab for Debian?  Someone told me that Matlab is
 only supported by RedHat.  Does anyone know?
 

In many cases, the companies ship the products as .rpm's.  Therefore they
only support it on RedHat, but since we both conform to the FSSTND, you
should (should not can), be able to install it on a debian system with
alien.

Shaya


It comes on a multi *nix-platform CD that has a text or X based
install program that installs the package on your system, it does not
come in a 'package' file.  They(Mathworks) have just tested it under
Redhat and Slackware.  There is a bug in the 5.0 version for Linux for
printing figures with symbols, they have a beta binary drop in
replacement for download on there ftp site that fixes the problem.
(ftp://ftp.mathworks.com/pub/mathworks/bin/unix/lnx86/matlab.5.1.beta.Z)
You also have to download a library file(libstdc++.so.27.1.4) to make
it work on Debian, check out
http://www.mathworks.com/support/solutions/v4/7571.html, it deals
directly with Debian.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: USR Modem Hangs Intermittantly

1997-06-30 Thread Brian K Servis
Jens B. Jorgensen writes:

W Paul Mills wrote:
 
 On Sat, 28 Jun 1997, Britton wrote:
 
 
 
  I have a US Robotics Sportster 28,800, and it works, sort of.  However,
  every two or three minutes (give or take a minute or more) it hangs for
  about 30-200+ seconds.  It did on each of these last two lines *scream*.
  Same thing under Win95.  I know this is not my server is is very fast
  from a terminal on campus.  I have heard that this is a problem with USR
  Sportsters and that there is an init string type fix.  I couldn't find it
  anywhere on their web page or 'automated voice system' (read: crock of
  shit) though.  If anyone out there know how to solve this problem I would
  certainly like to know.
 
 I think you need to add S12=0 to your init string.
 

That's odd, a quick look at my Sportster manual says S12 sets the 
'guard time for the escape code'. Where did you get this info about
the init string?


I have the same problem with my OEM USR Sportster 28.8!  However, I only
have problems under Debian and not Win95.  I get pauses and hang-ups 
very frequently that are about to drive me insane!  I have the S12=0 set
on both platforms as has been mentioned in past threads.  Is the Linux
PPP more senstive to line noise?  PPP almost always terminates in these
instances with a SIGHUP signal.(I don't send it.)
(/var/log/messages snippet)
Jun 24 08:37:22 servis pppd[249]: Hangup (SIGHUP)
Jun 24 08:37:22 servis pppd[249]: Modem hangup
Jun 24 08:37:22 servis pppd[249]: Connection terminated.

Maybe the register to set is S10 which pauses after loss of carrier before
hang up?

Anybody have any suggestions for us?

Thanks,
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


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


Re: How does Debian sound?

1997-06-23 Thread Brian K Servis

How about having Ian or Bruce put a sound byte of them saying Debian
on the webJust like Linus did for Linux!

Brian 


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


xterm -ls not logging in utmp??

1997-06-12 Thread Brian K Servis

I noticed that when I was logging in with xterms that my login's were
not being recorded in utmp.  I have the *loginShell resource set
true.  So I tried a command line 'xterm -ls' and got this warning:

Warning: locale not supported by C library, locale unchanged

If I do 'rxvt -ls' I don't get any error and the utmp file is updated.

What is causing the error and how do I fix it?

Thanks,

Brian 


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


How to change in.fingerd -w banner?

1997-06-12 Thread Brian K Servis

How do I change the banner that 'in.fingerd -w' gives?  Right now it gives

Welcome to Linux version 2.0.30 at host

uptime results

I would like to get rid of the uptime info and add some Debian info.

Thanks,

Brian 


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


Re: UPDATE(not fixed):xterm -ls not logging in utmp??

1997-06-12 Thread Brian K Servis
Randy Stocking writes:

Brian K. Servis writes:
 Brian K Servis writes:
 
 
 I noticed that when I was logging in with xterms that my login's were
 not being recorded in utmp.  I have the *loginShell resource set
 true.  So I tried a command line 'xterm -ls' and got this warning:
 
 Warning: locale not supported by C library, locale unchanged
 
 If I do 'rxvt -ls' I don't get any error and the utmp file is updated.
 
 What is causing the error and how do I fix it?
 
 Thanks,
 
 Brian 
 
 
 UPDATE:
 
 It turns out that StarOffice's setup script was setting the LANG
 variable to 'us' I changed it to 'en_US' as suggested in other
 threads and the error went away. BUT the utmp is still not getting
 updated with xterm login shells.  Rlogin, rxvt, telnet all update
 utmp fine.  Anybody have any advice?
 

Check xterm's +ut option and utmpInhibit resource (from the xterm man
page).


Ok.  I tried both with no results.  The man page doesn't mention what is 
default so I tried every combination possible.  The man page also says
utmp is in /etc but it is in /var/run so I made a link from /etc/utmp to
/var/run/utmp but that did not help.  This is strange, no matter what,
'xterm -ls +ut' should update utmp but it does not.

 Thanks,
 Brian
 

Regards,
Randy




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


UPDATE(not fixed):xterm -ls not logging in utmp??

1997-06-12 Thread Brian K Servis
Brian K Servis writes:


I noticed that when I was logging in with xterms that my login's were
not being recorded in utmp.  I have the *loginShell resource set
true.  So I tried a command line 'xterm -ls' and got this warning:

Warning: locale not supported by C library, locale unchanged

If I do 'rxvt -ls' I don't get any error and the utmp file is updated.

What is causing the error and how do I fix it?

Thanks,

Brian 


UPDATE:

It turns out that StarOffice's setup script was setting the LANG variable
to 'us'  I changed it to 'en_US' as suggested in other threads and the error
went away. BUT the utmp is still not getting updated with xterm login shells.
Rlogin, rxvt, telnet all update utmp fine.  Anybody have any advice?

Thanks,
Brian


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


Re: [META] Use of the list for non-Debian matters

1997-06-09 Thread Brian K Servis
Ed Down writes:

What _I_ would like is a nice concise posting regarding setting up a mail
filter for pine and other mail progs, posted regularly, so that instead of
saying 'I will unsubscribe' and losing possibly important members of the
list, people say 'That mail filter sounds easy to set up, I'll do that
instead'. 


As for the main part of the thread I enjoy the side issues, they are
not so a total waste of time.  I personally have learned alot of
information that wasn't 'debian' specific.

As for filtering I use elm on my isp to read and filter my mail.  With all 
the debian going to a separate folder.  This way I don't have to worry about
deleting an email by accident when purging debian mail.  

Here are some of my filter rules and .forward that I use

~/.elm/filter-rules:
# debian rule
if (to contains debian) then save ~/Mail/debian

#last rule - safety rule
if (always) leave 


~/.forward
|/usr/local/bin/filter -o /dev/null


Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


SOLVED: lpr: unable to get official name for local machine

1997-06-09 Thread Brian K Servis
Brian K Servis writes:

For those of you following this here is an update.

It appears to be some sort of name lookup failure.  I can't figure it
out. When I try and print with lpr it fails with the error given in
the subject.  This turns out is just an indicator of something else.  I
have a stand alone machine that I dial in to my isp and run slirp to
emulate ppp.  So, I have given my machine a bogus name of
servis.snet.  Before I upgraded to 1.3 I could ping, finger, telnet,
etc to servis.snet.  Now nothing seems to be able to figure out what
servis.snet is.  My conf files are:


Well, it turns out that /etc/host.conf only had permissions 

   1 -rw---   1 root root   20 Jun  6 16:52 /etc/host.conf

and this was screwing everything up.  I changed it to

   1 -rw-r--r--   1 root root   20 Jun  6 16:52 /etc/host.conf

and I am back to normal! Yipee!

I don't know how it got changed, I don't remeber doing it by hand.  It
seemed to happed during the upgrade to 1.3 but I checked the
base-files package and it doesn't set the permissions wrong.  It is a
mystery but a lesson as well.  Take note.  NONE of the docs, HOW-TO's, man
pages seem to mention the permisions required of the conf files otherwise 
I would have found this long ago. Live and learn I guess.

Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


Re: lpr: unable to get official name for local machine

1997-06-05 Thread Brian K Servis
For those of you following this here is an update.

It appears to be some sort of name lookup failure.  I can't figure it
out. When I try and print with lpr it fails with the error given in
the subject.  This turns out is just an indicator of something else.  I
have a stand alone machine that I dial in to my isp and run slirp to
emulate ppp.  So, I have given my machine a bogus name of
servis.snet.  Before I upgraded to 1.3 I could ping, finger, telnet,
etc to servis.snet.  Now nothing seems to be able to figure out what
servis.snet is.  My conf files are:

/etc/hostname
servis

/etc/hosts
127.0.0.1   localhost loopback servis.snet servis

/etc/resolv.conf
domain snet
search snet ecn.purdue.edu
nameserver 128.46.131.20
nameserver 128.46.131.20
nameserver 128.46.131.20
 
/etc/host.conf
order hosts,bind
multi on

/etc/init.d/network
ifconfig lo 127.0.0.1
route add -net 127.0.0.0

I don't know if named should be running or not.  If I start it with
the default config it tries to reach 198.41.0.4 in
/var/named/named.root and fails because I am not connected.  If I
start named when I have connected with ppp programs still do not
resolve what servis.snet is and give hostname failures. When I issue
'hostname' it returns 'servis' but if I call host name with any
commandline options it gives 'hostname: Unknown host' error.  

PLEASE HELP ME FIGURE THIS OUT, EVEN IF IT IS TRIVIAL!  

Thanks in advance,
Brian 


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


Re: lpr: unable to get official name for local machine

1997-06-04 Thread Brian K Servis
Jens B. Jorgensen writes:

Brian K Servis wrote:
 
 Help!
 
 Ever since I upgrade to frozen(May 25) I am having all kinds of problems
 with name resolution.  Lpr is one of them, when lpd starts I get the
 following repeated 5 times in messages:
 
 Jun  3 13:35:39 widget-servis lpd[374]: unable to get official name for 
 local machine widget-servis
 
 I connect to my isp via dialup and us slirp to emulate ppp so I gave my
 machine a bogus name of widget-servis.
 
 I didn't have any problems before with 1.2. Other problems include ppp, ping,
 emacs, etc.  Basically anything that trys to do a name resolve when starting
 or uses a name resolve.  I didn't change any of my hostname, resolve.conf,
 hosts.* files during the upgrade.

This may be true. However, perhaps one of these got changed anyway.
Why don't you include them in your post. This would be very helpful.

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


Ok here goes:

/etc/resolve.conf:
domain ecn.purdue.edu
search ecn.purdue.edu
nameserver 128.46.131.20
nameserver 128.46.131.20
nameserver 128.46.131.20
 
/etc/host.conf:
order hosts,bind
multi on

/etc/hostname:
widget-servis

/etc/hosts:
127.0.0.1   localhost loopback widget-servis.ecn.purdue.edu
widget-servis
#(plus a bunch of other frequenctly used hosts at ecn.purdue.edu)

/etc/hosts.allow
ALL: LOCAL

/etc/hosts.deny
ALL: PARANOID

/etc/hosts.equiv
#(empty)

/etc/hosts.lpd
#(empty)

/etc/init.d/network:
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 dev lo

Newly discovered info: I can ping 127.0.0.1 and it works if I ping
widget-servis it gives a host unknown error, this used to work in
before.

Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis



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


Re: lpr: unable to get official name for local machine (fwd)

1997-06-04 Thread Brian K Servis
Carey Evans writes:
Brian K Servis [EMAIL PROTECTED] writes:

[snip]

 /etc/hosts:
 127.0.0.1   localhost loopback 
 widget-servis.ecn.purdue.edu
 widget-servis
 #(plus a bunch of other frequenctly used hosts at ecn.purdue.edu)

[snip]

 /etc/init.d/network:
 ifconfig lo 127.0.0.1
 route add -net 127.0.0.0 dev lo

I have found that having anything other that localhost after
127.0.0.1 caused me problems in the past.  I use the dummy driver to
create a fake network:

--- /etc/hosts ---
127.0.0.1   localhost
192.168.117.2   psyche.evansnet psyche www.evansnet news.evansnet

[ 192.168.*.* are available for provate use; see RFC 1918. ]

--- /etc/hostname ---
psyche

--- /etc/init.d/network
#!  /bin/sh
ifconfig lo localhost
route add -net 127.0.0.0

ifconfig dummy0 psyche
route add -net 192.168.117.0

[ dummy if it's in the kernel, dummy0 if it's a module. ]

There still seem to be things that expect _one_, _permanently_
connected interface and hostname.  :-(


Ok, I think we are getting closer to figuring this out.  I tried your
suggestions(changed my machine name to servis.snet) and rebooted.
/etc/hosts
127.0.0.1   localhost
192.168.1.1 servis.snet www.servis.snet ftp.servis.snet 
servis

/etc/resolv.conf
domain snet
search snet ecn.purdue.edu
nameserver 128.46.131.20
nameserver 128.46.131.20
nameserver 128.46.131.20
 
/etc/hostname
servis

/etc/init.d/network
#ifconfig lo localhost
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
# create the dummy network
ifconfig dummy 192.168.1.1
route add -net 192.168.1.0
 
However, when /etc/init.d/boot called /etc/init.d/network ifconfig
complained about host name lookup failure of localhost!  This is run
before rc2.d parts are run.  This is really starting to make me mad.
I have read almost all the network related howto's, man pages on all
the conf files, etc.(each giving slightly different methods of setup
by the way) Even if I use the IP address in /etc/init.d/network it
still doesn't fix the problem.

WAIT A MINUTE..I just discovered something as I was checking the
log files. ifconfig is making kerneld try to load some net-pf-4 and
net-pf-5 module?  What is this?  I can't find any reference to it in
the kernel-source.

%root% date ; ifconfig lo 127.0.0.1
Wed Jun  4 12:49:12 CDT 1997

[snippet of /var/log/daemon]
Jun  4 12:49:12 servis modprobe: can't locate module net-pf-4
Jun  4 12:49:12 servis modprobe: can't locate module net-pf-5

This must be the root of the problem!  Any pointers.

Sorry for the length of this but I am trying to give as much info as
possible up front.

Thanks,

Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis










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


lpr: unable to get official name for local machine

1997-06-03 Thread Brian K Servis
Help!

Ever since I upgrade to frozen(May 25) I am having all kinds of problems
with name resolution.  Lpr is one of them, when lpd starts I get the
following repeated 5 times in messages:

Jun  3 13:35:39 widget-servis lpd[374]: unable to get official name for local 
machine widget-servis

I connect to my isp via dialup and us slirp to emulate ppp so I gave my 
machine a bogus name of widget-servis.

I didn't have any problems before with 1.2. Other problems include ppp, ping,
emacs, etc.  Basically anything that trys to do a name resolve when starting
or uses a name resolve.  I didn't change any of my hostname, resolve.conf, 
hosts.* files during the upgrade.

Any pointers please!  I am stuck using minicom and zmodem to download 
things.  It must me something simple but I just can't find it.

Thanks,
Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis



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


nameserver problems after 1.3 upgrade! HELP

1997-05-30 Thread Brian K Servis
HELP,

Here is the problem.  I upgraded to frozen from uiarchive.uiuc.edu
over the weekend.  I am having all kinds of network type problems now.
Everything upgraded ok with no real problems that couldn't be fixed
with a second run of install in dselect.  I am running on a stand
alone machine at home.  I use diald to dial in to the university and
run slirp and emulate ppp on my host widget.ecn.purdue.edu.  So I
don't have a constant connection to the net or a real hostname.  Now
when diald starts pppd it just hangs and diald times out.  I can't
ping my own local machine at all it says host is unknown.  I can't
print anything because lpr gives this error, lpr: unable to get
official name for local machine.  Ping of my local machine returns a
host unknown.  Emacs takes forever to load because it is trying to
find the hostname. However hostname returns my fake machine name just
fine. dnsdomainname fails with dnsdomainname: Host name lookup
failure.  When named starts it gives these errors in
/var/log/messages:

May 30 11:12:50 widget-servis named[12619]: starting.  named 4.9.5-REL Mon Apr 
28 20:39:58 MET DST 1997 [EMAIL PROTECTED]:/debian/bind/bind-4.9.5/named
May 30 11:12:50 widget-servis named[12619]: cache zone  loaded (serial 0)
May 30 11:12:50 widget-servis named[12619]: primary zone localhost loaded 
(serial 1)
May 30 11:12:50 widget-servis named[12619]: primary zone 127.in-addr.arpa 
loaded (serial 1)
May 30 11:12:50 widget-servis named[12620]: Ready to answer queries.
May 30 11:12:50 widget-servis named[12620]: sysquery: sendto([198.41.0.4].53): 
Network is unreachable

I didn't change any of the conf files for network related
programs... What is going on?

Here are some of the files which might be of help.

hostname:
widget-servis

resolv.conf:
domain ecn.purdue.edu
search widget.ecn.purdue.edu widget.ecn widget
nameserver 128.46.131.20
nameserver 128.46.131.20
nameserver 128.46.131.20

hosts:(harbor is the main dns at ecn.purdue.edu)
127.0.0.1   widget-servis.ecn.purdue.edu widget-servis 
loopback localhost
128.46.129.76   harbor.ecn.purdue.edu harbor harbor.ecn
[other common hosts snipped] 

Like I said this all worked just fine for 1.2 now I am having all
kinds of trouble after upgrade to 1.3. 

Any and all help needed.

Thanks,
Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


fdisk having trouble with active linux drive

1997-05-22 Thread Brian K Servis

I was considering changing my Linux partition size to give my Win95
some more room to put it's fat programs on.  When I ran fdisk on
/dev/hdb which is my linux only drive I got the following errors.

%root%fdisk /dev/hdb
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Command (m for help): p

Disk /dev/hdb: 64 heads, 63 sectors, 621 cylinders
Units = cylinders of 4032 * 512 bytes

   Device Boot   BeginStart  End   Blocks   Id  System
/dev/hdb1   25   25  621  1203552   83  Linux native
/dev/hdb211   2448352+   5  Extended
/dev/hdb511   2448321   82  Linux swap


I don't recall why the swap is setup the way it is, it has been a year
or so since I changed it.  

When I try and run cfdisk I get the following error.

%root%cfdisk /dev/hdb
FATAL ERROR: Bad logical partition
   Press any key to exit fdisk

/dev/hdb is my linux partition that I boot into with loadlin.  I did
have some bad blocks a month or so ago but those have been tagged.
Should I try and reconfigure the swap partion?  I am a little confused
on what is wrong here.

Thanks for any advice,
Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


mailcap 'view' type conflicts

1997-05-09 Thread Brian K Servis

I think the maintainers of xv, xanim, imagemagick, etc. need to agree
on the description fields that go in the mailcap file.  Whenever I
upgrade or install one of the packages they are always wanting to
change the description from what one of the other packages set it
to. Example, xanim suggests

This package recommends changing the value of 'description'
in the 'mailcap' file.

  old:  JPEG Image
  new:  JPEG Graphic Images

This may be fixed in bo, I don't know.  

Brian
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


Re: elm.rc Where is it?

1997-05-02 Thread Brian K Servis
Jason Costomiris writes:

On Thu, 1 May 1997, Bjoern Starke wrote:

 i want to set up elm, but nowhere i can find the configuraton file
 elm.rc. I am using a Debian 1.2.6 and elm is at Version 2.4. I have
 searched after it, but i can't find it...Has the name been changed?

According to the output of dpkg --listfiles elm, you shouldn't have one.

I'm sure you can make one, but it's an optional file.  Check /usr/doc/elm
for further info...  Of course, you could make one

When you first run elm(you have never ever run it before) it creates a
.elm directory and put its files in there the rc file is
elmrc(i.e. ~/.elm/elmrc). At first it is just a copy of the system
default with lots of comments.

Hope this helps.

Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


Re: INSTALL:dual-boot

1997-04-27 Thread Brian K Servis
Pavel Galynin writes:

Hello,

Well, I looked at it already, but it caused my question:

How to dual-boot reliably?

Paul


Bob Nielsen wrote:
 
 Get the LILO+Win95 mini-HOWTO.



I personally like the LOADLIN option better.  For me it seems safer
than modifying the MBR.  I just have a menu come up in my autoexec.bat
file that asks what system to boot using the choice command.

Brian
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


Re: EQL

1997-04-22 Thread Brian K Servis
Steve Hsieh writes:


Who has EQL running on their system?  To those that do -- do you still
have to run eql_enslave as written in the eql readme file in the kernel?
The info and web sites listed there are out of date.


The short answer: yes 

Brian 
-- 
Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


DEITY TEAM

1997-04-16 Thread Brian K Servis

How about the ability to search(currenlty using /) all fields not just
the package name. It is sometimes helpfull if you are not sure what a
package is called to search the discription of the package.

Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


kernel panic with checksecurity

1997-03-21 Thread Brian K Servis

I was running the checksecurity program by hand after adding the types 
vfat and supermount(not really needed) to the list of types to skip in the
checksecurity.conf file and I got a kernel-panic.

Message from [EMAIL PROTECTED] at Fri Mar 21 08:21:20 1997 ...
widget-servis kernel: Kernel panic: EXT2-fs panic (device 03:41):
ext2_read_inode: unable to read i-node block - inode=288873, block=1155094

The current ps shows a find on / which is the only entry to survive
the parsing of the mount command in the checksecurity script.  I tried
killing the find command with no luck, even kill -9 didn't work.  The
load avg. climbed up to 3 and held steady.

Time to reboot? What happened?

Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


Re: kernel panic with checksecurity

1997-03-21 Thread Brian K Servis
Philippe Troin writes:


On Fri, 21 Mar 1997 08:40:01 EST Brian K Servis ([EMAIL PROTECTED]
) wrote:

 I was running the checksecurity program by hand after adding the types 
 vfat and supermount(not really needed) to the list of types to skip in the
 checksecurity.conf file and I got a kernel-panic.

You probably have found a bad sector and/or your partition table is 
broken. THe only thing you can do is to try a badblocks and add the 
badblock list to the ext2 fs. Or reformat and reinstall :-(


Well, I couldn't even do a shutdown so I closed by eyes and crossed my
fingers and hit the reset button.  Fsck came up with a bunch of errors
and stale inodes, etc.  I ended up loosing a few files most of which I
restored.  All seems to be ok now.

The funny thing is that the checksecurity script had just run and I
noticed it was checking drives I didn't need checked so I modified the
checksecurity.conf file and ran it by hand to see if I had fixed it.

If anyone wants to be a saint and send me copies of any of the
following I would appreciate it.  I don't want to download the whole
packages over my modem just for a few files.

/var/lib/dpkg/info/fvwm2.conffiles
/usr/doc/apache/examples/extensions/README
/usr/doc/netstd/bootpc
/usr/doc/CGI-modules/examples

I also lost 

/usr/X11R6/lib/X11/xkb/compat/[basic,mousekeys,default,iso9995,japan,misc,norepeat,pc]

but I downloaded xbase and extracted them because I needed X and these
prevented it from working.
  

Thanks,

Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


Re: Compiling gs 3.33 for HP660C printer

1997-03-13 Thread Brian K Servis
Chris Brown writes:


I was looking at the man pages HOWTOs etc. for GostScript with 
the intent of using it with my HP 660C printer.  It looks like the 
standard distribution esecutable won't work for me so I got the 
source and was going to compile it.  It looks like the best option 
for monocrome wonld be to set it up with the laserjet driver however 
I'm not really sure if there is a good option for color.  There are 
probably other drivers that I would find usefull that I'm not 
familiar with or not thinking of now.  Any suggestions would be 
greatly appriciated.



I suggest using the Alladin Ghostscript in non-free.  It has some new
drivers for the Deskjet family of printers.  The deb package has them
included.  The available drivers are cdjmono, cdeskjet, cdjcolor,
cdj500, cdj550, deskjet, djet500, djet500c.  I uset the cdj550 for
mono and color printing by changing the -dBitsPerPixel option of
ghostview. 

You might want to look into using apsfilter or magicfilter to setup
different printer names for color, b/w, etc.



Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


X crashes when switching from VC

1997-03-12 Thread Brian K Servis
Hi all,

Occasionally when I switch from a VC back to X(alt-f7) and try and use
the mouse immediately X crashes and exits.  If I don't use the mouse
for a couple of seconds it does not crash.  I am running xdm but have
had it happen when just starting X using xinit.  I am running gpm on
the VC's.  The error message when it crashes is:

Fatal server error:
 Cannot open mouse (Device or resource busy)

 xdm error (pid 226): Server for display :0 terminated unexpectedly: 1

Gpm is started with the distributed init.d/gpm script and my /etc/gpm.conf
file has the following lines in it.

device=/dev/psaux
responsiveness=
type=ps2
append=


The pointer section of XF86Config is:

Section Pointer
ProtocolPS/2
Device  /dev/mouse
Emulate3Buttons
Emulate3Timeout100
EndSection

/dev/mouse is a soft link to /dev/psaux
0 lrwxrwxrwx   1 root root5 Jan 11 16:54 mouse - psaux

My graphics card is a Diamond Stealth 64 with a S3 Trio64 chip and 2M
Dram running in 8bit 1280x1024 mode(which by the way I can't even get
Win95 to do!).


I know that if I don't use the mouse right away it won't crash but I
don't think that should be the solution. Any helpful hints ideas on
what is going on?

Thanks,

Brian Servis

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


libc5_5.4.14-1?

1997-01-16 Thread Brian K Servis

Were can I find libc5_5.4.14-1?  Several apps in 1.2.2 have
dependencies on it an only libc5_5.4.13-1 seems to be available.
Is this a bug?

Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


rsh over ppp via slirp

1996-12-06 Thread Brian K Servis

I am having trouble getting an rsh to run over a dial in ppp
connection using slirp.  I have had no troubles with any other
networking programs.  If I do an rsh machine where machine is my
provider then it does an rlogin as expected.  If I do an 
rsh machine command the command never gets executed and the rsh
never returns anything, it just hangs at the prompt.  I can kill it
with a ^C just fine.  I tried watching the process on the machine
with a second login session and nothing ever shows up.  Does rsh use
some ports or something that are not getting redirected correctly with
the slirp emulation?  I looked in /etc/services and didn't find any
reference to rsh.  I am doing this because I want to run xbiff from
machine and display on my Linux box.  I can run xbiff by hand from
machine and have it display on my machine just fine.  Any hints.

Thanks,

Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis


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


Deselect issues(was R: Is `.deb' still better than `.rpm'?)

1996-11-15 Thread Brian K Servis
Paul Christenson writes:

On Wed, 13 Nov 1996, Mark Carroll wrote:

My only complaint is that it autoinstalls updated packages.  There have
been a number of times that I wanted to grab one new package via ftp
install, and came up with 10 megs of updated packages.  (Not bad at work,
but can be annoying on a 28.8 connection.)


Paul

   | This is OFFICIAL *WRITTEN* notification that I want to be *REMOVED* |
   |  from *ALL* of your mailing lists.  *EVERY* message sent from this  |
   | account has had this request posted. ALL UNSOLICITED ADVERTISEMENTS |
   | SENT TO THIS ACCOUNT ARE IN VIOLATION OF FEDERAL (U.S.) LAW.|


Here, here...I second this.  I know you can confirm what to get but
maybe there should be single question to overide this default behavior
or something.  My $.02.

Brian 

Mechanical Engineering [EMAIL PROTECTED]
Purdue University   http://widget.ecn.purdue.edu/~servis

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


/dev/cua1 - modem problems - HELP!

1996-10-06 Thread Brian K Servis
Oh wise ones,

I am having problems with my modem.  The modem is a PnP modem so I
have to initialize it with a dos PnP driver and then use loadlin to
boot. This is the time line and scenarios:

1)  Had 0.93 w/ 1.2.13 minicom/pppd/chat all worked great, ppp/slhc as
modules. Modem is /dev/cua1 and is initialized by setserial at irq3.

2)  Upgraded to 1.1 but needed 1.2.13 for a non-debian package. So I
got the a.out gcc and libs and made a new 1.2.13 kernel.
Slhc would not load saying it couldn't find kernel_version(a
variable defined in slhc.c) hence pppd wouldn't work, minicom
worked. I tried Pppd/slhc as both modules and built in. With the 
2.0.0 kernel ppp/slhc would load as modules or could be built in
but when pppd was started it said the kernel did not support PPP! 
Minicom worked. I had xringd in rc2.d which failed on the 1.2.13
system but didn't interfere with the 2.0.0 system when using minicom.

3)  Got a new version of the non-debian package that worked on 2.0.x
kernels. Got the latest kernel-source package from debian, 2.0.6. 
Made new kernel with ppp/slhc as modules. Same result as #2. Tried
ppp/slhc built in, same result as #2.

4)  Decided to try latest kernel 2.0.20.  Built the new kernel with
ppp/slhc as modules. Now when I tried minicom it said that
that /dev/cua1 was busy!? I stopped xringd and minicom loaded but
would not dial out.  When I exit minicom the modem flashes,
ie. off hook for a split second.  Tried pppd and it loaded but
chat did the same thing with the modem, wouldn't dial out but when
it timed out on failure the modem flashed.  I removed xringd from
rc2.d with no luck.

5)  I decided to boot with earlier kernels that I still had, all are
now doing the same thing as in #4!!  So I figured that
some how /dev/cua1 got hosed so I did a MAKEDEV on ttyS1 and that 
did not fix it.

HELP!  The modem works fine under Win95 although it says it is COM3 at
IRQ 11.  I can't even dial out with minicom no.  Should I reinstall
the base package?  How can a kernel hose the com port or other devices
which it only uses and doesn't install?  I am really desperate here!!

Brian Servis
[EMAIL PROTECTED]
http://widget.ecn.purdue.edu/~servis

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


ppp/slhc won't load on 1.2.13 kernel under Debian 1.1

1996-09-25 Thread Brian K Servis
Hi all,

I have to run the 1.2.13 kernel for MATLAB.  I have compiled a new
1.2.13 kernel and modules using all the a.out gcc and libs, no
problems.  In /lib/modules I have separate directories for 1.2.13 and
2.0.0 with all the subdirectories with all the modules in them.  But
when I try to load the slhc module it complains that it can't get the
kernel version and does not load.  Hence ppp fails because of the
dependency on slhc.  I really need ppp to work under 1.2.13.  Any
pointers?  The modules.dep looks fine.  Am I missing a lib?  Help!

Thanks,

Brian Servis
[EMAIL PROTECTED]



anybody seen this?

1996-08-26 Thread Brian K Servis
Just thought I would start here to see if I can find a solution.  I
have a Micron PCI Pentium-90 PNP system with the EIDE controllers on
the mother board.  On the primary controller I have two 1.2G Western
Digital HD's.  The master is partitioned into 2 drives all for
Win95. The slave is partitioned into 2 drives for Debian, swap and
everything else(it is a home machine).  I have a EIDE CD-ROM on the
secondary controller.  Here is the situation/problem.  If I am in
Debian and then warm boot into Win95, Win95 forgets about my CD-ROM
drive.  I have to cold boot the machine to get it back.  I have it set
as G: just in case Win95 is trying to assign the linux partitions, it
knows the second drive is there.  I am using  LILO to boot manage and
have Win95 as the default(other non-linux family members use it).

I think this is kind of a catch 22 situation.  The Linux folks will
tell me to look at the Win95 side of it and the Win95 folks will tell
me to look at the Linux side of it.

Any pointers?

Thanks

Brian Servis
Mechanical Engineering
Purdue University
[EMAIL PROTECTED]
http://www.ecn.purdue.edu/~servis



what happened to dpkg-ftp?

1996-05-16 Thread Brian K Servis

Does anybody know what happened to dpkg-ftp?  I can't find it
anywhere.  I have looked in all the directories on ftp.debian.org and
have searched the ls-lR file with no luck.  I am wanting to look into
doing an 1.1 upgrade over a ppp dial-up connection during the middle
of the night.  This brings up another question.  What happens if the
connection is dropped in the middle of the upgrade?  If I restart the
upgrade will it pick up were it left off?  

Thanks,

Brian Servis
Mechanical Engineering
Purdue University
[EMAIL PROTECTED]
http://www.ecn.purdue.edu/~servis


various boot errors and module problems!

1996-05-01 Thread Brian K Servis
Hi,

I could really use someones help.

When booting I get the following errors when calculating dependencies.

*** Unresolved symbols in module /lib/modules/1.2.13/net/3c501.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/3c509.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/8390.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/apricot.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/arcnet.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/bsd_comp.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/de4x5.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/de600.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/de620.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/depca.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/dummy.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/eexpress.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/ewrk3.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/plip.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/ppp.o
*** Unresolved symbols in module /lib/modules/1.2.13/net/slip.o

Then when the network is initiated I get

socket: Invalid argument
socket: Invalid argument

This is from the network script in /etc/init.d.  I have not touched it 
since install.  The two command in the script are:

ifconfig lo 127.0.0.1
route add 127.0.0.1

Then after entering runlevel 2 I get the following error

starting /sbin/syslogd
starting /sbin/klogd
  syslogd: syslog: Unknown protocol, suspending inet service: Invalid argument

The only thing I have edited in the /etc/syslogd.conf file is to comment the
3 lines for the news.* log files, and the above command was happening before
I did that.

Then once booted if I try and load the PPP module using modprobe ppp
I get the following errors:

tty_register_ldisc: wrong version
dev_close: wrong version
slhc_free: wrong version
slhc_init: wrong version
slhc_toss: wrong version
alloc_skb: wrong version
netif_rx: wrong version
slhc_uncompress: wrong version
slhc_remember: wrong version
kill_fasync: wrong version
n_tty_ioctl: wrong version
slhc_compress: wrong version
dev_kfree_skb: wrong version
register_netdev: wrong version
unregister_netdev: wrong version
Failed to load module! The symbols from kernel 1.2.13 don't match 1.2.13

This all started after I recompiled the 1.2.13 kernel to set it up for
my tastes.  After make zImage and modifing /etc/lilo.conf and running
lilo, I rebooted and did make modules then make modules_install.  Does
anything look familiar?  If you need more info please ask and I will
get you what you need. I am running my linux box at home with no
real network connection but I am wanting to connect to a dial in
account running slirp.  I compiled in network support but no drivers
for any protocols, just load a module when I want to connect. 

Thanks.

Brian Servis
Mechanical Engineering
Purdue University
[EMAIL PROTECTED]
http://widget.ecn.purdue.edu/~servis