Re: X color depth

2000-05-08 Thread Brian J. Stults
Umum Wijoyo wrote:
 
 Hello...
 
 How can I set my X color depth to be more than 8 bpp (say... like 16 or
 24)?
 
You can also specify color depth when starting X with something like
startx -- -bpp 24.  You could then create an alias.  Hard-coding it in
XF86Config, as suggested previously, is probably best, though.

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


web-based data entry

2000-05-05 Thread Brian J. Stults
I work on a project funded by a grant from the National Science
Foundation.  The bulk of our work entails collecting historical census
data for New York and Chicago and entering it into a database.  Until
now, we've given our workers floppy disks with simple Excel or
comma-delimited databases on them for entering the data.  I think it
would be much more productive, and easier to manage, if we had them
enter this data over the internet.  However, I don't know what type of
programs are available for this kind of task.  I suspect MySQL may be
the way to go, but I'm not sure.  Could anyone give suggestions as to
where I should start?  I would love to be able to keep logs of people's
time spent in the database application, and to keep track of what
records they entered, but I would also be happy with a simple
application that only has data entry capabilities.  Given the skill
level of our workers, a web browser interface would be most desirable.

Thanks.

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


segfaults in window managers - please help

2000-05-01 Thread Brian J. Stults
I have been unable to run any window manager in X, including sawmill,
enlightenment, twm, wm2, as well as gnome panel.  However, other apps
work okay like xterm and netscape.  I did an strace of several of these
apps, and it seems that they all segfault in the same area.  Here is
some of the output from wm2:

read(3, \1\370\7\0\0\0\0\0\312\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0..., 32)
= 32
rt_sigaction(SIGTERM, {0x8050b30, [], 0}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x8050b30, [], 0}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x8050b30, [], 0}, NULL, 8) = 0
write(3, \20\0\4\0\10\0\0\0WM_STATE, 16) = 16
read(3, \1\370\10\0\0\0\0\0]\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0..., 32)
= 32
write(3, \20\0\6\0\17\0\0\0WM_CHANGE_STATE\0, 24) = 24
read(3, \1\370\t\0\0\0\0\0003\1\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0...,
32) = 32
write(3, \20\0\5\0\f\0\0\0WM_PROTOCOLS, 20) = 20
read(3, \1\370\n\0\0\0\0\0\345\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0..., 32)
= 32
write(3, \20\0\6\0\20\0\0\0WM_DELETE_WINDOW, 24) = 24
read(3, \1\370\v\0\0\0\0\0\320\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0..., 32)
= 32
write(3, \20\0\6\0\r\0\0\0WM_TAKE_FOCUSDOW, 24) = 24
read(3, \1\370\f\0\0\0\0\0004\1\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0...,
32) = 32
write(3, \20\0\7\0\23\0\0\0WM_COLORMAP_WINDOWS\0, 28) = 28
read(3, \1\370\r\0\0\0\0\0005\1\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0...,
32) = 32
write(3, \20\0\5\0\f\0\0\0_WM2_RUNNING, 20) = 20
read(3, \1\370\16\0\0\0\0\0006\1\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0..., 32)
= 32
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Does this mean anyghint to anyone?  I've also attached the full log of
the strace if you need more information.  It's not very big.  Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452execve(/usr/openwin/bin/wm2, [wm2], [/* 30 vars */]) = 0
brk(0)  = 0x805618c
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=20268, ...}) = 0
old_mmap(NULL, 20268, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)= 0
open(/usr/X11R6/lib/libXext.so.6, O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\000..., 4096) = 
4096
old_mmap(NULL, 46528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
mprotect(0x40023000, 5568, PROT_NONE)   = 0
old_mmap(0x40023000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x9000) = 0x40023000
close(3)= 0
open(/usr/X11R6/lib/libX11.so.6, O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=678236, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\A\1\000..., 4096) = 
4096
old_mmap(NULL, 656136, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40025000
mprotect(0x400bf000, 25352, PROT_NONE)  = 0
old_mmap(0x400bf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x99000) = 0x400bf000
old_mmap(0x400c5000, 776, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400c5000
close(3)= 0
open(/usr/X11R6/lib/libXt.so.6, O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=293056, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\276..., 4096) = 
4096
old_mmap(NULL, 293808, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400c6000
mprotect(0x4010a000, 15280, PROT_NONE)  = 0
old_mmap(0x4010a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x43000) = 0x4010a000
close(3)= 0
open(/usr/X11R6/lib/libXmu.so.6, O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=71960, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PC\0\000..., 4096) = 
4096
old_mmap(NULL, 72504, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4010e000
mprotect(0x4011e000, 6968, PROT_NONE)   = 0
old_mmap(0x4011e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0xf000) = 0x4011e000
close(3)= 0
open(/usr/X11R6/lib/libSM.so.6, O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=32000, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\\\0..., 4096) = 
4096
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4012
old_mmap(NULL, 34232, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40121000
mprotect(0x40128000, 5560, PROT_NONE)   = 0
old_mmap(0x40128000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x6000) = 0x40128000
close(3)= 0
open(/usr/X11R6/lib/libICE.so.6, O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=78288, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3404\0..., 4096) = 
4096
old_mmap(NULL, 87024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4012a000
mprotect(0x4013d000, 9200, PROT_NONE)   = 0
old_mmap(0x4013d000, 4096, PROT_READ

Re: XFree86 4

2000-04-25 Thread Brian J. Stults
Paul Kallstrom wrote:
 
 --
 --
 I just saw the article on Slashdot about nvidia's beta drivers. Unfortunately,
 they are for XF4. Are there any experimental debs anywhere? I certainly would
 LOVE to have my TNT2 Ultra actually WORK.
 

I don't know if there are debs (but I would also be interested to find
that out), but I downloaded the files from xfree86.org and it installed
on my (woody) system without a hitch.  It provides better support for my
ATI Rage 128.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


Re: XFree86 4

2000-04-25 Thread Brian J. Stults
Robert L. Harris wrote:
 
 Diff between woody and potato?  Anything major?  Summary?
 

I think they're virtually the same right now.  There have been a few
minor upgrades lately to packages in woody that are probably not in
potato, but nothing major.  It's very unlikely that there would be any
difference that would affect the installation of Xfree86-4.0.

Good luck.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


bash-related (?) segfault

2000-04-24 Thread Brian J. Stults
My computer is regularly segfaulting.  It runs fine for a while, but
then when I try to execute an xterm, or netscape, or ncftp (for example)
I get segfaults.  I shutdown X, and try to reboot (using ctrl-alt-del),
but that won't work either.   I try to su to root to execute reboot
directly, but that either segfaults or gives me an error message of
something like error with dynamic linker.  I'll write down that
specific error message the next time it happens.  Finally, I just turn
it off and on again, and then it's fine for a while.  This started
happening about 2 weeks ago.  For a long time before that everything was
very stable.  I haven't made any hardware changes, and I was using
unstable for months before that, so it's not due to a distribution
upgrade.

I can't think of anything specific that I'm doing every time that it
does this.  Sometimes I'll go home for the night when everything is
working fine, and when I come back the next morning I have this
problem.  Other times, it happens while I'm working.  I realize I
haven't given much information.  If someone can suggest a solution, or
give me some tips for how to debug this, I'd really appreciate it.  I'm
running woody with kernel 2.2.14.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


Re: bash-related (?) segfault

2000-04-24 Thread Brian J. Stults
Oswald Buddenhagen wrote:
 
  My computer is regularly segfaulting.
 as you say, that really nothing has changed, it
 sounds like a hardware (RAM) failure. :-(
 run some memtest. we had a thread about that some days ago.
 
 --
 Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
 --
 Linux - the last service pack you'll ever need.

My first suspicion, too, was RAM failure, so I ran memtest86 last week
and (hours later) everything checked out okay.

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


post-delivery mail filtering

2000-04-21 Thread Brian J. Stults
I would like to be able to take an existing mail spool file (e.g.
/var/spool/mail/USER) and pass it to slocal for processing.  If I simply
do this...

cat MAILFILE | /usr/lib/mh/slocal -user USER

...all the messages get interpreted as one big message (no surprise
there, as slocal is designed to be run from .forward).  So, is there a
way to split the mail file into individual messages and filter them
through slocal?  Or perhaps there's a better tool for filtering in this
manner.


Thanks.

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


Re: connect to Internet via cable modem

2000-04-20 Thread Brian J. Stults
Matthew Quigley wrote:
 
 Any thought on how I can do this?  Any packages out there to do this?
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

Try the Cable-Modem mini HOWTO.

http://www.oswg.org/oswg-nightly/Cable-Modem.html

You'll probably need a dhcp client like dhcpcd.  I use rr in Albany, NY
and it was pretty easy to set up.  Here are some other links to check
out:

http://www.fammed.ohio-state.edu/shane/rr/c2c/
http://www.hoku.net/projects/rrhowto/RoadRunner-Hawaii-HOWTO.html
http://people.qualcomm.com/karn/rr/

Or, in any search engine type something like this:

+roadrunner +linux +kansas

Beware, rr is not the same everywhere.  For example, in Albany we do not
have to login to rr but I think some places still do.

Good luck.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


Re: netscape6 anyone?

2000-04-06 Thread Brian J. Stults
I have it running on woody.  I also started it from within the directory
in which I unpacked it.  Symbolic links won't work, you have to run it
from that directory.  I didn't have to change anything at all, but I had
been running M14 of mozilla, and I assume it requires mostly the same
libraries.

Christian Hammers wrote:

 Hello

 Did anybody get the new netscape6-beta working on a Debian
 potato/woody system?
 (here it silently ends without giving more information)

 ...
 WEBSHELL+ = 1
  I am inside the initialize
   Hey : You are in QFA Startup
   (QFA)Talkback loaded Ok.
   WEBSHELL+ = 2
   assuming dd is off for Navigator
   nsCollationUnix::Initialize mLocale = de_DE
   nsCollationUnix::Initialize mCharset = ISO-8859-1
   Inside netscape.xul overlay...

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


fips won't move hidden

2000-03-08 Thread Brian J. Stults
I'm having trouble repartitioning a drive with a single FAT32 partition
with FIPS.  I defragged, did a clean boot, and ran it, but it gives an
error that there are hidden or read-only files at the end of the
partition.  I tried disabling the swap file (which I probably should
have done anyway.)  That didn't help.  Then I did dir c:\ /s /a:h to
find all the hidden files and change them.  That took forever and still
didn't work.  I don't want to shell out the money for Partition Magic. 
Does anyone have any suggestions?

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


problem mounting NT share

2000-03-02 Thread Brian J. Stults
My university just switched from Novell servers to NT.  There are two
servers containing discs to which I have access.  One of them gave me no
trouble at all.  I used this command to mount the shared drive:

smbmount //server1/shared /mountpoint.  

However, I could not get the drive on the other server mounted.  My
username and password are identical for both, and I can mount both
easily from Windows98.  The sysadmin knows nothing of linux, but did
suggest one possible difference between the two servers that might be
causing the problem.  He said the first server, which I don't have
trouble with, is a domain hosted server, or something like that. 
While the one that I am having trouble with is a stand alone server,
or something like that.  Sorry, but I know absolutely nothing about
Windows NT.  He also suggested that I explicitly pass my username and
that I use GROUPNAME/USERNAME as my username rather then simply
USERNAME.  That didn't work, but I thought it might give you a better
idea of what he thinks the problem is.

Any ideas?  Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


Re: problem mounting NT share

2000-03-02 Thread Brian J. Stults
I've attached the debugging information...  Not sure what to include, so
I'm including everything.  

s2.txt is debugging for the share that I can mount, and s3.txt is
the debugging info for the share I cannot mount.  The response I get is:

session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

What seems strange to me is that from Windows98 both shares are mount
without problems using the same username and password.

Thanks again.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452



aphro wrote:
 
 turn up debugging in samba and include it in your post it makes it VERY
 difficult to debug with just it wont work in the email.
 
 nate
 
 On Thu, 2 Mar 2000, Brian J. Stults wrote:
 
 bs7452 My university just switched from Novell servers to NT.  There are two
 bs7452 servers containing discs to which I have access.  One of them gave me 
 no
 bs7452 trouble at all.  I used this command to mount the shared drive:
 bs7452 
 bs7452 smbmount //server1/shared /mountpoint.
 bs7452 
 bs7452 However, I could not get the drive on the other server mounted.  My
 bs7452 username and password are identical for both, and I can mount both
 bs7452 easily from Windows98.  The sysadmin knows nothing of linux, but did
 bs7452 suggest one possible difference between the two servers that might be
 bs7452 causing the problem.  He said the first server, which I don't have
 bs7452 trouble with, is a domain hosted server, or something like that.
 bs7452 While the one that I am having trouble with is a stand alone server,
 bs7452 or something like that.  Sorry, but I know absolutely nothing about
 bs7452 Windows NT.  He also suggested that I explicitly pass my username and
 bs7452 that I use GROUPNAME/USERNAME as my username rather then simply
 bs7452 USERNAME.  That didn't work, but I thought it might give you a better
 bs7452 idea of what he thinks the problem is.
 bs7452 
 bs7452 Any ideas?  Thanks.mount.smbfs started (version 2.0.6)
Initialising global parameters
params.c:pm_process() - Processing configuration file /etc/samba/smb.conf
Processing section [global]
doing parameter message command = /bin/sh -c '/usr/bin/linpopup %f %m %s; 
rm %s' 
doing parameter netbios name = ss3f129
doing parameter passwd program = /usr/bin/passwd
doing parameter workgroup = loganlab
doing parameter config file = /etc/samba/smb.conf
doing parameter printer = lp
doing parameter printing = bsd
doing parameter printcap name = /etc/printcap
doing parameter security = SERVER
doing parameter load printers = True
doing parameter hosts allow = 169.226.108.130 169.226.108.129 169.226.108.142 
169.226.108.98 169.226.108.92 169.226.108.147
doing parameter wins server = 169.226.25.32
doing parameter guest account = nobody
doing parameter log file = /var/log/samba-log.%m
doing parameter lock directory = /var/lock/samba
doing parameter encrypt passwords = yes
pm_process() returned Yes
load_client_codepage: loading codepage 850.
added interface ip=169.226.108.129 bcast=169.226.108.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name s2_casnet0x20
getlmhostsent: lmhost entry: 169.226.108.92 ss3f092 
getlmhostsent: lmhost entry: 169.226.108.98 ss3f098 
getlmhostsent: lmhost entry: 169.226.108.130 ss3f130 
getlmhostsent: lmhost entry: 169.226.108.129 ss3f129 
getlmhostsent: lmhost entry: 169.226.108.142 ss3f142 
resolve_hosts: Attempting host lookup for name s2_casnet0x20
resolve_wins: Attempting wins lookup for name s2_casnet0x20
bind succeeded on port 0
nmb packet from 169.226.25.32(137) header: id=9609 opcode=Query(0) response=No
header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=S2_CASNET20 q_type=32 q_class=1
Sending a packet of len 50 to (169.226.25.32) on port 137
Received a packet of len 62 from (169.226.25.32) port 137
nmb packet from 169.226.25.32(137) header: id=9609 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=S2_CASNET20 rr_type=32 rr_class=1 ttl=0
answers   0 char @.   hex 4000A9E21916
Got a positive name query response from 169.226.25.32 ( 169.226.25.22 )
Connecting to 169.226.25.22 at port 139
Sent session request
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
 session request ok
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3520
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=17 (0x11)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=67 (0x43)
smb_vwv[11

system requirements for SCSI

2000-01-27 Thread Brian J. Stults
I want to by a SCSI drive and controller for one of my older computers
so it can act as an ftp server.  My understanding is that a slower
computer can act as a decent server if you use SCSI since it doesn't
require much from the processor.  Is that right?  Also, are there any
minimum requirements?  The computer is a Gateway P166 with 32MB of EDO
ram.  It will boot from an IDE drive, but the files that will be
available from the server will all be on the SCSI drive.  Sorry this
isn't entirely Debian-related, but I use Debian and I want to install
Debian on this computer, too.  I'm thinking of buying a 9.1GB IBM
Ultrastar 18ES and an Adaptec 2940U2W U2W/S host adapter.  Thanks in
advance for any input. 
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


pronunciation of daemon

2000-01-25 Thread Brian J. Stults
Silly, but...  How do you pronounce daemon?  I thought it was
pronounced day-mun, but an online dictionary I checked said it had the
same pronunciation as demon.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452


when is swap allocated

2000-01-21 Thread Brian J. Stults
I was just wondering when/why swap space is used.  I rooted around a bit
in the various sources of documentation, but didn't find what I was
looking for.  The reason I ask is that swap is very rarely used on my
system.  Most of the time, the results of free look like this:

 total   used   free sharedbuffers
cached
Mem:128300 125204   3096  91920   2784 
61060
-/+ buffers/cache:  61360  66940
Swap:   273024   4344 268680


Maybe I should be glad that there is little need on my system for swap,
but I'm a little surprised and worried that something is not set
properly.


Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


recapture unallocated memory

2000-01-14 Thread Brian J. Stults
When I start StarOffice it sucks up a bunch of memory, no surprise. 
Then when I close it, memory usage does not go back down to the level it
was at before StarOffice started.  I assume this means that all the
memory is not being released back into the unallocated pool even though
it should be.  Is there a program that will take all that memory back
and free it?  I know there are countless win32 programs that do it, but
I haven't seen one for linux.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: Does any Linux Realplayer[TM] work under newest Potato?

2000-01-12 Thread Brian J. Stults
Christopher R. Barry wrote:
 
 I can't get any darn version of Realplayer working with Netscape. Is
 it known to be impossible with the newest Debian, or do any of you
 have it working?
 
 Thank you,
 Christopher
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

I've been using RealPlayer G2 (version 6.0.4.433) with potato and it's
been surprisingly stable.  I got it from
http://proforma.real.com/real/player/linuxplayer.html.  I got the one
for Linux 2.0/2.2, not the one for Red Hat which has been recommended
in the past.  Just make the binary executable and run it.  That will
take you through a simple installation program, and voila.


-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: Staroffice and gtop

2000-01-07 Thread Brian J. Stults
Yes, I've noticed the same.  When I do a ps aux, I get staroffice
using 236MB of memory.  It's certainly not true.  What I actually get is
7 instances of staroffice using 33.7MB each.  I've been assuming that
this really indicates it's using 33.7MB total.  That still means
staroffice is a hog, but at least it's more realistic.

-Brian

Aaron Solochek wrote:
 
 I was checking gtop today to see how much memory was going to various
 things, and staroffice was reported as using 500+ megs.  Now, I did just
 upgrade to 512mb of ram, but I have like 200megs of other things in
 memory, so this didn't make much sense.   Also, LCDProc (A program to
 display system info to a LCD) reports 300 and some megs free.  So, whats
 going on here?  I find it hard to believe that staroffice uses that much
 memory.  Anyone else see this behaviour?
 
 -Aaron Solochek
  [EMAIL PROTECTED]
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: man -k doesn't work

2000-01-05 Thread Brian J. Stults
David Teague wrote:
 
 You may have fixed the problem, and not recognize it.
 
 If you are getting 'nothing appropriate' that may be the correct
 answer. For example, on my system,
 
 elentari:~[1]man -k ls
 ls (1)   - list contents of directories
 mkls-lR (8)  - Make ls-lR files on FTP server for mirror use
 mktexlsr (1) - create ls-R databases
 texhash (1)  - create ls-R databases
 elentari:~[1]man -k xxx
 xxx: nothing appropriate.
 elentari:~[1]
 
 Try that and compare results.

Funny you should suggest using ls because that's what first comes to
my fingers when I want to test it.  Indeed, man -k ls results in,

ls: nothing appropriate.

It turns out mandb is failing.  When I run mandb as root I get this:

Processing manual pages under /usr/man...
Updating index cache for path `/usr/man'. Wait...mandb: can't create a
temporary filename: Permission denied

I don't know enough about how mandb works (even after reading the
manpage and documentation) to know why this is happening.  Any ideas?
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: man -k doesn't work

2000-01-05 Thread Brian J. Stults
Fabrizio Polacco wrote:
 
 On Tue, Jan 04, 2000 at 01:04:49PM -0500, Brian J. Stults wrote:
  Hi,
 
  When I type man -k [anything], I always get this result:
 
  [anything]: nothing appropriate
 
 and when you try   man [anything]   what do you get?

man [anything] works (for appropriate anythings).

 If you get a manpage then it is the db to be rebuilt (mandb -c  from
 root), if you get   No manual entry for [anything]   then [anything] is
 really not appropriate :-)

I tried mandb -c and got:

Processing manual pages under /usr/man...
Updating index cache for path `/usr/man'. Wait...mandb: can't create a
temporary filename: Permission denied

I don't know enough about mandb to interpret this correctly.  Anyone
know what file it is trying to create and where?

 It is always better to leave that env var unset, unless you have very
 specific stuff to add there.
 In any case, /usr/bin/man cannot go there!
 Use the command manpath to see if this setting is harming you; it should
 reply:
 /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/man
 

Thanks for the advice.  I don't remember when or why I added the manpath
env var, but I removed it now.  I do indeed get the above result from
manpath.  Thanks.  Still can't get man -k to work, though.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: man -k doesn't work

2000-01-05 Thread Brian J. Stults
Ethan Benson wrote:

 It turns out mandb is failing.  When I run mandb as root I get this:
 
 Processing manual pages under /usr/man...
 Updating index cache for path `/usr/man'. Wait...mandb: can't create a
 temporary filename: Permission denied
 
 I don't know enough about how mandb works (even after reading the
 manpage and documentation) to know why this is happening.  Any ideas?
 
 check permissions on /tmp mandb is suid man so it does not have root
 privileges, however one annoying thing i have found is it creates a
 temp file but for some reason it gets owned by root so when it goes
 to delete it it gets a operation not permitted (because /tmp has the
 sticky bit) it seems to work better if you use sudo -u man mandb
 instead shrug

That worked.  Thanks so much!  I have really been missing man -k.


-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


howto send message open xterm

2000-01-04 Thread Brian J. Stults
Can someone tell me how to send a message to any open xterm?  When I
used to receive my email from a Novell server, a broadcast message would
print to any open xterm when I received mail.  Now I would like to add
that function to my simple bash script local mail checker.  Can someone
suggest a simple way to do this (e.g. echo New mail arrived `date` 
???)?  

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


man -k doesn't work

2000-01-04 Thread Brian J. Stults
Hi,

When I type man -k [anything], I always get this result:

[anything]: nothing appropriate

It doesn't matter what I substitite for anything.  I have the
environment variable MANPATH set like this in .bash_profile:

MANPATH=/usr/bin/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man

Can someone suggest an answer?  Thanks!
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


sudden IPX problems

1999-12-30 Thread Brian J. Stults
Until a few days ago, I could mount local netware drives and print to
netware printers without any problems.  Now, I can't access the server. 
When I try slist I get this:

slist: Server not found (0x8847) in ncp_open

When I try ncpmount I get this (not surprisingly):

ncpmount: Cannot assign requested address when trying to find
[SERVERNAME]

I thought it might be a problem with the server, but if I boot my
machine into Window98 I am able to connect.  Any ideas?  I don't know
what to do.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


cannot make anything - Please Help

1999-12-28 Thread Brian J. Stults
When I try to make zImage, I get tons of errors like the ones listed at
the end of this message.  It happens with almost anything that I try to
make (glibc, gcc, etc.)  Any ideas?

Also possibly related, when I ./configure when trying to compile make,
I get this message:

checking argument types of select()... configure: error: can't determine
argument types

Thanks.

Error messages when doing make zImage for kernel 2.2.10 follow:

In file included from /usr/local/include/stdio.h:57,
 from conmakehash.c:17:
/usr/local/include/libio.h:333: parse error before `_IO_sgetn'
/usr/local/include/libio.h:333: parse error before `size_t'
/usr/local/include/libio.h:333: warning: data definition has no type or
storage class
In file included from conmakehash.c:17:
/usr/local/include/stdio.h:233: parse error before `size_t'
/usr/local/include/stdio.h:239: parse error before `size_t'
/usr/local/include/stdio.h:269: parse error before `size_t'
/usr/local/include/stdio.h:273: parse error before `size_t'
/usr/local/include/stdio.h:277: parse error before `size_t'
/usr/local/include/stdio.h:442: parse error before `fread'
/usr/local/include/stdio.h:442: parse error before `size_t'
/usr/local/include/stdio.h:443: warning: data definition has no type or
storage class
And so on
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


kernel config problems

1999-12-27 Thread Brian J. Stults
I am updating my kernel (2.2.10 to 2.2.13) and when I type make xconfig,
I get the following errors.  Can anyone help me?  Thanks.


rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o
tkparse.c
In file included from /usr/local/include/stdio.h:57,
 from tkparse.c:37:
/usr/local/include/libio.h:333: parse error before `_IO_sgetn'
/usr/local/include/libio.h:333: parse error before `size_t'
/usr/local/include/libio.h:333: warning: data definition has no type or
storage class
In file included from tkparse.c:37:
/usr/local/include/stdio.h:233: parse error before `size_t'
/usr/local/include/stdio.h:239: parse error before `size_t'
/usr/local/include/stdio.h:269: parse error before `size_t'
/usr/local/include/stdio.h:273: parse error before `size_t'
/usr/local/include/stdio.h:277: parse error before `size_t'
/usr/local/include/stdio.h:442: parse error before `fread'
/usr/local/include/stdio.h:442: parse error before `size_t'
/usr/local/include/stdio.h:443: warning: data definition has no type or
storage class
/usr/local/include/stdio.h:445: parse error before `fwrite'
/usr/local/include/stdio.h:445: parse error before `size_t'
/usr/local/include/stdio.h:446: warning: data definition has no type or
storage class
/usr/local/include/stdio.h:450: parse error before `fread_unlocked'
/usr/local/include/stdio.h:450: parse error before `size_t'
/usr/local/include/stdio.h:451: warning: data definition has no type or
storage class
/usr/local/include/stdio.h:452: parse error before `fwrite_unlocked'
/usr/local/include/stdio.h:453: parse error before `size_t'
/usr/local/include/stdio.h:454: warning: data definition has no type or
storage class
In file included from tkparse.c:38:
/usr/local/include/stdlib.h:80: parse error before
`__ctype_get_mb_cur_max'
/usr/local/include/stdlib.h:80: warning: data definition has no type or
storage class
In file included from tkparse.c:38:
/usr/local/include/stdlib.h:356: parse error before `size_t'
/usr/local/include/stdlib.h:386: parse error before `size_t'
/usr/local/include/stdlib.h:474: parse error before `__size'
/usr/local/include/stdlib.h:476: parse error before `__nmemb'
/usr/local/include/stdlib.h:482: parse error before `size_t'
In file included from /usr/local/include/stdlib.h:492,
 from tkparse.c:38:
/usr/local/include/alloca.h:33: parse error before `__size'
In file included from tkparse.c:38:
/usr/local/include/stdlib.h:497: parse error before `__size'
/usr/local/include/stdlib.h:613: parse error before `size_t'
/usr/local/include/stdlib.h:618: parse error before `size_t'
/usr/local/include/stdlib.h:678: parse error before `size_t'
/usr/local/include/stdlib.h:681: parse error before `size_t'
/usr/local/include/stdlib.h:685: parse error before `size_t'
/usr/local/include/stdlib.h:688: parse error before `size_t'
/usr/local/include/stdlib.h:695: parse error before `size_t'
/usr/local/include/stdlib.h:698: parse error before `*'
/usr/local/include/stdlib.h:702: parse error before `wchar_t'
/usr/local/include/stdlib.h:706: parse error before `mbstowcs'
/usr/local/include/stdlib.h:706: parse error before `*'
/usr/local/include/stdlib.h:707: warning: data definition has no type or
storage class
/usr/local/include/stdlib.h:709: parse error before `wcstombs'
/usr/local/include/stdlib.h:710: parse error before `*'
/usr/local/include/stdlib.h:710: warning: data definition has no type or
storage class
In file included from tkparse.c:39:
/usr/local/include/string.h:5: parse error before `size_t'
/usr/local/include/string.h:7: parse error before `__strnlen'
/usr/local/include/string.h:7: parse error before `size_t'
/usr/local/include/string.h:7: warning: data definition has no type or
storage class
/usr/local/include/string.h:14: parse error before `size_t'
/usr/local/include/string.h:16: parse error before `size_t'
tkparse.c: In function `tokenize_line':
tkparse.c:306: warning: implicit declaration of function `strncmp'
tkparse.c:464: warning: implicit declaration of function `strdup'
tkparse.c:464: warning: assignment makes pointer from integer without a
cast
tkparse.c:466: warning: assignment makes pointer from integer without a
cast
tkparse.c:468: warning: assignment makes pointer from integer without a
cast
make[1]: *** [tkparse.o] Error 1
make[1]: Leaving directory `/usr/src/linux/scripts'
make: *** [xconfig] Error 2


-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


export varname with a hyphen

1999-12-07 Thread Brian J. Stults
I need to export a variable called SSI-HLM.  It appears that the hypen
causes problems.  I thought the quotes would take care of it but they
don't.  Can someone help me?

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


printcap for JetDirect printer

1999-11-12 Thread Brian J. Stults
Can someone help mewith the proper printcap entries for a HP 4000TN (ps)
hooked up with JetDirect?  It will be my only printer.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


printing to novell printer with apsfilter

1999-11-06 Thread Brian J. Stults
Can anyone help me with this?  I can print to it directly via nprint,
but I cannot create a printcap file that will work.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


time is 5 hours ahead (using ntp)

1999-11-04 Thread Brian J. Stults
I'm using ntp and it's working just fine.  The problem for me is that
the time is always 5 hours ahead of what it should be.  I think this is
something in the kernel settings, right?  I set it to report GMT or UTP
or something, and I'm in the EST zone.  Can someone tell me how to
switch that back?

Thanks,
Brian
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: Why use Enlightenment?

1999-11-04 Thread Brian J. Stults
I'll second (or third) the I like E, but now I'm using sawmill
senitment.  I had no clear reason for moving from E to sawmill other
than the fact that sawmill seemed a little more minimalist which is what
I like in a window manager.  If you like to hack your window manager and
you're addicted to CVS, E may very well be the wm for you.  Otherwise, I
would recommendend checking out sawmill.  The fact that it has the
ability to more or less reproduce E themes is pretty cool, too.

-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


can't type some letters in xterm

1999-11-04 Thread Brian J. Stults
When I login to my university's unix machines using xterm, I can't type
an upper case C and X.  If I do ctrl-v and then hit shift-c, a C
is correctly displayed (same with X), but nothing appears if I just hit
shift-c or shift-x alone.  Any ideas?  BTW, $TERM=vt100 if that helps.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


debs to reinstall glibc

1999-10-13 Thread Brian J. Stults
Can someone tell me which deb files are needed to reinstall glibc?  I'm
using potato.  If you need more information, just let me know.  I assume
I can just download the files and then use dpkg to reinstall.

Thanks,
Brian
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


realplayer with broadcast.com

1999-10-12 Thread Brian J. Stults
While we're on the subject of realplayer...  I have G2 installed and it
plays most realaudio formats just fine.  However, when I try to listen
to hockey games through broadcast.com, it plays the introductory
advertisement, but then crashes when it tries to play the broadcast. 
Any suggestions?

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


parse error before `size_t' (audiofile)

1999-10-12 Thread Brian J. Stults
I'm getting a lot of messages like this while trying to install
audiofile from source.  Here's some of the output from configure:

In file included from /usr/local/include/stdio.h:57,
 from audiofile.c:33:
/usr/local/include/libio.h:333: parse error before `_IO_sgetn'
/usr/local/include/libio.h:333: parse error before `size_t'
/usr/local/include/libio.h:333: warning: data definition has no type or
storage class
In file included from audiofile.c:33:
/usr/local/include/stdio.h:233: parse error before `size_t'
/usr/local/include/stdio.h:239: parse error before `size_t'
/usr/local/include/stdio.h:269: parse error before `size_t'
/usr/local/include/stdio.h:273: parse error before `size_t'
/usr/local/include/stdio.h:277: parse error before `size_t'
/usr/local/include/stdio.h:442: parse error before `fread'
/usr/local/include/stdio.h:442: parse error before `size_t'
/usr/local/include/stdio.h:443: warning: data definition has no type or
storage class
/usr/local/include/stdio.h:445: parse error before `fwrite'
/usr/local/include/stdio.h:445: parse error before `size_t'
/usr/local/include/stdio.h:446: warning: data definition has no type or
storage class
/usr/local/include/stdio.h:450: parse error before `fread_unlocked'
/usr/local/include/stdio.h:450: parse error before `size_t'
/usr/local/include/stdio.h:451: warning: data definition has no type or
storage class

There's a lot more, but I thought I'd just include a sample.  Does
anyone have some advice?

Thanks!
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


nwpopup

1999-10-11 Thread Brian J. Stults
I have my linux box set to access files and receive messages from a
netware server.  When I get mail, I am notified if I have an xterm
window open.  Does anyone know of a utility similar to nwpopup for
Windows that will pop up a little window telling me I have mail?  I
tried running nwpopup through wine, but it didn't work.

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


messed up string.h

1999-10-05 Thread Brian J. Stults
I am trying to install glib-1.2.5 from source, but I keep getting errors
that seem to be stemming from /usr/local/include/string.h.  That file
includes string/string.h which doesn't appear to exist.  I played with
it a little bit, and now I think I've screwed up string.h beyond
recognition.  Where does it come from (e.g. what package)?  Is there a
way to replace it?

Thanks.
-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452


Re: messed up string.h

1999-10-05 Thread Brian J. Stults
I'm trying, for arcane reasons, to install from the source tarball.

Thanks!

Bryan Scaringe wrote:
 
 are you trying to install from a .deb source package, or from a source
 tarball?
 
 I would think the .deb source package would have these issues addressed.
 
 Bryan
 
 On 05-Oct-99 Brian J. Stults wrote:
  I am trying to install glib-1.2.5 from source, but I keep getting errors
  that seem to be stemming from /usr/local/include/string.h.  That file
  includes string/string.h which doesn't appear to exist.  I played with
  it a little bit, and now I think I've screwed up string.h beyond
  recognition.  Where does it come from (e.g. what package)?  Is there a
  way to replace it?
 
  Thanks.
  --
 
  Brian J. Stults
  Doctoral Candidate
  University at Albany - SUNY
  Phone: (518) 442-4652
  Fax: (518) 442-4936
  Web: www.albany.edu/~bs7452
 
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
  /dev/null

-- 

Brian J. Stults
Doctoral Candidate
University at Albany - SUNY
Phone: (518) 442-4652
Fax: (518) 442-4936
Web: www.albany.edu/~bs7452