mutt read-only mailbox?
A friend of mine is running a debian sid. Everything is up to date. Since he ran his last dist-upgrade he can't delete mail. Mutt says the mailbox is read-only. He can send and receive mail fine. entering % to toggle read-only gives an error that the mailbox is read only. The filesystem is fine, I can vi the mailbox as a normal user and edit the files just fine. I removed the mailbox, sent an email, the mailbox was recreated and is still read-only. No options are being passed to mutt on startup. Permissions are this: {0}:moat:/var/mail>ls -la total 68 drwxrwsr-t2 root mail 4096 Jan 1 22:45 . drwxr-xr-x 13 root root 4096 Aug 16 19:52 .. -rw-rw1 nomadmail 764 Jan 1 22:45 nomad -rw-rw1 rhinomail53041 Jan 1 18:50 rhino Help? :wq! --- Robert L. Harris| Micros~1 : Senior System Engineer |For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Re: Sound newbie ... what is OSS, ALSA, etc all about?
On Tue, 2002-01-01 at 12:33, csj wrote: > On Wednesday 02 January 2002 01:53, Randolph S. Kahle wrote: > > I started researching how to get sound working on my machine and I am > > confused about the following: > > > > * ALSA > > > > * OSS > > You probably know what the letters stands for. The practical difference > between the two is that OSS (the lite version in any case) is in the > kernel source. ALSA is supposed to be the future of Linux sound, but as > of now you have to go the extra mile/km of installing some extra > packages. OSS, if you're lucky, should work out oft the box. To > maintain compatibility with the OSS majority, ALSA has an OSS emulation > layer. Use that if you can't get your favorite video player to work > with ALSA proper (that is you can do "videoplayer --audio OSS" instead > of "videoplayer --audio ALSA"). > > -- Thank you. If I want to focus on learning one thing related to sound (that will be valid now and for the future), I should focus on ALSA, even if it means a little extra work right now. Thank you -- Randy
Re: lilo warning
Jeff, 2001-Dec-30 17:46 -0800: > I just did an upgrade on my woody machine using > > apt-get update && apt-get upgrade > > and after make a minor mod to my lilo.conf, and running lilo, I > get the follow error: > > Warning: Int 0x13 function 8 and function 0x48 return different > head/sector geometries for BIOS drive 0x80 > Added Linux > Added LinuxOLD > Added Windows * > > I had no problems prior to this upgrade to verion 22.1 and my > /etc/lilo.conf is as follows: > > > lba32 > boot=/dev/hda > root=/dev/hda4 > install=/boot/boot.b > map=/boot/map > prompt > delay=100 > timeout=100 > vga=ask > default=Windows > > image=/vmlinuz > label=Linux > read-only > > image=/vmlinuz.old > label=LinuxOLD > read-only > optional > > other=/dev/hda1 > label=Windows > > > The minor change I made was 'vga=ask' from 'vga=normal', and > rebooting proves this change did not take, since I don't get > asked for a vga mode during boot. > > I haven't yet found any answers searching the Internet and > reading docs. So any help will be appreciated. To follow up: I have found that running lilo does function in righting to mbr, even though the error message appears. Another thing is that when installing a self-compiled kernel, created with kernel-package, using dpkg -i, this message does not appear during the lilo installation phase of the kernel install. jc -- Jeff CoppockSystems Engineer Diggin' Debian Admin and User
Re: xscreensaver requires manual activation
On Tue, Jan 01, 2002 at 10:18:39PM -0600, Nori Heikkinen wrote: | on Tue, 01 Jan 2002 08:01:08PM -0500, dman insinuated: | > On Tue, Jan 01, 2002 at 05:24:12PM -0600, Nori Heikkinen wrote: | > | (potato, 2.4.9) | > | running xscreensaver but it hasn't for some time started up by itself | > | when i start X. it says it is: | > | | > | orange:~> xscreensaver | > | xscreensaver: already running on display :0.0 (window 0x81) | > | from process 432 ([EMAIL PROTECTED]). | > | > I would track this down, this is likely the source of the problem. | > My guess is that there is a lock file sitting somewhere with "432" | > in it. What is process 432? I get this from everybuddy frequently | > the time because it doesn't remove the lock file when I logout from | > gnome and then thinks it is already running when it isn't. | | not sure what you're talking about here ... what exactly is a | lockfile, and how would i go about tracking it down and killing it? | here's everything i know about process 432: | | orange:~> ps aux | grep xscr | nori 432 0.0 0.6 2964 840 ?S 2001 0:04 /usr/X11R6/bin/xscreensaver That looks correct at least. | as for anything i know about lockfiles, | | orange:~> ls -la /var/lock/ | total 2 | drwxrwxrwt2 root root 1024 Jan 1 07:36 ./ | drwxr-xr-x 17 root root 1024 Aug 22 11:03 ../ | | ... nothing having to do with a lockfile on xscreensaver. would it be | there? if not, where? I would expect to find it under ~ somewhere, but I don't see one here either. To continue with my example from before, everybuddy dumps its pid in ~/.everybuddy/.lock. The next time it is run it looks for that file, and if it is found checks to see if that process is running. If it is run early on one time and the lock file is left behind, then the next time a gnome-terminal or something may get that pid and everybuddy (incorrectly) thinks it is already running. (this happens if I shut down frequently) -D -- Better a little with righteousness than much gain with injustice. Proverbs 16:8
Re: "C" Manual
On Tue, Jan 01, 2002 at 04:11:57PM -0700, Paul Scott wrote: > Eric G. Miller wrote: > > On Fri, 28 Dec 2001 15:48:08 -0800 (PST), "Jeffrey W. Baker" <[EMAIL > > PROTECTED]> wrote: > >>On Fri, 28 Dec 2001, dman wrote: > >>>On Fri, Dec 28, 2001 at 09:31:36AM -0800, Paul Mackinney wrote: > >>>| Gary Turner muttered: > >>>| > On Thu, 20 Dec 2001 16:11:33 -0500, Phil Beder wrote: > >>>| > > >>>| > >Where can I find a good, complete manual for C and C++ programming > >>>| > >languages for the gcc compiler. > >>>| > >>>... > >>>| Kernighan and Ritchie is 'the' C book, > >>>... > >>> > >>>Be aware though that K&R is the old standard. Their book describes > >>>"K&R C" which is very similar, but a bit different than ANSI C. > >>>Still, K&R is a highly recommended reference by many people. (I don't > >>>have it, but my friend's dad has an really old copy of it) > >>> > >>K&R 2nd edition, which is the only edition you can buy these days, deals > >>with ANSI C. It is completely accurate and I recommend it to anyone > >>learning C. > >> > > > > Unless a 3rd edition comes out, it is no longer up to date. But, AFAIK, > > there is only one fully comformant C99 compiler and it isn't gcc (although, > > gcc 3.0 is pretty close). I don't know that I'd recommend K&R to someone > > who doesn't have any programming experience, but it's still worth having > > around for reference. > > > Similarly, Stanley Lippman's C++ Primer (3rd edition?) may not be the > best for a beginner since it's in the style of K&R but it's a great C++ > reference. K&R C (2nd Edition) has everything I ever wanted to know about ANSI C, except about const. It may be small, but it is quite complete. It is a pleasant change to be able to carry around a 200 page book which is an almost-complete reference (and tutorial) instead of the 500-1000 page bricks that seem to be the standard now. -- [EMAIL PROTECTED] Welcome to the GNU age! http://www.gnu.org
SATILIK KOMPLE PASAJ(KELEPÝR)
Bursa Kestel ilçe merkezinde ,meydanda . 6 dükan 2 özel depo 8 tapu,her iÅe uygun. Hızlı pirim yapan ,ele geçmez bir yerde. Toplam 200 m2 civarı. Fiatı 100 bin dolar. Tel:0-224-3298655
Re: wwwoffle loading Newbie #61
On Tue, Jan 01, 2002 at 09:02:07PM -0500, Brenda J. Butler wrote: > On Tue, Jan 01, 2002 at 07:56:19PM -0600, Colin Watson wrote: > > On Tue, Jan 01, 2002 at 04:45:12PM -0500, Brenda J. Butler wrote: > > > And why can't we uninstall it without also uninstalling > > > task-dialup (via apt-get remove)? Does anyone have any > > > advice on this? > > > > The dialup task includes wwwoffle, and therefore task-dialup depends on > > it. Removing the task-dialup package is harmless. The confusion you're > > experiencing here is one of the reasons why, in woody, tasks are no > > longer managed with packages and dependencies in this way. > > But task-dialup contains ppp, fetchmail, anacron I was afraid > that un-installing task-dialup would also uninstall those. > > But I was misunderstanding the dependencies, I guess. > task-dialup depends on them, not the other way around. > > Still, shouldn't uninstalling task-dialup also uninstall them? > Imagine uninstalling task-dialup, hoping to do the inverse > of install task-dialup. Exactly, this was the other main problem with task packages, in that people expected them to work that way when they don't. These days 'tasksel install dialup' will install everything in the dialup task. 'tasksel remove dialup' arguably should be implemented, but doesn't seem to be at the moment. I'm filing a wishlist bug for that now. -- Colin Watson [EMAIL PROTECTED]
Re: upgrading xfree86
On Tue, Jan 01, 2002 at 08:46:23PM -0600, Deva Seetharam wrote: > i just wanted to see what would happen if i do a > "apt-get dist upgrade" > i get the message that xbase-clients, xdm, xf86setup etc will be removed. > > i dont understand what is going on. > Could anyone pls. help? All the old packages are removed, and new ones are installed. I'd like to know how your upgrade goes, I had to install xbase-clients manually after the update and wonder if it is something I did. -- William Burrow -- New Brunswick, Canada
Re: xscreensaver requires manual activation
on Tue, 01 Jan 2002 08:01:08PM -0500, dman insinuated: > On Tue, Jan 01, 2002 at 05:24:12PM -0600, Nori Heikkinen wrote: > | (potato, 2.4.9) > | running xscreensaver but it hasn't for some time started up by itself > | when i start X. it says it is: > | > | orange:~> xscreensaver > | xscreensaver: already running on display :0.0 (window 0x81) > | from process 432 ([EMAIL PROTECTED]). > > I would track this down, this is likely the source of the problem. > My guess is that there is a lock file sitting somewhere with "432" > in it. What is process 432? I get this from everybuddy frequently > the time because it doesn't remove the lock file when I logout from > gnome and then thinks it is already running when it isn't. not sure what you're talking about here ... what exactly is a lockfile, and how would i go about tracking it down and killing it? here's everything i know about process 432: orange:~> ps aux | grep xscr nori 432 0.0 0.6 2964 840 ?S 2001 0:04 /usr/X11R6/bin/xscreensaver as for anything i know about lockfiles, orange:~> ls -la /var/lock/ total 2 drwxrwxrwt2 root root 1024 Jan 1 07:36 ./ drwxr-xr-x 17 root root 1024 Aug 22 11:03 ../ ... nothing having to do with a lockfile on xscreensaver. would it be there? if not, where? tia again, <[EMAIL PROTECTED]>-- -http://www.sccs.swarthmore.edu/~nori/jnl/daily.html
Re: XFree 4.1 on Potato
On Wed, Jan 02, 2002 at 03:02:45PM +1000, Penguin wrote: | I have Potato 2.2r0. Unfortunately the unofficial debs for xserver-common | 4.1, etc etc will not install. dpkg complains that xfree(86?)-common is only | at 3.x version, when I need the 4.1 version. Why is this? I thought all those | packages that installed xserver-common etc for XFree 4.1 was all I needed to | get XFree 4.1 running so I could use my NVIDIA GeForce II MX400 64M AGP card. | | So, can anyone tell me what other debs I need to get this happening? dpkg | apparently needs xfree-common or xfree86-common, whatever that is. At the very least, xserver-common xserver-xfree86 xlibs xbase-clients xutils and you'll certainly want to get the font packages too. What you need to do to install these is install them at the same time. Eg : dpkg -i xserver-common_blah_blah.deb xserver-xfree86_blah_blah.deb If you try and do it one at a time you'll get those errors you were describing above. -D -- It took the computational power of three Commodore 64s to fly to the moon. It takes at least a 486 to run Windows 95. Something is wrong here.
MBR 13FA
Hi. My first install is functional, but apparently I made an improper choice in at least one instance as the system gives the following prompt when boot up is attempted from the hard drive : MBR FA13: ( One hard drive with half a dozen Linux only partitions, one of which is marked as bootable:Debian was installed to that partition ) Hitting the 'F' key allows me to boot up properly from the floppy. Hitting the 'A' key changes the prompt to read 1234F: Using CFDISK to change the hard drive so that the partition where Linux was installed ( I believe - HDA7 which is the only partition of type 'ext2' which I did specify during installation) changes the boot prompt to read MBR 13: 1: What program can I use to redirect the boot process to the proper partition on the hard drive? Changing settings using CFDISK has not yielded anything useful, and I doubt modifying a config file would affect the initial boot process (??) Searching 'MBR 13FA' yields basically nothing either in Google or at Debian.org and my knowledge of Linux/Unix does not yet allow me to form questions using the proper verbiage or tags, tho the results are often interesting. 2: Is Debian version 2.2.r4 also known as 2.2.19 ? The CD's I downloaded from cdimage.debian.org state they are Potato, Stable and dated Nov 5 2001, however I note that one or more of the programs run at login state they are part of version 2.2.19... ( I have seen mention of 2.2.24 more than once but am not sure where/why ) Does Debian use older portions of prior releases without updating their echo line or did I make more than the one or two mistakes I thought I made? 3: During setup I chose to manually install applications instead of taking bulk packaged sets. A minute later I realized there were thousands of programs on the CD's and the web and that I had no idea what most of them were. Short of running the installation program again, is there a command line program which allows me to at least place a few 'basic' packages up? Thank you Paul
Can't get DPMS to work with woody/sid
Ever since I upgraded to woody many many months ago (on two different machines) DPMS no longer powers off my monitors. I just can't figure it out. xscreensaver blanks the screen but it never goes into power-saving modes. I'm actually running woody/sid. Can anybody claim that this works with XFree 4.x? ...RickM...
Re: OT: Language War (Re: "C" Manual)
On Tue, Jan 01, 2002 at 09:39:18PM -0600, Richard Cobbe wrote: | Lo, on Tuesday, January 1, dman did write: | | > On Tue, Jan 01, 2002 at 10:34:25AM -0600, Richard Cobbe wrote: | > | Lo, on Tuesday, January 1, dman did write: | > | | > | > The strength and staticness of typing are two independent properties. | > | | > | Also agreed. | > | > Cool, I'm glad you know this stuff too! | | Oh yeah. I've got *way* too much Scheme/LISP experience to think that | static typing and `strong' typing are the same thing. :-). | > | 2) downcasts in a class hierarchy, as in Java. (Note that `upcasts' | > | aren't really casts: if B is a subclass of A, then an instance of B | > | *is* an instance of A, no cast needed.) | > | > This is only needed with unintelligent compiler. *You* know you have | > a B at runtime, but the compiler doesn't so it whines and complains. | > Thus you must "cast" the pointer/reference to appease the compiler. | > The cast in java doesn't do anything else (aside from a runtime | > verification as well)[1]. | | Well, in some cases, a sufficiently sophisticated compiler could | determine at compile time that what it thinks is an A will, in fact, | always be a B, thus removing the need for a downcast. However, I don't | think this sort of proof is possible in the general case. I think this is what Haskell compilers do. | And you're quite right, the downcast simply appeases the compiler by | telling it, `No, this really is a B.' The important thing is that you | have the runtime check to verify this. Without that, nasty things | happen. | > | [Downcasts] are, however, useful in some situations, so (I | > | believe) many advanced languages with a static type system support | > | these. However, as in Java, there's a run-time check that goes | > | with it. C++'s dynamic_cast gets this right. | > | > Take CORBA for example. With python, you just have an object with the | > given methods. No problem, no difficulty. | | I've not worked with Python very much. You're missing out on the fun. With your Lisp/Scheme background you will like the fact that python has built-in lists and has some functions (map, reduce, filter) to work with them in a functional style. | Does it do compile-time type analysis like C++ or Java? No. It is completely runtime checked. | I know that if there were CORBA bindings for a language like LISP or | Scheme, you wouldn't have to worry about casts---the methods you | expect are automatically there. Presumably the same applies to | Smalltalk, but I'm not sure. This is how python works for all objects, not just CORBA. You simply use it the way you want to (based on what you expect the type to be) and, of course, document that as a precondition for the function. If you need a file-like object, state that, and it is the client's responsibility to provide one. The beauty of it is (1) no time is spent telling the compiler what you have and (2) polymorphism is achieved without requiring inheritance (of classes or interfaces). The python-orbit package contains python bindings for ORBit. This particular binding doesn't have any IDL compiler program. When you load it (import the module) it hooks itself into the import mechanism. If it finds an idl file that matches the module you (later on) try to import it will parse it then and create the necessary classes. You _know_ the classes are there and you know the methods are there because they are (you wrote the IDL or someone else did and you read it). It is really convenient and a time saver! | > With java you have to use a special "narrow" method to create an | > instance of a class that implements the interface, but does so in | > terms of corba calls. With the inflexible type system java uses, the | > downcast-wannabe is necessary (ugh!). | | This is one instance, I believe, where there's a very visible tradeoff | between the flexibility of run-time typechecks and the early error | detection provided by compile-time typechecks. Let's take OCaml | (another language that I'm really not all *that* familiar with). It has | an object system and checks types at compile time, but it also has a | much more flexible type system than Java's. Instead of saying than an | object is of type Foo, you instead say that the object has type | < a : int -> int, b : ('a -> bool) -> 'a list, ... > | which means that the object has *at least* methods a and b, and that a | and b have the indicated types. Yeah, this is like specifying (part of) the interface the type must conform too. It is much more flexible because it does not specify the type (class) but just a piece of the interface. | However, if you know full well that the object in question *also* has a | method c (of whatever type), you won't be able to invoke it, because the | compiler hasn't been able to prove that the object will always have such | a method. I would imagine there's some sort of checked downcast | opera
XFree 4.1 on Potato
I have Potato 2.2r0. Unfortunately the unofficial debs for xserver-common 4.1, etc etc will not install. dpkg complains that xfree(86?)-common is only at 3.x version, when I need the 4.1 version. Why is this? I thought all those packages that installed xserver-common etc for XFree 4.1 was all I needed to get XFree 4.1 running so I could use my NVIDIA GeForce II MX400 64M AGP card. So, can anyone tell me what other debs I need to get this happening? dpkg apparently needs xfree-common or xfree86-common, whatever that is. -- James
Re: cannot add printers w/ CUPS
On Tue, Jan 01, 2002 at 07:34:46PM -0800, Kurt Lieber wrote: | On Tuesday 01 January 2002 07:15 pm, dman wrote: | | > Are you using devfs? (if you don't know, then you aren't) | | nope -- just plain ext2 :-). devfs is a magic, non-existant, filesystem, similar to /proc. | > Do you | > have the 'lp' kernel module loaded? Does | > echo "hello world" >> /dev/lp0 | > cause anything to happen? | | I don't know if I have the lp kernel module loaded. (If I do, it's compiled | into the kernel -- lsmod doesn't show anything lp-related) | | echo "hello world" >> /dev/lp0 | | results in: | | bash: /dev/lp0: No such device Ok, you're missing printer support in the kernel. Can you "modprobe lp"? Did you compile the printer support? (CONFIG_PRINTER) Once you get the echo command to work, then CUPS should be no trouble. HTH, -D -- Commit to the Lord whatever you do, and your plans will succeed. Proverbs 16:3
Re: bash ?
You probably need to use an alias, rather than a shell script. The problem is that the shell script is performed in a new process, that has its own current directory, and is forgotten when it exits alias "cddoc=cd /usr/share/doc" Put the alias in your bash startup file, that's ~/.bashrc or some such. Alternatively, you can execute the shell script with dot: . myscript executes the script in the context of the current shell. Mike -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com [EMAIL PROTECTED] Tilting at Windmills for a Better Tomorrow. "I give you this one rule of conduct. Do what you will, but speak out always. Be shunned, be hated, be ridiculed, be scared, be in doubt, but don't be gagged." -- John J. Chapman, "Make a Bonfire of Your Reputations" http://www.goingware.com/reputation/
Re: OT: Language War (Re: "C" Manual)
Lo, on Tuesday, January 1, Ben Collins did write: > On Tue, Jan 01, 2002 at 10:12:09AM -0600, Richard Cobbe wrote: > > > > > Secondly, you can make this mistake with any language that allows > > > references (perl, python, and java all allow it). Just replace free() > > > with some other assignment that changes what a is, and ultimately you > > > change b, which referenced it, unintentionally. > > > > True. That, however, is not a type error of the sort that I'm > > describing. And, in any case, the behavior of the program in that > > situation is well-defined by the language specification. This is *not* > > the case with C or C++. > > Of course it is defined. It says that after you free() an allocation, > that the memory the pointer references is gone and using the pointer > afterwards is undefined. No, the program's behavior is *NOT* defined. If it were defined, you would be able to predict the exact output of the program. Saying that the standard specifically marks the program as having undefined behavior does not count as defining its behavior. In the alternative that you suggest (some assignment which changes a rather than deleting it), the program's output *is* predictable. You're going to get a string printed out, and this string will appear as a string literal in the program's source or be constructed by the program during execution. The important thing is that it will have been constructed as a string and not be some random sequence of bytes. Predicting the exact string that is printed may require some effort, but (assuming the absence of pseudo-random number generators and assuming that you know the program's full input) it is possible. Richard
Re: how to edit and upload html page to isp web host?
pico,mcedit,vi or joe,ncftp package or simply ftp.. At 07:28 PM 1/1/02, mikepolniak wrote: What do i need to create a simple index.html page, and upload it to my isp web hosting site. I will mostly use jpeg files from screen shots and digital camera. -- Save bandwidth and time - Get Mailfilter - The Anti-Spam Utility http://mailfilter.sourceforge.net/index.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Petre L. Daniel,System Administrator Canad Systems Pitesti Romania, http://www.cyber.ro, email:[EMAIL PROTECTED] Tel:+4048220044, +4048206200
Re: OT: Language War (Re: "C" Manual)
Lo, on Tuesday, January 1, dman did write: > On Tue, Jan 01, 2002 at 10:34:25AM -0600, Richard Cobbe wrote: > | Lo, on Tuesday, January 1, dman did write: > | > | > The strength and staticness of typing are two independent properties. > | > | Also agreed. > > Cool, I'm glad you know this stuff too! Oh yeah. I've got *way* too much Scheme/LISP experience to think that static typing and `strong' typing are the same thing. > | 2) downcasts in a class hierarchy, as in Java. (Note that `upcasts' > | aren't really casts: if B is a subclass of A, then an instance of B > | *is* an instance of A, no cast needed.) > > This is only needed with unintelligent compiler. *You* know you have > a B at runtime, but the compiler doesn't so it whines and complains. > Thus you must "cast" the pointer/reference to appease the compiler. > The cast in java doesn't do anything else (aside from a runtime > verification as well)[1]. Well, in some cases, a sufficiently sophisticated compiler could determine at compile time that what it thinks is an A will, in fact, always be a B, thus removing the need for a downcast. However, I don't think this sort of proof is possible in the general case. And you're quite right, the downcast simply appeases the compiler by telling it, `No, this really is a B.' The important thing is that you have the runtime check to verify this. Without that, nasty things happen. > [1] with "primitive" types, I think java may do some conversion > (certainly with float->int it must), but I'm not totally sure (I > think with int->byte it doesn't, just truncates) Yes, Java's casts between primitive types are conversions (as are C's). Those aren't downcasts, though, as there's no type hierarchy involved (it is not the case that an int IS-A byte, even though an int can represent all possible values that a byte can). > | [Downcasts] are, however, useful in some situations, so (I > | believe) many advanced languages with a static type system support > | these. However, as in Java, there's a run-time check that goes > | with it. C++'s dynamic_cast gets this right. > > Take CORBA for example. With python, you just have an object with the > given methods. No problem, no difficulty. I've not worked with Python very much. Does it do compile-time type analysis like C++ or Java? I know that if there were CORBA bindings for a language like LISP or Scheme, you wouldn't have to worry about casts---the methods you expect are automatically there. Presumably the same applies to Smalltalk, but I'm not sure. > With java you have to use a special "narrow" method to create an > instance of a class that implements the interface, but does so in > terms of corba calls. With the inflexible type system java uses, the > downcast-wannabe is necessary (ugh!). This is one instance, I believe, where there's a very visible tradeoff between the flexibility of run-time typechecks and the early error detection provided by compile-time typechecks. Let's take OCaml (another language that I'm really not all *that* familiar with). It has an object system and checks types at compile time, but it also has a much more flexible type system than Java's. Instead of saying than an object is of type Foo, you instead say that the object has type < a : int -> int, b : ('a -> bool) -> 'a list, ... > which means that the object has *at least* methods a and b, and that a and b have the indicated types. However, if you know full well that the object in question *also* has a method c (of whatever type), you won't be able to invoke it, because the compiler hasn't been able to prove that the object will always have such a method. I would imagine there's some sort of checked downcast operation to handle this situation. In short: downcasts are perfectly safe if and only if there's a runtime check involved. > | template > | void register_callback(void (* cb)(T), T data); > > That's not so bad, if you can stand the bloat this creates (C++ > templates are expanded at compile time, thus you get one copy of this > function for each type it needs to work with). Mph. Don't write off polymorphism (which is what C++ templates approximate) just because most C++ compilers do a really bad job of implementing it. It's a useful concept, and there are better strategies out there; ML compilers tend to use these instead. (To be fair, these strategies have their own costs associated with them, but the code size doesn't go through the roof.) (Note, btw, that in the previous paragraph, `polymorphism' does NOT refer to the OO concept.) Richard
Re: resuming apt-get downloads
On Tue, Jan 01, 2002 at 02:24:16AM +0200, Serafim Zanikolas wrote: > On Mon, Dec 31, 2001 at 11:59:35AM -0800, Osamu Aoki wrote: > > Or run from root: > > # apt-setup >I'm afraid that /etc/apt/sources.list has mostly ftp entries, and > apt-get output indicates that these are the ones actually being used. > I haven't found any of the keywords ``resume'' or ``partial'' neither > in the relevant man pages nor the apt-howto. I observed it by experience :) APT automatically resume from where it failed and never download twice. Difference in using HTTP and FTP are minor. '-f' option may help you anyway if you have poor connection. >Also tried with apt-cache to figure out what's the package that > contains apt-setup but, again, with no success. Thank you for your > reply, any other hints greatly appreciated! $ dpkg -S apt-setup base-config: /usr/share/man/pt_BR/man8/apt-setup.8.gz base-config: /usr/share/man/pl/man8/apt-setup.8.gz base-config: /usr/sbin/apt-setup base-config: /usr/lib/base-config/40apt-setup base-config: /usr/share/man/man8/apt-setup.8.gz $ $ auto-apt search apt-setup usr/sbin/apt-setup base/base-config So if you installed any Debian system, you should have it ! > Happy new year :) Happy new year, too ;) -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://qref.sourceforge.net/quick/ +
Re: wwwoffle loading Newbie #61
On Tue, Jan 01, 2002 at 07:56:19PM -0600, Colin Watson wrote: > On Tue, Jan 01, 2002 at 04:45:12PM -0500, Brenda J. Butler wrote: > > On Sun, Dec 30, 2001 at 09:14:39PM +, Pollywog wrote: > > > OR, preferably, remove the startup links with > > > > > > update-rc.d -f wwwoffle remove > > > > > > The second approach at least allows you to stop or start wwwoffle > > > manually. > > > > Well, the update-rc.d man page says that this will only work if > > /etc/init.d/wwwoffle has also been removed. > > The -f switch to update-rc.d, as supplied above, overrides this sanity > check. Oops, sorry. I should have RTWFM (whole). > > And why can't we uninstall it without also uninstalling > > task-dialup (via apt-get remove)? Does anyone have any > > advice on this? > > The dialup task includes wwwoffle, and therefore task-dialup depends on > it. Removing the task-dialup package is harmless. The confusion you're > experiencing here is one of the reasons why, in woody, tasks are no > longer managed with packages and dependencies in this way. But task-dialup contains ppp, fetchmail, anacron I was afraid that un-installing task-dialup would also uninstall those. But I was misunderstanding the dependencies, I guess. task-dialup depends on them, not the other way around. Still, shouldn't uninstalling task-dialup also uninstall them? Imagine uninstalling task-dialup, hoping to do the inverse of install task-dialup. I guess that is the confusion you are talking about. As for woody, I have it on order, awaiting its arrival with baited breath! Thank you for your patient understandable response. -- [EMAIL PROTECTED] Welcome to the GNU age! http://www.gnu.org
Re: cannot add printers w/ CUPS
On Tuesday 01 January 2002 07:15 pm, dman wrote: > Are you using devfs? (if you don't know, then you aren't) nope -- just plain ext2 > Do you > have the 'lp' kernel module loaded? Does > echo "hello world" >> /dev/lp0 > cause anything to happen? I don't know if I have the lp kernel module loaded. (If I do, it's compiled into the kernel -- lsmod doesn't show anything lp-related) echo "hello world" >> /dev/lp0 results in: bash: /dev/lp0: No such device --kurt
Re: resuming apt-get downloads
On Tue, Jan 01, 2002 at 02:07:27AM +, Brian Potkin wrote: > On Mon, Dec 31, 2001 at 11:59:35AM -0800, Osamu Aoki wrote: > > Which file transfer mode did you use and are you using? > > FTP vs. HTTP > > > > FTP can resume partialy downloaded file transfer. > > > > HTTP can not resume partialy downloaded file but faster and easy on IP > > masquerading. > > I don't know about the masquerading part but apt-get can certainly > resume an interupted download using HTTP. Resume in 2 sense: APT downloads multiple package files using underlying protocol and will resume smartly. If APT is used with HTTP, it resumes session by downloading from the package it failed at the first run from its start. APT used with FTP will resume from mid-point of the half downloaded file. So difference is small if you are downloading many files :) -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://qref.sourceforge.net/quick/ +
how to edit and upload html page to isp web host?
What do i need to create a simple index.html page, and upload it to my isp web hosting site. I will mostly use jpeg files from screen shots and digital camera. -- Save bandwidth and time - Get Mailfilter - The Anti-Spam Utility http://mailfilter.sourceforge.net/index.html
Re: cannot add printers w/ CUPS
On Tue, Jan 01, 2002 at 07:06:04PM -0800, Kurt Lieber wrote: | On Tuesday 01 January 2002 06:58 pm, dman wrote: | > Does the web interface work? (http://localhost:631) | | It works in that I can display the page and navigate around, but it doesn't | successfully add a printer. Also, when I try to use the "add printer" | feature, it doesn't display my parallel port in the drop down list, so | perhaps it isn't detecting it??? Yeah, it sounds like you have a lower level problem. | How can I tell whether or not my parallel port is active and detected by | linux? ls /dev shows par0, 1 and 2 as well as parport0, 16, 32 and 48. Are you using devfs? (if you don't know, then you aren't) If not then the presence of a device file has no bearing as to whether or not the device works. I am using devfs and I don't have any /dev/par* files. I do have /dev/printers/0 and (a symlink) /dev/lp0. Do you have the 'lp' kernel module loaded? Does echo "hello world" >> /dev/lp0 cause anything to happen? -D -- In his heart a man plans his course, but the Lord determines his steps. Proverbs 16:9
Re: cannot add printers w/ CUPS
On Tuesday 01 January 2002 06:58 pm, dman wrote: > Does the web interface work? (http://localhost:631) It works in that I can display the page and navigate around, but it doesn't successfully add a printer. Also, when I try to use the "add printer" feature, it doesn't display my parallel port in the drop down list, so perhaps it isn't detecting it??? How can I tell whether or not my parallel port is active and detected by linux? ls /dev shows par0, 1 and 2 as well as parport0, 16, 32 and 48. --kurt
Re: cannot add printers w/ CUPS
On Tue, Jan 01, 2002 at 06:40:21PM -0800, Kurt Lieber wrote: | Just installed cupsys and related packages and am trying to add my first | printer, an HP LaserJet 6L. | | I've tried using the PPDs available through linuxprinting.org as well as the | generic laserjet.ppd included with CUPS. | | Nothing seems to work -- here is the command syntax I'm using, as well as the | error message I always get: (beware line wrapping) | | M3:/usr/share/cups/model# lpadmin -p laserjet -m laserjet.ppd -v | parallel:/dev/lp0 -E | lpadmin: add-printer failed: client-error-not-possible | | Any ideas? Does the web interface work? (http://localhost:631) -D -- A)bort, R)etry, D)o it right this time
Re: bash ?
perhaps the script could look like this: cd /usr/share/doc pwd cd exit 0 good luck :) At 06:43 PM 1/1/02, Jijo Jose A wrote: hi all I had a bash script and it have the line #- script begins cd /usr/share/doc pwd exit 0 #-- ends when i run the code within HOME it outputs /usr/share/doc but after i exited from the script ,current directory remains the HOME. i need to cd through the script .what can i solve this ? TIA -jijo jose <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Petre L. Daniel,System Administrator Canad Systems Pitesti Romania, http://www.cyber.ro, email:[EMAIL PROTECTED] Tel:+4048220044, +4048206200
Re: bash ?
Jijo Jose A wrote: > I had a bash script and it have the line > > #- script begins > cd /usr/share/doc > pwd > exit 0 > #-- ends > > when i run the code within HOME > it outputs > > /usr/share/doc > > but after i exited from the script ,current directory remains the HOME. > i need to cd through the script .what can i solve this ? Your script is executed in a subshell, so of course your main shell isn't affected by the change of directory. You could simply source the script instead of executing it in a subshell, but I think a better solution would be to make this an alias. Craig
upgrading xfree86
Hi, I am running 2.2r4 potato. i need to upgrade my x, since only xfree86 4.1.0 supports my video card(matrox g450). So, i am trying to upgrade all x related package such as xserver-common, xbase-clients etc when i do "apt-get upgrade xbase-clients" i get the message 0 upgraded, 0 installed, 0 to remove and 299 not upgraded. (before running the above command, i "did apt-get update" with sources.list pointing to woody.) i just wanted to see what would happen if i do a "apt-get dist upgrade" i get the message that xbase-clients, xdm, xf86setup etc will be removed. i dont understand what is going on. Could anyone pls. help? thanks, deva Get free e-mail and a permanent address at http://www.amexmail.com/?A=1
bash ?
hi all I had a bash script and it have the line #- script begins cd /usr/share/doc pwd exit 0 #-- ends when i run the code within HOME it outputs /usr/share/doc but after i exited from the script ,current directory remains the HOME. i need to cd through the script .what can i solve this ? TIA -jijo jose <[EMAIL PROTECTED]>
cannot add printers w/ CUPS
Just installed cupsys and related packages and am trying to add my first printer, an HP LaserJet 6L. I've tried using the PPDs available through linuxprinting.org as well as the generic laserjet.ppd included with CUPS. Nothing seems to work -- here is the command syntax I'm using, as well as the error message I always get: (beware line wrapping) M3:/usr/share/cups/model# lpadmin -p laserjet -m laserjet.ppd -v parallel:/dev/lp0 -E lpadmin: add-printer failed: client-error-not-possible Any ideas? --kurt
ifup fails on boot after upgrade to woody
Hi, I recently upgraded from potato to woody, and now my network connection is not set up properly at boot time. I get the following error message: Configuring network interfaces: ERROR while getting interface flags: No such device. my /etc/network/interfaces file looks like: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp If I run dhclient by hand after boot, it seems to work ok, but if I run ifdown and then try to run ifup it fails. Any idea what could be wrong? Thanks, Curt
Is http://www.linuxdoc.org up?
Is http://www.linuxdoc.org up? I've tried to get through, but each time I've tried in the past little while my connection timed out. Seneca [EMAIL PROTECTED]
Re: Upgrade potato -> woody
On Tue, Jan 01, 2002 at 08:14:11PM -0400, William Burrow wrote: > It seems that after completing the upgrade from potato to woody, that X > was completely unusable. After a few hours searching around for the > appropriate package, downloading and installing, I got X working again. What package did you end up needing to install? Was that all you had to do? > I am wondering if anybody has had this problem and filed a bug report on > it yet? So far there aren't enough details to tell, but you could hunt around on http://bugs.debian.org/>. If you want to see (wade through, perhaps) all bugs against the XFree86 4 packages, see http://bugs.debian.org/src:xfree86>, although it would probably be sensible to try something just a *little* more fine-grained. -- Colin Watson [EMAIL PROTECTED]
Re: wwwoffle loading Newbie #61
On Tue, Jan 01, 2002 at 04:45:12PM -0500, Brenda J. Butler wrote: > On Sun, Dec 30, 2001 at 09:14:39PM +, Pollywog wrote: > > OR, preferably, remove the startup links with > > > > update-rc.d -f wwwoffle remove > > > > The second approach at least allows you to stop or start wwwoffle manually. > > Well, the update-rc.d man page says that this will only work if > /etc/init.d/wwwoffle has also been removed. The -f switch to update-rc.d, as supplied above, overrides this sanity check. > Anyone, wtf is this wwwoffle thing anyway? I don't have a man > page or an info page for it, and there is nothing in /usr/share/doc. The package appears to contain a number of man pages and substantial documentation in /usr/share/doc/wwwoffle. It sounds like you've removed the package. > And why can't we uninstall it without also uninstalling > task-dialup (via apt-get remove)? Does anyone have any > advice on this? The dialup task includes wwwoffle, and therefore task-dialup depends on it. Removing the task-dialup package is harmless. The confusion you're experiencing here is one of the reasons why, in woody, tasks are no longer managed with packages and dependencies in this way. > Hmm, maybe it's being triggered by ip-up. Ian, look in > your /etc/ppp/ip-up.d directory for a related script. The package does seem to have ip-up and ip-down hooks. -- Colin Watson [EMAIL PROTECTED]
KDE - lpr clash
On my system, KDE applications that use the "centralized KDE printing facilities" cannot print. Printing from Konqueror, for instance, generates an error saying "/usr/bin/lpr -P 'lp' '-#1' somefile failed ...". I've managed to track this down to my lpr command not accepting the command-line option "-#", which specifies the number of copies to be printed out. The man page mentions "Often a site will disable this feature...", so I've spent the last 2 hours sweeping through the WHOLE /etc directory and all lp* manpages trying to figure out how this option may have been disabled on my system by some default Debian configuration. Without any success. Is the Debian lpr compiled without the "-#" option? Is there some obscure lpr/lpd config file buried somewhere in my system specifying this behaviour? Should I just give up and try something like CUPS or LPRng instead? Any ideas? TIA, -- Carlos Sousa
Re: How can I get the Euro symbol?
On Tue, 1 Jan 2002 16:15:42 -0500 dman <[EMAIL PROTECTED]> wrote: > It is 'language-env'. According to 'apt-cache policy' I don't think > it is in potato. (potato is _really_ _really_ old) Many thanks, dman. What you have written makes sense to me - I shall read it over the next day or so and attempt to put it into practice. Shame about GTK, since this is what most of the apps I run use :-( I appreciate the time and effort you have taken to help me to understand. Take care. -- Phillip Deackes Using Debian Linux /"\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL AND NEWS / \
Re: cerecord for testing compliled with 2.4 kernel?
The author seems to think that using a precompiled binary for cdrecord is asking for problems /usr/doc/cdrecord/README.linux.gz You might consider doing an apt-get source cdrecord Sean On Tue, 1 Jan 2002 10:05:33 -0500 Ed Lawson <[EMAIL PROTECTED]> wrote: > Recently updated my testing box and got a message it was compiled with 2.4 > kerenl > and would not work under 2.2 kernel. Indeed I now get an error message > related to > /dev/zero. > > Why would a package for testing be compiled under 2.4 when that is not the > base kernel for testing? > > I do not think tellinng people to install a 2.4 kernel or forego cdrecord > makes much > sense. > > Or am I missing sommething? > > Ed Lawson > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- GPG Public Key available: http://www.gutenpress.org/gpg/sean.asc pgpNOFGRZwFmQ.pgp Description: PGP signature
Re: Must I have an `alias char-major-14 off' line?
On Wed, Jan 02, 2002 at 02:28:05AM +0200, Shaul Karl wrote: | > On Tue, Jan 01, 2002 at 01:21:09PM +0200, Shaul Karl wrote: | > | > | Yet I wonder why do I get these lines in the first place? In | > | particular, I have the following in /etc/modules.conf: | > | | > | # alias char-major-14 sb | > | # options adlib_card io=0x388 # FM | > | synthesizer | > | # options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 | > | # options sbpcd 0x230,SoundBlaster | > | > These are not "lines", they are comments. They have no effect | > whatsoever. Remove the leading '#' character if you want them to be | > actual lines instead of comments. | | That is exactly the thing I do not understand. Since those lines are | only comments, why does modprobe tries to locate module | char-major-14 in the first place? (I do not want any sound.) First you have to see what char-major-14 is, then determine what process is trying to access that service from the kernel. The purpose of the alias lines is to tell the kernel which module provides that service on your system. -D -- Bugs come in through open windows. Keep Windows shut!
Re: xscreensaver requires manual activation
On Tue, Jan 01, 2002 at 05:24:12PM -0600, Nori Heikkinen wrote: | (potato, 2.4.9) | running xscreensaver but it hasn't for some time started up by itself | when i start X. it says it is: | | orange:~> xscreensaver | xscreensaver: already running on display :0.0 (window 0x81) | from process 432 ([EMAIL PROTECTED]). I would track this down, this is likely the source of the problem. My guess is that there is a lock file sitting somewhere with "432" in it. What is process 432? I get this from everybuddy frequently the time because it doesn't remove the lock file when I logout from gnome and then thinks it is already running when it isn't. -D -- The Lord detests all the proud of heart. Be sure of this: They will not go unpunished. Proverbs 16:7
cerecord for testing compliled with 2.4 kernel?
Recently updated my testing box and got a message it was compiled with 2.4 kerenl and would not work under 2.2 kernel. Indeed I now get an error message related to /dev/zero. Why would a package for testing be compiled under 2.4 when that is not the base kernel for testing? I do not think tellinng people to install a 2.4 kernel or forego cdrecord makes much sense. Or am I missing sommething? Ed Lawson
Re: ADAPTEC 2040U2W PROBLEM
JM Vainio muttered: > > - Original Message - > From: "Paul Mackinney" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 01, 2002 10:37 PM > Subject: Re: ADAPTEC 2040U2W PROBLEM > > > > nate muttered: > > > > > > > Hello! > > > > > > > scsi bus is being reset for host 0 channel 0. > > > > scsi host 0 channel 0 reset (pid17) timed out - trying harder > > > > scsi bus is being reset for host 0 channel 0. > > > > scsi host 0 abort (pid17) timed out - resetting > > > > scsi bus is being reset for host 0 channel 0. > > > > (scsi0:0:0:0) device reset, message buffer in use > > > > Is anyone here familiar with this kind of issues? > > > yep i had that occur on my 2 intel ISP2150 servers. > > > the workaround is to tell the driver not to reset > > > the card, its a kernel option you type when you > > > boot the system at the boot: prompt. navigate through > > > the help screens and it will be there, its something > > > like > > > > > > aic78xxx=no_reset > > > > > If your card is like mine, there are some options you can configure at > > boot by typing Ctrl-A, one of them has something to do with allowing > > resets. > > > > HTH, Paul > > > Well, please inform me which option you mean. I think I have tried quite many > of them...:-) But if you know the one, it might help. > > And the card is Adaptec 2940u2w. Ctrl-A Advanced Configuration Options Reset SCSI Bus at IC Initialization: default= Enabled Now that I look at it, it doesn't seem too likely to help. I just mentioned it because I knew that I'd seen the word 'reset' in there. GL, Paul -- Paul Mackinney | Who profited from Sept 11? [EMAIL PROTECTED] | http://www.copvcia.com/
Re: Must I have an `alias char-major-14 off' line?
> On Tue, Jan 01, 2002 at 01:21:09PM +0200, Shaul Karl wrote: > > | Yet I wonder why do I get these lines in the first place? In > | particular, I have the following in /etc/modules.conf: > | > | # alias char-major-14 sb > | # options adlib_card io=0x388 # FM > | synthesizer > | # options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 > | # options sbpcd 0x230,SoundBlaster > > These are not "lines", they are comments. They have no effect > whatsoever. Remove the leading '#' character if you want them to be > actual lines instead of comments. > That is exactly the thing I do not understand. Since those lines are only comments, why does modprobe tries to locate module char-major-14 in the first place? (I do not want any sound.) The syslog has Jan 1 11:29:47 rakefet modprobe: modprobe: Can't locate module char-major-14 Jan 1 11:29:48 rakefet last message repeated 2 times -- Shaul Karl email: shaulka(at-no-spam)bezeqint.net Please replace (at-no-spam) with an at - @ - character. (at-no-spam) is meant for unsolicitate mail senders only.
Re: apt-get segmentation fault
> Some time ago I started and aborted an upgrade of some packages via FTP. Now > everytime I try to install or update the list of available packages I get a > Segmentation Fault. "dpkg --yet-to-unpack" shows that there are 89 packages > marked for installation (many more than the five or six I really want to > install), so I guess this problem is being caused by some inconsistency in the > packages database. If so, is there any way to correct it? > > Until we meet again... > > Hélio Perroni Filho > Perhaps /var/lib/dpkg/{available,status} are corrupted and you need to use the -old version? -- Shaul Karl email: shaulka(at-no-spam)bezeqint.net Please replace (at-no-spam) with an at - @ - character. (at-no-spam) is meant for unsolicitate mail senders only.
Re: When will Woody be thawed ?
Hi David We installed Potato pre Beta in Jan 2000 I ran it until late last November when we upgraded to Woody pre Beta. Never been sorry. Rock solid I suspect if you are running a server, run Potato. To paraphrase somebody, Potato is out of date, but stable Woody is broken in a few respects but works mostly very well Sid is broken in many respects, but if you file bug reports, the bugs get fixed more quickly, since it isn't frozen. And the bug reports are a service. I suppose you have to decide between up-to-date and reliability. YOu get a lot of each with any Debian choice. --David On Mon, 31 Dec 2001, David Z Maze wrote: > penguin1 writes: > P> AKA taken out of frozen and put into stable or whatever. > P> Is it worth waiting for the first Woody proper rather than getting a > frozen > P> Woody right now? > > Only parts of woody are actually "frozen" right now. I suspect it > will be several months still before we see a "stable" woody release. > I also suspect that most of the problems in woody will be worked out > by then; if you want something with a strong promise of working well, > I'd wait for woody, but if potato is Just Too Old for you, you might > be better off upgrading now. > > -- > David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ > "Theoretical politics is interesting. Politicking should be illegal." > -- Abra Mitchell > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > --David David Teague, [EMAIL PROTECTED] Debian GNU/Linux Because software support is free, timely, useful, technically accurate, and friendly. (I hope this is all of the above.)
Upgrade potato -> woody
It seems that after completing the upgrade from potato to woody, that X was completely unusable. After a few hours searching around for the appropriate package, downloading and installing, I got X working again. I am wondering if anybody has had this problem and filed a bug report on it yet? Debian is great for the install once and upgrade scheme, but something always seems to break on upgrade. Having no working GUI after an upgrade where one was installed previously seems like a pretty serious bug. -- William Burrow -- New Brunswick, Canada
Re: Problem with libdvdread
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 31 December 2001 1:00 pm, I wrote: > I am having a problem with libdvdread in that it is failing to find the > video_ts.info file - the error message after being started by mplayer is > shown below. > Sorry to reply to my own post, but I seem to have fixed the problem and some others I was having. Since I have been unable to find any reference to what I did in any FAQ I thought I would post here for those that might be experiencing the same. As well as the problem above, previously although I did not experience the problem described above I needed to login as root to get it play past the first segment of video. Now I can watch a complete dvd without logging out of my personal account. Solution 1) Build a new kernel with the udf filesystem in it (as a module) 2) Change the mount point for the /dev/dvd to be a) auto file type rather than iso9660 b) allow users to mount it. I don't know why these two changes worked - but I can now watch dvds and before I couldn't :-) - -- Alan - [EMAIL PROTECTED] http://www.chandlerfamily.org.uk -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Mht11mf3M5ZDr2kRAqBhAJ9GAxOEcPAg+Pg4i7tMsw04bIgjPwCfSxUg Q8u6ogPPTPTuNM7Aq2Ic540= =umop -END PGP SIGNATURE-
Re: wwwoffle loading Newbie #61
On 2002.01.01 21:45 Brenda J. Butler wrote: On Sun, Dec 30, 2001 at 09:14:39PM +, Pollywog wrote: > On 2001.12.30 20:21 Ian Balchin wrote: > > Put this in the script /etc/init.d/wwwoffle on a line by itself, after the > line that has #!/bin/sh > > exit 0 > > > > OR, preferably, remove the startup links with > > update-rc.d -f wwwoffle remove > > > The second approach at least allows you to stop or start wwwoffle manually. Well, the update-rc.d man page says that this will only work if /etc/init.d/wwwoffle has also been removed. I can't imagine why that would be the case. Anyone, wtf is this wwwoffle thing anyway? I don't have a man page or an info page for it, and there is nothing in /usr/share/doc. (Ok, google says wwwoffle homepage is http://www.gedanken.demon.co.uk, and it's the World Wide Web Offline Explorer). And why can't we uninstall it without also uninstalling task-dialup (via apt-get remove)? Does anyone have any advice on this? That's correct. wwwoffle allows you to download a website and browse it offline at a later time. -- Andrew
Re: OT: Language War (Re: "C" Manual)
William, Richard, and all: Stroustrup has said that if you find you have to cast, (much) your design is flawed. --David Teague On Tue, 1 Jan 2002, William T Wilson wrote: > On Tue, 1 Jan 2002, Richard Cobbe wrote: > > > > | Casting you can't really get away from nor do you really need to. In > > > fact > > > | the more strongly typed the language is, the more casting you have to > > > do. > > > > > > This statement is incorrect. > > > > Agreed. > > I suppose I will agree as well, I was not meaning to include dynamically > typed languages in the original statement, I just didn't say that :} > Really it was not a very good statement to make, although in the original > context it wasn't so bad :} > > > However, I think that the flexibility of a type system is more > > important than its `strength' for removing the need for casts. > > I will go along with that as well. In ML for instance (and other > languages as well) there is parametric polymorphism which give you a lot > of the flexibility of dynamic typing while still retaining much of the > error checking of static typing. This is different from the > "polymorphism" found in C++ in which you can have virtual functions (which > still require the programmer to provide all the different implementations) > and inheritance (which only permits polymorphism within a very limited set > of types). Although I do not know Haskell my understanding is that this > is how it works as well. > > For instance you could have: > fun times x y = x * y; > > You could then apply this function to either reals, ints, or one of each > and then it would return the appropriate type. The compiler will trace > the execution through the function, deducing which are legal types from > the operators and functions used within the function. In this way you do > not need to write a separate function for each combination of types your > functions might want to operate on, even though ML is a statically typed > language. > > But because the checking is all done at compile-time you do not have much > risk of runtime errors due to type problems. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > --David David Teague, [EMAIL PROTECTED] Debian GNU/Linux Because software support is free, timely, useful, technically accurate, and friendly. (I hope this is all of the above.)
Local imap from remote pop
I have accounts on several servers at my hosting service. I normally read my mail via ssh and elm. I would like to download my mail via POP and read it off a server in my house using IMAP. Is it possible to do what I want, and can you tell me the basics of what I will need to do? I've never set up a mail server of any sort. I would like to fetch the POP mail via an SSH tunnel. The usernames for the different accounts are in general different from any of the usernames I use on my local machines. It would probably be best to recieve mail on my own machine, but I don't have a static IP address - so I have to let the hosting service get my mail and use pop to retrieve it. I am using unstable (I guess that's sid) on a PowerPC macintosh. Thanks, Mike Crawford [EMAIL PROTECTED] http://www.goingware.com/
Re: wwwoffle loading Newbie #61
On Sun, Dec 30, 2001 at 09:14:39PM +, Pollywog wrote: > On 2001.12.30 20:21 Ian Balchin wrote: > > Hi, > > > > My default installation, console mode only, installed woffle. > > > > [EMAIL PROTECTED] suggested that I change the names in the /etc/rc?.d files > > from, say, @S20wwwoffle to, say, @s20wwwoffle which I did. > > > > However, watching top while I did my wvdial/ppp/exim/fetchmail email run > > I was suprised to see wwwoffle spring to the fore. I checked my renaming > > > > of the links and all was correct. I had not renamed the @K links assuming > > > > this would not be a problem. > > > > What is happening here, how can wwwoffle be disabled short of > > uninstalling it? > > > > You can do that in either of two ways. > > Put this in the script /etc/init.d/wwwoffle on a line by itself, after the > line that has #!/bin/sh > > exit 0 > > > > OR, preferably, remove the startup links with > > update-rc.d -f wwwoffle remove > > > The second approach at least allows you to stop or start wwwoffle manually. Well, the update-rc.d man page says that this will only work if /etc/init.d/wwwoffle has also been removed. Ian, moving the S20wwwoffle link to s20wwwoffle will only have an effect when you reboot. If you want to turn off wwwoffle before your reboot, you can do: /etc/init.d/wwwoffle stop Ie, run the /etc/init.d/wwwoffle program on the command line with "stop" as an argument Anyone, wtf is this wwwoffle thing anyway? I don't have a man page or an info page for it, and there is nothing in /usr/share/doc. (Ok, google says wwwoffle homepage is http://www.gedanken.demon.co.uk, and it's the World Wide Web Offline Explorer). And why can't we uninstall it without also uninstalling task-dialup (via apt-get remove)? Does anyone have any advice on this? I read somewhere about it being for web use. Why would it be triggered on a fetchmail call? Hmm, maybe it's being triggered by ip-up. Ian, look in your /etc/ppp/ip-up.d directory for a related script. Although I don't find anything related in my system. Then again, maybe my attempts to remove wwwoffle succeeded, in spite of my request to abort the removal after finding that task-dialup was also slated for removal. -- [EMAIL PROTECTED] Welcome to the GNU age! http://www.gnu.org
xscreensaver requires manual activation
(potato, 2.4.9) running xscreensaver but it hasn't for some time started up by itself when i start X. it says it is: orange:~> xscreensaver xscreensaver: already running on display :0.0 (window 0x81) from process 432 ([EMAIL PROTECTED]). but the screen just blanks out after five minutes (the delay i have set), and doesn't start xscreensaving. i can get it going by typing xscreensaver-demo, and then just exiting the menu without doing anything, after which it starts up after five inactive minutes with no problem. ...weird. any ideas? below are the salient parts from my .xscreensaver file: # XScreenSaver Preferences File # Written by xscreensaver-demo 3.22 for nori on Wed Jul 4 12:58:31 # 2001. # http://www.jwz.org/xscreensaver/ timeout: 0:05:00 cycle:0:05:00 lock: False lockTimeout: 0:00:00 passwdTimeout: 0:00:15 visualID: default installColormap:True verbose: False timestamp: False splashDuration: 0:00:00 demoCommand: xscreensaver-demo prefsCommand: xscreensaver-demo -prefs helpURL: http://www.jwz.org/xscreensaver/man.html loadURL: netscape -remote 'openURL(%s)' || netscape '%s' nice: 10 fade: True unfade: True fadeSeconds: 0:00:03 fadeTicks: 20 captureStderr: True font: *-medium-r-*-140-*-m-* [...] pointerPollTime:0:00:05 windowCreationTimeout:0:00:30 initialDelay: 0:00:00 sgiSaverExtension:True mitSaverExtension:False xidleExtension: True procInterrupts: True overlayStderr: True TIA, <[EMAIL PROTECTED]>-- -http://www.sccs.swarthmore.edu/~nori/jnl/daily.html
Compiling kernel 2.4.16 error please help
I'm running Woody with currently kernel-2.4.9 and I'm trying to build kernel-2.4.16 with kpkg-make. I tried to use the config-2.4.9 that I am currently using but it gave me a ton of error's sbout USB so I did the make xconfig and selected/deselected the things that I needed/didn't need and it starts to build the package. The first thing that I see is /usr/lib/modules not found.. that goes by fast and I think that is the correct path that is said. It will compile for awhile then I get this error: modversions.h -c -o accel.o accel.c rm -f rivafb.o ld -m elf_i386 -r -o rivafb.o fbdev.o riva_hw.o accel.o make[4]: Leaving directory `/usr/src/kernel-source-2.4.16/drivers/video/riva' /usr/bin/make -C sis modules make[4]: Entering directory `/usr/src/kernel-source-2.4.16/drivers/video/sis' gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.16/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.16/include/linux/modversions.h -DEXPORT_SYMTAB -c sis_main.c sis_main.c: In function `sisfb_heap_init': sis_main.c:1265: `HW_CURSOR_AREA_SIZE' undeclared (first use in this function) sis_main.c:1265: (Each undeclared identifier is reported only once sis_main.c:1265: for each function it appears in.) sis_main.c:1087: warning: unused variable `temp' sis_main.c: In function `sisfb_post_setmode': sis_main.c:1647: `IND_SIS_CRT2_WRITE_ENABLE' undeclared (first use in this function) make[4]: *** [sis_main.o] Error 1 make[4]: Leaving directory `/usr/src/kernel-source-2.4.16/drivers/video/sis' make[3]: *** [_modsubdir_sis] Error 2 make[3]: Leaving directory `/usr/src/kernel-source-2.4.16/drivers/video' make[2]: *** [_modsubdir_video] Error 2 make[2]: Leaving directory `/usr/src/kernel-source-2.4.16/drivers' make[1]: *** [_mod_drivers] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.4.16' make: *** [stamp-build] Error 2 [EMAIL PROTECTED]:/usr/src/linux$ I was using the guide from newbieguide.sourceforge.net that Colin pointed out as my reference. Any guidance that you all could provide would be greatly appreciated. Thanks Don __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
Re: "C" Manual
Eric G. Miller wrote: On Fri, 28 Dec 2001 15:48:08 -0800 (PST), "Jeffrey W. Baker" <[EMAIL PROTECTED]> wrote: On Fri, 28 Dec 2001, dman wrote: On Fri, Dec 28, 2001 at 09:31:36AM -0800, Paul Mackinney wrote: | Gary Turner muttered: | > On Thu, 20 Dec 2001 16:11:33 -0500, Phil Beder wrote: | > | > >Where can I find a good, complete manual for C and C++ programming | > >languages for the gcc compiler. | ... | Kernighan and Ritchie is 'the' C book, ... Be aware though that K&R is the old standard. Their book describes "K&R C" which is very similar, but a bit different than ANSI C. Still, K&R is a highly recommended reference by many people. (I don't have it, but my friend's dad has an really old copy of it) K&R 2nd edition, which is the only edition you can buy these days, deals with ANSI C. It is completely accurate and I recommend it to anyone learning C. Unless a 3rd edition comes out, it is no longer up to date. But, AFAIK, there is only one fully comformant C99 compiler and it isn't gcc (although, gcc 3.0 is pretty close). I don't know that I'd recommend K&R to someone who doesn't have any programming experience, but it's still worth having around for reference. Similarly, Stanley Lippman's C++ Primer (3rd edition?) may not be the best for a beginner since it's in the style of K&R but it's a great C++ reference. Paul Scott
Re: VIM features
Previously Caleb Shay wrote: > I second this. For example, at the bottom of /etc/vim/vimrc there are > several lines commented out "as they cause vim to behave a lot different > from regular vi". However, as was pointed out below, vim is NOT the > default vi when you install, so why not enable some more of it's better > features. Because I'm not willing to for several reasons: 1. every time I enable a feature that makes vim a bit more unlike vi I get multiple bugreports 2. vim is very well documented, if people want to try any of its features they can trivially enable them themselves 3. which features you want enabled is a very personal choice, one that I am not willing to make for users. So I'll always pick the choice that makes vim more like stock vi. This keeps things consistent and prevents endless debates. Also, please keep this thread on debian-user instead of debian-devel, since the choice directly affects the user experience and is not related to Debian development. Wichert. -- _ /[EMAIL PROTECTED] This space intentionally left occupied \ | [EMAIL PROTECTED]http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Re: Trying to install Sun's Java2 Runtime
Thanks! It works beautifully! :) So much easier than the other approach... Pontus On Tuesday 01 January 2002 21.50, dman wrote: > On Tue, Jan 01, 2002 at 09:24:52PM +0100, Pontus Edvardsson wrote: > | Hi, > | > | I'm on Woody, kernel 2.4.17 and have been trying to install the Java2 > | Runtime v1.3.1 from Sun without any luck... > | I've followed their instructions; downloaded the autoextracting file and > | unpacked it in /usr/java as they sugges > > t. It doesen't report any problems, > > | but will not work either... Is this the only, or is there other > | java-runtimes available for Debian? How can I troubleshoot? > > My opinion is to forget those commercially distributed tarballs since > they are usually more complicated and you have no assurance that it > will work on _your_ system. Instead, for java, go to blackdown.org > and add one of their mirrors to your apt sources. The package is > 'j2re1.3' or 'j2sdk1.3' depending on whether you want just the runtime > or the whole development bundle. > > -D
X Install problems-Re-Install X only ?
Hi Folks, I've now got myself a copy of the 4 binary cd's,the 2.2_r4 version. I made it to the point of configging x where upon the install went badly wrong. It found my video card well enough ( an nvidia tnt2 m64 something w/32 mg o' ram :-)...it's an agp card.. the motherboard is a K7S5A w/an athlon 750 & 256 meg o'ram...anyways.. the xconfig file never got installed..I know this. It was trying to load,I got a message saying to push "ok" to switch to graphics mode..then I'd get an error message something along the lines of "ernno11" ? It did not give me a signal 11..(at least that I know of) like I was getting when trying to install this in another box . Which I never did get to install...(an FIC 503+, k6 2-500 in an AT case) Well I had to do a crtl-alt-delete to get the machine to stop cycling between the error messages because x was certainly not going to load that I could see. So I get back to log in well enough (am able to do so,as root too ). I'm even able to cruise my directories via midnight commander..get to linuxconf and a few other places..just not load x (of course not cause xconfig never got loaded !!) When I type "startx" now I get errors along the lines of "/usr/bin/x11/xauth error in loading shared libraries libXmu.so.6 cannot open shared libraries" Or "xinit error" and the like... So my question is..how do I load x again in Debian without going thru a complete install again ? I took the advanced route (omg the the package selection here is outstanding). I love what I see from debian so far,just wish I could get it to run..lol. If I was still in Mandrake I'd know what to do, but the vibes from Debian are really nice :-). So once again I thank you all so very much for your time !! Lee
Re: Trying to install Sun's Java2 Runtime
It's running fine for me :) The below is from 1.4B2 but I had 1.3.x running fine prior. What specifically do you observer when "it doesn't work"? Send the output of errors and what you entered to the debian-user list. [EMAIL PROTECTED]:[52]~ java -version java version "1.4.0-beta2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77) Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode) [EMAIL PROTECTED]:[53]~ which java /usr/local/jdk/bin/java [EMAIL PROTECTED]:[54]~ Pontus Edvardsson wrote: Hi, I'm on Woody, kernel 2.4.17 and have been trying to install the Java2 Runtime v1.3.1 from Sun without any luck... I've followed their instructions; downloaded the autoextracting file and unpacked it in /usr/java as they suggest. It doesen't report any problems, but will not work either... Is this the only, or is there other java-runtimes available for Debian? How can I troubleshoot? Thanks, Pontus
ADAPTEC 2040U2W PROBLEM (nothing helps...)
- Original Message - From: "Paul Mackinney" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 01, 2002 10:37 PM Subject: Re: ADAPTEC 2040U2W PROBLEM > nate muttered: > > > > > Hello! > > > > > scsi bus is being reset for host 0 channel 0. > > > scsi host 0 channel 0 reset (pid17) timed out - trying harder > > > scsi bus is being reset for host 0 channel 0. > > > scsi host 0 abort (pid17) timed out - resetting > > > scsi bus is being reset for host 0 channel 0. > > > (scsi0:0:0:0) device reset, message buffer in use > > > Is anyone here familiar with this kind of issues? > > yep i had that occur on my 2 intel ISP2150 servers. > > the workaround is to tell the driver not to reset > > the card, its a kernel option you type when you > > boot the system at the boot: prompt. navigate through > > the help screens and it will be there, its something > > like > > > > aic78xxx=no_reset > > > If your card is like mine, there are some options you can configure at > boot by typing Ctrl-A, one of them has something to do with allowing > resets. Well, I did find some kind of option like that, from the SCSI controlle BIOS, and I tried it. I am not quite sure whether you meant the same thing, but the result was just the same. But then there was one additional strange thing when I tried this option with no bootable SCSI harddisk connected (just having the CDrom, CDrw and Zip drive in the SCSI bus). The installer just halted, with the message saying the following: unable to handle kernel paging request at virtual address 336a3035 current->tss.cr3=00101000,%cr3=00101000*poe= Oops: Cpu: 0 EIP: 0010:[] EFLAGS : 00010046 eax : 336a302e ebx ...and then there was quite a long litany of codes, ending into the message: Aiee, killing interrupt handler Kernel panic: Attempted to kill the idle task! In swapper task - not syncing ...and then the whole system halted. Regards: Janne M. Vainio, Helsinki, Finland
No Users sound after compiling 2.4.17
Ok, when I originally set up the system it was potato and everything worked fine. Sound worked for root and my user.(so I know it's not a group problem.) I upgraded to woody, still everything worked fine. The card is a Soundblaster pci 128, and I used the es1370 module, and it worked. Then I compiled the 2.4.17 kernel. Instead of modules, I compiled support for it into the kernel. Now, Root still has sound, but when I log in as a user I get nothing. Checked the group file, and everything is still fine. I use KDE, and when I go to the mixer it says invalid mixer "Esoniq es1370" and the syslog shows: Jan 1 22:43:07 Agamemnon modprobe: modprobe: Can't locate module sound-slot-1 Jan 1 22:43:07 Agamemnon modprobe: modprobe: Can't locate module sound-service-1-0 Jan 1 22:43:07 Agamemnon modprobe: modprobe: Can't locate module sound-slot-1 Jan 1 22:43:07 Agamemnon modprobe: modprobe: Can't locate module sound-service-1-0 Jan 1 22:46:16 Agamemnon modprobe: modprobe: Can't locate module sound-slot-1 Jan 1 22:46:16 Agamemnon modprobe: modprobe: Can't locate module sound-service-1-0 Jan 1 22:46:16 Agamemnon modprobe: modprobe: Can't locate module sound-slot-1 Jan 1 22:46:16 Agamemnon modprobe: modprobe: Can't locate module sound-service-1-0 Jan 1 22:47:22 Agamemnon gconfd (techgod-980): starting (version 1.0.7), pid 980 user 'techg what's the deal? Wayne
Re: How to limit network traffic?
> I have a small problem. > I want to download some (debian) cd's. > With my isdn-connection, one cd takes ~ 1 day to download. > That is no problem. The problem is, debian is so efficient in > networking that the download uses 100% of the capability of my > internet connection. IPchains can prioritize traffic with a few simple commands. Take a look at the IPCHAINS howto by Rusty Russell. He talks about his own internet connection and how he prioritizes his traffic over dialup. -Matt --- Core Networks BH:+61 3 97506642 AH: 0407836506 Computer Sales & Service Network Installations & Service Consolidating Internet access company wide, reduces costs! ask us how!!
Re: How to limit network traffic?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 01 January 2002 10:45 am, Andreas Maresch wrote: > Hello! > > I have a small problem. > I want to download some (debian) cd's. > With my isdn-connection, one cd takes ~ 1 day to download. > That is no problem. The problem is, debian is so efficient in > networking that the download uses 100% of the capability of my > internet connection. > I cannot establish another connection (e.g. browse a website, ...) > as long a download is active. > Here comes my question: Is it possible to throttle a connection? > Can I set a maximum download speed? Is it possible to set the speed > for a single application or only a general limit? snip I don't have an answer but I wanted to point out that on my Woody box as much as I try to saturate my internet connection Woody manages? to divy up the bandwidth to start another connection. This may suggest other issues? - -- Greg Madden -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwyMUMACgkQaefA3q8KcpAHnACeKAqDy6LtjcVW1s7jI/HvPmdu 2mEAoImWMtnkUYt/XC5wLb0eumSxW4Rm =5F5n -END PGP SIGNATURE-
Re: X setup problem? connection to ":0,0" refused by server
Paul Scott wrote: Shawn Lamson wrote: From: "Paul Scott" <[EMAIL PROTECTED]> Subject: X setup problem? connection to ":0,0" refused by server When I attempt emacs /etc/init.d/networking from xterm I get connection to ":0,0" refused by server It works from a virtual terminal. are you sure you didn't su to root before executing emacs? maybe you are logged in as root in the virtual terminal. I'm sorry. I left out that most important piece of information. Yes I su'd to root in X and from the VT. (I think I wouldn't have permission to change that file if I wasn't root). If so: #export DISPLAY=0:0 XAUTHORITY=/home/yourusername/.Xauthority and try again. Thanks for your answer to my wrong question. Using emacs (as root) to configure my network works on the machine I am on now but not the one I was asking about. Now, any answers to the right question? An answer to this question seems to be su - rather than just su. The machine in question is running potato with a 2.2 kernel. Thanks, Paul
(Fwd) Re: Lost in apt-get
On 1 Jan 2002 at 14:41, [EMAIL PROTECTED] wrote: > Hi, > > > Im still a little confused with some aspects of apt-get and would > like to see if someone could orient me a little, either pointing me > to some URLs , or answering briefly... > > I dont quite get it, lets say i apt-get install a package... so it > fetches the necessary files, downloads, and installs them.. but, > where does apt-get leaves the binaries? i mean for example, i apt- > get'ed xmms , and it downloaded and installed.. but i have no clue > on how to launch it. A good way to start to find where thingsd have gone after an install is "find / -name xmms*" this will search everything below / . Or to search your path just try "which xmms" or just use the golden rule about Debian, all the configuration files for any program are in /etc -Matt --- End of forwarded message --- --- Core Networks BH:+61 3 97506642 AH: 0407836506 Computer Sales & Service Network Installations & Service Consolidating Internet access company wide, reduces costs! ask us how!!
Re: X setup problem? connection to ":0,0" refused by server
Paul Scott wrote: Shawn Lamson wrote: From: "Paul Scott" <[EMAIL PROTECTED]> Subject: X setup problem? connection to ":0,0" refused by server When I attempt emacs /etc/init.d/networking from xterm I get connection to ":0,0" refused by server It works from a virtual terminal. are you sure you didn't su to root before executing emacs? maybe you are logged in as root in the virtual terminal. I'm sorry. I left out that most important piece of information. Yes I su'd to root in X and from the VT. (I think I wouldn't have permission to change that file if I wasn't root). If so: #export DISPLAY=0:0 XAUTHORITY=/home/yourusername/.Xauthority and try again. Thanks for your answer to my wrong question. Using emacs (as root) to configure my network works on the machine I am on now but not the one I was asking about. Now, any answers to the right question? An answer to this question seems to be su - rather than just su. The machine in question is running potato with a 2.2 kernel. Thanks, Paul
Re: Where are the man pages for the C library?
On Tue, 1 Jan 2002 14:50:30 -0600 (CST), Jor-el <[EMAIL PROTECTED]> wrote: > Hi, > > I can find the man pages for things like strcpy, printf, and > things like that on my system. I installed the glibc6-doc but that only > had info documentation in it. Where are these man pages to be found? Believe they're in "manpages-dev". Kind of confusing compared to the typical *-dev, since that usually implies installing the headers and static libraries used for development/compilation. But, manpages-dev doesn't install anything for developing manpages ??? -- Eric G. Miller
Re: Where are the man pages for the C library?
On Tue, Jan 01, 2002 at 14:50:30 -0600, Jor-el wrote: > I can find the man pages for things like strcpy, printf, and > things like that on my system. I installed the glibc6-doc but that only > had info documentation in it. Where are these man pages to be found? http://www.debian.org/distrib/packages#search_contents will quickly lead you to discover manpages-dev. HTH, Ray -- Give a man a fire, he's warm for a day. Set a man on fire, he's warm for the rest of his life.
Re: Lost in apt-get
On Tue, Jan 01, 2002 at 02:41:26PM -0600, [EMAIL PROTECTED] wrote: | Hi, | | Im still a little confused with some aspects of apt-get and would | like to see if someone could orient me a little, either pointing me to | some URLs , or answering briefly... | | I dont quite get it, lets say i apt-get install a package... so it | fetches the necessary files, downloads, and installs them.. but, | where does apt-get leaves the binaries? i mean for example, i apt- | get'ed xmms , and it downloaded and installed.. but i have no clue | on how to launch it. This has nothing to do with understanding apt-get. apt-get installed the package. The package specifies what files there are and where they go, etc. To see what files a package has installed, dpkg -L for xmms you'll see /usr/bin/xmms (and /usr/bin is in your PATH). | for example, Ximian Gnome too... im in the process of apt-get'ing | it... but after it downloads and installs, how will i launch it? I use the gnome packages in woody. GNOME is not a single application, so it would take a bit more RTFM-ing to know how to start/use it. Just put "exec gnome-session" in ~/.xsession to start gnome when you log in (via [xgkw]dm) or when you run "startx" (if you login to a console). Understanding how to start/run/use a program is not an issue of understanding apt-get, but an issue of reading that programs manuals to learn how to use it. HTH, -D -- He who finds a wife finds what is good and receives favor from the Lord. Proverbs 18:22
Re: Where are the man pages for the C library?
On Tue, Jan 01, 2002 at 02:50:30PM -0600, Jor-el wrote: | Hi, | | I can find the man pages for things like strcpy, printf, and things | like that on my system. I installed the glibc6-doc but that only had | info documentation in it. Where are these man pages to be found? manpages-dev -D -- Bugs come in through open windows. Keep Windows shut!
Re: How can I get the Euro symbol?
On Tue, Jan 01, 2002 at 08:30:53PM +, Phillip Deackes wrote: | On Mon, 31 Dec 2001 12:48:37 -0600 | Colin Watson <[EMAIL PROTECTED]> wrote: | | > It might be worth having a look at the Euro-Char-Support mini-HOWTO | > (/usr/share/doc/HOWTO/en-html/mini/Euro-Char-Support/index.html if you | > have doc-linux-html installed, or somewhere on | > http://www.linuxdoc.org/). I'm not sure if it's good enough either - it | > was put together quite recently - but it does at least have the virtue | > of being concise. | | Thanks for your help, Colin and Sean. | | The document you mention is the problem. It does not help me at all. For | instance, it says that automatic configuration is possible with the | 'lang-env' package. I cannot find any package with a name like 'lang-env'. | A search of Debian packages yields nothing. It is 'language-env'. According to 'apt-cache policy' I don't think it is in potato. (potato is _really_ _really_ old) | Furthermore, paragraphs such as this are pretty incomprehensible to me: | | "Programs use the localisation environment in order to know both the | language and the charset being used. Currently there is no separation, | unless you are using UTF-8 from locale and representation. Environment | locales use both the language for example: | | es_ES.ISO-8859-1 | en_US.utf" I believe this line is wrong, but I don't know for sure. I'm using "en_US.UTF-8". | What is .utf? Universal Transformation Format It is a fancy name for describing a method to store multibyte characters (unicode) in a file (where bytes are the only data type). | Why are there certain files containing 'euro' but not others. Why are there certain files containing "g" but not others? The euro is just another character. | Why might I be inetersted in installing a Spanish language file. If you use spanish. | I did enable the French Euro file, since I speak French, but this | does not appear to help. Do I need to enable it? What is the "French Euro file"? | I see no need to understand localisation issues. I want to be able to | choose my language/keyboard and do little more. Choosing your language _is_ localisation! | I appreciate that adding the Euro symbol is not as simple as it | sounds, but somebody who knows how to do it should be able to write | a step-by-step crib sheet so that other can get it working on their | systems. As I mentioned above, the euro is just another character. Unfortunately, people need/want more than the 127 characters in the US-ASCII character set (aka charset). The euro, for example, is not part of US-ASCII. Since there are 127 additional values not taken by US-ASCII, some ISO committee(s) have created additional charsets to add some characters. These charsets are supersets of US-ASCII (that is, the first 127 characters are identical to US-ASCII) and the remaining 127 characters are characters useful to a given region (locale). ISO-8859-1 contains many umlaut characters that are common in Western European languages. If you set your locale to ISO8859-1 then you can store those umlauts in plain text files and share them with other people who are also using ISO8859-1. (think of a charset as a text/file format. jpg and png both store images, but in different formats) Likewise ISO8859-2 has characters that are found in Eastern European languages. The advantage to these encodings is that they are all single-byte (char == 8 bits == 1 byte). This means that existing programs can deal with them more-or-less reasonably, even if they don't understand the locale. The problem is that if you deal with multiple languages (eg, French and Romanian) on a regular basis, not only is it a PITA to keep adjusting settings, but you can't put charcters from both encodings into the same file. Thus Unicode was developed. It is a 16-bit (I think it is really 32-bit, but only the lower 16 bits have characters specified) character set that can represent the alphabet of most languages simultaneously. Unicode presents a problem though -- each unicode character requires at least 2 bytes in memory, but the C 'char' type is only guaranteed to be 1 byte. In addition, it is not wholly backwards compatible with US-ASCII. The problem is that applications must be developed with this in mind so that they can handle it properly. Various encodings of Unicode have been developed to store unicode characters in files. UTF-8 is the most well-known, and it is backwards compatible with US-ASCII (for the US-ASCII subset of Unicode). Thus if you use UTF-8 and stick to just the US-ASCII subset where the additional characters are not needed or not understood there is no problem. Now, how does all this relate to the euro? Well, the euro is not part of the US-ASCII charset. Nor is it part of ISO8859-1. However it is part of Unicode (character 0x20AC). To make use of the euro you must use the Unicode charset and choose one of its encodings (UTF-8) for storing files. Now read the Unicode HOWTO f
Re: Exim and frozen error mails
Thus spake Christopher Wolf: > My exim tends to gather frozen messages caused when a fake email address > tries to deliver to a no-longer existing email address on my domain. It > generates an error response saying that user does not exist, but it cannot > deliver the error to the fake user nor the intended address on my server, > so it just freezes the message. > > Is there any way to get it to just throw these away, even if it's just > after some amount of time? A message remains in the spool directory until it is com pletely delivered to its recipients or to an error address, or until it is deleted by an administrator or by the user who originally created it. In cases when delivery cannot proceed - for example, when a message can neither be delivered to its recipients nor returned to its sender, the message is marked 'frozen' on the spool, and no more deliveries are attempted. The administrator can thaw such messages when the problem has been corrected, and can also freeze individual messages by hand if necessary. exim -bp will list queue exim -Mrm will clear frozen messages man exim for more - long but well worth the read. HTH, Steve -- Never be afraid to tell the world who you are. -- Anonymous pgpRO3jB83NDf.pgp Description: PGP signature
Re: ADAPTEC 2040U2W PROBLEM
- Original Message - From: "Paul Mackinney" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 01, 2002 10:37 PM Subject: Re: ADAPTEC 2040U2W PROBLEM > nate muttered: > > > > > Hello! > > > > > scsi bus is being reset for host 0 channel 0. > > > scsi host 0 channel 0 reset (pid17) timed out - trying harder > > > scsi bus is being reset for host 0 channel 0. > > > scsi host 0 abort (pid17) timed out - resetting > > > scsi bus is being reset for host 0 channel 0. > > > (scsi0:0:0:0) device reset, message buffer in use > > > Is anyone here familiar with this kind of issues? > > yep i had that occur on my 2 intel ISP2150 servers. > > the workaround is to tell the driver not to reset > > the card, its a kernel option you type when you > > boot the system at the boot: prompt. navigate through > > the help screens and it will be there, its something > > like > > > > aic78xxx=no_reset > > > If your card is like mine, there are some options you can configure at > boot by typing Ctrl-A, one of them has something to do with allowing > resets. > > HTH, Paul Well, please inform me which option you mean. I think I have tried quite many of them...:-) But if you know the one, it might help. And the card is Adaptec 2940u2w. Reagards: Janne M. Vainio, Helsinki, Finland
Where are the man pages for the C library?
Hi, I can find the man pages for things like strcpy, printf, and things like that on my system. I installed the glibc6-doc but that only had info documentation in it. Where are these man pages to be found? Thanks, Jor-el
Re: ADAPTEC 2040U2W PROBLEM
- Original Message - From: "nate" <[EMAIL PROTECTED]> To: Sent: Monday, December 31, 2001 7:57 AM Subject: Re: ADAPTEC 2040U2W PROBLEM > > > Hello! > > > scsi bus is being reset for host 0 channel 0. > > scsi host 0 channel 0 reset (pid17) timed out - trying harder > > scsi bus is being reset for host 0 channel 0. > > scsi host 0 abort (pid17) timed out - resetting > > scsi bus is being reset for host 0 channel 0. > > (scsi0:0:0:0) device reset, message buffer in use > > > Is anyone here familiar with this kind of issues? > > yep i had that occur on my 2 intel ISP2150 servers. > the workaround is to tell the driver not to reset > the card, its a kernel option you type when you > boot the system at the boot: prompt. navigate through > the help screens and it will be there, its something > like > > aic78xxx=no_reset > Well, I found that option and I tried it. The result was that the installer did recognize the SCSI bus and every disk connected to it. But after that, the installer still went on resetting the bus (despite the fact that I had told the driver not to reset). That was to happen after the "partition check" of the SCSI disk 0. The installer did recognize the physical capacity and other harware capacities of the SCSI0 hard disk (such as the speed: 80.0Mb/s, and so on). But then there came the message: partition check: sda:sda1
Re: Lost in apt-get
On 01-Jan-2002 [EMAIL PROTECTED] wrote: > Hi, > > > Im still a little confused with some aspects of apt-get and would > like to see if someone could orient me a little, either pointing me to > some URLs , or answering briefly... > > I dont quite get it, lets say i apt-get install a package... so it > fetches the necessary files, downloads, and installs them.. but, > where does apt-get leaves the binaries? i mean for example, i apt- > get'ed xmms , and it downloaded and installed.. but i have no clue > on how to launch it. > > for example, Ximian Gnome too... im in the process of apt-get'ing > it... but after it downloads and installs, how will i launch it? > if the application is X based, it should appear in your window manager's menu. xmms is under Apps->Sound.
Re: X setup problem? connection to ":0,0" refused by server
Shawn Lamson wrote: From: "Paul Scott" <[EMAIL PROTECTED]> Subject: X setup problem? connection to ":0,0" refused by server When I attempt emacs /etc/init.d/networking from xterm I get connection to ":0,0" refused by server It works from a virtual terminal. are you sure you didn't su to root before executing emacs? maybe you are logged in as root in the virtual terminal. I'm sorry. I left out that most important piece of information. Yes I su'd to root in X and from the VT. (I think I wouldn't have permission to change that file if I wasn't root). If so: #export DISPLAY=0:0 XAUTHORITY=/home/yourusername/.Xauthority and try again. Thanks for your answer to my wrong question. Using emacs (as root) to configure my network works on the machine I am on now but not the one I was asking about. Now, any answers to the right question? TIA, Paul
Re: Trying to install Sun's Java2 Runtime
On Tue, Jan 01, 2002 at 09:24:52PM +0100, Pontus Edvardsson wrote: | Hi, | | I'm on Woody, kernel 2.4.17 and have been trying to install the Java2 Runtime | v1.3.1 from Sun without any luck... | I've followed their instructions; downloaded the autoextracting file and | unpacked it in /usr/java as they suggest. It doesen't report any problems, | but will not work either... Is this the only, or is there other java-runtimes | available for Debian? How can I troubleshoot? My opinion is to forget those commercially distributed tarballs since they are usually more complicated and you have no assurance that it will work on _your_ system. Instead, for java, go to blackdown.org and add one of their mirrors to your apt sources. The package is 'j2re1.3' or 'j2sdk1.3' depending on whether you want just the runtime or the whole development bundle. -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot
Re: Woody and cable modem router
On Tue, Jan 01, 2002 at 10:09:44AM -0500, james martinez wrote: | Ok I just got a cable modem router for Christmas so I can share the broadband | connection with all the pc's in my house. One thing that I am having a | problem with is when my Woody box is plugged into the router it can not find | my ISP's mailserver. Can anyone make some suggestions of what to look at to | fix this. I am using Kmail as my e-mail client. Trying 'host' and 'traceroute' to see what the IP address of the mail server is and how far the connection to it gets. Since you have a broadband connection you could just setup exim to deliver mail directly and then you won't need your ISP's mail server. -D -- A violent man entices his neighbor and leads him down a path that is not good. Proverbs 16:29
Lost in apt-get
Hi, Im still a little confused with some aspects of apt-get and would like to see if someone could orient me a little, either pointing me to some URLs , or answering briefly... I dont quite get it, lets say i apt-get install a package... so it fetches the necessary files, downloads, and installs them.. but, where does apt-get leaves the binaries? i mean for example, i apt- get'ed xmms , and it downloaded and installed.. but i have no clue on how to launch it. for example, Ximian Gnome too... im in the process of apt-get'ing it... but after it downloads and installs, how will i launch it? thanks... Camilo -- "Las ecuaciones son necesarias para la contabilidad, pero son la parte aburrida de las matemáticas. La mayor parte de las ideas interesantes pueden transmitirse con palabras e imágenes." - Stephen Hawking, Breve Historia del Tiempo "Nunca pierdas la santa curiosidad" -Albert Einstein Registered Linux User #231105 http://counter.li.org -
Re: How can I get the Euro symbol?
On Mon, 31 Dec 2001 12:48:37 -0600 Colin Watson <[EMAIL PROTECTED]> wrote: > It might be worth having a look at the Euro-Char-Support mini-HOWTO > (/usr/share/doc/HOWTO/en-html/mini/Euro-Char-Support/index.html if you > have doc-linux-html installed, or somewhere on > http://www.linuxdoc.org/). I'm not sure if it's good enough either - it > was put together quite recently - but it does at least have the virtue > of being concise. Thanks for your help, Colin and Sean. The document you mention is the problem. It does not help me at all. For instance, it says that automatic configuration is possible with the 'lang-env' package. I cannot find any package with a name like 'lang-env'. A search of Debian packages yields nothing. Furthermore, paragraphs such as this are pretty incomprehensible to me: "Programs use the localisation environment in order to know both the language and the charset being used. Currently there is no separation, unless you are using UTF-8 from locale and representation. Environment locales use both the language for example: es_ES.ISO-8859-1 en_US.utf" What is .utf? Why are there certain files containing 'euro' but not others. Why might I be inetersted in installing a Spanish language file. I did enable the French Euro file, since I speak French, but this does not appear to help. Do I need to enable it? I have been using Linux for some years now, and have helped many with their installations. If I am left confused and usable to add Euro support to my box, what hope is there for others who are just starting along the rocky Linux road? I see no need to understand localisation issues. I want to be able to choose my language/keyboard and do little more. I appreciate that adding the Euro symbol is not as simple as it sounds, but somebody who knows how to do it should be able to write a step-by-step crib sheet so that other can get it working on their systems. -- Phillip Deackes Using Debian Linux /"\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL AND NEWS / \
Re: apache vhost configuration
Sorry, stupid me. Forgotten to change some PATH, so it was a PHP issue. need some more coffee. cu Veit -- Veit Waltemath <[EMAIL PROTECTED]> | reg. Linux User #140794 01896 Pulnitz / Germany | Debian Gnu/Linux Systems GPG-Fingerprint: 9A4D 4B94 DF10 C0A7 2405 53E5 D72F BC54 2B47 A117 *Buy a Mac and Use GNU/Linux; Annoy Bill Gates Twice*
Re: ADAPTEC 2040U2W PROBLEM
nate muttered: > > > Hello! > > > scsi bus is being reset for host 0 channel 0. > > scsi host 0 channel 0 reset (pid17) timed out - trying harder > > scsi bus is being reset for host 0 channel 0. > > scsi host 0 abort (pid17) timed out - resetting > > scsi bus is being reset for host 0 channel 0. > > (scsi0:0:0:0) device reset, message buffer in use > > Is anyone here familiar with this kind of issues? > yep i had that occur on my 2 intel ISP2150 servers. > the workaround is to tell the driver not to reset > the card, its a kernel option you type when you > boot the system at the boot: prompt. navigate through > the help screens and it will be there, its something > like > > aic78xxx=no_reset > If your card is like mine, there are some options you can configure at boot by typing Ctrl-A, one of them has something to do with allowing resets. HTH, Paul -- Paul Mackinney | Who profited from Sept 11? [EMAIL PROTECTED] | http://www.copvcia.com/
Trying to install Sun's Java2 Runtime
Hi, I'm on Woody, kernel 2.4.17 and have been trying to install the Java2 Runtime v1.3.1 from Sun without any luck... I've followed their instructions; downloaded the autoextracting file and unpacked it in /usr/java as they suggest. It doesen't report any problems, but will not work either... Is this the only, or is there other java-runtimes available for Debian? How can I troubleshoot? Thanks, Pontus
X setup problem? connection to ":0,0" refused by server
>From: "Paul Scott" <[EMAIL PROTECTED]> >Subject: X setup problem? connection to ":0,0" refused by server >When I attempt >emacs /etc/init.d/networking >from xterm I get >connection to ":0,0" refused by server >It works from a virtual terminal. >Paul Scott are you sure you didn't su to root before executing emacs? maybe you are logged in as root in the virtual terminal. If so: #export DISPLAY=0:0 XAUTHORITY=/home/yourusername/.Xauthority and try again. HTH shawn __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
Woody and cable modem router
Ok I just got a cable modem router for Christmas so I can share the broadband connection with all the pc's in my house. One thing that I am having a problem with is when my Woody box is plugged into the router it can not find my ISP's mailserver. Can anyone make some suggestions of what to look at to fix this. I am using Kmail as my e-mail client.
Re: mkisofs USELESS #!@!#@*
On Tue, 1 Jan 2002, Walter Hofmann wrote: > This is a boot disk image. He wants to make a bootable CD-ROM. I understand that. And xcdroast will still deal with that pretty simply. -- Baloo
Re: How to limit network traffic?
try to read about cbq (class based queue) or squid settings good luck.. At 11:45 AM 1/1/02, Andreas Maresch wrote: Hello! I have a small problem. I want to download some (debian) cd's. With my isdn-connection, one cd takes ~ 1 day to download. That is no problem. The problem is, debian is so efficient in networking that the download uses 100% of the capability of my internet connection. I cannot establish another connection (e.g. browse a website, ...) as long a download is active. Here comes my question: Is it possible to throttle a connection? Can I set a maximum download speed? Is it possible to set the speed for a single application or only a general limit? Questions over questions ;-D Thanx in advance for the answers. Andreas Maresch -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Petre L. Daniel,System Administrator Canad Systems Pitesti Romania, http://www.cyber.ro, email:[EMAIL PROTECTED] Tel:+4048220044, +4048206200
How to limit network traffic?
Hello! I have a small problem. I want to download some (debian) cd's. With my isdn-connection, one cd takes ~ 1 day to download. That is no problem. The problem is, debian is so efficient in networking that the download uses 100% of the capability of my internet connection. I cannot establish another connection (e.g. browse a website, ...) as long a download is active. Here comes my question: Is it possible to throttle a connection? Can I set a maximum download speed? Is it possible to set the speed for a single application or only a general limit? Questions over questions ;-D Thanx in advance for the answers. Andreas Maresch
Re: is there any linux software that create animation
On Tuesday 01 January 2002 07:10, a wrote: > i wish such program is open source and animation file format is open > source If you'r talking about those web-page uglifiers, you can check out The Gimp. But the sort of gif that can do the trick is non-free. I remember reading something about a similar capability for png's, but all the dancing dogs I've seen so far are gif's. -- Sir Isaac Newton: "If I have seen further, it is by standing on the shoulders of giants."
RX mode?
Hi, Just wondering here cause i can't remember seeing this bootmessage before. Had to reinstall linux cause, being a newbie, i made a complete mess of it:) So i did a reinstall, which by default let me setup my first NIC, eth0 eth1 NIC went into the kernel but wasn't configured. So after having it all running again i added: iface eth1 inet static address 192.168.0.1 netmask 255.255.255.0 to the interfaces file in /etc/network/ It all seems to work ok, but during boot i get 'setting RX mode to 1 addresses' on the eth1 NIC. Is this normal, did i forget anything when setting up eth1? And if it's normal is it a security risk. Thanks Willem
Re: mkisofs USELESS #!@!#@*
On Wednesday 02 January 2002 03:12, Walter Hofmann wrote: > On Mon, 31 Dec 2001, Paul 'Baloo' Johnson wrote: > > On Tue, 1 Jan 2002, Penguin wrote: > > > Anyone got an example command line for me to use mkisofs and > > > cdrecord to get an ElTorito boot image thingo on a CD-R? > > > > If you can't figure it out, go apt-get install xcdroast and use the > > gui frontend. > > > > > - /root is the directory where my boot image is, and is called > > > tomsrtbt-1.7.361.ElTorito.288.img > > > > You've already got an isofs there. Why are you trying to use > > mkisofs here? > > This is a boot disk image. He wants to make a bootable CD-ROM. To add: I don't think you can burn TRB without first MaKing the ISOFS (mkisofs) that will burned (cdrecord) to the cdrom. -- Sir Isaac Newton: "If I have seen further, it is by standing on the shoulders of giants."
Re: OT: Language War (Re: "C" Manual)
On Tue, 1 Jan 2002, Richard Cobbe wrote: > > | Casting you can't really get away from nor do you really need to. In fact > > | the more strongly typed the language is, the more casting you have to do. > > > > This statement is incorrect. > > Agreed. I suppose I will agree as well, I was not meaning to include dynamically typed languages in the original statement, I just didn't say that :} Really it was not a very good statement to make, although in the original context it wasn't so bad :} > However, I think that the flexibility of a type system is more > important than its `strength' for removing the need for casts. I will go along with that as well. In ML for instance (and other languages as well) there is parametric polymorphism which give you a lot of the flexibility of dynamic typing while still retaining much of the error checking of static typing. This is different from the "polymorphism" found in C++ in which you can have virtual functions (which still require the programmer to provide all the different implementations) and inheritance (which only permits polymorphism within a very limited set of types). Although I do not know Haskell my understanding is that this is how it works as well. For instance you could have: fun times x y = x * y; You could then apply this function to either reals, ints, or one of each and then it would return the appropriate type. The compiler will trace the execution through the function, deducing which are legal types from the operators and functions used within the function. In this way you do not need to write a separate function for each combination of types your functions might want to operate on, even though ML is a statically typed language. But because the checking is all done at compile-time you do not have much risk of runtime errors due to type problems.
Re: fetchmailconf problem
Thomas H. George,,, muttered: > Test configuration fails with the message: "fetchmailrc:6; parse error > at 123456" where 123456 is the password for the account. From the man > page the 6 might refer to a permission problem but parse error suggests > to me that an all numeric password may not be allowed. If the latter is > the problem is there a way around this or must I have the service > provider change my password? > My solution (not sure where I got this from, probably dman or one of Will Trillich's newbie hints) is to use a ~/.netrc file. This was developed for use w/ftp, but fetchmail will use it. The format is: machine login password If the last line is default login anonymous password Then the command line ftp client will usually be able to connect to arbitrary systems for anonymous ftp without prompting you for the password. I keep all of my pop account info in here, it's the only file on my system that has passwords in plain text. Permissions on the file are 400, I'm both the user and the group. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED]
Re: Sound newbie ... what is OSS, ALSA, etc all about?
On Wednesday 02 January 2002 01:53, Randolph S. Kahle wrote: > I started researching how to get sound working on my machine and I am > confused about the following: > > * ALSA > > * OSS You probably know what the letters stands for. The practical difference between the two is that OSS (the lite version in any case) is in the kernel source. ALSA is supposed to be the future of Linux sound, but as of now you have to go the extra mile/km of installing some extra packages. OSS, if you're lucky, should work out oft the box. To maintain compatibility with the OSS majority, ALSA has an OSS emulation layer. Use that if you can't get your favorite video player to work with ALSA proper (that is you can do "videoplayer --audio OSS" instead of "videoplayer --audio ALSA"). -- Sir Isaac Newton: "If I have seen further, it is by standing on the shoulders of giants."
Re: mkisofs USELESS #!@!#@*
On Mon, 31 Dec 2001, Paul 'Baloo' Johnson wrote: > On Tue, 1 Jan 2002, Penguin wrote: > > > Anyone got an example command line for me to use mkisofs and cdrecord to get > > an ElTorito boot image thingo on a CD-R? > > If you can't figure it out, go apt-get install xcdroast and use the gui > frontend. > > > - /root is the directory where my boot image is, and is called > > tomsrtbt-1.7.361.ElTorito.288.img > > You've already got an isofs there. Why are you trying to use mkisofs > here? This is a boot disk image. He wants to make a bootable CD-ROM. Walter
Re: j2sdk
Kamil Jonca wrote: >Hello. > >I have tried to install java plugin for mozilla from blackdown. Unfortunately >mozilla crashes. I just made a symlink to the java plugin in the jre directory instead of directly installing the plugin,inside the mozilla plugins directory. I think this workaround would work as it worked for me (Potato r4, Mozilla 0.9.7, Java2 SDK 1.3.1, Ximian GNOME 1.4). Good luck. Paolo Alexis Falcone __ www.edsamail.com
X setup problem? connection to ":0,0" refused by server
When I attempt emacs /etc/init.d/networking from xterm I get connection to ":0,0" refused by server It works from a virtual terminal. I have found this error discussed in the various archives but haven't found a simple enough answer yet. TIA, Paul Scott
lp0 no longer works after I changed kernels; any ideas?
I got printing working, then must have broken it. Any diagnostic tips will be appreciated. The details follow: I started with a working debian "stable" system, built and installed a 2.4.17 kernel, and upgraded some packages to "testing". I got printing working with CUPS and my Epson Stylus C60 printer by following the instructions at the linuxprinting.org web site. All was well at that point; I could print from gimp, emacs, and directly from the console to lp0. Then (!) I did some vmware reconfiguration and installed a 2.4.5 kernel, hoping to be able to also print under Win2k on top of linux. I didn't get win2k to print with vmware, but for some reason now I can't print anything at all from Linux either, no matter which kernel I boot with (2.4.5 or 2.4.17). The printer does work if I dual-boot right into win2k, so it doesn't seem to be a hardware problem. In Linux now, even if I do "cat file.txt > lp0", nothing happens on the printer. I have re-read the linuxprinting.org HOWTO and CUPS documentation and tried to make sure everything is still set up as before, did a google search and read some information I found there, but the problem seems not to be with CUPS (I think), because when I print something (say from gimp) and check with "lpstat", I do see the print job listed for my epson queue, then the CPU utilization jumps for several seconds, then the lpstat output shows nothing. If I type "cat somefile.txt > lp0" I also get nothing. Is there something else I could check to better troubleshoot this? Any tips are very much appreciated; thanks! Luke Call
apache vhost configuration
Hi list, i want to have 2 name-based vhosts on my local router for internal use. ie $domain.local.lan . apache 1.3.22-5 / SID my httpd.conf ( in extracts ): Listen 80 BindAddress * Port 80 ServerName cobra.local.lan DocumentRoot /var/www NameVirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /serv/www/wsbt ServerName wsbt.local.lan ErrorLog /var/log/apache/vhost/wsbt-error.log CustomLog /var/log/apache/vhost/wsbt-access.log common »···ServerAdmin [EMAIL PROTECTED] »···DocumentRoot /serv/www/peb »···ServerName peb.local.lan »···ErrorLog /var/log/apache/vhost/peb-error.log »···CustomLog /var/log/apache/vhost/peb-access.log common I don't know what is wrong with this. I can access the last VirtualHost, sometimes the real one and not the first VirtualHost. I get a "Redirection limit for this URL exceeded. Loading aborted." And this is a line from my access.log of the first vhost i cannot reach: 192.168.1.10 - - [01/Jan/2002:17:52:16 +0100] "GET / HTTP/1.1" 302 5 Thanks for any help. -- Veit Waltemath <[EMAIL PROTECTED]> | reg. Linux User #140794 01896 Pulnitz / Germany | Debian Gnu/Linux Systems GPG-Fingerprint: 9A4D 4B94 DF10 C0A7 2405 53E5 D72F BC54 2B47 A117 *Buy a Mac and Use GNU/Linux; Annoy Bill Gates Twice*