newbie: scsi

2000-12-20 Thread James Haskell
hi,

i'm considering adding SCSI to my system, but i seem
to be at a loss in choosing the right SCSI controller.
 

so far i'm considering the following:

1.  adaptec SCSI card 29160
2.  adaptec SCSI card 19160
3.  mylex dac1164p u2scsi pci
4.  tekram dc-390u3d u160scsi pci

afaik all 4 are linux friendly (pls let me know
otherwise).  i'd welcome any suggestions, criticism,
etc.

ps
i haven't even started looking at SCSI disks yet, but
i'm open to suggestions.

btw i'm running debian 2.2 on an i686

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



usb+epson stylus color 980+printtool

2001-02-09 Thread James Haskell
i'm trying to get my usb printer (epson stylus color
980) to work under debian 2.2r2 (kernel 2.2.18pre21). 
i've read the documentation from
http://www.linuxnewbie.org/nhf/intel/hardware/usbprinter.html,
but to no avail.

as root i did 'mknod /dev/usb/lp0 c 180 0'.
then i manually edited /etc/printcap.  the website
said to use printtool, and provided a link to a
debianized version.  but the link was broken.  is
there a replacement for printtool??

here are the contents of /etc/printcap:
usblp0|printer
:lp=/dev/usb/lp0
:sd=/var/spool/lpd/lp
:af=/var/log/lp-acct
:lf=/var/log/lp-errs
:pl#66
:pw#80
:pc#150
:mx#0
:sh
 
lsmod gives:
bsd_comp3920   0  (autoclean)
ppp   20108   2  (autoclean)
[bsd_comp]
slhc4380   1  (autoclean) [ppp]
printer 3764   0  (unused)
parport_pc  7340   1  (autoclean)
lp  4588   0  (autoclean) (unused)
parport  7316   1  (autoclean) [parport_pc lp]
hid11328   0  (unused)
usb-uhci   18216   0  (unused)
keybdev 1736   0  (unused)
mousedev3628   0  (unused)
usbcore   42888   1  [printer hid
usb-uhci]
input  2940   0  [hid keybdev
mousedev]

and here's what /var/spool/lpd/lp/status.usblp0 says
everytime i try to print something (lpr -Pusblp0
):

subserver pid 14671 
starting at 2001-02-09-21:13:27.655 
## [EMAIL PROTECTED] number=668 process=14671
accounting at start at 2001-02-09-21:13:27.655 ##
[EMAIL PROTECTED] number=668 process=14671
opening device '/dev/usb/lp0' at
2001-02-09-21:13:27.655 
## [EMAIL PROTECTED] number=668
process=14671printing job '[EMAIL PROTECTED]' at
2001-02-09-21:13:27.657 
## [EMAIL PROTECTED] number=668 process=14671
printing '[EMAIL PROTECTED]'
starting OF at 2001-02-09-21:13:27.657 
## [EMAIL PROTECTED] number=668 process=14671
printing data file 'dfA668debian', size 425 at
2001-02-09-21:13:27.657 ## [EMAIL PROTECTED]
number=668 process=14671
printing done '[EMAIL PROTECTED]' at
2001-02-09-21:13:27.663 ## [EMAIL PROTECTED]
number=668 process=14671
accounting at end at 2001-02-09-21:13:27.663 ##
[EMAIL PROTECTED] number=668 process=14671
finished '[EMAIL PROTECTED]', status 'JSUCC' at
2001-02-09-21:13:27.663 ## identif
[EMAIL PROTECTED] number=668 process=14671
subserver pid 14671 exit status 'JSUCC' at
2001-02-09-21:13:27.667 ## identifier
= number=0 process=14670
[EMAIL PROTECTED]: job '[EMAIL PROTECTED]' printed at
2001-02-09-21:13:27.667 ## [EMAIL PROTECTED]
number=668 process=14670
job '[EMAIL PROTECTED]' removed at
2001-02-09-21:13:27.669 ## [EMAIL PROTECTED]
number=668 process=14670


i had no trouble getting my usb mouse to work, but
this printer is driving me crazy.  please help!  tia.

ps sorry for the length of this message

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



shutdown/reboot problems

2001-05-13 Thread James Haskell
hello all,
  
when i shutdown or reboot, linux usually (~90%) goes
into an infinite loop printing the error message:
"iput: inode 00:03/536871170 count wrapped"

then i have to hard reset, and fsck checks my root
partition.

is this is a usbdevfs problem??  i have a usb mouse
(which i've been using for well over 5 months).  i
also have a printer which uses the usb interface under
windows and parallel port under linux.  (haven't been
able to get it working using usb on debian, though
i've been trying).

is there anything i can do to shutdown/reboot
cleanly??

tia

pls cc me since this list is too high traffic for me

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



pager changed after upgrade from woody to sarge:

2005-09-05 Thread James Haskell
hello all,

i just upgraded from woody to sarge, and it *seems*
that in the process, my pager has changed from
/usr/bin/less to /bin/more.
e.g. if i type:
cd /usr/include/  
bash displays:
Display all 370 possibilities? (y or n)
when i type y, bash lists the files using /bin/more.

chase `which pager` says that /usr/bin/pager points to
/usr/bin/less.

how do i get less to be my default pager?  and am i
correct in concluding that the upgrade changed my pager?




__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


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



Re: pager changed after upgrade from woody to sarge:

2005-09-05 Thread James Haskell
Thomas,

as root, i ran:
update-alternatives --config pager

here is the output:
There are 4 alternatives which provide `pager'.

  SelectionAlternative
---
  1/bin/more
*+2/usr/bin/less
  3/usr/bin/most
  4/usr/bin/w3m

Press enter to keep the default[*], or type selection
number: 2
Using `/usr/bin/less' to provide `pager'.

unfortunately, this did not fix my problem. looks like
less is already my default pager; i do not override
this in ~/.bash_profile or ~/.bashrc.

--- Thomas Adam <[EMAIL PROTECTED]> wrote:

> 
> --- James Haskell <[EMAIL PROTECTED]> wrote:
> 
> > hello all,
> > 
> > i just upgraded from woody to sarge, and it
> *seems*
> > that in the process, my pager has changed from
> > /usr/bin/less to /bin/more.
> > e.g. if i type:
> > cd /usr/include/  
> > bash displays:
> > Display all 370 possibilities? (y or n)
> > when i type y, bash lists the files using
> /bin/more.
> > 
> > chase `which pager` says that /usr/bin/pager
> points to
> > /usr/bin/less.
> 
> As root:
> 
> update-alternatives --config pager
> 
> -- Thomas Adam
> 
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com 
> 





__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


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



Re: pager changed after upgrade from woody to sarge:

2005-09-05 Thread James Haskell
Peter,

the result of running:
ls /usr/include/ | pager
is that the output of ls is piped to less.  i think
your're right in that less is already my default
pager.

--- Peter J Ross <[EMAIL PROTECTED]> wrote:

> On Mon, Sep 05, 2005 at 06:55:09AM -0700, James
> Haskell wrote:
> 
> > hello all,
> > 
> > i just upgraded from woody to sarge, and it
> *seems*
> > that in the process, my pager has changed from
> > /usr/bin/less to /bin/more.
> > e.g. if i type:
> > cd /usr/include/  
> > bash displays:
> > Display all 370 possibilities? (y or n)
> > when i type y, bash lists the files using
> /bin/more.
> 
> AFAIK, it shouldn't be using an external pager at
> all; it should
> simply write to stdout.
> 
> > chase `which pager` says that /usr/bin/pager
> points to
> > /usr/bin/less.
> 
> That seems right.
> 
> > how do i get less to be my default pager?  and am
> i
> > correct in concluding that the upgrade changed my
> pager?
> 
> It seems that less *is* your default pager. What
> happens if you try
> 
> $ ls /usr/include/ | pager
> 
> ?
> 
> 
> -- 
> PJR :-)
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: pager changed after upgrade from woody to sarge:

2005-09-05 Thread James Haskell
Bob,

you're right.  after trying the 'ps -efH', i can
verify that bash is using the built-in pager and not
/bin/more.

> If you are seeing differences I am guessing it has
to > do with bash and libreadline upgrades combined
with
> your own personal readline configuration.

my /etc/inputrc (without comments) is:
  set input-meta on
  set output-meta on
so, i don't think my readline configuration is the
cause.

just curious, what version(s) of bash and libreadline
do you have installed on your sarge machine.  i have
bash (version 2.05b-26)
libreadline4 (version 4.3-11)
libreadline5 (version 5.0-10)

thanks.

--- Bob Proulx <[EMAIL PROTECTED]> wrote:

> James Haskell wrote:
> > i just upgraded from woody to sarge, and it
> *seems*
> > that in the process, my pager has changed from
> > /usr/bin/less to /bin/more.
> > e.g. if i type:
> > cd /usr/include/  
> > bash displays:
> > Display all 370 possibilities? (y or n)
> > when i type y, bash lists the files using
> /bin/more.
> 
> Are you sure that it is /bin/more and not the bash
> readline built-in
> pager?  The documentation for readline which is used
> by bash says
> this:
> 
>page-completions (On)
>   If set to On, readline uses an
> internal more-like pager to
>   display a screenful of possible
> completions at a time.
> 
> I believe you are seeing the built-in pager and not
> the external one.
> I do not think bash spawns an external pager for
> this operation.
> 
> > chase `which pager` says that /usr/bin/pager
> points to
> > /usr/bin/less.
> 
> No need to chase.  Just use ask the system.
> 
>   update-alternatives --display pager
> 
> > how do i get less to be my default pager?  and am
> i
> > correct in concluding that the upgrade changed my
> pager?
> 
> I think you are incorrect.  I do not believe bash is
> using an external
> pager.  I just now tested a woody and a sarge system
> and could not see
> any noticeable difference in how bash operates with
> regards to
> completion.  If you are seeing differences I am
> guessing it has to do
> with bash and libreadline upgrades combined with
> your own personal
> readline configuration.
> 
> For me both used the bash readline internal built-in
> pager.  It says
> "--more--" but that does not mean it is using the
> /bin/more external
> program.  It is using the built-in.  You can verify
> this for yourself
> by looking at the 'ps -efH' output and seeing that
> your command shell
> is not spawning any external commands while in the
> built-in pager.
> (Hint: Use the tty to find the other bash shell.)
> 
> Bob
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: pager changed after upgrade from woody to sarge:

2005-09-05 Thread James Haskell
Bob,

in my previous post, i forgot to mention that i have
no ~/.inputrc file.

--- Bob Proulx <[EMAIL PROTECTED]> wrote:

> James Haskell wrote:
> > i just upgraded from woody to sarge, and it
> *seems*
> > that in the process, my pager has changed from
> > /usr/bin/less to /bin/more.
> > e.g. if i type:
> > cd /usr/include/  
> > bash displays:
> > Display all 370 possibilities? (y or n)
> > when i type y, bash lists the files using
> /bin/more.
> 
> Are you sure that it is /bin/more and not the bash
> readline built-in
> pager?  The documentation for readline which is used
> by bash says
> this:
> 
>page-completions (On)
>   If set to On, readline uses an
> internal more-like pager to
>   display a screenful of possible
> completions at a time.
> 
> I believe you are seeing the built-in pager and not
> the external one.
> I do not think bash spawns an external pager for
> this operation.
> 
> > chase `which pager` says that /usr/bin/pager
> points to
> > /usr/bin/less.
> 
> No need to chase.  Just use ask the system.
> 
>   update-alternatives --display pager
> 
> > how do i get less to be my default pager?  and am
> i
> > correct in concluding that the upgrade changed my
> pager?
> 
> I think you are incorrect.  I do not believe bash is
> using an external
> pager.  I just now tested a woody and a sarge system
> and could not see
> any noticeable difference in how bash operates with
> regards to
> completion.  If you are seeing differences I am
> guessing it has to do
> with bash and libreadline upgrades combined with
> your own personal
> readline configuration.
> 
> For me both used the bash readline internal built-in
> pager.  It says
> "--more--" but that does not mean it is using the
> /bin/more external
> program.  It is using the built-in.  You can verify
> this for yourself
> by looking at the 'ps -efH' output and seeing that
> your command shell
> is not spawning any external commands while in the
> built-in pager.
> (Hint: Use the tty to find the other bash shell.)
> 
> Bob
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: pager changed after upgrade from woody to sarge:

2005-09-05 Thread James Haskell
elimar,

i tried:
echo "export PAGER=less" >> ~/.bashrc
echo "export aCeiMs=LESS" >> ~/.bashrc

not sure about the second line; shouldn't it be
echo "export LESS=aCeiMs" >> ~/.bashrc

anyway i tried both ways -- unfortunately, neither of
these work.  if you follow this thread, it seems that
less is already my default pager; bash is using an
internal more-like pager.

--- Elimar Riesebieter <[EMAIL PROTECTED]> wrote:

> On Mon, 05 Sep 2005 the mental interface of
> James Haskell told:
> 
> > hello all,
> > 
> > i just upgraded from woody to sarge, and it
> *seems*
> > that in the process, my pager has changed from
> > /usr/bin/less to /bin/more.
> > e.g. if i type:
> > cd /usr/include/  
> > bash displays:
> > Display all 370 possibilities? (y or n)
> > when i type y, bash lists the files using
> /bin/more.
> > 
> > chase `which pager` says that /usr/bin/pager
> points to
> > /usr/bin/less.
> > 
> > how do i get less to be my default pager?  and am
> i
> > correct in concluding that the upgrade changed my
> pager?
> 
> echo "export PAGER=less" >> .bashrc
> echo "export aCeiMs=LESS" >> .bashrc #Change less
> options to your needs.
> 
> Elimar
> 
> -- 
>   >what IMHO then?
>   IMHO - Inhalation of a Multi-leafed Herbal Opiate
> ;)
>   --posting from alex in debian-user--
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 





__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


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