Re: distro for novices

2004-12-14 Thread Seneca
On Tue, Dec 14, 2004 at 03:38:15PM -0500, Matt Price wrote:
> On Tue, Dec 14, 2004 at 12:08:28PM -0800, Scarletdown wrote:
> > RRPotratz wrote:
> > 
> > For really low-spec systems, I also recommend Damn Small Linux.  I've 
> > had that running nicely on an old TI laptop (486/DX2-75, 12MB RAM, 540MB 
> > hard drive, dual boot with DOS 6.22/Windows for Workgroups 3.11).
> > 
> 
> hmm, that sounds quite cool, how did you get it on the laptop?  does
> the laptop have a cdrom?  I have a 286 at home with no ethernet, no cd
> drive, can't figure out how to get linux in there -- haven't used a
> floppy drive since my mac phase starting around 1998

For a 286, ELKS would be more appropriate than DSL.  You can't run linux
on a 286 as the 286 is only 16-bit.

// [EMAIL PROTECTED]

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Bluetooth in the kernel

2004-12-13 Thread Seneca
On Mon, Dec 13, 2004 at 10:09:02AM -0600, Ron Johnson wrote:
> Where in the 2.6 menuconfig tree are the bluetooth drivers located?

2.6.10-rc3
Device drivers
-> Networking support
   -> Bluetooth subsystem support

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Nightstand Terminal

2004-12-09 Thread Seneca
On Thu, Dec 09, 2004 at 06:54:16AM -0500, Scotty Fitzgerald wrote:
> Does anybody have experience with the following?
[...] 
> 3) Since an old laptop is a possible solution based on it's size,
> any reccommended sources for purchasing used laptops that are 
> known to be able to run Woody?!

The terminal on my improvised night-stand is an old AcerNote Light
(350PCX) running sid, current as of whenever I last updated it.  My
laptop source is family getting rid of older laptops.  It runs Opie
(compiled from source), a graphical environment that does not use X that
is intended for PDAs, without much trouble, but I remember not being
able to get it to work properly with X4 so I had continued with
Potato's X3.6 (until I removed X).

> 4) What about crossover cable vs actually using a switch for
> a two computer network?

I've been using a null modem serial cable or a wireless link, depending
upon where the laptop is located.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Anyone know why AOL users post "Art Files" queries?

2004-12-05 Thread Seneca
On Sun, Dec 05, 2004 at 01:34:07PM -0600, Don Jackson wrote:
> Surely a minor annoyance, but it might be useful to find out why this list 
> gets periodic postings to it from "lost" AOL users wanting to get rid of "art 
> files".
> 
> Does anyone know why these queries are being sent to this list, and if so, is 
> there something we can do to rectify the situation?  Maybe there's some 
> incorrect reference somewhere?

This list is entry #10 on a google search for "art files aol".  At least
it isn't sheet music.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: libfreetype6

2004-12-03 Thread Seneca
On Fri, Dec 03, 2004 at 02:54:48PM +0100, Giorgio Raccanelli wrote:
> I'm having problem in the installation of the x-window-system. It
> depends on xnest, and xnest depends on libfreetype6 (>=2.1.5-1) but I
> only have  libfreetype6 (2.0.9-1). I did the apt-get update, so why
> don't I get the correct version of the libfreetype6. Furthermore, I
> checked in the debian web site and found that there's only the version
> 2.0.9-1, i.e. what I already have.
> 
> Does anyone have an idea? What should I do to install x-window-system?

I would suggest that you either use xnest from stable, where
libfreetype6 2.0.9-1 is or that you use libfreetype6 from testing or
unstable (2.1.7-2.3).  Also, if you don't need everything from
x-window-system you can install just x-window-system-core and the pieces
that you want.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Orinoco Driver Patch - Question

2004-10-25 Thread Seneca
On Mon, Oct 25, 2004 at 07:39:05PM +0100, Werner Otto wrote:
> I pretty much went through your systematic approach. I got stuck at
> point 5, and my errors are listed below.

Which patch and kernel version are you using, and what errors are you
getting because the messages didn't seem to make it through.  When you
pick a version of the orinoco patch, you need to select the one that
matches the version of the orinoco source (number found at around line
400 of orinoco.c).  The orinoco patch for 0.13e that I have does not
apply cleanly to 2.6.9 even though the source file retains the same
version number.
 
> On Sun, 24 Oct 2004 14:11:45 -0400, Seneca <[EMAIL PROTECTED]> wrote:
> > What you should probably do is:
> >0) read documentation about building kernels
> >1) download the kernel source
> >2) install libc6-dev, libncurses5-dev, gcc, g++, make
> >3) copy the patch to $SRCDIR/drivers/net/wireless
> >4) cd $SRCDIR/drivers/net/wireless
> >5) patch -p1  >6) cd $SRCDIR
> >7) make menuconfig
> >8) make
> >9) make modules_install
> >   10) copy the kernel to its destination
> >   11) configure bootloader
> >   12) reboot and test

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Playing a wav

2004-10-25 Thread Seneca
On Mon, Oct 25, 2004 at 07:34:00AM -0500, Michael Satterwhite wrote:
> Back on SuSE, I could play a wav file just by entering "play file" from the 
> command line. I liked this for script end notifications. Play isn't installed 
> by default, and there are hundreds of hits if I enter "apt-cache search 
> play".

The package that contains the command play is sox. 

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Orinoco Driver Patch - Question

2004-10-24 Thread Seneca
On Sun, Oct 24, 2004 at 12:51:24PM +0100, Werner Otto wrote:
> I am currently trying to get airodump to work with my Orinoco Gold
> wireless card.
> 
> I need to patch my driver to get 'Monitor' mode enabled on it.
> 
> I have been reading some docs and am still missing a few points, maybe
> because I haven't done it before, no excuse though :-)
> 
> I have copied my patch to /lib/modules/2.6.8-1-686/kernel/drivers/net/wireless
> 
> ls - listing
[...modules...] 
> my command: patch -p0 < orinoco-0.13b-patched.diff
> can't find file to patch at input line 4
[...] 
> At this stage I don't have a clue what to due I have tried -p1 and
> -p4 as mentioned in the man pages, but didn't work.
> 
> What am I missing?

The kernel source.  Patches are applied to the kernel source, not the
compiled modules.  I think you also may have the wrong patch for the
kernel.  2.6.8 would use the orinoco-0.13e patch.

What you should probably do is:
   0) read documentation about building kernels
   1) download the kernel source
   2) install libc6-dev, libncurses5-dev, gcc, g++, make
   3) copy the patch to $SRCDIR/drivers/net/wireless
   4) cd $SRCDIR/drivers/net/wireless
   5) patch -p1 

Re: newbie package question

2004-08-14 Thread Seneca
On Sat, Aug 14, 2004 at 01:28:11PM -0400, Mark D. Hansen wrote:
> How can I find out what version of a package I have currently
> installed (e.g., glibc)?

apt-cache policy foo
dpkg -l foo
zcat /usr/share/doc/foo/changelog.Debian.gz | \
  sed -n  -e 's/^[^\x28]*[\x28]//' -e 's/\x29.*//' -e '1p'

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Where is libXp.so.6

2004-08-12 Thread Seneca
On Fri, Aug 13, 2004 at 11:38:42AM +1000, Keith Davidson wrote:
> Any ideas where I can find libXp.so.6 for debian.  I have looked in
> www.packages.debian.org <http://www.packages.debian.org/> , but can't
> find it.

In woody, xlibs, in sarge and sid, libxp6, on the filesystem,
/usr/X11R6/lib/libXp.so.6.  At the bottom of 
<http://www.debian.org/distrib/packages>, there is a section entitled
"Search the contents of packages", you could have just entered in the
file name as a keyword and searched for it.

-- 
Seneca
[EMAIL PROTECTED]


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



Getting op-* to work with 4-bit colour

2004-08-09 Thread Seneca
I'm having problems getting the OPIE packages (open palm packages, not
one time password) to work on a system that currently can only do 4-bit
colour with its framebuffer.  Running opie-login results in:

  [EMAIL PROTECTED]:/etc# opie-login
  Can't drive depth 4
  failed to run /usr/share/opie-login/post-session
  [EMAIL PROTECTED]:/etc#

with all the previously white text changed to yellow and the text cursor
disappears until reset is issued at the console.

The system currently uses vga16fb with the 2.4.26-lck1 kernel, even
though I found a patch that adds a new framebuffer driver that has
(according to the author) worked with the video chip that I have (Chips
and Technologies F65545) and supports 8 and 16-bit colour.  I am
currently playing patch the kernel to try to get a kernel that works
with the patch and my video chip (I get a blank screen with the patched
kernel while following the instructions).  I can't use vesafb because
the video chip is VESA 1.2, and vesafb requires VESA 2.0.

I haven't yet been able to find much documentation about configuring
OPIE, and none about the problem that I'm having (although it's possible
that I just haven't tried the right search terms).

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Any chance of Debian adding YaST

2004-07-29 Thread Seneca
On Thu, Jul 29, 2004 at 01:54:21AM -0700, Alvin Oga wrote:
> On Thu, 29 Jul 2004, John Summerfield wrote:
> > IBM has a patch for Netvistas (diskless workstations). Most of the patch 
> > involves a Netvista graphic and, I think, a progress meter.
> 
> for regular distro boots...
> 
> suse has a bootup progress meter, forgot if fedora has or not
> ( f2 to toggle between meter and text messages not so fast flying by )
> 
> other distro does have bootup progress meter too

Even this debian running laptop does.  Quick instructions for sid that
work for my i386-based laptop (hopefully I didn't leave out a step):

0) Get kernel sources and compilation-related packages.
1) Patch a kernel with the bootsplash patch (I use 2.6.7-ck5, which
   includes a recent version and some other nice patches), and enable
   framebuffer console, RAM disk, initrd, a framebuffer driver (possibly
   only VESA, depends upon the bootsplash patch), bootup splash screen,
   and disable boot logo and "Use register arguments".
2) Compile and install kernel and add to bootloader config files.
3) Add:

 # bootsplash stuff
 deb http://www.bootsplash.de/files/debian unstable main
 deb-src http://www.bootsplash.de/files/debian unstable main

   to your sources.list.  Update then apt-get install bootsplash,
   sysv-rc-bootsplash, and some bootsplash-themes.  If not using lilo,
   select grub on the menu, even if you don't use grub, since if you
   select lilo, it will add to your /etc/lilo.conf and rerun lilo.
4) If using grub, add "vga=0x317 splash=silent" (substituting for the
   correct screen size, 0x317 is 1024x768) to the kernel line for your
   bootsplash kernel, and if you normally don't use initrd, add the
   line "initrd /boot/initrd.splash".
5) Get rescue disk.
6) Reboot.

A quick note:  some of the more recent bootsplash patches allow for
framebuffers other than vesafb to be selected, but it doesn't mean that
it will work.  If you try with a different framebuffer and your display
is messed up, retry with a compile using vesafb instead, if bootsplash
is important enough.

Documentation about bootsplash is available at <http://bootsplash.org>

-- 
Seneca
[EMAIL PROTECTED]


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



Re: bochs die on startup

2004-07-28 Thread Seneca
On Wed, Jul 28, 2004 at 04:39:16PM +0200, Johann Spies wrote:
> I am also trying out bochs.  After creating a bximage (flat file) and
> copying the line indicated by bximage to /etc/bochs-init/bochsrc the
> following happened when I tried bochs:
[...] 
> Please choose one: [2] 5
> 000i[ ] lt_dlhandle is (nil)
> 000p[ ] >>PANIC<< dlopen failed for module 'x': file not
>   >>found

Install the package bochs-x or change your bochsrc until it stops
attempting to use x as the display_library.  bochs does not like certain
combinations of config_interface and display_library and will try to use
the display_library 'x' if it doesn't like the combination.

Also, you should tell bochs where to look for its config file, even
though you are using /etc/bochs-init/bochsrc as bochs appears to not
find it, but bochs does find ~/.bochsrc.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Locked out of system

2004-07-26 Thread Seneca
On Mon, Jul 26, 2004 at 03:42:32PM -0700, Gary L. Roach wrote:
> I changed fstab to mount another drive automatically. I messed up the 
> entry. Now the system boots to management level ((none) prompt)  and makes 
> the hard drive partitions read only.
 
You can remount partitions as read-write by passing mount "-o remount,rw" 
along with the mountpoint, filesystem, and device.

> There is no text editor available to edit fstab - assuming that I can write 
> to the file. How do I get out of this mess.

If there is no editor in /bin and you don't want to go the "cat >
/etc/fstab" route, you can always create a good fstab on another system
and floppy it onto your box.  Another way you could go about it is with
a rescue disk of some kind.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: bittornado howto

2004-07-19 Thread Seneca
On Mon, Jul 19, 2004 at 08:51:37AM -0400, Rick Pasotto wrote:
> Perhaps I've been spoiled by other debian packages but I can't figure
> out how to run bittornado(-gui).
> 
> There is no man page. There is no menu item. In
> /usr/share/doc/bittornado there is a README that contains the line
> 'Instructions for Unix installation are in INSTALL.unix.txt' which of
> course doesn't exist.

What do you mean by your statement about the lack of manpage?  There is
no "bittornado" manpage?  There are manpages for the various commands
included in the bittornado packages.

  [EMAIL PROTECTED]:~$ dpkg -L bittornado|grep \/man\/man
  /usr/share/man/man1
  /usr/share/man/man1/bttrack.1.gz
  /usr/share/man/man1/btmakemetafile.1.gz
  /usr/share/man/man1/btreannounce.1.gz
  /usr/share/man/man1/btrename.1.gz
  /usr/share/man/man1/btshowmetainfo.1.gz
  /usr/share/man/man1/btcompletedir.1.gz
  /usr/share/man/man1/btcopyannounce.1.gz
  /usr/share/man/man1/btsethttpseeds.1.gz
  /usr/share/man/man1/bittorrent-downloader.1.gz
  /usr/share/man/man1/bittorrent-multi-downloader.1.gz
  /usr/share/man/man1/btdownloadcurses.1.gz
  /usr/share/man/man1/btdownloadheadless.1.gz
  /usr/share/man/man1/btlaunchmany.1.gz
  /usr/share/man/man1/btlaunchmanycurses.1.gz
  Previous command returned 0
  [EMAIL PROTECTED]:~$ 

> It also tells me to run './bttrack.py  --port 6969 --dfile dstate' but
> it doesn't tell me what directory I should be in. Trying it without the
> './' I get a 'command not found'. Using 'locate' I discover that there
> is a /usr/bin/bttrack (note the absence of the .py extention). So I open
> a new shell and try that command but don't get my prompt back.

Only run bttrack if you want to run your own tracker.  I have never used
it; I have only used btdownloadgui.

> What am I supposed to do now? There are evidently several other commands
> that need to be run. Will I need to open a new shell for each of them?

If you don't want to host your own torrent, you can get by with just
btdownload*.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Identify which file uses a specific disk block

2004-07-17 Thread Seneca
On Sat, Jul 17, 2004 at 03:13:50AM -0300, Toshiro wrote:
> Is it possible to identify which file uses a specific disk block?
> 
> My hard disk has a defective block, I'm trying to use partimage to copy the 
> partition to a new disk, but the copy fails when it reaches the bad block.
> I'd like to know the file who uses this block, so I can delete it.

With reiserfs it is possible, and I've done it before.  I think
"debugreiserfs -1 $BLOCKNUM" is the command I used.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: tzconfig for Otario Canada

2004-07-06 Thread Seneca
On Tue, Jul 06, 2004 at 11:50:27PM -0400, * Tong* wrote:
> Please forgive my ignorance, in Debain, I don't know which of the
> following correspond to the Ontario time zone in Canada: 
> 
> Atlantic Central East-Saskatchewan Eastern Mountain Newfoundland Pacific
> Saskatchewan Yukon

Eastern where I am (Toronto), but I'm not sure where the time zone's
western border is.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Printing from firefox (xprt)

2004-06-02 Thread Seneca
On Wed, Jun 02, 2004 at 07:20:20AM -0400, Norman Walsh wrote:
> And xplsprinters clearly doesn't know about it:
> 
> $ xplsprinters
> xplsprinters:  no printers found for printer spec "".
> 
> Suggestions?

Is $XPSERVERLIST set?  In my .xsession, I have a line 
"export XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`" that lets
everything see my printer.

-- 
Seneca
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: deb package for Mplayer?

2004-05-19 Thread Seneca
On Wed, May 19, 2004 at 04:02:59PM -0400, Ishwar Rattan wrote:
> Where can I find the .deb package for mplayer?

http://marillat.free.fr

-- 
Seneca
[EMAIL PROTECTED]


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



Re: HELP - dpkg status file was lost

2003-10-20 Thread Seneca
On Mon, Oct 20, 2003 at 05:57:41PM +1000, Richard Brooks wrote:
> After having repaired the partition, and losing a few crashed sectors
> along the way . . .   I lost the status file for dpkg/dselect/apt-get.
> 
> Now - I cannot do any dselect/apt-get/dpkg operations without a
> segmentation fault (which doesn't need a reset)  or it tells me to run
> dpkg --configure -a to fix it - which won't work.
> 
> Is there any way to re-make the status file ?

Is /var/lib/dpkg/status-old intact?

-- 
Seneca
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Mozilla and Blackdown Java Plugin

2003-08-24 Thread Seneca
On Sun, Aug 24, 2003 at 05:42:37PM +0200, martin f krafft wrote:
> Short summary:
> 
>   MozillaJRE Works?
>   ==
>   1.2.1-2.bunk   j2re1.3 YES
>   1.2.1-2.bunk   j2re1.4 unknown
>   1.3-5  j2re1.3 NO
>   1.3-5  j2re1.4 NO
>   1.4-2  j2re1.3 NO
>   1.4-2  j2re1.4 NO
> 
> Why? And how to fix?

Compiler versions.  Install a copy of the desired version of Java that
is compiled with gcc 3.2 if you want to use one of the newer versions of
Mozilla; use your current installation if you want to use the older
version of Mozilla (it was compiled with gcc 2.95, like the installed
Java).

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: reiser kernel support?

2003-07-26 Thread Seneca
On Sat, Jul 26, 2003 at 05:29:36PM -0400, [EMAIL PROTECTED] wrote:
>   mount: fs type reiser not supported by kernel
> 
> Now I presume that this means that I have failed to install reiser support
> for the kernel -- but mkreiserfs did not seem to have any relevand
> dependencies.  Just what *do* I have to install to get the necessary
> kernel support?

Recompile the kernel.  There is a list of filesystems that you can
compile support for, either as a module or directly.  If you are going
to use reiserfs on your root filesystem, you should compile it into the
kernel itself, instead of as a module.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: bash: finding if mozilla is running

2003-07-26 Thread Seneca
On Sat, Jul 26, 2003 at 10:22:53AM +0100, David selby wrote:
> Writting a small script to make mozilla show the results of HTML code 
> written in vi, when vi saves, the script  automaticly changes mozilla to 
> show that HTML.
> 
> I need to know if mozilla is running, if not I need to call it first ... 
> seemed simple
> 
> if ! ps ax | grep "mozilla-bin" &>/dev/null; then
>/usr/local/mozilla/mozilla -P web &
>.
[...]
> Ie its picking up on the grep process, finding "mozilla-bin", saying yep 
> its running, dont call mozilla & bang, script fails.

ps --no-headers -C "mozilla-bin" | grep -q -- "-bin"

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Need a quick one-liner

2003-07-04 Thread Seneca
On Fri, Jul 04, 2003 at 01:51:34PM +0200, Joerg Johannes wrote:
> I have some data files in the following format:
> 
> 1 2   3   4
> 5 6   7   8
> 9 10  11  12
> 1314  15  16
> ...
> 
> I need to sum up the second column, so the result is 32 (in this case).
> Any ideas?

awk '{ sum += $2 ; print sum }' foo | tail -1

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Change Apt source

2003-07-03 Thread Seneca
On Thu, Jul 03, 2003 at 12:49:29PM -0500, Abrasive wrote:
> Now, how do I change the apt sources so that my Debian box will look on the 
> web for new
> packages and the like?  And also security updates?   Or is it easier to 
> just find them and download
> them manually?

man sources.list.  It tells you how to change the sources, and even
gives you some examples.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Automount

2003-07-01 Thread Seneca
On Tue, Jul 01, 2003 at 03:11:48PM +0200, JZidar wrote:
> Is there an app or trick that would enable to just pop a cd or floppy in the
> drive and use it without the need for mount and unmount every time? Can be
> this built-in in the kernel?

Yes, you can have automounting.  Install the autofs package and compile
automounter support into your kernel.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: simple bash loop problem ...

2003-06-29 Thread Seneca
On Sat, Jun 28, 2003 at 03:03:27PM +0100, David selby wrote:
> I am writing bash a bash & sed script, it has been going suprisingly 
> well. I need a loop to count 9 times & the variable n to the count ..
[...] 
> My best guess is
> 
> declare -i n=1
> while [ $n < 9 ]; do
> .
> n=$((n+=1))
> done
> 
> All i get is ...
> 
> [EMAIL PROTECTED]:/usr/local/myfiles/dave/websites/kcards$ ./gensite
> ./gensite: 9: No such file or directory
> 
> I have defined it as an integer, used the less than operator for 
> integers, ... errr ... I know its something stupid but I can't crack it 

Why didn't you just use for?  You could do:

  for ((n=0; n<9; n++))
  do
  ...
  done

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: sed expression problem ?

2003-06-29 Thread Seneca
On Sat, Jun 28, 2003 at 12:54:27AM +0100, David selby wrote:
> I am starting to use sed but am having a problem with one expression in ...
> 
> cat /mnt/archive/fluxbox/keys | sed 's/:ExecCommand//g ;s/^Mod4 \(.\) Mod
> 4 \(.\)/WinKey \1\2/g'
> 
> works except I hoped s/\/[^ ]+\///g would match any /path/to/file/ and 
> delete it. It refuses to match.
> 
> Idealy ...
> /usr/local/mozilla/mozilla -edit -splash
> 
> would become
> mozilla -edit -splash
> 
> Any ideas ?

s/\/.*\///g

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: mozilla 1.3.1 java plugin

2003-06-27 Thread Seneca
On Thu, Jun 26, 2003 at 12:09:17PM -0400, [EMAIL PROTECTED] wrote:
[Don't forget your attributions]
> > Have you installed the correct version of java?  Copies of java that
> > were compiled with gcc-2.95 don't work with copies of mozilla that were
> > compiled with gcc-3.2.
> >
> 
> Actually, I don't know.

How recent is your copy of mozilla?

> I was in dselect and it didn't have any success in finding a package that
> related directly to the JRE that was isntalled.
> 
> I thought that Debian could install Blackdown JRE as a .deb.

You can install it, but that doesn't mean that it will work with
mozilla, the debs were not compiled with gcc-3.2.  Try removing the
JRE that you installed, and install this:

<ftp://ftp.tux.org/pub/java/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin>

(sorry about the long line).  It should work with copies of mozilla that
were compiled with gcc-3.2.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: mozilla 1.3.1 java plugin

2003-06-25 Thread Seneca
On Wed, Jun 25, 2003 at 05:15:32PM -0400, Tom Allison wrote:
> I have a javaplugin_oji.so in whatever directory I'm supposed to have it in 
> according to the mozilla dev website.
> 
> Nothing works.  I get that stupid busted puzzle piece.
> 
> This was an upgrade to an existing mozilla installation that had a working 
> java plug-in.

Have you installed the correct version of java?  Copies of java that
were compiled with gcc-2.95 don't work with copies of mozilla that were
compiled with gcc-3.2.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: You must have Ncurses installed in order to use 'make menuconfig'

2003-06-25 Thread Seneca
On Wed, Jun 25, 2003 at 03:49:12PM -0300, [EMAIL PROTECTED] wrote:
> I am trying to recompile my kernel on a freshly installed machine, and
> got into a problem: when I try to go for 'make manuconfig', here's
> what happens:
[...]
> However, I *do* have libncurses5 installed, as well as every other
> packages which matched a search for ncurses on my dselect. My sources
> for apt are set as the 7 binary CDs, and the ftp.us.debian.org site.
[...]
> Even then, I cannot find the ncurses-devel package in dselect, nor on
> debian's FTP site.  If it's not the ncurses-devel package that is
> missing, what could it be?

libncurses5-dev

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: installing mouse

2003-06-23 Thread Seneca
On Mon, Jun 23, 2003 at 05:27:17PM -0400, Leonard Stevens wrote:
> I am a new user or in the act of trying to be one. My problem at least at
> this stage is I can't get Linux to recognize my bus mouse. I made the
> mistake of installing xwindows and it goes straight there but without a
> mouse. I told it in setup that it was a bus ps/2 mouse but it could care
> less. I couldn't figure a way out so I reformatted the disk and started
> over. This time I made the mistake of installing the desktop and had the
> same result. I ounce more reformatted and am about to try a third time. How
> in gods name do I get it to install a mouse driver??

You don't need to reformat whenever you make a mistake.  Anyway, a bus
mouse... I don't currently have access to my system that has one.  What
does the X logfile (/var/log/XFree86.0.log) say whenever you try running
X?  Which device are you telling X that the mouse is on?  There are a
few mouse entries in /dev; determine which one is the correct one for
your system and use it (logibm, psaux, inportbm, atibm, jbm).

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Console Screensaver

2003-06-15 Thread Seneca
On Mon, Jun 16, 2003 at 09:29:31AM +0800, Miranda, Joel Louie M wrote:
> Has anyone used a console screensaver? Matrix screensaver on KDE is good.
> But I was hoping it has a console version of it.

apt-get install cmatrix

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: kernel with modules

2003-06-13 Thread Seneca
On Fri, Jun 13, 2003 at 05:49:54PM -0400, Nori Heikkinen wrote:
> hey all,
> 
> i'm trying to set up samba to interface with my windoze network at
> work.  i've apt-gotten samba, smbfs, and all the things the myriad
> howtwos i've found have deemed necessary, but i can't figure out how
> to put smbfs as a module into my kernel.
> 
> spycellar:~# modprobe -k smbfs
> modprobe: Can't locate module smbfs

Do you have the smbfs module (the package does not provide the module)?

> i clearly just don't know enough about kernels to understand why this
> isn't working, or what i have to do to get smbfs to be modularly
> inserted into my kernel.  could someone please point me in the right
> direction?

Take a look at your kernel's config.  smbfs could be compiled into it
so that you don't need a module, or you may have to compile the module
yourself.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Apt-get sources close to Mexico

2003-06-13 Thread Seneca
On Fri, Jun 13, 2003 at 12:53:25AM +0200, Marino Fernandez wrote:
> Does anybody have a sources list for servers close to Mexico (USA is OK, 
> specially southern USA) could anybody send my such a 
> /etc/apt/sources.list

You can use the package apt-spy to create a sources.list.  It will
download the current list of mirrors and use the fastest ones in your
sources.list.  You could also read http://www.debian.org/mirror/list and
make your own list.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Console password generator

2003-06-12 Thread Seneca
On Thu, Jun 12, 2003 at 04:24:42PM +0800, Miranda, Joel Louie M wrote:
> Im not sure if debian package has a password generator.
> Do we have one? I think I saw one but I couldn't figure where.

"apt-cache search password generat" reveals the existence of a few of
them.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: return of "ebda too big" error message

2003-06-07 Thread Seneca
On Sun, Jun 08, 2003 at 09:58:56AM +0930, tim truman wrote:
> A while ago I compiled a new kernel and when booting it for the first
> time got the error message EBDA too big. This I resolved according to
> bug report 106898 by editing /usr/share/misc/magic.Now this error
> message has returned and the magic file is correct as far as the bug fix
> is concerned. Any ideas? even the definition of EBDA would be helpful as
> it might point me in the right direction.

EBDA is the Extended BIOS Data Area.  From what I can gather from
$KERNEL_DOC/i386/boot.txt, there is an area of memory reserved for it.

An exerpt from part of the aforementioned boot.txt:

  It is desirable to keep the "memory ceiling" -- the highest point in
  low memory touched by the boot loader -- as low as possible, since
  some newer BIOSes have begun to allocate some rather large amounts of
  memory, called the Extended BIOS Data Area, near the top of low
  memory.  The boot loader should use the "INT 12h" BIOS call to verify
  how much low memory is available.

  Unfortunately, if INT 12h reports that the amount of memory is too
  low, there is usually nothing the boot loader can do but to report an
  error to the user.  The boot loader should therefore be designed to
  take up as little space in low memory as it reasonably can.  For
  zImage or old bzImage kernels, which need data written into the
  0x9 segment, the boot loader should make sure not to use memory
  above the 0x9A000 point; too many BIOSes will break above that point.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: make menuconfig says I don't have ncurses

2003-06-05 Thread Seneca
On Thu, Jun 05, 2003 at 05:25:01AM +0200, Roberto Sanchez wrote:
> make[1]: Entering directory `/usr/src/kernel-source-2.4.20/scripts/lxdialog'
> /usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
>  
> >> Unable to find the Ncurses libraries.
> >>
> >> You must have Ncurses installed in order
> >> to use 'make menuconfig'
[...]
> and 'apt-show-versions |grep ncurses' shows this:
> 
> ncurses-term/stable uptodate 5.2.20020112a-7
> ncurses-bin/stable uptodate 5.2.20020112a-7
> libncurses5/stable uptodate 5.2.20020112a-7
> ncurses-base/stable uptodate 5.2.20020112a-7
> 
> Any ideas on what is going on here?

You need to install libncurses5-dev.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: /dev/mem is gone!

2003-04-05 Thread Seneca
On Sat, Apr 05, 2003 at 11:17:32AM -0800, Brendan Thomas O'Connor wrote:
> One day, I started up by Woody/Sarge machine, but X refuses to start:
> 
> (II) SAVAGE(0): initializing int10
> (EE) SAVAGE(0): Cannot open /dev/mem
> (--) SAVAGE(0): Chip: id 8c12, "Savage/IX-MV"
> (--) SAVAGE(0): Engine: "MobileSavage"
> (--) SAVAGE(0): mapping MMIO @ 0xf100 with size 0x8
> 
> Fatal server error:
> xf86MapVidMem: failed to open /dev/mem (No such file or directory)
> 
> $ ls /dev/mem
> ls: /dev/mem: No such file or directory

Nice, /dev/mem is "Physical memory access".

> MAKEDEV doesn't regenerate it, I'm not using devfs.  Where does /dev/mem come
> from, and how do I get it back?

# mknod /dev/mem c 1 1

> p.s. cc me on reply if possible..

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Can't locate char-major-6

2003-04-05 Thread Seneca
On Sat, Apr 05, 2003 at 09:03:54PM +0800, [EMAIL PROTECTED] wrote:
> When I boot into my system, I get this information, and the syslog
> record this every minute. I try to search this with google but only find
> answers written in languages other than English, so I don't understand.
> Could anyone help me to figure out what is wrong and fix it? Thanks.

In the future, please put the information in your subject line into the
main text of your message also.  Not all people can see the subject line
while typing a reply.

char-major-6 would be the parallel printer.  Your system is probably
trying to load the module lp, but cannot find it (eg, it doesn't exist,
it is not in the proper location).

Excerpt from $KERNEL_SOURCE/Documentation/devices.txt:
  6 char  Parallel printer devices
  0 = /dev/lp0  Parallel printer on parport0
  1 = /dev/lp1  Parallel printer on parport1
  ...

  Current Linux kernels no longer have a fixed mapping
  between parallel ports and I/O addresses.  Instead, they
  are redirected through the parport multiplex layer.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [OT] email standard maximum line length

2003-04-03 Thread Seneca
On Thu, Apr 03, 2003 at 02:31:09PM -0800, Paul E Condon wrote:
> I am getting email from an old friend who is not a Debian type like
> me.  He types his email into a window on what he calls 'just a
> standard PC' and the computer automatically starts new lines on his
> screen when needed. His software is, in his words, 'just plain mail
> software, nothing special'.  Sometimes his emails are longer than a
> few dozen words, and when they exceed about one thousand characters of
> text, they are truncated. The last part of what he typed is simply
> missing from my copy. I suppose that there is a line buffer somewhere
> in the chain of delivery that is 1000 or 1024 bytes long. 

RFC2822 (Internet Message Format) states:

  2.1.1. Line Length Limits

There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more than
998 characters, and SHOULD be no more than 78 characters, excluding
the CRLF.

RFC2821 (Simple Mail Transfer Protocol) states:

  4.5.3.1 Size limits and minimums
  [...]
  text line
The maximum total length of a text line including the  is 1000
characters (not counting the leading dot duplicated for
transparency).  This number may be increased by the use of SMTP
Service Extensions.

> I am curious about where in the chain of delivery the truncation might
> be happening. Is there a standard for email that specifies a line
> buffer size?

Yes, see above.

> My software is fetchmail and mutt. I have already established that the
> truncation is not happening in mutt, because I see it in
> /var/mail/pecondon .  I haven't yet figured out how I might check on
> fetchmail. I don't have access to the internals of my ISP.

It is probably not you.

> I'm working on getting him to press carriage return from time to time
> as he types, but he is somewhat set in his ways.

Why can't you get him to get his MUA to set the maximum line lengths?

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: kernel recompile - eth0 problems

2003-04-01 Thread Seneca
On Wed, Apr 02, 2003 at 10:11:31AM +0800, Brian Walker wrote:
> Searching through documentation I realized there was no module compiled 
> - recompiled but could not find the needed axnet_cs driver in the 
> choices revealed by make xconfig, and in /lib/modules/2.4.20/pcmcia not 
> a trace of a driver anywhere. BTW the difference between modules in 
> 2.2.20 and 2.4.20 - I now lack /net /usb and /cdrom, although I had 
> compiled them into the kernel. What does this reflect?

The layout changed between 2.2 and 2.4.  Take a look at
/lib/modules/2.4.20/kernel/*.

> Copied the old axnet_cs - no go. Booting, and dmesg informs me that only 
> the vendor can sort out the problem I am having with the driver ...
> 
> Search Google - nil that made sense to me.
> 
> Which FM or HOWTO would show the way forward? Any quickfix suggested?

Just take a look at $KERNEL_SOURCE/Documentation/Configure.help.  To get
axnet_cs, starting from the main menu (I'm more used to menuconfig),
select "Network device support", followed by "PCMCIA network device
support", and then the module "Asix AX88190 PCMCIA support".  This all
assumes that you've already enabled PCMCIA support in "General setup".

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [OT] Where stands 'rc' for?

2003-04-01 Thread Seneca
On Tue, Apr 01, 2003 at 01:42:08PM +0200, David Fokkema wrote:
> What does 'rc' mean in:
> 
> bashrc
> vimrc
> etc.
> 
> rc.local
> rc2.d
> etc.

$ dict rc
7 definitions found
[...]
From The Free On-line Dictionary of Computing (12 Sep 2002) [foldoc]:

  rc
   1.  (run commands) The {filename
   extension} common to many {Unix} configuration files, e.g.
   {.newsrc}, {.cshrc}, {.twmrc}, elmrc, etc.

   The suffix "rc" derives from a script-creation utility in
   {CTSS} called "{runcom}" (for "run commands").

   {Unix FAQ
   (http://www.cis.ohio-state.edu/hypertext/faq/usenet/unix-faq/faq/top.html)}.
[...]

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Gnome

2003-03-31 Thread Seneca
On Mon, Mar 31, 2003 at 04:35:27PM -0500, [EMAIL PROTECTED] wrote:
[please wrap your lines at ~72 characters]
> I have installed GNU/Linux on my PC. But, I didnt get any user
> interface like Gnome installed.

It seems like you were expecting X to be automatically installed with
Debian.

> Did I do anything wrong while installation or GNU/linux does not come
> with a user interface ?

By default, Debian doesn't install X.  Since it seems like you want it
(and GNOME), just "apt-get install x-window-system-core gnome".

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: undelete

2003-03-30 Thread Seneca
On Mon, Mar 31, 2003 at 11:40:33AM +1000, Joyce, Matthew wrote:
> I have foolishly deleted a file I did not want to.
> It was created this morning, so it is not backed up.
> 
> is there an undelete util ?

$ apt-cache search undelete
e2undel - Undelete utility for the ext2 file system
endeavour2 - File manager with builtin file previewer
gtkrecover - GUI for recover
recover - Undelete files on ext2 partitions
gmc - Midnight Commander - A powerful file manager. - Gnome version
$

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Toy Story List

2003-03-29 Thread Seneca
On Sat, Mar 29, 2003 at 10:26:10PM +1100, Lindsay Yardley wrote:
> Well I guess an nix OS is the ultimate toy so y not name them after a
> story about such. When's Buzz gunna get his turn?
> :-)

Buzz had his turn a few years ago.  Buzz is 1.1.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Newbie Help

2003-03-27 Thread Seneca
On Thu, Mar 27, 2003 at 03:37:50PM -0800, Kris wrote:
> I recently downloaded a .deb file how to I actually install it.  The deb
> package was not a standard deb package and I am so new I don't know how to
> setup a standard .deb file.  Please help

Is "dpkg -i foo.deb" what you want?

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: X

2003-03-23 Thread Seneca
On Sun, Mar 23, 2003 at 02:03:19PM -0700, Glenn English wrote:
> 
> I'm using wmaker, and when the system boots, it comes up with an X
> login. I don't want it to do that, and when I hit ctl-alt-bs, I get the
> Creeping White Screen Of Death (CWSOD) and I have to reboot. After
> login, selecting WindowManager Exit also gets the CWSOD. So does
> "shutdown -r now." I can't say for sure about ctl-alt-del. I can kill
> the wmaker process and get out of X. 
[...]
> I've never seen the CWSOD anywhere but here on Debian. Anybody know what
> causes that? Why does the system come up with an X login? I never
> (Intentionally) asked it to.

I don't know about your CWSOD, but the X login means that you have
[gkxw]dm installed.  You can uninstall whichever is installed or disable
it (rename the appropriate symlink in /etc/rc2.d).

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: No "File -> Save" in gimp

2003-03-18 Thread Seneca
On Tue, Mar 18, 2003 at 04:49:08PM +, Pigeon wrote:
> The subject says it all really... I've just installed gimp1.2 on my
> woody system and there are no Save, Save As etc. options in the File
> menu.
> 
> I can still save files by hitting Ctrl-S, but only over the top of the
> original file. I don't get prompted for a filename to save under, nor
> do I get a chance to save it into a different directory.
> 
> I haven't done anything "funny" to it - just apt-get install, go into
> X, type "gimp", get a File menu with "New..." and "Open..." but no
> "Save" or "Save As...". I load an image... still no "Save"/"Save As".
> I make some changes to the image... still no "Save"/"Save As".
> 
> Is there some incantation one has to perform to get a Save option? If
> so, what is it? And WHY???

Right-click on the picture that you are working on.  You should see a
bunch of menus come up.  One of those menus is a File menu; that File
menu has "Save" and "Save As".  My guess as to the reasoning behind
there being no Save item on the main File menu is that you can have more
than one file open and active.  How is the program to know which of the
files you want saved?

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Really Confused

2003-03-18 Thread Seneca
On Tue, Mar 18, 2003 at 04:31:18PM -0500, Bill wrote:
> I currently have Debian 2.2 R7 I3 installed and I am not sure what
> release I have whether its stable or unstable. I think I have unstable? I
> have been trying to get the NVidia Drivers working on it and people keep
> telling me to get woody. What I don't understand is what is the main
> difference between Stable, Unstable and woody? I would guess that stable is
> the most current release and unstable is a Beta (?). I am not sure where
> woody falls into place. I am not sure if it makes a difference or not but I
> am running this on a 1.2 Athlon with 256MB of RAM and 40GIG of storage.

2.2r7 is potato.  potato is old.  The current stable is woody.  Testing
is sarge.  Unstable is always sid.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: I need a little help

2003-03-17 Thread Seneca
On Mon, Mar 17, 2003 at 01:13:19PM -0700, Didier Caamano wrote:
> I was wondering how I can configure apache 1.3 to not allow visitors to 
> view the source code of the page when they click on View ->Source
> 
> Is there any option in apache to do that?, any hint will be appretiated.

Erm... how can you not allow visitors to view the source?  Their
browsers download the source and render it to be displayed.  Even if
there were some flag that would prevent the user from viewing the
unrendered source on some browsers, it would be useless.  All it would
take is a browser that doesn't respect the flag, looking through their
cache, or "telnet yoursite 80".  Why would you not want your visitors to
see the page's source?

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: GIF driver for Gimp ?

2003-03-16 Thread Seneca
On Sun, Mar 16, 2003 at 02:46:35PM +, dave selby wrote:
> I am using gimp quite heavily, I need to save files in .GIF format but it 
> appears not to be supported. 
> 
> I have been on the Gimp mailing list, they suggest I may need a .deb file to 
> enable it because it is supported in standard Gimp.
> 
> Having browsed through aptitude there are a lot of files related to GIF, and 
> some legal stuff about not being able to compress images.
> 
> Does anyone know which .deb to install to enable .GIF on Gimp, preferible in 
> compress mode as well as de-compress.

gimp1.2-nonfree

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: matrix uniq

2003-03-15 Thread Seneca
On Sun, Mar 16, 2003 at 09:09:36AM +0900, Youichi Mano wrote:
> I want to "uniq" by comparing the specified column for matrix data.
> I want to realize this operation by command line programs ,
> not any script file.
[snip example]
> Such a editing is easy in perl script but I cannot easily do that
> in command line. 
> 
> Is there any idea?

RTFM?

After a quick look at uniq(1), I came up with something that has the
desired output. Where foo is the name of the file, and you want the
leftmost field:

  $ uniq -f0 -W1 foo

The fields are numbered from 0-n, with 0 being the leftmost.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: odd compiler behaviour?

2003-03-14 Thread Seneca
On Fri, Mar 14, 2003 at 04:00:22PM +, Bruynooghe Floris wrote:
> I can't see why the second program fails to compile, as far as I would
> expect these programs are identical.

The programs are not identical; prog2.c has regular code between
declarations.  gcc-3.2 can compile both programs, unlike 2.95.

> Does anyone knows what goes wrong?

[EMAIL PROTECTED]:~/c$ gcc-3.2 --pedantic prog2.c
prog2.c: In function `main':
prog2.c:9: warning: ISO C89 forbids mixed declarations and code
[EMAIL PROTECTED]:~/c$

You can see that in prog1.c all the declarations occur before the code,
unlike prog2.c, which has one line of code in the middle of the
declarations.

[EMAIL PROTECTED]:~/c$ diff -u prog1.c prog2.c
--- prog1.c 2003-03-14 12:20:07.0 -0500
+++ prog2.c 2003-03-14 12:20:35.0 -0500
@@ -4,10 +4,10 @@
 {
   char* record;
   int record_size = 10;
-  int letter = 'a';
-  int i;
   record = (char*) malloc (record_size);

+  int letter = 'a';
+  int i;
   for (i=0; i < record_size; i++)
 {
   record[i] = (char) letter++;

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Source for 2.2.20 kernel

2003-03-13 Thread Seneca
On Thu, Mar 13, 2003 at 10:51:14AM -0600, Jeffrey L. Taylor wrote:
> I'm missing something.  What is the name of the source for the 2.2.20
> kernel?  That's what comes as the default in woody and I want to tweak
> it.  I can find headers, patches (what good are patches w/out source
> to patch?), ReiserFS and PCMCIA modules, but no source.  What gives?

I don't know.  The source for 2.2.22 is in woody.  You can grab the
source for 2.2.20 from sid or sarge; there wouldn't be any dependancy
problems with that.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Duplicating Woody Package?

2003-03-13 Thread Seneca
On Thu, Mar 13, 2003 at 10:35:08AM -0500, Robert L. Harris wrote:
> I finally got a second hard drive so I can put Linux on my wife's
> machine.  She'd like her X setup Identicle to mine.  I've installed a
> base Woody system, current kernel, etc.  Now I need to get all the same
> KDE packages on her machine.  Other than "dpkg -l | grep kde > file,
> copy the file to her machine and apt-get install < file" is there a 
> "better debian way" to do this?

If you were to use "dpkg -l", you would have to reformat the file before
it could be used.  This isn't totally reliable as some non-KDE packages
start with the letter 'k', but some KDE packages start with 'k' instead
of "kde".

On your machine:
dpkg --get-selections | grep ^k | awk '{ if ($2 == "install") print $1 }' > file

Edit file and remove non-KDE packages like kernel-images

On her machine:
apt-get install `cat file`

If you were to use your "apt-get install < file", the contents of the
file would be stdin instead of being on the command line.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Setting Static IP Address, done..now setup Apt-Get

2003-03-12 Thread Seneca
On Wed, Mar 12, 2003 at 05:41:14PM -0800, CM Miller wrote:
> I had to create my resolv.conf from scratch, not a big
> deal and I have apt-get lynx-ssl and vim...so I am on
> my way...thanks for the help
> 
> also, how do I apt-get X? 

apt-get install x-window-system-core

> And, what other packages should I apt-get? 

xterm, a window manager, perhaps aptitude, packages that look
interesting.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: default gateway

2003-03-11 Thread Seneca
On Wed, Mar 12, 2003 at 12:28:51AM +0200, Pavlos Parissis wrote:
> I am looking for the file that I have to modify in order to have static route
> enabled.
> I add the gateway manually with route add -net default gw 192.168.100.1 
> and I would like to find the config file.
> I am using woody 3.0.r1,any ideas?

man 5 interfaces

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [newbie] Setting up network

2003-03-10 Thread Seneca
On Tue, Mar 11, 2003 at 12:32:27AM +0200, Aryan Ameri wrote:
> Untill now, I only got online using a dial up connection. Now i am going to 
> dormitory, and in order to get online I have to connect to my dormitory's 
> LAN. I can setup the network using the following two commands:
> 
> ifconfig eth0 my.ip.add.ress up
> route add default gw my.gw.ip.address
> 
> but it is so frustrating to issue these commands whenever I reboot my 
> computer. I know there are ways to automate this proccess and there are 
> progrms which setup the network on each boot. But I am not able to find out 
> how. Can anyone please help?

"man 5 interfaces" should tell you all you need to know.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Apt-get, downloading a single package

2003-03-10 Thread Seneca
On Mon, Mar 10, 2003 at 05:31:39PM -0500, Radek Zajkowski [Deb] wrote:
> What would like a command to apt-get look like if I wanted to download a
> single package.

apt-get install -d foo

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: wtf? (long and frustrated)

2003-03-10 Thread Seneca
On Mon, Mar 10, 2003 at 11:49:03AM -0700, Glenn English wrote:
> Is there some FM or FAQ I've missed? Is there a CI program on Debian to
> configure X? Or is vi /etc/X11/XF86Config it? 

xf86config, but I normally go over it manually after.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: How can I find out what MTA a debian machine is using?

2003-03-10 Thread Seneca
On Mon, Mar 10, 2003 at 09:24:46AM -0500, stan wrote:
> On Mon, Apr 07, 2003 at 11:04:45AM -0300, GBV wrote:
> > Try to see e-mail headersGenerally it works if the system is not
> > configured to return a bogus version
> > 
> 
> OK, looks like I'm using exim.
> 
> Next question, where do i look for it's logfile?

/var/log/exim/*

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Debian cannot recognize NIC (was Re: debian-user-digest Digest V2003 #814)

2003-03-08 Thread Seneca
On Sat, Mar 08, 2003 at 05:11:08PM -0800, CM Miller wrote:
> Ok, I think I got the right right driver, no how do I
> set a static ip address?  I've tried a few things, but
> nothing has worked. 

When I first setup my 3c905b, I had to initially use manually use
ifconfig.  I think what I entered was:

  # ifconfig eth0 netmask 255.255.255.0 address 192.168.0.90 up

After bringing up the interface I then setup a route from my system to
the gateway.

Something I found with my 3c509 (different card) was that I had to get
it out of PnP mode before I could use it, but after getting it out of
PnP and changing its interrupt so it wouldn't conflict with another
device, it worked.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Debian cannot recognize NIC

2003-03-08 Thread Seneca
On Sat, Mar 08, 2003 at 11:26:50AM -0800, CM Miller wrote:
> Did a clean install of Debian Woody w/kernel
> 2.4.18-bf2.4 yesterday and when it came time to load
> modules for my NIC, which is a 3Com Fast Etherlink XL
> 10/100 Base TX, it was giving me errors.  Since I
> can't get this machine on my network, unable to get
> apt-get up as well. 
> 
> What do I have to do to get Debian to load the right
> modules here for my NIC? 

I've got that model of NIC.  Just "modprobe 3c59x".

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Sound

2003-03-06 Thread Seneca
On Thu, Mar 06, 2003 at 05:52:09AM -0500, Joel Konkle-Parker wrote:
> Seneca wrote:
> >"cat foo > /dev/dsp", however I can't promise that it'll sound good ;-)
> >
> >You should add yourself to the audio group, download some proper audio
> >players, and try playing something.  If by "supported by default" you
> >mean that it is compiled directly into the kernel, and is not a module,
> >then you don't have to load it separately.  Otherwise, just do a quick
> >"modprobe emu10k1" before trying to play anything.
> >
> 
> It exists, but it doesn't exist? Also, how do I add myself to the audio 
> groop? And yes, it's compiled directly into the kernel.

"adduser foo audio", where foo is your username.  You might want to take
a look at the adduser manpage.

> --
> # cat di604_firmware_218.zip > /dev/dsp
> bash: /dev/dsp: No such device

Were you doing that as root or as an ordinary user?  If you are doing
something as an ordinary user, use "$" for the prompt instead of "#".

> # ls -l /dev/dsp
> crw-rw1 root audio 14,   3 Mar 14  2002 /dev/dsp
> #

Those permissions look good

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Sound

2003-03-05 Thread Seneca
On Wed, Mar 05, 2003 at 09:25:41PM -0500, Joel Konkle-Parker wrote:
> Ok, so I just compiled kernel 2.2.20 with sound support and emu10k1 (or 
> whatever it's called) supported by default. So what do I need to install 
> to actually get some sound playing? Some sort of sound infrastructure or 
> something?
> 
> I have a soundblaster audigy.

"cat foo > /dev/dsp", however I can't promise that it'll sound good ;-)

You should add yourself to the audio group, download some proper audio
players, and try playing something.  If by "supported by default" you
mean that it is compiled directly into the kernel, and is not a module,
then you don't have to load it separately.  Otherwise, just do a quick
"modprobe emu10k1" before trying to play anything.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Kernel errors

2003-03-04 Thread Seneca
On Tue, Mar 04, 2003 at 09:41:52PM -0500, Joel Konkle-Parker wrote:
> I just compiled a fresh 2.2.20 kernel and rebooted into it for the first 
> time. During the boot, the kernel went into an endless cycle of the same 
> error message, something to the effect of "cannot modprobe  
>   binfmt###c; error=8". That's from memory, so I forget 
> what the switches are, and 'modprobe' could have been "cannot insert 
> module". I also can't remember the exact name, I just know it started 
> with binfmtc. The error code is correct.
> 
> Did I set a configuration setting wrong?

Possibly, I've never seen that error before.  It looks like a
misconfiguration, though.

> Upon seeing 'binfmt' in the error, I remember I set up the kernel to use 
> MISC binaries, and unset ELF and JAVA binaries. But the help said I 
> could do that...

Just because the help said you could doesn't mean you should.  ELF is
what your kernel and modules are probably compiled as; ELF support
should be compiled in, while a.out and misc could just be modules.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Dumb question: How do you reboot?

2003-03-04 Thread Seneca
On Tue, Mar 04, 2003 at 09:38:23PM -0500, Joel Konkle-Parker wrote:
> Ok, so I'm stumped. I just did a nice new install of Debian Woody, and I 
> can't figure out how I should reboot the thing. I have GNOME 1.4 
> running. There's no 'reboot' menu item, and when I log out, it brings me 
> to the GNOME login screen, with no 'reboot' item there, either. 
> CTRL-ALT-DEL doesn't work on the login screen. CTRL-ALT-BACKSPACE cuts 
> out of X for a second, but then it pops right back into the GNOME login. 
> The last time all I could do was CTRL-ALT-BACKSPACE repeatedly until X 
> gave me an error and quit for good, then I could CTRL-ALT-DEL it.
> 
> It seems like I must be missing something extraordinarily easy here.

You could CTRL-ALT-F1 to the console, login there, and enter the reboot
command.  You could bring up an xterm and issue reboot there.  The
command is "reboot", but you may need to use sudo to use it if you
aren't logged in as root (I normally just use sudo).

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Setting Default Framebuffer Mode

2003-03-04 Thread Seneca
On Tue, Mar 04, 2003 at 03:31:54PM -0600, Ian Melnick wrote:
> Every time my computer starts I need to use fbset to change the
> resolution. Is there a way to set the default framebuffer mode?

An excerpt from $KERNEL_SOURCE/Documentation/fb/framebuffer.txt:

  3. Frame Buffer Resolution Maintenance
  --

  Frame buffer resolutions are maintained using the utility `fbset'. It
  can change the video mode properties of a frame buffer device. Its
  main usage is to change the current video mode, e.g. during boot up in
  one of your /etc/rc.* or /etc/init.d/* files.

  Fbset uses a video mode database stored in a configuration file, so
  you can easily add your own modes and refer to them with a simple
  identifier.

-- 
Seneca
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: help

2003-03-02 Thread Seneca
On Sun, Mar 02, 2003 at 05:24:43PM -0600, Solomon Goldstein wrote:
> Hi, my name is Solomon Goldstein. I am installing Debian on my machine.
> After I'm done, I get to the Login promt, so I login and when I type
> "StartX", I get error message saying "Fatal Server Error:
> 
> No screens found".  Would this mean that I forgot to install
> something?

No, but you did forget to show us the rest of the output (and it's
startx, NOT StartX).  "No screens found" is a common error caused by
misconfiguration; look at the rest of the output from startx, look at
/etc/X11/XF86Config, compare the two and what you know of your setup.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: dselect

2003-03-02 Thread Seneca
On Sun, Mar 02, 2003 at 01:16:24PM +0530, Sukrit wrote:
> i am trying to installing a functional but minimalistic debian system. 
> Right now i am doing the following to install packages -
> 
> $apt-cache search package
> $apt-get install package
> 
> Obviously it is the worst thing to do in this case. i tried using

It is not the worst thing to do.  For my first 5 months of using Debian,
my system did not have a working NIC.  On a nearby Windows machine,
during those months, I would go through the Debian website, check on
dependencies, download the packages (via either the website or FTP),
floppy them to my system, and install.  Not only that, but that system
was running unstable, updated on weekends (it took to long to be updated
at any other time).

> dselect but it is bent on installing some 17 packages on my system. It
> seems that this is becuase i am using dselect on the system for the
> first time and those are the recommended packages. Pressing 'R' or 'D'
> should tell dselect to mind it's own business says the help but that
> isn't helping. dselect still wants to act like a controlling wife (and
> i don't want to act the henpecked husband).

You could try using aptitude.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: apt trouble

2003-03-02 Thread Seneca
On Sun, Mar 02, 2003 at 01:13:48PM +0530, Sukrit wrote:
> i am trying to get some packages of the unstable tree. So added
> following line to my source.list
> 
> deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
> 
> Then did a "apt-get update".
> 
> apt gets it's files from the server, everything is well. Database is updated.
> 
> Now if i try and install something, like
> apt-get -t unstable install gkrellm2
> [gkrellm2 is there in the unstable tree, i checked with other files too
> like libc6 etc]
> 
> i get an error couldn't find pacakge?
> What am i doing wrong?

You forgot to add a main line, such as:

  deb ftp://ftp.debian.org/debian unstable main contrib non-free

Also, you might want to install gkrellm instead of gkrellm2; gkrellm2 is
at 2.1.3-1 and gkrellm is at 2.1.7-1.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Debian Sound issue - Cannot load libvorbisfile file

2003-03-01 Thread Seneca
On Sat, Mar 01, 2003 at 08:13:19AM -0500, Subba Rao wrote:
> [EMAIL PROTECTED]:/usr/share/sounds$ play phone.wav
> playing phone.wav
> sox: error while loading shared libraries: libvorbisfile.so.0: cannot open shared 
> object file: No such file or directory

Do you have the package libvorbis0 installed?

-- 
Seneca
[EMAIL PROTECTED]


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



Re: Changing process priority

2003-02-26 Thread Seneca
On Wed, Feb 26, 2003 at 10:30:26PM +, Rodrigo Sobrinho wrote:
> well, when I logged at non super-user, I can not alter the priority of
> my process to negative number. Deny permission for me
> 
> [EMAIL PROTECTED]:~$ nice -n -1 kedit
> nice: n?o consigo alterar prioridade: Permiss?o negada
> 
> why?

An exerpt from renice(1):

  Users other than the super-user may only alter the priority of
  processes they own, and can only monotonically increase their ``nice
  value'' within the range 0 to PRIO_MAX (20).  (This prevents
  overriding administrative fiats.)  The super-user may alter the
  priority of any process and set the priority to any value in the range
  PRIO_MIN (-20) to PRIO_MAX.  Useful priorities are: 20 (the affected
  processes will run only when nothing else in the system wants to), 0
  (the ``base'' scheduling priority), anything negative (to make things
  go very fast).

-- 
Seneca
[EMAIL PROTECTED]


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




Re: server side ftp

2003-02-24 Thread Seneca
On Mon, Feb 24, 2003 at 07:14:46PM -0600, Noll, Ralph wrote:
> i need ftp installed so i can ftp to the box
> 
> any ideas

apt-cache search ftpd

-- 
Seneca
[EMAIL PROTECTED]


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



Re: PHP --with-imap

2003-02-23 Thread Seneca
On Sun, Feb 23, 2003 at 12:29:33PM -0600, Craig Jackson wrote:
[...]
> I get this error:
> 
> configure: error: Cannot find imap library (libc-client.a). Please check
> your IMAP installation.
> 
> libc-client2001 is in /usr/lib/ but libc-client.a is nowhere on the
> system. Hints please.

Try using "Search the contents of packages" on
http://packages.debian.org (it's near the bottom).  libc-client.a is in
libc-client2001-dev.

-- 
Seneca
[EMAIL PROTECTED]


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



Re: debian kernel configuration

2003-02-23 Thread Seneca
On Sun, Feb 23, 2003 at 09:29:14AM -0700, Andreas J Guelzow wrote:
> does anybody know where I can find the kernel configuration for the 
> debian kernels (the 2.4.18-smp to be exact)? I have to recompile the 
> kernelafter changing a few settings and would like to start with the 
> settings in the default kernel (since I know that they are working, 
> except that they don't support all the memory I would like to use).

If the kernel image is 2.4.18-smp then "/boot/config-2.4.18-smp".

-- 
Seneca
[EMAIL PROTECTED]


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



Re: [OT] Actually Way OT - Debian version names

2003-02-21 Thread Seneca
On Fri, Feb 21, 2003 at 09:29:08AM -0800, nate wrote:
> there was also hamm(2.0), and slink(2.1), not sure if those were part of
> toy story too ?

They are.  Hamm is the piggy bank, and slink is the slinky dog.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Sound in Kernel-Config

2003-02-20 Thread Seneca
On Thu, Feb 20, 2003 at 05:24:04PM +0100, Dieter Schoppitsch wrote:
> I try to compile a Kernel which supports my soundcard.
> I have a Yamaha OPL3 SA3 sound system (which I was told is a pcm).
> 
> In my Kernel-.configure I have the following options:
> 
> # Sound
> #
> CONFIG_SOUND=y
[...]
> # CONFIG_SOUND_OSS is not set
> 
> dmesg doesn't show anything pcm/sound-like.
> 
> Which choices I have to make to support my "Yamaha pcm"?

Take a look at the options that you can select after you select "OSS
sound modules".

-- 
Seneca
[EMAIL PROTECTED]


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




Re: File systems -- reiser vs. ext3

2003-02-18 Thread Seneca
On Tue, Feb 18, 2003 at 09:23:27PM -0500, Daniel B. wrote:
> Paul Johnson wrote:
> > ...
> > My pick of ext3 was the fact that all the tools that work with ext2
> > work just as readily with ext3.  I was also able to convert within a
> > few minutes from ext2 on the command line.
> 
> What do you use to convert?

tune2fs -j, although I would suggest that you read the manpage.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: modconf doesn't show drivers

2003-02-18 Thread Seneca
On Tue, Feb 18, 2003 at 01:33:16PM +0100, Yildiz, Murat wrote:
> I have woody 3.0 with kernel 2.4.19 self-compiled and now want to load a
> kernel module but when I run modconf no package is being shown.
> I have checked /lib/modules/2.4.19  , it exist.Where does modconf read
> available modules information?

After a quick look at modconf, it looks like it would get its module
listings by looking through all the directories in /lib/modules/2.4.19,
and finding *.o.  Are modules in /lib/modules/2.4.19?

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Apt-install base system to non-root drive?

2003-02-18 Thread Seneca
On Mon, Feb 17, 2003 at 09:30:40PM -0800, Paul Mackinney wrote:
> Hi, I'm off to cruise through the docs, but some quick help on this
> would be appreciated. I have a booting, network-capable system, but
> it's not running well. I'd like to install a clean copy of Sarge to a
> spare hard drive. The Sarge net-install CD was a total failure (see
> rant below, or ignore it). So is there any easy way to run the base
> install to a local partition? Once it's there I can boot it with grub
> and I'll be set. The Apt-HOWTO doesn't seem to cover this. Can dpkg or
> dselect do it?

Try using debootstrap.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: your mail

2003-02-17 Thread Seneca
On Mon, Feb 17, 2003 at 03:36:13PM +0100, Willem-Jan Meijer wrote:
[please use a non-blank, meaningful subject line]
> After my upgrade to testing/unstable everything still works fine except my
> KDE 
> sound. Tried XMMS, this one works fine but there aren't sounds from KDE.
> When 
> I go to the shell and run commands with arts in it, I still get the message:
> 
> /usr/bin/artsd: error while loading shared libraries: libvorbisfile.so.0: 
> cannot open shared object file: No such file or directory
> 
> How can I solve this one? I searched with apt-cache and dselect, the
> libvorbis0 package isn't installed correctly (i think).
> 
> After apt-get install libvorbis0:
> 
> Sorry, libvorbis0 is already the newest version.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
> Hessel:/home/normaal# 

libvorbisfile.so.0 is not in testing or unstable.  It is in stable.  The
libvorbis0 in unstable has libvorbis.so.0 and libvorbisfile3 has
libvorbisfile.so.3.  Where are your artsd and libvorbis0 from?

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Enabling frame-buffer support in debian kernel

2003-02-17 Thread Seneca
On Mon, Feb 17, 2003 at 06:51:13PM +, Steve Webster wrote:
> I'm trying to enable frame-buffer support while configuring 
> kernel-source-2.4.18, but all I get is a greyed-out list of choices in 
> xconfig.
> 
> This is what I've done
[...] 
> d) in /usr/src/linux did "make-kpkg kernel_image --added-patches 
> debianlogo,preempt" which adds the
> debian patches and executes xconfig
> 
> ...and that's about as far as I get. I can't see what choices I've made 
> that could have disabled frame-buffer and I can't find any relevent 
> patches. 

You don't need a special patch.  Try enabling an option that you have
not enabled before.

> Has anyone got any ideas how I can get this working?

Select "Prompt for development and/or incomplete code/drivers".

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Kernel Compilation and Keyboard

2003-02-16 Thread Seneca
On Sun, Feb 16, 2003 at 11:33:00PM -, Kevin Smith wrote:
> I'm running Debian Woody 3.0r1 on a powerpc (AppleMac G3 beige) and have
> used the precompiled Kernels in the past.
> 
> I decided to compile a Kernel from source (2.4.20) and everything works
> perfect apart from the keyboard, where the mapping is completely
> wrong... in fact, every key is different.  What do I need to do in order
> for the keyboard mapping to be correct for my location? (UK).
> 
> BTW, this is before I boot into X, this is at the console that the
> keyboard mapping is wrong.

"install-keymap foo", where foo is a valid keymap, will set the default
keymap on the console to foo.  "loadkeys foo" will change the currently
used keymap to foo, but will not change the default.  Keymaps are found
in /usr/share/keymaps, try with loadkeys the layouts that look like they
may be the one you want (perhaps mac-uk).

-- 
Seneca
[EMAIL PROTECTED]


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




Re: kernel-package

2003-02-15 Thread Seneca
On Sat, Feb 15, 2003 at 11:39:37PM +1300, Richard Hector wrote:
> I haven't found this in the docs - does make-kpkg create a new initrd
> image for me, or do the package scripts do that as part of the install
> process, or do I need to do it myself (presumably after installing the
> kernel package and before rebooting)?

man make-kpkg.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: /cdrom -vs- /dev/hdc

2003-02-12 Thread Seneca
On Wed, Feb 12, 2003 at 06:46:37PM -0500, Bruce Park wrote:
>  I'm having some trouble loading my audio cd through /cdrom directory. 
> Before I start talking about the problem, here are the files that are of 
> use to this problem.
[...]
>  I can actually load audio files through /dev/hdc and /dev/cdrom but I 
> cannot load them through /cdrom. I can mount and run data cds perfectly 
> through /cdrom but the audio files don't show up there for some reason.
>  Does anyone have an idea why this doesn't work? I'm looking to solve this 
> problem rather than to ignore it and use /dev/hdc or /dev/cdrom to load 
> audio files. Any help or suggestion is greatly appreciated.

Data disks generally have a file system, while audio disks generally
don't.  You need a file system to mount the disk.  You can get a list of
tracks that are on a disk using a package like cdcd (on the command
line, "cdcd tracks").

You are probably familiar with the basic concept of formatting floppies
for general use. The formatting first sets the sector size, interleave,
the number of cylinders used on the disk.  After that, a file system may
be put onto the disk, a common one being FAT12.  When that is done, you
can mount the floppy.  However, the disk does not need to have a file
system put onto it; a fair number of my floppies that I use don't (file
transfer using "tar -rf /dev/floppy/0u1440 foo").  If I try to mount
one one of those floppies, I get an error.  I can, however, read the
files contained in the archive.  All I do list the files is
"tar -tf /dev/floppy/0u1440", to extract, "tar -xf /dev/floppy/0u1440
foo".

With many audio CDs it is a similar situation to that of floppies with
no file system.  While you can listen to the disks by specifying the
drive, you cannot mount them.  You can take a look at the contents, but
you need to use something designed for that task.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Woody, Sarge, SID, WTF?

2003-02-12 Thread Seneca
On Wed, Feb 12, 2003 at 07:20:33PM -0200, Barry Rab wrote:
> Rick Macdonald wrote:
> 
> >If you did "apt-get update" after changing sources.list, then the
> >subsequent "apt-get dist-upgrade" has you running unstable, which is sid.
> >
> That said, is there anyway of backing out of this type of situation i.e. 
> getting back to Woody?

A few weeks ago, there was an article on Debian Planet about how someone
downgraded from testing to stable (I think the URL is
http://debianplanet.org/node.php?id=880).  Unstable is more different to
stable than testing, but if you want to try, just be sure to make a
backup and be ready to reinstall if needed.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: lost some binaries in crash

2003-02-11 Thread Seneca
On Tue, Feb 11, 2003 at 08:59:45PM -0500, Matthew Schibler wrote:
> My desktop system had a recent filesystem corruption problem. After
> running fsck I discovered I am now missing a few binaries. For example
> perl was missing, which I temporarily recovered by copying a working
> binary from another debian system. This allowed me to run apt-get (some
> portion of dpkg is perl based I think). I recovered a few things. Atleast
> what I am aware of. I still have a problem though. I need to know what is
> not complete, what files are missing or corrupted.

Is coreutils (specifically, the md5sum binary) good?

> Is there some way I can check my installed packages against those
> available and install what is missing/corrupted?

Is /var/lib/dpkg/info/ intact?  Each installed package has its md5sums in
there.  You can run (from /):

for PACKAGE in /var/lib/dpkg/info/*.md5sums;
do md5sum -c $PACKAGE;
done

This will output whenever a file cannot be opened (don't worry about not
having locales that you didn't generate) or when the md5sum didn't
match.  One non-corruption cause of non-matching md5sums is diversions,
so you should watch for them. You can find out about diversions and
missing files with "dpkg -S foo", where foo is the file that you are
looking for the owner of.

After determining which packages are missing files, just reinstall the
damaged packages (apt-get install --reinstall foo).

-- 
Seneca
[EMAIL PROTECTED]


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




Re: saving mutt email headers

2003-02-11 Thread Seneca
On Wed, Feb 12, 2003 at 01:23:23AM +, p wrote:
> in mutt, when i save an email to a
> file, how do i save the headers, too?

I just saved a copy of your message in mutt.  I looked at the saved copy
with less, and the headers were there.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Size of an i386 mirror (unstable and testing)

2003-02-11 Thread Seneca
On Tue, Feb 11, 2003 at 02:11:55PM +0100, Lukas Ruf wrote:
>   what is the algorithm used in  out of a list of different
>   servers as specified in  ?

I think it is the mirror closest to the start of sources.list with the
desired version.  If there is a problem downloading the file, apt tries
downloading the package with the next mirror with the desired version.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: cluttered up system?

2003-02-10 Thread Seneca
On Mon, Feb 10, 2003 at 04:15:30PM +0100, Bruno Boettcher wrote:
> is there a way to find out which packages are taking up how much space?
> making some stats about what's installed, where and how much ressources
> it eats up? would i e.g. by throwing out gnome get back 3/4 of my HD??
> (if that's the case i would happily go back to fvwm2...)

dpigs, which is part of debian-goodies.  To get it to show more than the
top ten space hogs, you'll have to modify it slightly, but it's a fairly
simple script.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: how to determine whether (first) printer is lp0 or lp1?

2003-02-08 Thread Seneca
On Sat, Feb 08, 2003 at 02:17:58PM -0500, Scott Henson wrote:
> On Sat, 2003-02-08 at 13:45, Seneca wrote:
> > On Sat, Feb 08, 2003 at 12:43:05PM -0500, Daniel Barclay wrote:
> > > Is there a direct way determine whether the (first) printer is /dev/lp0
> > > or /dev/lp1?
> > 
> > echo yes > /dev/lp0
> Doesnt always work.  For instance on my printer, youll get nothing.  A
> better way is cat /var/log/kern.log | grep lp  That should show you what
> port your printer is on.

That, too, doesn't always work.  On this system, lp0 (my printer) is not
mentioned in /var/log/*.  "dmesg | grep lp", does mention lp0, and only
because the lp module was loaded last night (I decided to get around to
getting this system to print, and I wanted to make sure I entered the
right device into magicfilterconfig).

-- 
Seneca
[EMAIL PROTECTED]


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




Re: how to determine whether (first) printer is lp0 or lp1?

2003-02-08 Thread Seneca
On Sat, Feb 08, 2003 at 12:43:05PM -0500, Daniel Barclay wrote:
> Is there a direct way determine whether the (first) printer is /dev/lp0
> or /dev/lp1?

echo yes > /dev/lp0

-- 
Seneca
[EMAIL PROTECTED]


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




Re: X won't start

2003-02-08 Thread Seneca
On Sat, Feb 08, 2003 at 04:24:18PM +0100, Andy Van Hoof wrote:
[please wrap your lines at ~72 characters]
> i just reinstalled debian (stable 3.0) and used tasksel to select some
> packages, one of them the kde graphical environment.
> 
> after the installation i got some automated setup stuff, telling me to
> select my gfx card etc (it's a matrox productiva g100 agp), then i
> tried running startx and it crashed on me saying: no usable screens
> found

What is in the rest of your startx output?  What is in your
/etc/X11/XF86Config?  The "no usable screens" error is quite common
whenever there is a config problem.  Your graphics card is supported.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: sed help

2003-02-07 Thread Seneca
On Fri, Feb 07, 2003 at 04:06:06PM +0900, Geengun Guim wrote:
> The identity is not www but the first +- simbol.
>
> c:\tmp\mbc+-www.mbc.co.kr+-cgi-bin+-cgi.cgi
> c:\tmp\mbc+-cs.mbc.co.kr+-cgi-bin+-cgi.cgi
> c:\tmp\mbc+-cdi.kbs.co.kr+-cgi-bin+-cgi.cgi
[...]
> Besides, I'd like to insert ping 66.66.66.66 everylines
> for waiting several seconds..  So the last output is like,
> 
> www.mbc.co.kr+-cgi-bin+-cgi.cgi
> ping 66.66.66.66
> cs.mbc.co.kr+-cgi-bin+-cgi.cgi
> ping 66.66.66.66
> cdi.kbs.co.kr+-cgi-bin+-cgi.cgi
> ping 66.66.66.66

cat test.txt
c:\tmp\mbc+-www.mbc.co.kr+-cgi-bin+-cgi.cgi
c:\tmp\mbc+-cs.mbc.co.kr+-cgi-bin+-cgi.cgi
c:\tmp\mbc+-cdi.kbs.co.kr+-cgi-bin+-cgi.cgi

sed -e 's/c:\\tmp\\mbc+-//' -e 'a\
ping 66.66.66.66
' < test.txt

-- 
Seneca
[EMAIL PROTECTED]


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




Re: Downgrading to xfree86 3.x

2003-02-06 Thread Seneca
On Thu, Feb 06, 2003 at 08:02:59PM -0600, Jeffrey Taylor wrote:
> I have an old VLB video card (ATI Graphics Ultra Pro).  It does not
> appear to be supported in xfree86 4.x.  How do I downgrade to xfree86
> 3.x in woody?

Looking at the readme (README.ati.gz) for X 4.2, your video card appears
to be supported (mach32).  If you want to downgrade, just use an xserver
that is not xserver-xfree86 (for that card, xserver-mach32).

-- 
Seneca
[EMAIL PROTECTED]


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




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Seneca
On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
> so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
> are a lot of debs.  can i safely delete these all to make room for the
> new ones?  there's nothing here that i need for these packages to run,
> right?

You don't need those debs.  Just run "apt-get clean".

-- 
Seneca
[EMAIL PROTECTED]


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




Re: More detailed post ...

2003-02-04 Thread Seneca
On Tue, Feb 04, 2003 at 11:48:45PM +, Dave Selby wrote:
> wget looks good to me, it even resets the modem and re-dials if it is not 
> getting the file 
> 
> Probarbly asking the earth ... There isn't a GUI wrapper for it ???

Just do a reverse-depends check on wget in aptitude, I found two
GUI packages that look like they use wget for their downloading: gtm and
kmago.

-- 
Seneca
[EMAIL PROTECTED]


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




Re: More detailed post ...

2003-02-04 Thread Seneca
On Tue, Feb 04, 2003 at 10:34:04PM +, Dave Selby wrote:
> 1. Is there a downloader for debian that will handle broken downloads ? If 
> not can anyone recommend one ?

Take a look at wget (I'm thinking of its options "-c" (continue a
previous partial download) and "-t" (retries)).

> 2. How do I sent an 'ATZ' reset string to my modem from the command line ?

Assuming your modem is /dev/ttyS1, "echo ATZ > /dev/ttyS1".

-- 
Seneca
[EMAIL PROTECTED]


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




  1   2   3   4   >