Re: Easy firewall advice
> I have a stock Woody system with Gnome 1.4 running, connected to the > 'net via a 802.11b connection. I want to put a simple firewall on there, > just to keep things locked down a little more than they are now. > > Is there anything real simple, user-friendly, configure-and-forget > available for Woody? I'm used to ZoneAlarm for Windows, so that gives > somewhat of an idea of how much I know about firewalls. > > Thanks in advance. I've had good experience with firestarter. It's a gtk program to set up a firewall. I only tried the version in Sid but it worked pretty well. It asks you some pretty simple questions (do you want to run any service, etc.) and then sets up a basic firewall for you. Then you can fine tune it if you want. Hope that helps, Bijan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: passwordless root login
On Tue, Oct 14, 2003 at 04:02:22PM -0400, J. Bruce Fields wrote: > Thanks, but with those lines removed I end up with all logins failing > automatically and no request for a password. This may be something that > changed sometime between stable and unstable--I used to use a similar > trick to allow local gdm logins without a password, but that stopped > working at some point--I think the pam stuff has changed a bit. I also use unstable. And I have rigged gdm not to check for passwords. For gdm you have to use the pam_permit module or something like that which just gives the application an ok when it asks for (password) authentication. I've attached my /etc/pam.d/login and /etc/pam.d/gdm files Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com # # The PAM configuration file for the Shadow `login' service # # NOTE: If you use a session module (such as kerberos or NIS+) # that retains persistent credentials (like key caches, etc), you # need to enable the `CLOSE_SESSIONS' option in /etc/login.defs # in order for login to stay around until after logout to call # pam_close_session() and cleanup. # # Outputs an issue file prior to each login prompt (Replaces the # ISSUE_FILE option from login.defs). Uncomment for use # auth required pam_issue.so issue=/etc/issue # Disallows root logins except on tty's listed in /etc/securetty # (Replaces the `CONSOLE' setting from login.defs) auth requisite pam_securetty.so # Disallows other than root logins when /etc/nologin exists # (Replaces the `NOLOGINS_FILE' option from login.defs) auth requisite pam_nologin.so # This module parses /etc/environment (the standard for setting # environ vars) and also allows you to use an extended config # file /etc/security/pam_env.conf. # (Replaces the `ENVIRON_FILE' setting from login.defs) auth required pam_env.so # Standard Un*x authentication. The "nullok" line allows passwordless # accounts. #auth required pam_unix.so nullok # This allows certain extra groups to be granted to a user # based on things like time of day, tty, service, and user. # Please uncomment and edit /etc/security/group.conf if you # wish to use this. # (Replaces the `CONSOLE_GROUPS' option in login.defs) # auth optional pam_group.so # Uncomment and edit /etc/security/time.conf if you need to set # time restrainst on logins. # (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs # as well as /etc/porttime) # accountrequisite pam_time.so # Uncomment and edit /etc/security/access.conf if you need to # set access limits. # (Replaces /etc/login.access file) # account required pam_access.so # Standard Un*x account and session accountrequired pam_unix.so sessionrequired pam_unix.so # Sets up user limits, please uncomment and read /etc/security/limits.conf # to enable this functionality. # (Replaces the use of /etc/limits in old login) # sessionrequired pam_limits.so # Prints the last login info upon succesful login # (Replaces the `LASTLOG_ENAB' option from login.defs) sessionoptional pam_lastlog.so # Prints the motd upon succesful login # (Replaces the `MOTD_FILE' option in login.defs) sessionoptional pam_motd.so # Prints the status of the user's mailbox upon succesful login # (Replaces the `MAIL_CHECK_ENAB' option from login.defs). You # can also enable a MAIL environment variable from here, but it # is better handled by /etc/login.defs, since userdel also uses # it to make sure that removing a user, also removes their mail # spool file. sessionoptional pam_mail.so standard noenv # The standard Unix authentication modules, used with NIS (man nsswitch) as # well as normal /etc/passwd and /etc/shadow entries. For the login service, # this is only used when the password expires and must be changed, so make # sure this one and the one in /etc/pam.d/passwd are the same. The "nullok" # option allows users to change an empty password, else empty passwords are # treated as locked accounts. # # (Add `md5' after the module name to enable MD5 passwords the same way that # `MD5_CRYPT_ENAB' would do under login.defs). # # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in # login.defs. Also the "min" and "max" options enforce the length of the # new password. password required pam_unix.so nullok obscure min=4 # Alternate strength checking for password. Note that this # requires the libpam-cracklib package to be installed. # You will need to comment out the password line above and # uncomment the next two in order to use this. # (Replaces the `OBSCURE_CHECKS_ENAB', `CRACKLIB_DICTPATH') # # password required pam_cracklib.so retry=3 minlen=6 difok=3 # password required pam_unix.so use_authtok nullok md5 #%PAM-1.0 auth required pam_nologin.so auth
Re: Upgrading to a new release
On Sat, Oct 18, 2003 at 11:02:12AM -0700, Paul Burkett wrote: > Basically, I have Debian Woody (3.0) CDs and since I > didn't want to burn a new CD for unstable, I went > ahead and installed it. Now what I want to know is, > how do I upgrade to unstable? Is it a matter of adding > APT::Default-Release "testing"; to /etc/apt.conf, and > adding unstable to the sources.list? Or will I have to > add a pin priority? One of the Debian Manuals > recommends > using dselect instead of APT to upgrade to new > releases, is this a better way of doing it? Or should > I just do an apt-get dist-upgrade? Any help would be > much > appreciated. Thanks! Basically just edit /etc/apt/sources.list and replace all occurences of the word stable with unstable. Then do apt-get update and apt-get dist-upgrade. That's what I usually do. I feel that this is the best/easiest way to get unstable onto my computer. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: RAID install
On Sat, Oct 18, 2003 at 09:09:19PM +0100, Antony Gelberg wrote: > Hi all, > > I'd like to install Woody on a motherboard with SATA RAID, using the > RAID 1 array as the root partition. The problem is that the neccessary > driver (silraid) is in 2.4.22, but not in 2.4.18 (which as we all know is the > Debian install kernel). > > Any suggestions? This is for a server that needs to be up on Monday... > :( A hack type solution is to find some way of booting linux on the machine: that is to say any linux distribution, redhat, knoppix, some rescue floppy somewhere, and so on. Then once you have linux running, get the network up and send over a tarball of a Debian base system (you can create this using debootstrap), unpack that, install the necessary kernel 2.4.22 in your case (you can use make-kpgk to make youself a nice little package) then run lilo or set up grub or whatever and reboot into debian. Please let me know if you need help with any of these steps. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Network setup
On Sat, Oct 18, 2003 at 09:42:38PM +0100, Simon Windsor wrote: > FTP, ssh and ping all report > > No route to host. > > Any ideas ? Wild guess here, but what is the output of /sbin/route. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: How to remove Penquin from Linux (boot screen that is)
On Sat, Oct 18, 2003 at 05:58:30PM -0400, e-bone wrote: > What an aweful thing to want to do ... > hee hee ... > > but seriously. that penquin (the one you get if you boot into text mode) wrecks > havoc on less , and a couple of other console programs. > > I've recompiled my kernel several times and cant figure out how to get > rid of that bugger ! Well that's weird usually typing clear or switching to another virtual terminal or something like that gets rid of that picture. Hmm oh well. If you want to get rid of it you'll probably have to recompile your kernel. Either leave out the framebuffer console (you won't get a picture on a standard vga text mode console) or you could edit out the little picture from the kernel source. The picture is in the file: include/linux/linux_logo.h Replacing all those numbers with 0x00 should give you a black square. Alternatively you could edit out the call to the fbcon_show_logo function and related lines of code in: drivers/video/fbcon.c Hope this helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: More on spam
On Sun, Oct 19, 2003 at 09:51:43AM -0700, Sidney Brooks wrote: > It is easy for you to say. I live in a rural area > where we are lucky to have one ISP. You can get email service from a different company than the one that provides you with dial-up service. This may cost a few dollars a month but is well worth it. For example I get webhosting + shell account on a computer running Linux with a about 150 megs of room for $10 a month. I am lucky enough to have a Cable modem now so I no longer have it handle all my mail, but before that I would have it fetch all my mail and filter it, etc. There are also services that will do all the filtering for you and present you with a nice webmail/imap/pop interface to your mail. I believe yahoo mail and hotmail both provide pay accounts. I'm sure there are less evil companies that provide the same type of service :) So to recap, you can: 1) Get webhosting + shell account from a company like: http://www.phpwebhosting.com http://www.eskimo.com and so on. or 2) Get decent mail service from a company that provides only email service. I don't really know them. Something like hotmail or yahoo mail but better. or even 3) You can find a friend with a nice cable modem or DSL connection and have him periodically download your mail (say every hour) from your ISP and then have him run a pop/imap/webmail server and you can connect to that whenever you want. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: More on spam
On Sun, Oct 19, 2003 at 12:18:57PM -0500, John Hasler wrote: > Dave Harding writes: > > Did you file a complaint with your ISP? Did you investigate alternative > > providers? > > Some of us have no choice as to providers. You may have no choice as to who provides your internet connection (e.g. dialup, cable or DSL) but you do have a choice as to who provides you with email service. Heck if you paid me $10-$15 a month I could give you a couple of hundred megabytes of pop/imap/webmail mail, complete with filtering and all :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: More on spam
On Sun, Oct 19, 2003 at 02:52:47PM -0500, John Hasler wrote: > Bijan writes: > > Heck if you paid me $10-$15 a month I could give you a couple of hundred > > megabytes of pop/imap/webmail mail, complete with filtering and all > > I cannot afford another $10-$15 a month. I also am not completely > dissatisfied with my ISPs service. They are totally unresponsive, but on > the other hand, they impose no obnoxious policies or terms of service, and > seem to be more reliable than average. You could get cheaper service than this depending on what you need. You can get webhosting + shell account + =~ 100 megs of storage for $10 a month from many different sources. You can get something like a 30 or 40 meg email box for around $20-$30 a year (=~ $2/$3 a month). P.S. I'm not in the ISP business. I'm just trying to show that you can basically get ISP type services from almost anyone, even private individuals. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: sed problem
On Sun, Oct 19, 2003 at 11:37:44AM +0100, Dave selby wrote: > I need to get the contents of a HTML title tag & put it in a string. > > ie > specialist cards > > I need the "specialist cards" in a variable $titlecontents > I thought it would be easy with sed > > sed -n '//,/<\/title>/p' > > But no go. I have tried various ways but to no avail. > > Any ideas ? In perl: #!/usr/bin/perl while(<>) { s///; s/<\/title>//; print; } or in a one-liner: perl -e 'while(<>){s///;s/<\/title>//;print;}' or using the -n option to make the while(<>){} implicit: perl -ne 's///;s/<\title>//;print;' or using the -p option that also makes the print implicit (like sed: perl -pe 's///;s/<\/title>;' Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Searching for an editor...
On Sun, Oct 19, 2003 at 07:43:33PM +0200, Tom wrote: > [Sunday 19 October 2003 19:09] John Hasler: > > > > To start with, it should be graphical, so vim, emacs and the like > > > are no option to me... > > > > What do you mean by graphical? Emacs has menus, icons, cut&paste > > with the mouse, mouse control of the cursor, etc. What is it that > > people mean by a "graphical" editor? > > Well... Built with widgets? :-s > > Somehow, I expected this reply. It's more of a look-n-feel thing. I > don't mind console apps, but for some purposes, I like the "graphical" > approach better. It's not (only) about being able to control things > using the mouse etc. > > I understand the point about Emacs being as "graphical" as anything else > in a certain way, but I can't believe *you* don't understand what I > meant with "graphical". :-) It's hard to understand what you mean by that. I mean I compile my emacs to use GTK2 and it can show images (used by preview-latex), and can play a nice game of tetris so to me it's graphical... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Sun, Oct 19, 2003 at 01:07:12AM -0700, Tom wrote: > > ..as in; "Where _is_ Osama and Saddam?". And playing the > > "west bank settler" games on the Iraqis, is _not_ gonna help. > > > > I'm beginning to see this as an issue over which rational and reasonable > people can disagree. > > For me, this all ties back into my "Illusion of Technique" philosophy. > The positive argument the anti-Bush people make is: "Iraq is a waste of > time; we must eliminate al Quaeda itself." I answer: show me your > SPECIFIC plan, don't just wave your hands and say: "We'll do it." The was in Iraq was not intended to stop Al Quaeda. If I'm not mistaken Bin Laden is from Saudi Arabia and he and Al Quaeda seem to be hiding somewhere in Afghanistan. I won't comment on that war... On a side note the was on Iraq was also not intended to get rid of weapons of mass destruction. If the U.S. thought they had them they wouldn't have risked attacking Iraq (actually they might have, the last time they did, Iraq was busy bombing Israel and all the while the U.S. was telling the Israelis that they could shoot down any Iraqi missiles. But I doubt Israel would fall for that again.). By waging war on Iraq when there was no clear link between Iraq and Al Quaeda and when there was no clear evidence of weapons of mass destruction, the U.S. wanted to show that they can wage war without even making up semi-coherent reasons. I mean Bush kept flip-flopping: This is about weapons of mass destruction, then This is about terrorism then This is about regime change then We just don't like the sand monkeys :) > When you press the anti-War people on just *how* they are going to > prevent cataclysmic terrorism, they generally bash Bush and say "we'll > use police techniques to prosecute them." Sounds nice, but in > actuality, tough choices must be made. The waging war in Iraq was simply playing into Bin Laden's hands. I mean he was at no risk, since he wasn't in Iraq. There is going to be a lot of concern and fear in the region, and this is legitimate because the U.S. has attacked, Afghanistan and Iraq: who's next? Bin Laden is likely to use this fear to strengthen his own crazy schemes. This is basically analogous to how the Bush administration twisted people's legitimate concerns after September 11th to increase support for their crazy twisted schemes. > Maybe in 50 years the Muslims will be turning out killer cars like > Germany or killer stereos like Japan. Germany and Japan (during WWII) were very strong countries that used their economic/military strength in terrible ways against other nations. To a great extent, the German and Japanese peoples supported these actions. Most of the people in the Middle East live in countries that are not powerful at all. Their governments (like so many third world governments) are corrupt and basically carry out the dirty work of the West (keeping poor people in line). The people don't support the government but are powerless to do anything about it because their governments have the support of the West. For example this a quote from Noam Chomsky: "My own feeling, to tell you the truth, is that there was a great opportunity to get rid of Saddam Hussein in March 1991. There was a massive Shiite uprising in the south led by rebelling Iraqi generals. The U.S. had total command of the region at the time. [The Iraqi generals] didn't ask for U.S. support but they asked for access to captured Iraqi equipment and they asked the United States to prevent Saddam from using his air force to attack the rebels. The U.S. refused. It allowed Saddam Hussein to use military helicopters and other forces to crush the rebellion. You can read it in the New York Times. It was more important to maintain stability -- that was the word that was used -- or as the diplomatic correspondent of the New York Times put it, the best of all worlds for the United States would have been for an iron-fisted military junta to seize power and rule in Iraq the way Saddam Hussein did. But since we couldn't get that, we'd have to accept him. That was the main opportunity of getting rid of him. Since then it hasn't been so simple. The forces of resistance were crushed with our help, after the war." This is from an interview that appeared in Salon Magazine. So the comparison doesn't hold up. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Mon, Oct 20, 2003 at 05:16:45AM +0800, David Palmer. wrote: > On Sun, 19 Oct 2003 12:57:12 -0400 > Roberto Sanchez <[EMAIL PROTECTED]> wrote: > > > klaus imgrund wrote: > > >>>>Anyplace where there is a large group of young males who express a > > > > > >>>>desire to kill Americans AND is unchecked by their government is a > > > > > >>>>legitimate target. It's the "unchecked by their government" which > > >is >>>the key. Yes, we are inconsistent about who we went after > > >first -- that >>>is political reality. > > >>>> > > >>> > > >>> > > >>>You going to GPL those guys? > > >>> > > >> > > >>NAZIS !!! > > >> > > >> > > > > > > Who? The FSF? > > > > No. I made an unsuccesful attempt at invoking Godwin's Law: > > > > * > > http://info.astrian.net/jargon/terms/g/Godwin_s_Law.html > > > > Godwin's Law prov. [Usenet] "As a Usenet discussion grows > > longer, the probability of a comparison involving Nazis or Hitler > > approaches one." There is a tradition in many groups that, once this > > occurs, that thread is over, and whoever mentioned the Nazis has > > automatically lost whatever argument was in progress. Godwin's Law > > thus practically guarantees the existence of an upper bound on thread > > length in those groups. However there is also a widely- recognized > > codicil that any intentional triggering of Godwin's Law in order to > > invoke its thread-ending effects will be unsuccessful. > > * > > > > I thought since we hit the point of dicsussing terrorism, Nazis > > weren't a stretch, and the discussion had lost any vestiges of > > usefuleness(relating to the GPL). Of course, since my mention was > > with the specific intent of activating Godwin's Law, it didn't work. > > > > -Roberto > > > > One of the most central policies of the German Nazi party was the > banishment of national boundaries, a centralised world government, and > international free trade. Nazi Germany set out to do this by conquering other countries the way the old colonial powers did. Nowadays this is political suicide because it makes the powerful country look bad. Think of the U.S. in Vietnam. So nowadays the way the Ruling Classes operate is to finance corrupt third world governments that will do the dirty work for them. Think of the Reagan administration's secret support for the contras in Nicaragua, they had to do it secretly, because contrary to what many people think, people in the U.S. wouldn't put up with that sort of thing nowadays. Also the U.S. is most definately opposed to a centralized world government, as is made clear by their hatred for anything international, e.g. the *United Nations*, the *International Criminal Court*, etc. This is a government that is pretty much in bed with private power (corporate capital). Private power wants just enough government to protect private power. And the U.S. is *only* interested in free trade between unequal countries. That is to say the U.S. wants free trade with poor countries, not with rich powerful countries. Even so, the U.S. has a good deal of protectionism. Just to give one example, the softwood lumber industry in Canada is going through some problems because the U.S. is putting a huge duty on it, and this is hurting the construction industry in the U.S. through higher costs of building materials. Another example is the U.S. duty on imported sugar, which is pushing the U.S. candy industry to build factories in Canada, where they can get cheap imported sugar, etc. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Where to download old Potato packages?
On Sun, Oct 19, 2003 at 10:39:10PM +0200, Markus Kolb wrote: > Hi, > > where can I find the old Debian Potato release packages? > There is still a directory /debian/dists/potato on ftp.debian.org but > some packages are lost there. > Same on mirrors ... > I need > /debian/dists/potato/main/binary-i386/libs/libmime-base64-perl_2.11-2.deb > What happened there? I think the README file says that they only provide Stable, Testing and Unstable and that the rest are at: http://archive.debian.org/debian-archive/ So the file you want is at: http://archive.debian.org/debian-archive/dists/potato/main/binary-i386/libs/libmime-base64-perl_2.11-2.deb Hope this helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: apt-get install pkg and remove pkg on the same line?!
On Mon, Oct 20, 2003 at 02:59:59AM +0200, smurfd wrote: > Hey there Debian-user list, ive been thinking, (not well enough, as it > seems). > > How does dselect do, when you select/deselect packages to be > added/removed ? i mean, can you type yourself, like on one line.. > > apt-get install packages remove packages? apt-get works in the following way: apt-get action [stuff relevant to action] So when you do: apt-get install x y z x y z are considered to be packages to install. For example: apt-get install ed remove nvi would install ed and nvi, and would complain that it can't find the package "remove". Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: unexpected IFS behavior with the newline character
On Sun, Oct 19, 2003 at 07:15:11PM -0400, Darik Horn wrote: > Can anybody explain this shell behavior? -- It doesn't seem consistent > with the documentation about how whitespace is interpreted as an > internal field separator. Here is the relevant documentation from bash (1): Word Splitting The shell scans the results of parameter expansion, command substitu- tion, and arithmetic expansion that did not occur within double quotes for word splitting. The shell treats each character of IFS as a delimiter, and splits the results of the other expansions into words on these characters. If IFS is unset, or its value is exactly , the default, then any sequence of IFS characters serves to delimit words. If IFS has a value other than the default, then sequences of the whitespace characters space and tab are ignored at the beginning and end of the word, as long as the whitespace character is in the value of IFS (an IFS whitespace character). Any character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field. A sequence of IFS whitespace characters is also treated as a delimiter. If the value of IFS is null, no word splitting occurs. Explicit null arguments ("" or '') are retained. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a null argument results and is retained. Note that if no expansion occurs, no splitting is performed. > > # IFS="\n" > # FOO="alpha\nbravo\ncharlie" > # for i in $FOO; do echo "%${i}%"; done > %alpha% > %% > %bravo% > %% > %charlie% > > When ash or bash does the word splitting, a empty field is expanded. > This behavior seems to happen only with the newline character. > > # IFS="\n" > # FOO="alpha\n\n\nbravo\n\ncharlie" > # for i in $FOO; do echo "%${i}%"; done > %alpha% > %% > %% > %% > %% > %% > %bravo% > %% > %% > %% > %charlie% > > In this case, the newline characters are not folded together like > whitespace. Generally, there are '2n-1' null expansions for each 'n' > instances of the newline character in the input word. The critical part of the documentation is: The shell treats each character of IFS as a delimiter, and splits the results of the other expansions into words on these characters. If IFS is unset, or its value is exactly , the default, then any sequence of IFS characters serves to delimit words. If IFS has a value other than the default, then sequences of the whitespace characters space and tab are ignored at the beginning and end of the word, as long as the whitespace character is in the value of IFS (an IFS whitespace character). Any character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field. A sequence of IFS whitespace characters is also treated as a delimiter. If the value of IFS is null, no word splitting occurs. So this works only "If IFS is unset, or its value is exactly , the default," only then do you get the behaviour you want namely: "then any sequence of IFS characters serves to delimit words". This explains why the newline characters are not folded together. The part of the documentation relevant to null arguments is: Explicit null arguments ("" or '') are retained. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a null argument results and is retained. I don't think this says that null arguments will be removed. I think that "null arguments, resulting from the expansion of parameters that have no values, are removed" means that nulls are removed in a case like this: $ message="Hi!" $ echo $null $message $null hi $ Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Cannot use type1 fonts with OpenOffice
On Mon, Oct 20, 2003 at 01:27:31AM +0200, Ernest Adrogu? wrote: > Hello, > > I'm using OpenOffice 1.1.0 and want to use some fonts > that I have in /usr/local/.../{truetype,type1}. They are > visible with gtkfontsel and gtk2fontsel, and show up in > xlsfonts and fc-list as well, but with OpenOffice I can > only use the TrueType ones. The Type1 ones just doesn't > appear in the list. > > However the Helvetica & co. which are also Type1 work > fine. I've moved all the fonts to /usr/lib/X11/fonts/Type1, > updated the fonts.dir and fonts.scale files, but in > vain. Any help will be appreciated. > > P.S.: Please, CC me in replies. I don't know what release you are using but I had a very similar problem. I run unstable and I think fonts for some apps are handled by fontconfig and libxft. When configuring fontconfig I had said that I didn't want it to use bitmapped fonts (because it told me they were not as good) and then later I realized that only truetype fonts were showing up in apps. Then reading through the messages on this list I found out about fontconfig, did a "dpkg-reconfigure fontconfig" and chose use bitmap fonts and things were ok. I don't know if this is your problem, but this drove me mad for 3 days as I installed every single font package and still couldn't get fonts to work :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Sun, Oct 19, 2003 at 06:08:33PM -0700, Tom wrote: > On Sun, Oct 19, 2003 at 04:59:08PM -0400, Bijan Soleymani wrote: > [snip] > > I was aware of all your facts and reasonings before you spoke. > We just part ways on our interpretation of the facts. > > I'll repeat: anyplace people want to kill us, we want to kill them. Then does that give people in Afghanistan and Iraq the right to attack America? As it does seem that (some) Americans want to kill them. > I defy anyone to say Iraq was not a place (some) people wanted to kill > us. Yes, there are other places that are our allies where *more* people > want to kill us. Yes, it pisses me off that we haven't caught the two > head guys yet. Yes, Bin Laden is more important than Sadam. The fact that "some" people want to kill you is not reason enough to indiscriminately wage war on a country. In fact it is a bad idea from a tactical point of view, as attacking someone will INCREASE their will to kill you. > You need to accept the premise that capriciousness and cruelty is part > of the strategy *without* believing that the end goal is world > domination, and *then* you'll understand why we're doing what were > doing. Any strategy that uses cruelty and capriciousness is clearly not going to make anyone love the cruel and capricious party (U.S. and allies). Therefore that clearly must not be the reason that these tactics are used. The Bush administration is not *that* stupid. (Bin Laden doesn't use cruelty to make people not want to kill him. He uses it because he wants to start a holy war.) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Mon, Oct 20, 2003 at 03:22:08AM +0200, Arnt Karlsen wrote: > On Sun, 19 Oct 2003 16:59:08 -0400, > Bijan Soleymani <[EMAIL PROTECTED]> wrote in message > <[EMAIL PROTECTED]>: > > > On Sun, Oct 19, 2003 at 01:07:12AM -0700, Tom wrote: > > ..really? ;-) > > > > > ..as in; "Where _is_ Osama and Saddam?". And playing the > > > > "west bank settler" games on the Iraqis, is _not_ gonna help. > > > By waging war on Iraq when there was no clear link between Iraq and Al > > Quaeda and when there was no clear evidence of weapons of mass > > destruction, the U.S. wanted to show that they can wage war without > > even making up semi-coherent reasons. I mean Bush kept > > flip-flopping: > > This is about weapons of mass destruction, > > then > > This is about terrorism > > then > > This is about regime change > > ..the removal of _any_ "terrorist" war criminal regime > is a requirement to _any_ legal regime: Check out > "Art. 85 Repression of breaches of this Protocol", > "Art. 86 Failure to act", > "Art. 87 Duty of commanders", > "Art. 88 Mutual assistance in criminal matters", > "Art. 89 Co-operation" and > "Art. 90 International Fact-Finding Commission" of > http://www.icrc.org/ihl.nsf/WebCONVART?OpenView&Start=1&Count=150&Expand=5#5 You quoted: Protocol Additional to the Geneva Conventions of 12 August 1949, and relating to the Protection of Victims of International Armed Conflicts (Protocol I), 8 June 1977. This is for the protection of victims in international armed conflicts, in other words this applies to wars. The breaches that you mention are all things that are banned in war. That's what all those articles are about: *war* and not *terrorism*. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Mon, Oct 20, 2003 at 08:04:20AM -0700, [EMAIL PROTECTED] wrote: > > Then does that give people in Afghanistan and Iraq the right to attack > > America? As it does seem that (some) Americans want to kill them. > > I said "we only want to kill them because they want to kill us" > if they stop, we stop > if they don't we don't That doesn't answer my question... > > The fact that "some" people want to kill you is not reason enough to > > indiscriminately wage war on a country. In fact it is a bad idea from a > > tactical point of view, as attacking someone will INCREASE their will to > > kill you. > > yeah but we're so powerful we'll win that's the point of wars Yes of course the world's biggest military power will win over nothing countries like Afghanistan and Iraq! But even if you win the war you still INCREASE people's resentment against the U.S. So besides killing thousands of Afghanis and Iraqis, and some U.S. soldiers on the side, and INCREASING the number of terrorist attacks, which are all negative, what do these wars accomplish, besides showing the world how ruthless the American army is. > > Any strategy that uses cruelty and capriciousness is clearly not going > > to make anyone love the cruel and capricious party (U.S. and allies). > > Therefore that clearly must not be the reason that these tactics are > > used. The Bush administration is not *that* stupid. > > seems like we're already hated, what's the loss Spend billions of dollars, and a good deal of human life, and become EVEN MORE HATED. > > > > (Bin Laden doesn't use cruelty to make people not want to kill him. He > > uses it because he wants to start a holy war.) > > > > we'd be glad to oblige him The question to ask is who will gain from this? Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: software download
On Tue, Oct 21, 2003 at 11:08:49AM -0400, Hans-Christoph Steiner wrote: > Google isn't everyone's friend: http://www.google-watch.org/ > > There are other search engines out there, and they actually work. Yes, > Google seems to work best, but its scary to me that they are completely > privately held and basically accountable to no one. Google is pretty > much the opposite of Debian in that regard. It would be great if there > were publically maintained search engine, we need a free search engine > that runs on free software. > > time to get off the soapbox... (this wasn't meant to be a personal > attack at all, I am merely trying to spread the word). This would be great but such a search engine would require at least several hundred thousand dollars worth of equipment (I think google has something like 1 linux boxen), and some insane amount of bandwidth. The software issue wouldn't be that big a problem. Of course now that I think of it we could set up a p2p type indexing system, kind of like giFT or kazaa but just for searching the web :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: allowing a "normal" user to work efficiently
On Tue, Oct 21, 2003 at 11:34:52AM -0400, Roberto Sanchez wrote: > If the machine is isolated behind a firewall, then you probably have > nothing to worry about. I think the concern is that cdrecord lets you > remotely access the burning device, which could be trouble on a file > server as you point out. The fear with suid programs is that you might be able to get root access through a clever hack. Programs have to be very well designed to give up root priviliges or else this is trivial. For example imagine you make "cat" suid... Then someone can do: cat /bin/rm /bin/cat cat -rf / Of course the idea with actual suid programs is that they are designed so as not to allow this kind of thing, but still software isn't always perfect (bug, etc.). Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL (BS)
On Tue, Oct 21, 2003 at 05:26:53PM -0400, Thomas Pomber wrote: > I was talking to this electrician who just relocated here to Canada > from Russia, and I was blown away when he told me that they didn't > brainwash their people in The Commie Days half as much as the US does > today. Yeah right, I said! But he said that they never had movies > where the Americans were depicted as ignorant morons like you guys do. > Anyway, to make a long story short, the guy's got a point. A good reason for this is that for the later half of the 20th century the U.S. stopped using physical force on its own people (or at least used less of it). Instead they decided on spending the money on public relations, and on technicalogical methods. So basically they got into bed with the entertainment industry to make sure that every little film and show had its little piece of propoganda. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: allowing a "normal" user to work efficiently
On Tue, Oct 21, 2003 at 03:40:48PM -0400, Mark Roach wrote: > On Tue, 2003-10-21 at 12:03, Bijan Soleymani wrote: > [...] > > For example imagine you make "cat" suid... > > > > Then someone can do: > > cat /bin/rm /bin/cat > > cat -rf / > > This would just output both /bin/rm and /bin/cat to your screen... > if you were to "cat /bin/rm > /bin/cat" you would get > [EMAIL PROTECTED]:~$ cat /bin/rm > /bin/cat bash: /bin/cat: Permission > denied > > because piping is done by the shell, not cat. I'm not arguing that this > is not unsafe, just that your particular example is incorrect ;-) d'oh! Yes I realized that after I sent the message... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Wed, Oct 22, 2003 at 10:04:18AM -0400, Allan Wind wrote: > On 2003-10-22T09:29:24-0400, Johan Kullstam wrote: > > I think it may best for someone who uses a fast starting non-emacs > > editor, e.g., vi. > > Emacs has a client/server feature, so you get quick start-up of > additional clients once you have the server running. Using vim myself > these days. Yes this is very true. Oddly enough as much as I love emacs, I can't get used to gnus or any of the other mail packages. Every time I try something goes wrong. So I use mutt running inside emacs (M-x term) and use EDITOR=emacsclient. So that whenever mutt calls up the editor it switches me to a new emacs buffer where I can type up my message (I also have it set up so that the new buffer is in mail mode). Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Wed, Oct 22, 2003 at 12:11:09PM -0400, Roberto Sanchez wrote: > Bijan Soleymani wrote: > >On Wed, Oct 22, 2003 at 10:04:18AM -0400, Allan Wind wrote: > > > >>On 2003-10-22T09:29:24-0400, Johan Kullstam wrote: > >> > >>>I think it may best for someone who uses a fast starting non-emacs > >>>editor, e.g., vi. > >> > >>Emacs has a client/server feature, so you get quick start-up of > >>additional clients once you have the server running. Using vim myself > >>these days. > > > > > >Yes this is very true. Oddly enough as much as I love emacs, I can't get > >used to gnus or any of the other mail packages. Every time I try > >something goes wrong. So I use mutt running inside emacs (M-x term) and > >use EDITOR=emacsclient. So that whenever mutt calls up the editor it > >switches me to a new emacs buffer where I can type up my message (I also > >have it set up so that the new buffer is in mail mode). > > > >Bijan > > OK. I never use emacs, so this may sound like a dumb question. You > can run mutt *inside* of emacs? How? Emacs includes a terminal emulator like xterm. It also includes a program called emacsclient. If you use emacsclient as a regular editor (e.g. emacsclient file.txt) it simply opens that file in your already running copy of emacs. > Why not just run it in a regular xterm? 2 reasons: 1st. Let's say someone asks me a question about a program, and I want to quote a part of a manpage. In emacs I can do M-x man and cut and paste with the keyboard without using the mouse. Same thing for cut and paste from other buffers, etc. I know that within vi I can suspend vi get the required text into a file and then do :r filename to read it in, but it is not as easy. 2nd. emacs takes a while to start up, but once it's started up you can edit as many files as you want in different windows and split each window, etc., therefore people prefer not to run several copies of emacs at the same time. > Besides, I thought emacs was a text editor (hence the emacs/vi flame > wars). Emacs is and isn't an editor: It is an editor because it edits straight ascii text (and international characters too, but you know what I mean). It isn't an editor because it incorporates lots of weird functionality, like mail programs, a terminal emulator, a programmable calculator, etc. The people who like vi tend to bash emacs because they think it is too complicated and bloated. I on the other hand like emacs because it's easy to customize. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL
On Wed, Oct 22, 2003 at 11:43:39AM -0500, Alex Malinovich wrote: > On Wed, Oct 22, 2003 at 10:04:18AM -0400, Allan Wind wrote: > > On 2003-10-22T09:29:24-0400, Johan Kullstam wrote: > > > I think it may best for someone who uses a fast starting non-emacs > > > editor, e.g., vi. > > > > Emacs has a client/server feature, so you get quick start-up of > > additional clients once you have the server running. Using vim myself > > these days. > > I've been doing mutt + emacs for a while now and have been quite > happy. Though now that you mention emacsclient, is there any way to > use emacsclient but have it create a different frame (instead of just > a new buffer) every time it's called? I use my desktop machine from 3 > different machines in the house, so using regular old emacsclient > hasn't been much of an option since I'd have to be on the same machine > that I initially started it on in order to use it. Well there are several options in this case: 1) use text only emacs from within screen, and detach and reetach the screen session 2) use the xmove program to move the program to another X server (the one on the other machine) 3) customize server-visit-hook and include the command to open a new frame on your current machine. The third one is the one you are asking about. Yes it should be possible. I haven't really played with make-frame-on-display but it should be very simple to set up. I think the code would be: (add-hook 'server-visit-hook '(make-frame-on-display remote-display)) But I'm not sure how to you would get the variable remote-display to contain the display you want to display on. I mean you could set it by hand. (setq remote-display "machine:0") I think there is a mode called gnuclient which has some more options. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: A newbie's confusion about GPL (BS)
On Wed, Oct 22, 2003 at 09:07:05PM +0200, David Jardine wrote: > On Wed, Oct 22, 2003 at 08:28:29AM -0700, Tom wrote: > > > Europe is America minus 10 years. > > And not just Europe. And that's exactly what the bin Ladens, > Jacques Chiracs etc of this world are fighting to prevent. I'm kind of afraid to ask but what does Bin Laden have to do with Jacques Chirac. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: emacs: adding default minor modes?
On Fri, Oct 24, 2003 at 08:30:57PM -0700, Paul Johnson wrote: > What's the easiest way for a non-LISPer to add ispell-minor-mode to be > one of the default minor modes in emacs? I assume that you are referring to flyspell mode which is the mode where spelling mistakes are highlighted in red as you type. I also assume that you want this for text files and not C code. In that case you would use the following code: (add-hook 'text-mode-hook 'flyspell-mode) Basically text-mode-hook is a list of functions to run when you go into text mode (this happens when you open a text file). The above line adds the function flyspell-mode to this list. flyspell-mode is the function that turns on spell checking. Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Searching for an editor...
On Thu, Oct 23, 2003 at 10:22:38PM -0400, Peter S Galbraith wrote: > Micha Feigin <[EMAIL PROTECTED]> wrote: > > > On Sun, 2003-10-19 at 19:43, Tom wrote: > > > [Sunday 19 October 2003 19:09] John Hasler: > > > > > > > > To start with, it should be graphical, so vim, emacs and the like > > > > > are no option to me... > > > > > > > > What do you mean by graphical? Emacs has menus, icons, cut&paste > > > > with the mouse, mouse control of the cursor, etc. What is it that > > > > people mean by a "graphical" editor? > > > > > > Well... Built with widgets? :-s > > > > > > Somehow, I expected this reply. It's more of a look-n-feel thing. I > > > don't mind console apps, but for some purposes, I like the "graphical" > > > approach better. It's not (only) about being able to control things > > > using the mouse etc. > > > > > > > Its probably not what you are looking for, but on this note there is > > xemacs which is much more graphical, and there is also a build of xemacs > > based on gtk (don't know if 1 or 2) > > Not to start a flame war, but I don't think XEmacs is more graphical > than Emacs21 (Emacs20, yes, but not Emacs21). I use gnu emacs, but I have to admit that Xemacs is still a bit more graphical. For example Xemacs has minesweeper as a game and it actually looks like minesweeper. Also the nicer versions of tetris and snake in emacs CVS are from Xemacs (and aren't in version 21 yet). Again there are a lot more options accessible through the menus and toolbars in Xemacs. For example all of customize is accessible through the menubar (nested menubar things). And finally Xemacs has tabs for switching between different buffers (like in mozilla). I still use gnu emacs though, because I like how it works. And I sometimes feel that Xemacs is a bit buggier (not segfaulting bugs, just glitches). Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Searching for an editor...
On Sun, Oct 26, 2003 at 11:42:23AM +0800, Robert Storey wrote: > On Sat, 25 Oct 2003 22:24:11 -0400 > Peter S Galbraith <[EMAIL PROTECTED]> wrote: > > > Micha Feigin <[EMAIL PROTECTED]> wrote: > > > > > On Fri, 2003-10-24 at 04:22, Peter S Galbraith wrote: > > > > > > > Not to start a flame war, but I don't think XEmacs is more > > > > graphical than Emacs21 (Emacs20, yes, but not Emacs21). > > > > > > I don't think I have used emacs21 but I don't remeber, so I can't > > > tell. I also don't know how their gui comapare. > > > Do you know the differences (main ones)? > > As far as I can tell, the most visible difference is that Xemacs seems > to do a better job with handling fonts. To be more specific, Xemacs has > more beautiful fonts and lets you change default font size. But Emacs is > also good, and of course has the advantage of working on the command > line as well as in X. There's no reason why you can't install both, > since the commands are almost identical. This is true, I have both installed, but almost never use Xemacs. For some reason Xemacs tries to overwrite my .emacs file each time I run it :) Xemacs also works on the command line. On the other hand gnu emacs has a menu bar even in the command line mode, while Xemacs doesn't... Also gnu emacs has very nice syntax highliting on the command line, but the syntax highliting in Xemacs is pretty minimal on the command line, etc. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Problem with sed, Exec format error.
[EMAIL PROTECTED] (Bojan Baros) writes: > I was wondering if anyone could give me a hand. I think it might have > with the fact that it is a 64 bit, while everything else in the /bin is > 32 bit. I did not explicitly ask for any 64 bit installation with the > apt-get, so I am unsure where the problem is. A simple solution would be to download the correct sed package and use dpkg to install it: dpkg -i sed-package-name.deb If that fails then extract the files from the package and copy the file sed to /bin/sed: dpkg -x sed-package-name ./ cp ./bin/sed /bin/ Hope that helps, -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com pgp0.pgp Description: PGP signature
Re: Insidious Spam/swen/Garbage
"Monique Y. Herman" <[EMAIL PROTECTED]> writes: > On Sun, 26 Oct 2003 at 14:11 GMT, Wayne Topa penned: >> >> If you add set pop_host=pop.gmx.net, set pop_user=xxx and set >> pop_pass= to your .muttrc then mutt -f pop:// will connect >> without typeing so much. :-) >> >> This works in version 1.5.4-1 (testing) as well >> >> Isn't linux neat!! > > Of course, your password will then be in plain-text in a file. If you > are the only person with root access, this probably isn't a big deal > until your box gets hacked, but this sort of thing always gives me the > willies. Hmmm... If your box gets cracked, the cracking party can simply run a keylogger and watch you as you type your passwords... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What do I need to to be abe to buld Gnome apps from source?
stan <[EMAIL PROTECTED]> writes: > I've got a "testing" machine that I'm setting up for work, and I'm probably > going to need to make some mods to one of the apps I plan on using "gspy". > > It's a Gnome app, and I'm having troubel building it. here's how it's > failing: > > checking for gnomeConf.sh file in /usr/local/lib... not found > configure: error: Could not find the gnomeConf.sh file that is generated by > gnome-libs install > > Thats when I run autogen.sh. > > What do I need to do to be able to build Gnome apps on this machine? Well it seems that you're missing a file called gnomeConf.sh a quick search at: http://www.debian.org/distrib/packages http://packages.debian.org/cgi-bin/search_contents.pl?word=gnomeconf.sh&searchmode=searchfiles&case=insensitive&version=testing&arch=i386 reveals that this file is in the package libgnome-dev: http://packages.debian.org/testing/libdevel/libgnome-dev.html Try installing that and see if it helps. If anything else breaks just post a followup... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: rm -rf .* alternatives
On Sun, Oct 26, 2003 at 01:29:44PM -0600, Kirk Strauser wrote: > At 2003-10-26T15:12:18Z, Bijan Soleymani <[EMAIL PROTECTED]> writes: > > > You could always do: > > rm -r `ls -A` > > If you have good backups, consider the ramifications of: > >$ touch 'a .. b' > $ rm -r `ls -A` Oops... My bad... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: rm -rf .* alternatives (was: Re: I broke gnome2 *snff*)
On Sun, Oct 26, 2003 at 02:10:01PM +, Karsten M. Self wrote: > on Fri, Oct 24, 2003 at 03:28:36PM +0100, Colin Watson ([EMAIL PROTECTED]) wrote: > > On Fri, Oct 24, 2003 at 11:36:25PM +0930, David Purton wrote: > > > > Sadly no, I neglected to say that I could not get things to work even > > > using a test account and doing an rm -rf .* in $HOME. > > > > Just in case other people try this, 'rm -rf .*' is VERY DANGEROUS. '.*' > > expands to include '.' and '..', and if you happen to have privileges to > > write to the parent directory then you'll end up removing all > > directories *next* to your current directory as well! > > So what do folks do? > > rm -rf .?* # will expand to include .. > > rm -rf .[^.]* # seems right. > > find . -depth -print0 | xargs rm # Usually works. > > If you're really paranoid: > > chown -r peon . > su -c 'rm -rf .' peon > > ...which first changes ownership to a nonprivileged user, then runs the > rm as that user. Keeps you from mucking things up in a rootly way. > > Personally I tend to walk through trees very carefully when doing > deletes. > > > Other tips? You could always do: rm -r `ls -A` ls -A lists all files except "." and "..". From the ls manpage: "-A, --almost-all do not list implied . and .." Not to be confused with "ls -a" which does list "." and "..". Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Insidious Spam/swen/Garbage
On Sun, Oct 26, 2003 at 05:41:12PM +0100, David Jardine wrote: > One problem I had with it is that it gave the message lengths as > zero, which didn't aid swen-spotting. I do get the message lengths so this may be a problem with how mutt interfaces with your particular pop server. It also might be because I'm using unstable... > Thanks to all you people I've now got enough solutions to leave > me in a state of complete confusion. However, I still don't > understand (and I understand very little of these network > matters) why an interactive fetchmail thing doesn't seem to > exist. Is it because it would clog access to the mailserver if > fetchmail users held connections open while they pondered? Do > the servers close the connection after the briefest of periods > of inactivity? Or what? Interactive fetchmail kind of defeats the purpose of fetchmail. I think most people use fetchmail to make pop access feel like a traditional unix mail system. So fetching mail manually and filtering through it by hand would certainly break that illusion. However I think that anything that an interactive fetchmail could do mutt or some other email program that can connect directly to a pop3 server could do as well. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: rm -rf .* alternatives (was: Re: I broke gnome2 *snff*)
On Sun, Oct 26, 2003 at 07:46:05PM +0100, David Jardine wrote: > On Sun, Oct 26, 2003 at 10:12:18AM -0500, Bijan Soleymani wrote: > > On Sun, Oct 26, 2003 at 02:10:01PM +, Karsten M. Self wrote: > > > on Fri, Oct 24, 2003 at 03:28:36PM +0100, Colin Watson ([EMAIL PROTECTED]) wrote: > > > > On Fri, Oct 24, 2003 at 11:36:25PM +0930, David Purton wrote: > > > > > > > > Sadly no, I neglected to say that I could not get things to work even > > > > > using a test account and doing an rm -rf .* in $HOME. > > > > > > > > Just in case other people try this, 'rm -rf .*' is VERY DANGEROUS. '.*' > > > > expands to include '.' and '..', and if you happen to have privileges to > > > > write to the parent directory then you'll end up removing all > > > > directories *next* to your current directory as well! > > > > > > So what do folks do? > > > > > > rm -rf .?* # will expand to include .. > > > > > > rm -rf .[^.]* # seems right. > > > > > > find . -depth -print0 | xargs rm # Usually works. > > > > > > If you're really paranoid: > > > > > > chown -r peon . > > > su -c 'rm -rf .' peon > > > > > > ...which first changes ownership to a nonprivileged user, then runs the > > > rm as that user. Keeps you from mucking things up in a rootly way. > > > > > > Personally I tend to walk through trees very carefully when doing > > > deletes. > > > > > > > > > Other tips? > > > > You could always do: > > rm -r `ls -A` > > > > ls -A lists all files except "." and "..". From the ls manpage: > > > > "-A, --almost-all > > do not list implied . and .." > > > > Not to be confused with "ls -a" which does list "." and "..". > > Then wouldn't > > rm -r `ls` > > do the trick? Except that ls doesn't list any files *beginning* with a dot. ls -a list all files ls -A list all files minus "." and "..". Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Problem Maintaining Subscription
"Thomas H. George" <[EMAIL PROTECTED]> writes: > I will resubscribe for the xyz mailbox this morning. If you know of > any other preventative measures I should taked, please let me know. A very nice way to use this list is through gmane. Gmane is a news gateway to this group. It gives you access to almost all the messages ever posted to the mailing list (currently over 10 for debian-user). Most news clients let you choose how many of those headers you want to get (say for the 500 most recent messages) and then amongst those you can choose which messages you actually want to download. To respond to a message or to post a message to the group all you have to do is post a message to the newsgroup and it is automatically relayed to the mailing-list (there is a five minute delay so that we are protected from spammers). Gmane homepage: http://www.gmane.org Debian user: nntp://news.gmane.org/gmane.linux.debian.user or even http://news.gmane.org/gmane.linux.debian.user I am in fact posting this message through gmame to show that the process is pretty transparent. Although I am subscribed to debian-user (since I'm a debian fanatic) there are tons of mailing lists that I have only a passing interest in, and even my email resources are finite. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] - problem with java
Micha Feigin <[EMAIL PROTECTED]> writes: > Hello, > > I tried replacing the internal java matlab is using (either 1.1.8 or > 1.3.1) since it is causing problems with window sizes. > I installed j2re 1.4.1 from blackdown in the right place, pointed to it > and add a link in /lib/i386/hotspot -> /lib/i386/client. > This causes matlab to start but it locks down after opening the windows > and starting all the threads. > I'm suspicious that its a thread sinc lock or something but I don't know > java that much. > Any ideas on what it could be and how to solve it? No clue, I'm also driven mad by all the java crazyness... But in the meantime you might try octave it's a very basic matlab clone and is available as a debian package. It can do the basic linear algebra stuff. It doesn't have all the nice toolboxes and so forth, but the rest is kind of there. It's better than nothing :) Of course if you already know about octave then send this message to /dev/null :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Searching for an editor...
On Mon, Oct 27, 2003 at 11:53:03AM +0800, Robert Storey wrote: > Now I have a question. Does anyone know why in text mode, M-< > (beginning-of-buffer) and M-> (end-of-buffer) don't work? They work fine > in text mode in some other distros, but not in Debian or Slackware. In > X, they always work in every distro (Debian and Slackware included). They work in both emacs and xemacs on my computer. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Mailboxes, etc.
On Mon, Oct 27, 2003 at 03:53:08AM -0600, Ron Johnson wrote: > On Mon, 2003-10-27 at 01:36, Karsten M. Self wrote: > > maildir. Much better performance, more flexible, you can access > > messages as individual files, and more robust. Plus 'From' doesn't need > > to be escaped at start of line. > > Why better performance? If there's lots of messages, directory > manipulation becomes very slow (at least on IDE drive). The lots of messages point occurs at around 10-20k messages. And even then on a decent computer it's ok. Plus if you have a filesystem that does hashing you never have that problem. The main gains from Maildir are: no locking any number of simultaneous programs accessing the mail without fear of corruption no rewriting the mailbox if you delete a message in the middle (computer goes down in the middle of this and you've lost some mail) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: netiquette: CCing on lists
On Tue, Oct 28, 2003 at 03:36:47PM -0700, Monique Y. Herman wrote: > On Tue, 28 Oct 2003 at 22:18 GMT, Kjetil Kjernsmo penned: > > > > I can't agree. For a review of the opposing viewpoints, see > > http://marc.merlins.org/perso/listreplyto.html I've been in both > > camps, but I have now settled for the "harmful" camp. I've been to > > too many mailing lists with reply-tos, and what you get is a lot of > > mis-sent private messages, and then a lot of "sorry, didn't mean > > that", flame-wars over comments that weren't meant for the list, and > > even "hell, remove that comment from the list archive". All that is > > _far_ more annoying than the occasional CC, IMHO. > > > > Upon reading this, I have to agree with you -- having a supposedly > private message sent to the list could range from mildly annoying to > outrageously embarrassing. > > But then I have to ask -- do some clients automagically CC the poster, > or are people going to the trouble of CCing manually? I hit the g key in mutt. It usually does do CCs. I'm told that there is a header that people can set to request no CCs. I think you mentionned something along those lines. I am pretty sure mutt respects that. I think most of the CCs you are receiving are from borken mail-clients that don't respect that header. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: netiquette: CCing on lists
On Wed, Oct 29, 2003 at 11:39:19AM +0800, David Palmer. wrote: > Just my perception of it:- > It's unnecessary. If someone is already subscribed to a list, obviously > they are going to receive the post. To cc as well, to the same > recipient, is not only pointless, it can be invasive. > > If this situation is not brought about by incorrect heading, then one > has to wonder why some people feel a requirement to do it? Is there a > reason? Are there any advocates of this behaviour pattern that would > care to enlighten us? > Regards, I like getting CCs. I receive hundreds of mailing list mail a day and might not be able to check up on all of them every day, but I make sure to check my main inbox, that way I can see if anybody replied to anything I said. Another reason is that this list sometimes gets overwhelmed and posts don't appear for over an hour, but CC's arrive almost instantaneously. The extra bandwidth consumed is very small. On the order of 10 extra emails over the hundreds I already get each day. Also for some lists (not debian-user yet) I use gmane where I read and write to the list through a news interface. In that case it's also nice to get copies of replies to my messages directly through email. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: netiquette: CCing on lists
On Tue, Oct 28, 2003 at 07:44:52PM -0800, Paul Johnson wrote: > On Tue, Oct 28, 2003 at 02:12:28PM -0500, David Gaudine wrote: > > With this mail program (the default Mac mail program, which I've not > > used much), when I click "reply" it's your address that gets used. > > I manually changed it in my earlier followup (surely you didn't get a > > CC of that.) I don't know if it's because of your headers, the list, or > > with this mail program. Regardless, the clue is not there. > > Ah, that's why. Don't hit reply, hit reply-to-list. There is a header one can set to indicate where the mail should go. Mutt respects this header so I just hit g (group reply) and it figures out if the person wants replies or not. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: netiquette: CCing on lists
On Wed, Oct 29, 2003 at 10:38:45AM -0500, ScruLoose wrote: > On Wed, Oct 29, 2003 at 10:12:49AM -0500, Bijan Soleymani wrote: > > I hit the g key in mutt. It usually does do CCs. I'm told that there is > > a header that people can set to request no CCs. I think you mentionned > > something along those lines. I am pretty sure mutt respects that. I > > think most of the CCs you are receiving are from borken mail-clients > > that don't respect that header. > > Shouldn't you be hitting the L key in mutt, for 'reply-to-list' instead > of g for 'reply-to-all'... > Especially considering that the code of conduct for the list: > http://www.debian.org/MailingLists/#codeofconduct > says "When replying to messages on the mailing list, do not send a > carbon copy (CC) to the original poster unless they explicitly request > to be copied." To use L I have to define the mailing lists I am subscribed to, this causes mutt to do weird things (I don't remember exactly what, but it might have shown debian-user as the sender of all messages from debian-user, instead of the actual senders). Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: netiquette: CCing on lists
On Wed, Oct 29, 2003 at 07:51:09AM -0800, Steve Lamb wrote: > Bijan Soleymani wrote: > >I like getting CCs. I receive hundreds of mailing list mail a day and > >might not be able to check up on all of them every day, but I make sure > >to check my main inbox, that way I can see if anybody replied to > >anything I said. > > But how does this translate into being good to send CCs? As we all > know any one individual's preferences does not translate over to any other > individual's preferences. What are the reasons it is good to send a CC, > not the reasons one prefers to get one? I don't know if this is something that can be settled that way. Some people hate CCs and duplicated messages. Some poeple like them. I think we have to choose the one that causes the least harm. This is probably the reason we have the current policy of no CCs unless explicitly requested. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Looking for a better info-file viewer
On Thu, Oct 30, 2003 at 09:34:43AM -0800, Tom wrote: > God, I hate trying to read info documents. I tried pinfo: at least I > could navigate ok, but I still feel overwhelmed by the # of links each > page has. > > "Info" is such a generic term I'm having trouble searching for > alternatives. What are some? Emacs has a built in info viewer, which I consider to be the best viewer around. Info documentation can easily be converted to html, if you really don't like info viewers then you can use your browser to navigate the documentation. The FSF maintains their manuals online in html at: http://www.gnu.org/manual/manual.html Most projects that have info documentation do a similar thing. If not you can simply run texi2html on them yourself. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: print command
On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote: > Hi, > > Is there any other command to print any character say "*" 80 times.. > > like echo "**" > (In bsh or ksh) > > Is there any short command ?? A possible not good way to do this in bash: for x in `seq 80`; do echo -n "*"; done ; echo the last echo is to get the newline to print. In perl you could do: perl -e 'for(1..80){print "*";}print "\n";' Technically that is shorter than: echo "********" But not by much... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: print command
On Fri, Oct 31, 2003 at 09:27:27PM +0100, [EMAIL PROTECTED] wrote: > Quoting Bijan Soleymani <[EMAIL PROTECTED]>: > > > On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote: > > > Hi, > > > > > > Is there any other command to print any character say "*" 80 times.. > > > > > > like echo "**" > > > (In bsh or ksh) > > > > > > Is there any short command ?? > > > > A possible not good way to do this in bash: > > for x in `seq 80`; do echo -n "*"; done ; echo > > > > the last echo is to get the newline to print. > > > > In perl you could do: > > perl -e 'for(1..80){print "*";}print "\n";' > > > > Technically that is shorter than: > > echo > > "" > > Can you just explain how to use this for ? It seems far away the ones I know > (C,C++,basic,Java,php,etc.) Since bash is the default shell in Debian you should be able to open up an xterm and type: for x in `seq 80`; do echo -n \*; done; echo Basically this is the bash (or sh) for loop. for variable in list; do list of tasks; done it takes the list of variables and then runs the list of tasks substituting into the variable each time. For example: [EMAIL PROTECTED]:~$ for x in 1 2 3; do echo $x; done 1 2 3 The command "seq n" generates a list of numbers from 1 to n. Enclosing it in parenthese makes the shell substitute it in the command line. My perl example was pretty bad: perl -e 'for(1..80){print "*";}print "\n";' The actual code is: for(1..80) {print "*";} print "\n"; 1..80 creates a list of numbers from 1 to 80 for in perl can be used both as in C/C++ or as in bash to loop over each element of a list. A better way of doing it in perl was described by David Z Maze: print "*" x 80 . "\n"; This prints the string "*" 80 times and sticks "\n" at the end. x in perl can be used to multiply a string. . in perl can be used to concatenate two string. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sat, Nov 01, 2003 at 02:12:31PM +, Rus Foster wrote: > Hi All, > Just trying to work out in French is Linux masculine or feminine? I think it's masculine as in "le linux". Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Slightly OT
On Sat, Nov 01, 2003 at 04:52:55PM +0800, Uwe Dippel wrote: > I used to be pretty happy with my newsserver (news.cis.dfn.de), until I > started with Debian. I can't seem to get all messages from there; for no > good reason I'd know about. > > Could anybody direct me to a newsserver (free - available from outside > the confines of an ISP) carrying all messages from this list, please ? > http://lists.debian.org/debian-user/2003/debian-user-200310/ > is so unhandy ... ! news.gmane.org is amazing, every single message since the dawn of time (or almost) is available. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: netiquette: CCing on lists
On Sat, Nov 01, 2003 at 11:19:33AM -0700, Bob Proulx wrote: > This has the unfortunate effect that reply-to is just completely > useless. It was made useless when the original list munged it. But > two wrongs do not make a right. Three do. :-) I thought that was two wrongs don't make a right, but three lefts do. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sat, Nov 01, 2003 at 09:01:38PM -0600, John Hasler wrote: > What is the gender of Unix? Also masculine I believe. I think Debian is feminine though. Un Unix proprietaire. Une Debian Sid. La Debian, la distribution la plus libre. I think people might pronounce Debian as though it was written as Debiane though. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sat, Nov 01, 2003 at 09:50:08PM -0600, Scott C. Linnenbringer wrote: > On Sat, Nov 01, 2003, at 21:01 -0600, John Hasler wrote: > > > What is the gender of Unix? > > L'unix sounds pretty cool. > > Would that make it feminine? "l'" can be either masculine or feminine. You see in french you "can't" have two vowels in a row, so they drop the "e" or "a" from le and la, and replace it with an appostrophy. On the other hand you don't have that with "un" or "une" and it's Un Unix. So it's masculine. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sat, Nov 01, 2003 at 09:53:48PM -0600, Ron Johnson wrote: > On Sat, 2003-11-01 at 21:01, John Hasler wrote: > > What is the gender of Unix? > > What is the gender of "geek"? I don't know what it is off the top of my head. It's always a tough call with foreign words. But I think the tendency nowadays is to have it be masculine if it refers to a guy and feminine if it refers to a woman. But if the word is plural and there's at least one masuline individual then the word is masuline. Il est un geek. Sa femme est une geeke. Leurs enfants, Lise, Claire et Paul, sont des geeks. A family of geeks :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sat, Nov 01, 2003 at 09:47:30PM -0600, Scott C. Linnenbringer wrote: > On Sat, Nov 01, 2003, at 14:12 +, Rus Foster wrote: > > > Hi All, > > Just trying to work out in French is Linux masculine or feminine? > > Masculine, of course. > > Men developed Linux, men primarily use Linux, playing around with > powerful operating systems built on top of Linux is a man's thing, et > cetera. > > /me REALLY ducks after that comment ;P Debian is feminine so there you have. We're all a bunch of little girls :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sun, Nov 02, 2003 at 03:26:35AM +, Pigeon wrote: > On Sat, Nov 01, 2003 at 08:13:02PM -0500, David P James wrote: > > On November 01, 2003 09:12, Rus Foster wrote: > > > Hi All, > > > Just trying to work out in French is Linux masculine or feminine? > > > > > > > I'd say it's masculine for a couple of reasons. > > > > First, it just sounds better as "le Linux" compared to "la Linux". > > Hmmm... what exactly does the word "Linux" sound like in French? The Li is kind of like Lee, the nux is kind of like nooks. In both cases it's a bit different, but that's as close as I can think of. I think it's pretty close to how Torvalds pronounces it. Well close enough considering it's a whole 'nother language. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: daemontools-installer
On Sun, Nov 02, 2003 at 09:57:54AM +0100, ahuisman wrote: > Hi, > > I have installed daemon-tools a couple of times on the same > machine without any problems.After a dselect update i upgraded > to gcc (GCC) 3.3.2 (Debian)and installed daemomtools-installer, > djbdns-installer again.This time when i do a build-daemontools i get > the following output : > I didn`t experienced this before. > Is the problem gcc-3.2.2 ? Probably 3.3 is kind of buggy (it might not be bugs, as people might have been using marginal/cludgy solutions that barely worked with the older version, and subtle changes are causing breakage). Try building with 3.2 or 2.95, or whatever version you had before. At least one of the others should be installed, and if it isn't well you can apt-get it. On a side note I just installed this package this morning to test out this program that recommended it (an nntp server written in perl) and it worked fine. I'm running sid I think I've set my default gcc to be 2.95. I didn't really need daemontools after all (got inn2 to work the way I wanted) so I purged daemontools, but yeah it was working. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sun, Nov 02, 2003 at 07:26:52PM +0100, Christophe Courtois wrote: > Le Dimanche 2 Novembre 2003 07:20, Bijan Soleymani a d?clam? : > > > Hmmm... what exactly does the word "Linux" sound like in French? > > The Li is kind of like Lee, > > the nux is kind of like nooks. > > It seems that people speaking only English can't pronounce the 'u' the > way we use it - does not seem to exist in English. This is the same as > the '?' in German if it can help someone (we're the only language to > pronounce 'u' that way...) Well I did say kind of like :) You're right though, none of the other languages I am familiar with has that same u sound (English, Farsi (well we don't have the letter u, because we use Arabic script...), Spanish), I don't remember much latin but I don't think they had it either (I think u was pronounced like oo). But I do think that Swedish might have a similar sound for u. I have a friend who speaks some Swedish and he confirms it :) Wait I just found this on a website about latin: short y a rare vowel in Latin; combines English long oo and ih, as in French u or German ü tu (Fr.); über (Ger.) long y likewise rare; still combining English long oo and ih, for a longer time tu (Fr.); über (Ger.), with emphasis Well I guess they had the sound but not for 'u'. This is cool because I believe the Finnish also pronounce y the same way, which is weird, because Finnish isn't really related to latin... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: [ot] Linux gender in French
On Sun, Nov 02, 2003 at 07:37:59PM +, Pigeon wrote: > On Sun, Nov 02, 2003 at 01:20:21AM -0500, Bijan Soleymani wrote: > > On Sun, Nov 02, 2003 at 03:26:35AM +, Pigeon wrote: > > > On Sat, Nov 01, 2003 at 08:13:02PM -0500, David P James wrote: > > > > On November 01, 2003 09:12, Rus Foster wrote: > > > > > Hi All, > > > > > Just trying to work out in French is Linux masculine or feminine? > > > > > > > > > > > > > I'd say it's masculine for a couple of reasons. > > > > > > > > First, it just sounds better as "le Linux" compared to "la Linux". > > > > > > Hmmm... what exactly does the word "Linux" sound like in French? > > > > The Li is kind of like Lee, > > the nux is kind of like nooks. > > > > In both cases it's a bit different, but that's as close as I can think > > of. > > ...so basically like in English, but with standard French vowel > sounds. OK, thanks! > > > I think it's pretty close to how Torvalds pronounces it. Well close > > enough considering it's a whole 'nother language. > > There's an audio file out there somewhere of Linus saying "Linux"... > must get it sometime! Here it is, both in english and swedish: ftp://ftp.funet.fi/pub/Linux/PEOPLE/Linus/SillySounds/ Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: POP3 mail fetcher that supports unreliable connections?
On Tue, Nov 04, 2003 at 03:42:40PM -0700, Monique Y. Herman wrote: > On Tue, 04 Nov 2003 at 21:54 GMT, Vincent Lefevre penned: > > On 2003-11-04 10:41:10 -0700, Monique Y. Herman wrote: > >> That's because fetchmail didn't lose the mail; the delivery system > >> did. > > > > In some sense, yes. But if fetchmail didn't use the delivery system, I > > wouldn't have lost mail. > > And if I hadn't typed 'rm -rf' in my root directory, I wouldn't have > lost my system. In both cases, the behavior is well documented, and in > both cases, user error can end in disaster. The purpose of rm is to delete files. The purpose of fetchmail is not to send my emails to /dev/null. It's not ok for a program to have dangerous defaults. Nowhere in the fetcmail manpage does it say: WARNING if your MTA is badly configured there will be MASSIVE LOSSAGE! If you don't know what an MTA is do not proceed! > >> You're absolutely right -- a misconfigured MTA is dangerous and can > >> lose your mail. What does this have to do with fetchmail? > > > > fetchmail uses a MTA, instead of doing the delivery itself (to control > > everything). If you want an example of a POP3 fetcher that does the > > delivery itself: getmail. > > fetchmail follows the "unix philosophy" of chaining well-defined > capabilities so as not to reinvent the (less capable) wheel. If you > don't like that approach, then don't use the tool, but don't claim that > the tool is poorly designed just because you don't like this philosophy > and furthermore didn't take the time to understand the basics of how the > tool worked. There is another important objective: "doing the right thing". It is simply not acceptable to lose mail. Even if it isn't fetchmail's fault, fetchmail should be fault-tolerant (deal with a misconfigured mail system). Fetchmail should scream loudly: your mail system is fubar, bailing out now! I don't know if this is possible, but I think that that would help a lot of people. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Some newbie questions
On Wed, Nov 05, 2003 at 08:49:48AM -0500, Roberto Sanchez wrote: > Alexey Buistov wrote: > >Hello Debian fans! > > > >The sixth iso image of binary "woody" is being downloaded to my machine > >right now, but I'm still having plenty of questions concerning Debian > >installation and even pre-installation. Please point me to some doco or > >answer directly in mailing list: > > > First, you probably only need the first CD. I have only rearely heard > of situations where anyone *requires* any of the other CDs. That is > usually because they have special or strange hardware that will not boot > the regular kernel on the first CD. People with dial-up may appreciate the other CDs. I currently don't have an internet connection at home, so I especially need them. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Some newbie questions
On Wed, Nov 05, 2003 at 12:18:53PM +0200, Alexey Buistov wrote: > 1) Is it true that Debian has limitation on partition size - 6 gigs? > Or any other size limit? No. Maybe terabytes or something :) > 2) Can I do all partitioning stuff from M$ Window$ (using Partition > Magick) before installation? Yes. > 3) Where can I ask some other newbie questions? Is this list the right > place? Yes. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: The Unix Philosophy (was Re: POP3 mail fetcher that supports unreliable connections?)
On Wed, Nov 05, 2003 at 09:34:09AM -0600, Ron Johnson wrote: > On Wed, 2003-11-05 at 09:08, Bijan Soleymani wrote: > > On Tue, Nov 04, 2003 at 03:42:40PM -0700, Monique Y. Herman wrote: > > > On Tue, 04 Nov 2003 at 21:54 GMT, Vincent Lefevre penned: > > > > On 2003-11-04 10:41:10 -0700, Monique Y. Herman wrote: > > > >> That's because fetchmail didn't lose the mail; the delivery system > > > >> did. > > > > > > > > In some sense, yes. But if fetchmail didn't use the delivery system, I > > > > wouldn't have lost mail. > > > > > > And if I hadn't typed 'rm -rf' in my root directory, I wouldn't have > > > lost my system. In both cases, the behavior is well documented, and in > > > both cases, user error can end in disaster. > > > > The purpose of rm is to delete files. The purpose of fetchmail is not to > > send my emails to /dev/null. It's not ok for a program to have dangerous > > defaults. Nowhere in the fetcmail manpage does it say: > > WARNING if your MTA is badly configured there will be MASSIVE LOSSAGE! > > If you don't know what an MTA is do not proceed! > > The purpose of fetchmail is to take mails from a pop server and > give it to the MTA. If the MTA then sends it to /dev/null, in > *no* way is that fetchmail's fault. Ok, I know, but it would be nice if people didn't lose mail this way. This is all the more reason for the warning: WARNING if your MTA is badly configured there will be MASSIVE LOSSAGE! Fetchmail will blindly send it email, and can't verify where the email is actually going. You have been warned! > Have you checked your MTA's man page to see if *it* says "WARNING > if your MTA is badly configured there will be MASSIVE LOSSAGE!"??? Bad example, my MTA doesn't rely on software X, where if X is badly configured massive lossage will occur. > > > fetchmail follows the "unix philosophy" of chaining well-defined > > > capabilities so as not to reinvent the (less capable) wheel. If you > > > don't like that approach, then don't use the tool, but don't claim that > > > the tool is poorly designed just because you don't like this philosophy > > > and furthermore didn't take the time to understand the basics of how the > > > tool worked. > > > > There is another important objective: "doing the right thing". It is > > simply not acceptable to lose mail. Even if it isn't fetchmail's fault, > > fetchmail should be fault-tolerant (deal with a misconfigured mail > > system). Fetchmail should scream loudly: your mail system is fubar, > > bailing out now! I don't know if this is possible, but I think that > > that would help a lot of people. > > How the hell does fetchmail know whether the MTA is fubar? This is *why* there *should* be a warning. Because given a bad MTA fetchmail will happily send your mail to /dev/null. > Read this: http://cbbrowne.com/info/unix.html I am not disputing unix philosophy. I am disputing the "if I pipe data to another program, I am not responsible for what happens" non-sense. I am of the school that believes that it is not acceptable for a program to destroy users' mail. I believe that if this happens the user should send a bug report of the type: Dear so and so, Your broken software has annihilated my mail. Please fix this bug, so that other people won't have to suffer this way. and not Dear so and so, Your advanced software assumes there is a working MTA on the system. As I have lost a considerable amount of mail through this ingenius procedure I would appreciate it if you would add a configuration option that will bypass this step (deleting my emails). I think Havoc Pennington said something along these lines, but in a different context. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: POP3 mail fetcher that supports unreliable connections?
On Wed, Nov 05, 2003 at 05:14:10PM -0500, Mark Roach wrote: > On Wed, 2003-11-05 at 10:08, Bijan Soleymani wrote: > [...] > > There is another important objective: "doing the right thing". It is > > simply not acceptable to lose mail. Even if it isn't fetchmail's fault, > > fetchmail should be fault-tolerant (deal with a misconfigured mail > > system). Fetchmail should scream loudly: your mail system is fubar, > > bailing out now! I don't know if this is possible, but I think that > > that would help a lot of people. > > It is not. > > Here is an analogy for you to complete (fill in the blanks). If you set > a shredder under your mail slot, and your mail gets shredded, it is your > mail carriers fault because . And they should know > what's on the other side of that slot because . ;-) I still think it would be nice if fetchmail didn't send my mail through the shredder by default :) But it's ok, whatever, I'm happy with my current setup... I'm just saying that this is one way that fetchmail goofs. Another example is how sometimes the MTA will complain about illegal headers. The MTA of course expects to be talking to other machines handing it mail, not fetchmail. So the MTA doesn't accept the message, fetchmail won't delete it, and the spam just piles up in the mailbox. Sure you can set your MTA not to check if the headers are valid, but if your machine actually does directly receive mail then that's not a good solution. So now you need to run two MTAs one for receiving mail directly and another for fetchmail... Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Some newbie questions
On Thu, Nov 06, 2003 at 10:31:05PM +1300, cr wrote: > On Thu, 06 Nov 2003 04:49, Bijan Soleymani wrote: > > On Wed, Nov 05, 2003 at 08:49:48AM -0500, Roberto Sanchez wrote: > > > Alexey Buistov wrote: > > > >Hello Debian fans! > > > > > > > >The sixth iso image of binary "woody" is being downloaded to my machine > > > >right now, but I'm still having plenty of questions concerning Debian > > > >installation and even pre-installation. Please point me to some doco or > > > >answer directly in mailing list: > > > > > > First, you probably only need the first CD. I have only rearely heard > > > of situations where anyone *requires* any of the other CDs. That is > > > usually because they have special or strange hardware that will not boot > > > the regular kernel on the first CD. > > > > People with dial-up may appreciate the other CDs. I currently don't have > > an internet connection at home, so I especially need them. > > > > Bijan > > I'm on dial-up, and I have just the first two (Woody) CD's, and I've only > ever found *one* app I wanted that wasn't on one of those two - Kppp. (I > downloaded that separately). > > In other words, CD's 1 and 2 probably contain almost everything an average > user (certainly a newbie user) is likely to want. I install a lot of software :) When installing a system I always use all 7 cds. It's not that I install insane amount of software as much as the fact that I install many different kinds of software. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: XMMS without X?
On Sat, Nov 08, 2003 at 04:02:07PM -0800, Tom wrote: > Anyway, it bugs me to have my music stop when I leave X. Is there way > to run XMMS without X? Something in the spirit of abcde (the coolest > wrapper in the world)? There's no way to run xmms without X. Witness the "X" in the name :) But this is something that could be fixed. You should probably report it as a wishlist type bug. If you want a solution now you might want to look at xvfb. It's an xserver that doesn't actually display anything (it uses a "virtual" framebuffer). Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: XMMS without X?
On Sat, Nov 08, 2003 at 04:14:51PM -0800, Tom wrote: > On Sat, Nov 08, 2003 at 04:02:07PM -0800, Tom wrote: > > I use xmms, xmms-flac, and xmms-shell with some custom scripts. I do > > all my interacting with xmms via the command line. (I've never > > understood why every SOUND PLAYER in the world had to get mixed up with > > showing flashy colors to the music or drawing dumb bitmaps on their U/I. > > Must be a penis thing.) > > > > Anyway, it bugs me to have my music stop when I leave X. Is there way > > to run XMMS without X? Something in the spirit of abcde (the coolest > > wrapper in the world)? > > Der, um, I forgot about mplayer. I guess it could become my main music > player, but I never thought of it like that. Damn I wish it was DFSG. Is this because you wish there was a Debian package or because it bothers your conscience to use a non DFSG application. If the first case, then don't feel bad as it's pretty easy to build and there are sources of unofficial debs. If the second don't feel so bad because the code is pretty much GPL'd, minus extra proprietary plugins and patent violations :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Fickle sound
On Sat, Nov 08, 2003 at 11:33:00PM -0500, Joel Konkle-Parker wrote: > My sound system is being really fickle for some reason. It'll work fine, > then all of a sudden simply stop playing sound. This happens during > games (UT) and with other apps (IM sounds). > > I've heard that sound servers like esd are supposed to help with sound > issues, but I haven't quite figured out how to use them. UT and other > things try direct access to /dev/dsp, which doesn't work with esd, I guess. > > Any advice? I recommend you get a better sound card. I know this might not be what you want to hear, but a crappy sound card will give you nothing but headaches. I'm very happy with my sblive oem. The price was quite reasonable and I can play any number of sound at the same time without problems. Just check around for decent pci sound cards that are well supported under linux. You should be able to find tons of decent cards for $15-$40. If you are talking about a laptop then you might have to live with what you have. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Fickle sound
On Sun, Nov 09, 2003 at 12:18:21AM -0500, Joel Konkle-Parker wrote: > Bijan Soleymani wrote: > >If you are talking about a laptop then you might have to live with what > >you have. > > I do indeed have a laptop. Thing is, I've had no problems under Windows. > And using XMMS/ESD plugin works great. If you need sound mostly for music and IM sounds then esd should be a pretty good fit. You can always run programs that don't support esd using the program esddsp (it intercepts any direct access of the sound card and sends the data to the esd daemon, or something along those lines). Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: XMMS without X?
On Mon, Nov 10, 2003 at 07:01:33AM +0800, csj wrote: > On Sat, 08 Nov 2003 19:22:08 -0500, > Bijan Soleymani wrote: > > > > On Sat, Nov 08, 2003 at 04:02:07PM -0800, Tom wrote: > > > > > Anyway, it bugs me to have my music stop when I leave X. Is > > > there way to run XMMS without X? Something in the spirit of > > > abcde (the coolest wrapper in the world)? > > > > There's no way to run xmms without X. Witness the "X" in the > > name :) But this is something that could be fixed. You should > > probably report it as a wishlist type bug. > > > > If you want a solution now you might want to look at xvfb. It's > > an xserver that doesn't actually display anything (it uses a > > "virtual" framebuffer). > > But you can't switch xservers on the fly, or can you (the OP > doesn't want the music to stop)? That's another program: xmove. But I think he was just asking about running xmms without X. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Opium [was: Re: freelance sysadmining -- superlong -- [WAS: "Red Hat recommends Windows for consumers"]]
On Sat, Nov 15, 2003 at 03:19:10PM -0500, Vikki Roemer wrote: > Personally, I think the whole federal government system is corrupted and > bloated and it needs to be totally redone from scratch. Unfortunately, I'm > prolly looking at this like a hacker. :( The Federal government at least has the virtue of being accountable to the public (at least in theory). And they are the only level of government that is big enough not to be pushed around by private power (corporations). Private power is the part of the equation that we're not supposed to pay attention to. Corporations are organized to generate profit for stockholders and are obviously not accountable to the public. This is not to say that the Federal government in the U.S. is ok. It has lots of problems. But the main reason that the media are against the Federal government is because it is potentially by and for the people. For the past 50 years the public relations industry has been working hard to make the federal government look bad (think about the X-files, etc). Corporations don't mind state governments because they can simply buy them or threaten them (threaten to move to another state), but it isn't as simple to bully the federal government. This is all outlined by Noam Chomsky in one of his audio CDs, the full thing is available online in realaudio format (it's a proprietary format, but mplayer can handle it :). http://www.zmag.org/chomsky/audio/fmf.html Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: where is netscape 4 in testing?
On Sun, Sep 07, 2003 at 07:48:02PM +0200, Christophe Courtois wrote: > Le Dimanche 7 Septembre 2003 17:51, Stefan Waidele jun. a d?clam? : > > Well, first I ask myself: Why would anyone use Netscape 4? > > For some people who are used to it and won't change > For some badly coded enterprise websites... The number of websites that work in mozilla but fail in netscape 4 is about 10 to 1 in my experience. I haven't really seen any pages that work in netscape 4 but not in mozilla, but even if there is such a thing, I doubt that people are coding for netscape 4 any more. > > > Numbers have arrived at 7.1 and there is Mozilla as a free alternative > > and there is mozilla-firebird,... > > For computers too old to run anything else than NS 3 or 4. They can always run lynx or dillo :) > > Since not even the company that made it supports yesterdays browser, > > why should the 'next generation' of Debian? > > I thought one of the points of open source [Ok, it is not open source, > but free] was that a project was never dead, and that you upgrade when > YOU want. > > So, why not NS 4.77 in Sarge ? Assuming someone wants to maintain it, of > course. It is impossible to maintain. Only netscape the company has the source and can fix actual problems with the program. If they give up on the program it's dead. This is one of the problems with proprietary software. If you really need it you should be able to find it on ftp.netscape.com. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com pgp0.pgp Description: PGP signature
Re: DVD recording software?
On Sun, Sep 07, 2003 at 06:39:25PM -0400, Jeff Elkins wrote: > Horning in on this thread... > > There are several Windows programs that make copies of encrypted DVDs. Under > siege from the US court system and the MPAA, but currently available. > > Can any Linux programs do the same? Using the libdvdcss library I can play > commercial DVDs w/o trouble. I'm in the market for a DVD recorder and I'd > like the option of making backups. All you have to do is decrypt the vobs and then put them onto a DVD. I haven't messed with VOB files in a long time, but I'm sure you can find a program to do that somewhere. You have to decrypt the vobs because consumer grade dvd blanks have the decryption key preset to 00 00 00 00 00 or something like that. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com pgp0.pgp Description: PGP signature
Re: Strange output to console
On Sat, Sep 20, 2003 at 03:08:57AM +0100, Karsten M. Self wrote: > on Thu, Sep 18, 2003 at 10:19:27AM -0700, David ([EMAIL PROTECTED]) wrote: > > My mouse and keyboard are both USB. When I'm using > > one of the consoles (not in X) linux is printing: > > > > usb-uhci.c: interrupt, status 3, frame# 1772 > > > > I don't want the uchi module to print this > > information. How can I disable this? > > That's either kernel output or syslog output. In the former case, it > can't (AFAIK) be disabled. In the latter, modify /etc/syslog.conf to > suit. I point output to an otherwise unused virtual console, e.g.: > /dev/tty12. Doesn't kernel output go through klogd? Can't you set something in /etc/init/klogd to change where the kernel output goes, or how much output the kernel logs. P.S. I'm not sure about this, but I had a problem with unwanted information flooding my screen and I had to fiddle with klogd and put KLOGD="-c 4" in /etc/init.d/klogd to get rid of some messages that came up after setting up ipmasq. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: MS mail bombs
On Sat, Sep 20, 2003 at 02:56:10AM -0500, Ron Johnson wrote: > On Sat, 2003-09-20 at 02:31, Steve Lamb wrote: > > On Sat, 20 Sep 2003 01:58:25 -0500 > > Ron Johnson <[EMAIL PROTECTED]> wrote: > > > Does that prevent the emails from being downloaded from the ISP's > > > pop3 server in the 1st place? > > > > What pop server? > > Ummm, the pop server that stores your email until you press what- > ever key in your MUA that fetches the email from pop..net > down to your PC. Some people run their own mail server at home... I did for a while but my ISP is terrible and they're now blocking port 25 (and some others too) so that I just gave up and run one at work and use fetchmail at home. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Debian
On Sat, Sep 20, 2003 at 01:22:31PM -0700, gerald simpkin wrote: > I checked to see if I could turn off the html characteristics of the > email sent when using free yahoo email. I could not find a > configuration tool to send this in plain text so I am sorry in advance > about this email. What I am most concerned about is getting help with > the Debian problem I described (although it should be noted to send > questions in plain text if that is the way you want to get it). I went > to the Debian organizations website and it said if a new user > (paraphrasing) has a problem to send questions to this email address > (did not mention format). I got your message now what about an answer > to my question? Is there a site I can go to for this information? Do > you know how to solve this problem? > If you want Debian to be the Linux flavor for professional programmers > then form a private club and remove the manifesto from the website. If > you want the Debian flavor to survive then I advise you to consider > the masses otherwise it'll be a project of you and a thousand or so > programmers. I would recommend not using yahoo mail in that case. Simply send using your isp's or a third party's smtp server as a smarthost. And use yahoo mail to read the replies. For example my isp's smtp server is relais.videotron.com. To set up any mail program with my yahoo mail I would do the following: Name: Bijan Soleymani Email: [EMAIL PROTECTED] Incoming Server: [EMAIL PROTECTED] (you don't care about receiving mail) Outgoing Server: relais.videotron.com Of course make sure to replace outgoing server with whatever your isp's server is. Then you should be able to tell the program to not use html and wrap properly etc. I hope this helps. P.S. A note on your remark about Debian and professional programmers, etc. Sending mail is not professional programming, it's a very basic skill. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Uppercasing filenames
On Sat, Sep 20, 2003 at 05:06:26PM -0400, Jeff Elkins wrote: > I need to convert a bunch of filenames to uppercase. I tried the script below, > which does...nothing. > > #!/bin/sh > for file in $* > do > if [ -f $file ] > then > ucfile=`echo $file | tr [a-z] [A-Z]` > if [ $file != $ucfile ] > then > mv -i $file $ucfile > fi > fi > done #!/usr/bin/perl @files=`ls`; foreach $file (@files) { chomp $file; if(-f $file) { $newname = uc $file; `mv $file $newname`; } } This should do what you want. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Uppercasing filenames
On Sat, Sep 20, 2003 at 05:52:44PM -0400, Bijan Soleymani wrote: > #!/usr/bin/perl > @files=`ls`; > foreach $file (@files) > { > chomp $file; > if(-f $file) > { > $newname = uc $file; > `mv $file $newname`; oops that should be: `mv "$file" "$newname"`; So that files with spaces won't screw up. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Direct ethernet
On Sat, Sep 20, 2003 at 07:14:58PM -0400, Tommy McCabe wrote: > I have a direct ethernet connection (no visible card, wire just plugs into > computer) that connects to a cable modem which is connected to the Internet > and another computer. The Internet works fine via Windows, but Debian won't > access anything. Everything points to an Ethernet "card" (which I don't > think I have and even if I did it's buried in my computer). I tried running > Etherconf, but even after I installed it, it didn't work (it said there was > no such command, but apt-get said it was already installed). HELP!!! > > PS I'm not subscribed to the mailing list to spare hundreds of emails > daily, but I will be searching the Internet archives. I recommend you run lspci, that should list your hardware. It will give you something like this: 00:00.0 Host bridge: VIA Technologies, Inc. VT8753 [P4X266 AGP] (rev 01) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] 00:08.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) 00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07) 00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1b) 00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1b) 00:11.4 USB Controller: VIA Technologies, Inc. USB (rev 1b) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 70) 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] In this case my built-in ethernet controller is identified as: 00:08.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) all I have to do is load the via-rhine module to get ethernet to work. If you can't figure things out, please reply and attach the output of lspci so that we can recommend a course of action. Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: SBLive! 5.1 in Debian?
On Sat, Sep 20, 2003 at 07:34:08PM -0600, [EMAIL PROTECTED] wrote: > What precisely do I need to get my SBLive! 5.1 soundcard working? I'm > becoming fairly good at using make xconfig and I've built several > kernels of my own, but I can't figure out for the life of me figure > out exactly what I need to get sound working. > > Do I need to install OSS? Do I need to do somethign special to make > OSS work etc. etc. I really am very new to Linux. You need to compile sound support into the kernel. Specifically in your case you need: Sound->Creative SBLive! (EMU10K1) > Thanks lots :) > > Joe (irrepressible newbie). > > PS: Sorry to spam you server with an identical post, but I forgot to > ask if you could CC your replies to me! Sorry :( Most people won't do this... I tend to do this even when people don't want me to. It's best to subscribe to the list, at least temporarily. P.S. Please wrap your lines. -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Why such volume with W32/Swen@MM?
On Sat, Sep 20, 2003 at 11:11:54PM -0400, Carl Fink wrote: > On Sat, Sep 20, 2003 at 06:49:18PM -0700, Bill Moseley wrote: > > > >From the descriptions I've read of W32/[EMAIL PROTECTED] it mails itself to > > "recipients extracted from the victim machine", yet I'm seeing so many > > of these to my personal email address alone that I can't believe my > > address is listed on that many machines. Today I got about 300 alone > > send to just one address. Other's I've talked with about this (non-geek > > internet users) are not seeing so much of the virus, if at all. > > I think it's scanning Usenet via people's cache files. Debian-user is > echoed as a Usenet newsgroup. I had heard of this. I find it weird though... Many people (most?) munge their email, or just lie and put fake email addresses. So why bother to go through usenet looking for email addresses to spam. Is it just because it's so easy? Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: SBLive! 5.1 in Debian?
On Sun, Sep 21, 2003 at 06:44:49AM -0600, [EMAIL PROTECTED] wrote: > Okay, I've compiled a kernel with sound support and emu10k1. I've > tried loading XMMS to play some sound and the only drivers listed are > OSS, CDWriter and eSound. Is there an additional step I need to do? I > don't know much about modprobe, but I read about it somewhere. I tried > /sbin/modprobe emu10k1 and it didn't work. Said that it couldn't > locate module emu10k1. Do I need to be doing something in > /etc/modutils (I read about that somewhere to)? Ok well you won't need to modprobe the module if you compiled the support into the kernel, you only need that if you compiled emu10k1 as a seperate module. I'm pretty sure you need to use the OSS driver in xmms. The biggest problem I always have with setting up sound in debian is that I forget to add myself to the audio group. You have to edit the file /etc/group and change the line: audio:x:29: to something like audio:x:29:bijan,alex,fariba,reza where you would replace bijan alex fariba and reza, with the users you want to be able to use audio. You then need to log out and log back in. I never appreciated this until one time when my friend didn't realize he was logged into my computer and played a song at full volume in the wrong xterm in the middle of the night... Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: MS mail bombs
On Sat, Sep 20, 2003 at 09:19:32AM -0700, Carla Schroder wrote: > The other way is a neat little trick I use on my ISP account- limit the size > of messages to download, I limit them to 2000 bytes. You can try different > sizes to see what works. Then when I check mail a popup window appears > showing a list of messages, with subject lines and the senders of any > messages bigger than 2000 bytes. Then I can either leave them on the server, > delete them, or download them. I don't know if all mail clients do this, it's > worth checking out. I use a different trick when I'm on dialup and don't want to download huge messages. I simply use mutt to access my pop mailbox. Then mutt only downloads the headers from the pop server. And then I get a list of all the messages, who they're from, what the subject is and what the size is. I can then delete whichever ones I don't want to download. After that's done I use fetchmail to retrieve the mail as I normally would. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Divx and DVD playback
On Sun, Sep 21, 2003 at 07:54:43PM -0400, AnotherLinuxGuy wrote: > what is the best of the best when it comes to a program that does > playback of divx and DVDs? i have heard Xine and Mplayer, in Xine i get > no sound, i use esd or dsp i think, its on a compaq armada m700 laptop, > and in mplayer i get a segment fault right off the bat, but they dont > have a deb package and i just downloaded their rpm and used alien to > convert it, so i wasnt to hopefull in the first place. does anyone have > any other suggestions on programs that "just work" right out of the box? Mplayer works right out of the box :) Most people download unofficial debs from some site like free.marillat.fr or something like that... google for it. For me it works right out of the box after I compile it from source. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: spam filtering
On Sun, Sep 21, 2003 at 08:53:15PM -0400, Gerard Ceraso wrote: > I am currently using procmail and spamassassin and I heard that razor is > better. Any opinions? Spamassassin can use razor, I think all you have to do is apt-get install it. I'm not 100% on that though. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: MS mail bombs
On Tue, Sep 23, 2003 at 10:10:42PM +0200, Arnt Karlsen wrote: > ..someone on this list mentioned some other program to check > popservers before fetchmail'ing? mutt and telnet are my favourite programs. For mutt simply run: mutt -f pop://pop.server.com then it will ask you for username and password and will retrieve all the headers for you and you can look at them and delete them without downloading the full messages. For telnet simply run: telnet pop.server.com 110 USER username PASS password LIST TOP number (to show only the headers) DELE number (to delete the message) QUIT (once you're done) Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: radeon opengl help
On Tue, Sep 23, 2003 at 02:31:35PM -0400, Mark Roach wrote: > Hi folks, I am trying to understand how to get opengl working on my > compaq evo n1000v laptop with radeon M7 LW (7500) and it seems pretty > confusing. Can someone break it down for me a little bit? Here's what my > current understanding is: > > A kernel module is required, my kernel (2.4.22) includes a radeon > module, will this do, or do I need one from somewhere else? Yes the one that comes with the kernel is the kernel module you want. > I need a recent XFree86, I've got 4.3.0 prev1 from experimental, but I > keep reading about DRI trunk, and I don't know what I should be using I have a 7500 AGP in a desktop system so I don't know if this applies, but strangely enough that one didn't work for me... I use the X from Sid and GL works just fine, with the one from experimental I got errors about not being able to resolve some things in ligGLcore.a or something. This is my advicei: Try to use normal X from Woody or Sid I've got it to work with both (using sid right now). But I'm not 100% sure because I've got the AGP 7500 in a desktop not in a laptop. Make sure all the GL related stuff is being loaded by checking out the messages that X gives as it's starting up. Make sure you have this in you X config file (or else I think only root will have acceleration): Section "DRI" Mode0666 EndSection Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: fetchmail and mailfilter
On Wed, Sep 24, 2003 at 01:40:25AM +0200, mess-mate wrote: > Where can I find config-doc about fetchmail ? > Or a sample fetchmailrc for multiple ISP and accounts ?? > Thanks for the info. > mess-mate I have a short description of my mail setup using fetchmail on my website at: http://www.crasseux.com/linux/ If you want to learn about the syntax then: man fetchmailrc I also think there is a script to set it up automatically called fetchmailconf. I've never used it so I can't say whther it's any good or not. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: MS mail bombs
On Wed, Sep 24, 2003 at 02:52:20AM +0200, Arnt Karlsen wrote: > On Tue, 23 Sep 2003 18:02:20 -0400, > Bijan Soleymani <[EMAIL PROTECTED]> wrote in message > <[EMAIL PROTECTED]>: > > For telnet simply run: > > telnet pop.server.com 110 > > USER username > > PASS password > > LIST > > TOP number (to show only the headers) > > DELE number (to delete the message) > > QUIT (once you're done) > > ..cool, anyone scripted this? Well mailfilter basically does this. You just define some rules that it should apply to messages based only on the headers (it only downloads the headers). It's kind of like procmail for pop, but only using the headers. I haven't really used it because I don't feel comfortable deleting mail without either, moving it to a trash folder, or without looking at it manually. apt-cache show mailfilter should describe it pretty well. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Why such volume with W32/Swen@MM?
On Wed, Sep 24, 2003 at 09:33:56PM -0400, ScruLoose wrote: > I have a mailto using a little Javascript that I got here: > http://innerpeace.org/escrambler.shtml > which works beautifully, though only for people who have JavaScript > enabled on their browser. I have my address published on my website > http://shorty.ca > both in that script and as obfuscated text, and I didn't get any spam > to this address *at all* for a year and a half. > > Then I started posting to debian-user, which somebody is mirroring to a > newsgroup... I have had all my email addresses in clear on my website for at least 2 years now. And the only one that is getting spam is the one I use for mailing lists and newsgroups. > So now I've recently installed spamassassin 2.55 as well. Amen to that. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: fetchmail and mailfilter
On Wed, Sep 24, 2003 at 01:53:07PM -0400, Antonio Rodr wrote: > > Bijan Soleymani <[EMAIL PROTECTED]> wrote: > > > > > I also think there is a script to set it up automatically called > > > fetchmailconf. I've never used it so I can't say whther it's any > > > good or not. > > Hi Bijan, > You posted a while ago a solution for spam using telnet. There you > used several commands such as DELE, LIST, etc. These are POP commands. Telnet simply lets you talk to any server that can deal with plain text. For example if you know the commands for http or imap you can access those servers through telnet as well. > I looked in the man pages for telnet and I didn't find anything about > that. Can you point me in the right direction? Thankyou. A principal source for information about internet standards are the so called RFC (Request For Comment) documents. They are detailed specifications of individual standards. For example the RFC for POP3 is: http://www.faqs.org/rfcs/rfc1939.html If you find the RFC too technical you can search for "pop commands telnet" on google and you should find some more practical information. I myself like the RFCs and in the case of POP3 the RFC is not too complicated (the one for IMAP is much more complicated). Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: burning a CD
On Sat, Sep 27, 2003 at 04:21:09PM +0200, Benedict Verheyen wrote: > Op vr 26-09-2003, om 02:17 schreef Carla Schroder: > > If it's Office 2000 or older, a simple disk copy will work. If it's XP, I > > don't know. If an ordinary disk copy does not work, try the dd command, as > > it does a literal byte-by-byte copy. This should take care of any > > odd/hidden/sekkrit bits. > > Not always. I tried dd once to make copy of a game i have and a program > (both legitimate copies of mine :) ) and after dd'ing and cdrecording > them, the copies where no good. > They were also for a win platform so there might be some parameters you > have to add for that to cdrecord, i'm not sure. But i've always wondered > why it worked with cdclone and not with the linux tools. I remember that some CDs of windows software (especially games) used certain tricks to make sure you didn't copy them (the game could detect if they were running off a copied cd). And you had to patch your executable to be able to run them. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: per user samba
On Fri, Sep 26, 2003 at 07:59:47PM +0200, LeVA wrote: > Hello! > > Is there a way to setup samba, to enable the users to share files/dirs > under their home dirs. Under kde/konqueror there is an option to share > files, and if I'm root under kde I can setup to allow the users to share > files/dirs under their home dir or to not to allow anything. But this > isn't working, and I think it's because the samba config. > So can I setup samba to allow a simple user, who doesn't have root > privilages to share some stuff in his home dir. I guess it will be a > ~/.smb file or something like that, but that I don't know :) Why complicate things, why not just share all /home/ and have users decide what files they want to share by setting appropriate permissions. That is to say if they want to share a folder simply chmod 755, if they want to share a file chmod 644, etc. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: burning a CD
On Sat, Sep 27, 2003 at 08:15:01PM +0200, David Fokkema wrote: > On Sat, 2003-09-27 at 19:42, Bijan Soleymani wrote: > > On Sat, Sep 27, 2003 at 04:21:09PM +0200, Benedict Verheyen wrote: > > > Op vr 26-09-2003, om 02:17 schreef Carla Schroder: > > > > If it's Office 2000 or older, a simple disk copy will work. If it's XP, I > > > > don't know. If an ordinary disk copy does not work, try the dd command, as > > > > it does a literal byte-by-byte copy. This should take care of any > > > > odd/hidden/sekkrit bits. > > > > > > Not always. I tried dd once to make copy of a game i have and a program > > > (both legitimate copies of mine :) ) and after dd'ing and cdrecording > > > them, the copies where no good. > > > They were also for a win platform so there might be some parameters you > > > have to add for that to cdrecord, i'm not sure. But i've always wondered > > > why it worked with cdclone and not with the linux tools. > > > > I remember that some CDs of windows software (especially games) used > > certain tricks to make sure you didn't copy them (the game could detect > > if they were running off a copied cd). And you had to patch your > > executable to be able to run them. > > Using readcd I copied a game which had a copy protection under windows. > If you sequentially read the whole disc (as cd copy programs do) you > would notice that certain sectors had medium faults. Every windows > program my friends had tried aborted with tons of error messages. Readcd > on linux also aborted. However, telling readcd to ignore errors and only > retry three times I ripped an iso off the disc. Burning that to cd was > of course no problem and then I had an identical copy. Well, not > completely identical, since I didn't have the medium errors. And I think that some games might have checked for the medium errors or something like that :) Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: pam and other authentication methods
On Sat, Sep 27, 2003 at 04:58:50PM +0200, Benedict Verheyen wrote: > Today i read that Slackware doesn't use PAM by default because of some > of the leaks that pop up now and then. I was wondering what other type > of authentications there are on Linux and how easy/difficult they are to > set up. Well I think there are three basic ways to change the way you handle authentication. One system is pam where the application that needs authentication uses the pam library. In that case each application has a file where you can specify which pam module it should use for authentication, changing passwords, and so on. There are modules for passwd file, NIS, ldap, windows authentication, etc. Another system is to recompile each appplication to use the authentication you want. This is pretty ugly. I think another possible way would be through the C library. I believe that the C library has certain authentication functions (I think for passwd file and NIS). I think that you could modify these functions to provide whichever method you want. > For instance, if i would now like to change the way users are > authenticated, how would i do that. > Any info on this? As I have said, passwd file authentication and NIS are probably built into the C library so those should be OK to set up. To use anything more complicated might require messing with the C library or recompiling programs. Hope that helps, Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Statically linked bash
On Fri, Oct 03, 2003 at 06:41:53AM +0700, Oki DZ wrote: > Hi, > > I'd like to have bash that runs by itself; is there any such shell > somewhere in the Internet that I can download? There's a package called bash-static. That is a statically compiled version of bash. You could also download the source code for bash and compile it statically yourself. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Do we really need to worry about viruses (was Re: Anyone else notice that Swen is slowing down?)
On Fri, Oct 03, 2003 at 01:42:28AM +0100, Karsten M. Self wrote: > E.g.: there are _good_, _solid_ reasons Debian doesn't allow Mozilla to > run as root, why X11 TCP connections are disabled by default, and why > SSH is strongly recommended. Yes, it's possible to override or ignore > these settings, but that's not information I share, particularly not > with newbies, on the simple principle that learning how to shoot > yourself in the foot _might_ just provide you with some clue as to why > this is a bad idea. I agree that security is generally a good thing, but some people turn it into some sort of cult. Once upon a time I tried running FreeBSD (or was it NetBSD) and some script I had died, because I didn't have permission to write to /dev/null. That really made me laugh. One thing I really like to do is disable passwords for local logins. But I'm sure there are people who will tell me that the CIA is going to come to my house, tie me up, log into my computer and steal all my mp3s or something :) I really like doing this because it saves me from typing my password 300 times a day, and it doesn't make my computer any easier to hack over the network. So I think there should be a proper balance between convenience and security. For instance the current version of Outlook Express (aka outhouse excess, etc.) defaults to preventing users from opening any attachments: "Sorry this attachment could be a virus.". It does this even with "plain/text" attachments. I've had to fix this on any number of people. Even worse is the fact that Outlook's GPG/Mime handling is broken and it actually doesn't show the message but shows it as an attachment, which if the user clicks on it, gives them a warning saying that it may be a virus. I mean this prevents legitimate attachments like jpegs, etc. So users simply disable it, and you're back to square one. P.S. It might have been a security upgrade or something that added this "feature" to OE, but still I've seen people struggling to open plain/text attachments because of it. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature
Re: Maildir with uw-imapd
On Thu, Oct 02, 2003 at 08:03:52PM -0400, Roberto Sanchez wrote: > Juri Haberland wrote: > > > > >And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. > > > That is simply not true: > > $ apt-show-versions |grep uw-imap > uw-imapd-ssl/stable uptodate 4:2001adebian-6 > $ ls ~/mail/ > Fall 2003 Personal School Trash Are these directories containing the folders: cur new tmp and with each of these containing individual message files with names like: 1065141220.1077_1.server:2,s or are these individual mbox files. Because I know people who use uw-imapd with hundreds of folders with 1000s of mboxen, but they don't use Maildir. Bijan -- Bijan Soleymani <[EMAIL PROTECTED]> http://www.crasseux.com signature.asc Description: Digital signature