Re: Program for quoting text like in email?
On Wed, 10 Jun 2009 00:38:40 +0200 Thomas Anderson andersontho...@gmail.com wrote: However I noticed another problem. When I quote a text that is already quoted, the result gets the characters moved around. I would like to get orfor text that is quoted twice. Is that easy to fix or would that complicate the solution a lot? I tried both the here's a program for you: http://pastebin.com/f1cc1fa35 This will quote one or more 's correctly without extra spaces -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: Program for quoting text like in email?
Can anyone recommend a program/shell script/editor plugin etc, that can take arbitrary text as input and quote it like email programs quote emails with a preceding character? awk '{print $0}' filename or just type: awk '{print $0}' paste some text into the buffer, and hit ctrl-D when you're done. It'll return the quoted text which you can paste into your webpage. This syntax might be a bit easier to remember than the sed command Kumar gave. Plus you can add the fmt command he mentioned to reformat your text to a certain width if you choose. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: Suggestion for a mail package
We are planning to run an email server at my university. We would like to use something that has a nice Web based gui for its configuration. Does anyone have any good ideas? We have tried courier and exim, but their web-based GUIs were not that good. Any other email packages out there we can try? I don't know if it's available as a debian package, but Horde/IMP is not bad as far as free webmail goes. It's mail server agnostic, so you can choose what you want. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: Backup tar (/dev/st0)
On Fri, 05 Jun 2009 09:07:41 -0300 Márcio Luciano Donada mdon...@auroraalimentos.com.br wrote: I have a backup that uses 4 tapes with tar, but must return a single file that is in the second tape, but when I put the second tape and give the tar-xvf / dev/st0 it does not agree and says it is continuing another volume, now the question is this, I have to necessarily use the first tape? yes. A tarball is one single file. The beginning of that file is on the first tape. It scans through the tarball (as the table of contents data is effectively scattered throughout the archive) until it finds your file, then extracts it. Having said that, if you knew the exact bit locations your file starts on the tape, and its exact length, you could extract it with dd. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: udev tutorials or howtos?
This is an excellent starting point: http://lmgtfy.com/?q=udev+tutorial+howto -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: error deboostrap
medhy medhy.fra...@free.fr wrote: deboostrat cle inconnue it looks like you may have a corrupt video card because it's just displaying random characters. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: email notification when a process ends?
while ps -ef | grep $processname; do sleep 60; done echo done | \ mail -s subject user But it might be tricky to identify the right process. grepping ps will invariably also return the grep line, so this will hit a false positive. Better to use pgrep rather than ps grep. Using pgrep without any switches will just return the process number. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: xterm font sizes choices?
Zhengquan Zhang zhang.zhengq...@gmail.com wrote: but the font is still too small for me and I would like to make it larger but I don't know what font sizes are available. Could anyone have any pointers on this? look in /usr/share/fonts/X11/ for fonts.alias files. but if 10x20 is too small for you, then you've either got an insanely low dpi setting, or you're not looking at the 10x20 font. My screen res is 1920x1200 at 96 dpi, and with the 10x20 font, an 80x24 xterm takes up almost a quarter of my screen. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: 2.6 kernel issues
Steven Jones steven.jo...@vuw.ac.nz wrote: Is there any alternative apt-get sources that allow me not to upgrade my kernel in stable? The new 2.6 kernel I am forced to use wont boot on my scsi raid card, it panics Steven, replying to another thread and changing the subject line throws out threaded mail clients. Emails track message-ids and know who replied to what. -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
thunar-data package issue in sid
I'm reluctant to post in the appropriate xfce4 mailing list as it seems to be full of bots and autoresponders judging by the archive.. I'm a n00b to debian, so don't know the process to follow, but this is the problem as I perceive it... background: I just upgraded from Lenny to Sid and thunar broke. I don't have all of xfce installed, as I just use fluxbox. turns out that a couple of days ago a Thunar update was approved for amd64... This meant that thunar-data_1.0.0-2_all.deb was uploaded along with new versions of thunar and associated support packages for amd64.. Being an all architecture package, thunar-data_1.0.0-2 got installed on my i386 system. however, thunar_0.9.0-10_i386 and libthunar-vfs-1-2_0.9.0-10_i386 each have a Depend of thunar-data (= 0.9.0-10) so naturally, thunar-data got upgraded, thunar couldn't meet the dependencies, and any packages depending on thunar broke. the only ones installed on my system happened to be squeeze and xfburn. I fixed the problem by manually installing thunar-data_0.9.0-10_all.deb with dpkg, then following that with an apt-get install thunar squeeze xfburn. Is this something I've done wrong? Are there i386 packages on their way? Can I build the packages and upload them somewhere? -- section .data sig: db 'Spiro Harvey',0x0a db 'UNIX Specialist, Writer, Editor',0x0a homepage: db 'http://twiddle.starforge.net.nz',0x0a signature.asc Description: PGP signature
Re: gpg
On Fri, 3 Apr 2009 21:41:16 +1100 Daniel Dalton d.dal...@iinet.net.au wrote: One question I still have, am I somehow meant to somehow get people to sign my signature if so, how does this work? and don't forget to upload your public key to a keyserver so people can verify your signatures. :) -- section .data sig: db 'Spiro Harvey',10 db 'UNIX Specialist, Writer, Editor',10 homepage: db 'http://twiddle.starforge.net.nz',10 signature.asc Description: PGP signature