Re: Stretch => Buster: obsolete packages

2020-10-23 Thread Clive Standbridge
> Somehow both of those survived the upgrade from Jessie to Stretch (at a time > when I was not aware of the potential problem), and squirrelmail still works > fine. > > Can I expect that they will also survive the upgrade to Buster? Yes. I have done that, and the old squirrelmail package remai

Re: Re: apt-get build-dep emacs-gtk: unmet dependencies

2020-02-03 Thread Clive Standbridge
> > $ apt-cache policy libtiff-dev libtiff5 > > The command (w/ libidn2-0 added) reports: > > libtiff-dev: > Installed: (none) > Candidate: 4.0.10-4 > Version table: > 4.0.10-4 500 > 500 http://ftp.uk.debian.org/debian stable/main amd64 Packages > libtiff5: > Installed: 4.1.0

Re: Re: Bash true/false builtings undocumented? "false" not working?

2018-08-17 Thread Clive Standbridge
> Is there a "cleaner" way to test the true/ error exit status other > than using "$?", with bonus points for working in posix sh as well as > Bash, ? test $? -eq 0 "help test" will tell you more. Another point from your original mail, > $ false > $ test $? && echo ok || echo error $? The s

Re: Re: [OT] An easier database

2018-07-25 Thread Clive Standbridge
> I wonder if it would be nice for apt to have a feature so that a > user could mark packages "never install". That feature is APT pinning. You can achieve "never install" by creating a file in /etc/apt/preferences.d, e.g. /etc/apt/preferences.d/local-blacklist, containing something like Package:

Re: Re: Re: No ifconfig [Was: no /etc/inittab]

2017-08-16 Thread Clive Standbridge
> Much less was I trying to criticize you, Oh I didn't think you were :-) > Just trying to raise awareness about (the few) shell variation idiosyncracies > I know about, to help making people's lives easier. Sounds good to me. -- Cheers, Clive

Re: Re: No ifconfig [Was: no /etc/inittab]

2017-08-16 Thread Clive Standbridge
> The "declare", OTOH, is pretty Bashist. But it can be replaced by > a simple "echo": True. It was just a convenient way of showing that the variable hadn't absorbed any white space. Besides, I was just picking up the "Bash can't do it" gauntlet. I'd often prefer awk in such a situation (like

Re: Re: No ifconfig [Was: no /etc/inittab]

2017-08-16 Thread Clive Standbridge
> wooledg:~$ ip -o link | awk -F": " '{print $2}' > lo > eth0 > > The only other scripting language I know that can do splitting with > multi-character separators is perl. > > wooledg:~$ ip -o link | perl -ne '@x=split(/: /); print $x[1], "\n"' > lo > eth0 > > Bash and Tcl can't do it, at least

Re: Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Clive Standbridge
> 0) backport it yourself. It is not that hard to dget a dsc file from > testing and try to build it for the current release. Often works without > additional efforts. The great debian-reference has a guide to doing that: https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_porting_a

Re: Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-22 Thread Clive Standbridge
> > Perhaps better still... > > bin/mailwatcher >& /dev/null & > > > I hadn't thought about that particular incantation. It is one of the > strengths of bash (and some other shells) that there are several > different incantations that achieve similar or same results. You get > to speak the diale

Re: Re: replacement for old /etc/mtab that lists only real filesystems like ext4 or fat

2016-02-12 Thread Clive Standbridge
> > I used /etc/mtab to list mounted filesystems with their mount > > options. > > Unfortunatelly /etc/mtab no longer exists in debian jessie, it is > > just > > symlink to /proc/mounts that lists 31 filesystems and I want to see > > just 2 > > > > :-) classic filesystems like ext4, fat,

Re: Re: get software list of one software repository

2015-09-08 Thread Clive Standbridge
> > cat > > /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binar > > y-amd64_Packages > >| grep "Package" | awk -F ": " '{print $2}' > > UUOC. > > Just grep without a cat. Why so many cats in this group? What's with > the cats, anyway? UUOG. Just awk without a grep, e.g.

Re: Re: Ric Moore

2015-01-17 Thread Clive Standbridge
> I assume it has a name, is this 7.8=Jessie? Its name is wheezy. It's an update, not a new release. See: https://www.debian.org/releases/wheezy/ https://lists.debian.org/debian-announce/2015/msg0.html > Anybody else? FWIW, 7.8, all 3 dvd's in amd64 format, is being > downloaded now. So I'll

Re: Re: Iceweasel Latest update stealing bandwidth uselessly

2014-12-07 Thread Clive Standbridge
> I think the Dali Llama is a Spanish surrealistic painting of a South > American ruminant, noted for fleecing the tin foil crowd. You win! -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.deb

Re: Re: Iceweasel Latest update stealing bandwidth uselessly

2014-12-07 Thread Clive Standbridge
> Do you subscribe to the Dali Llama somehow? :) Ric Is that some kind of mystical Tibetan woolly creature? Maybe the origin of the yeti myth. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive:

Re: Lots of updates? OK?

2014-10-19 Thread Clive Standbridge
> My wheezy system shows 34 packages updated since I last checked, which > I think was yesterday. Is this legitimate? I got a security warning > about the keys when I first checked, but that went away after I did > another aptitude update. I haven't installed any of the new packages > yet. The

Re: Re: funny text in bash history

2014-09-28 Thread Clive Standbridge
> I do A LOT of computing from terminals... and use arrow up and down > ALL THE TIME.. Autocomplete would so ROCK! "Tab completion" is the key phrase. Assuming you use bash: When you want to complete a command or filename, press the Tab key. If the choices are ambiguous, you'll need to press Tab

Re: Part 2 - updating squeeze to wheezy

2014-09-27 Thread Clive Standbridge
> The following is what I get when I type "apt-get update" and obviously > it failed to update. My original sources.list (see part 1 - updating > squeeze to wheezy) (bottom 16 lines) had squeeze and I was getting > similar results. > > Later today I am going to try and shorten sources list and sim

Re: trying to remove wicd

2014-09-16 Thread Clive Standbridge
> I want to get wicd off my system, but am having a problem. All the > installer utilities say that it's not installed As Gary Dale has pointed out, you should probably be looking at packages names other than plain "wicd". > root@debian:~# which wicd > /usr/sbin/wicd This will tell you which pa

Re: Re: how to reinstall bash

2014-09-13 Thread Clive Standbridge
> Done by following the link: > http://ubuntuforums.org/showthread.php?t=1618902 > namely, > > 1] ln -sf /bin/sh /bin/bash That is an unfortunate mistake; the link name and target are the wrong way round. It will make /bin/bash into a symbolic link when it should be an ELF binary. > 2] apt-get i

Re: Re: How to find dirs with single item

2014-05-29 Thread Clive Standbridge
> Hi. > > On Thu, 29 May 2014 14:31:03 -0500 > Dennis Wicks wrote: > > > Can't quite figure out how to do this. > > > > I'd like to be able to scan a Volume or directory and find > > all directories that have only one item in them. Either > > directory or file. > > Try this (yep, links shou

Re: how to change default pager for tab completions from 'more' to 'less'

2014-04-02 Thread Clive Standbridge
> if i use tab completion, and there are a lot of possibilities, 'more' > is used as the default pager to show the list. I want to see the list > with the 'less' pager. You may be out of luck. bash(1) in the "Readline Variables" section states page-completions (On) If set to On, readl

Re: making my Wheezy beep. How?

2014-01-31 Thread Clive Standbridge
> Why don't I get a beep with: > > echo -e \a Because the shell absorbs the \ and the echo command sees only the letter a. Try this: echo -e '\a' -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@

Re: Re: Confused about dist-upgrade

2014-01-23 Thread Clive Standbridge
> At any rate, to move from, say, squeeze, to wheezy, my approach would > be to edit my sources.list, replacing all instances of "squeeze" with > "wheezy", and then running > > # apt-get update > # apt-get dist-upgrade It's not always that straightforward for upgrades between major releases. You

Re: Re: upgrade dist from squeeze to wheezy

2013-12-18 Thread Clive Standbridge
> > we have been on squeeze for a couple of years and run a server using > > openvz. we also have some backports and some software in /usr/local > > we > > compiled (so we could use more updated versions). > > > > we want to do a dist upgrade to wheezy. > > > > is the correct process: > > The re

Re: software for (reminder) recommendation

2013-11-13 Thread Clive Standbridge
> Which package I can be installed which may serve as calender, > > Just remind me when, where and what I need attend or prepare? gkrellm-reminder (a plugin for gkrellm) does what you said. It's graphical, but does not depend on any desktop environment. -- Cheers, Clive -- To UNSUBSCRIBE, e

Re: Consistent mouse and scrollbar behavior in X?

2013-10-12 Thread Clive Standbridge
Hello Brian, > Clicking on scrollbars does different things with different applications. In > Emacs, the following used to be standard: > > - left click: one screenful down > - right click: one screenful up > - middle click: jump to where you clicked Better than that, the left and right click s

Re: Re: Using unstable for certain packages

2013-04-13 Thread Clive Standbridge
> I do not mean building from source using configure & make, but creating > a debian package using source debian package from unstable with tools > like dpkg-buildpackage or uupdate. There's a handy guide to that (apart from the uupdate bit) at http://www.debian.org/doc/manuals/debian-reference/ch

Re: "su" - timeout for dbus/system_bus_socket if $DISPLAY set but unreachable

2013-03-16 Thread Clive Standbridge
> The reasons seems to be my setup of the system. > Debian runs in a VirtualBox environment, headless and w/o X server. > I use ssh to connect to the system. (putty) > I use X forwarding to run X applications on the system. > The variable $DISPLAY gets set to 10.0.2.2:0 after ssh auth. Sven, I'm

Re: Basic USB Automounter?

2013-01-17 Thread Clive Standbridge
> Building a Wheezy 64-bit system piece by piece from the standard > terminal-only install. I don't want to have any extraneous crap > that I'll never use on it Will have X and a window manager only > (currently Openbox) for those times I need a GUI. This will be my > personal system with me as t

Re: Flashplayer on Squeeze (sorry. :-()

2012-11-09 Thread Clive Standbridge
> If there were a plugins directory, where would it be? I need to put > libflashplayer.so in it, and it currently doesn't exist. Obviously I > can > create it, but I need to know where to put it. > > Iceweasel 10.0.10, LXDE and Squeeze. Hi Lisi, Instead of setting it up manually, you can i

Re: Re: mail server

2012-07-28 Thread Clive Standbridge
> > is there any good howto on Debian Squeeze on following tools > > -postfidx > -dovecot > -postfixadmin (web interface) > -roundcube > -spamassassin > -clamv Most of that list is covered by the tutorials at http://workaround.org/ispmail/ I have used the tutorial for Debian Lenny and found it

Re: which layer to configure so Alt-x does Meta-x in bash?

2012-07-04 Thread Clive Standbridge
> What's the right layer to reconfigure so that Alt functions as Meta in bash > command line editing? > > Right now, when I try to type Alt-f to execute bash's Meta-f line-editing > function (Forward Word), bash instead inserts a non-ASCII character (the > a-e ligature). That happens in bash in x

Re: Re: how to update Debian OS properly

2012-05-25 Thread Clive Standbridge
> deb http://ftp.us.debian.org/debian stable main contrib non-free > deb-src http://ftp.us.debian.org/debian stable main contrib non-free > deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free > deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free > deb htt

Spam complaints

2012-05-17 Thread Clive Standbridge
To anyone who is bothered by spam on the list and is unsure what to do, please: DON'T reply to the spam. DON'T quote the spam. DO Read how to report the spam at http://www.debian.org/MailingLists/#ads in particular, find the offending message in the archive at http://lists.debian.org/debian-user

Re: Re: Re: backported libreoffice minus its autospellcheck

2012-05-09 Thread Clive Standbridge
> Forgive me for being thick but how do I get the gb dictionary please? No problem, you need to install the myspell-en-gb package. Then you need to restart LibreOffice before you can use it in the auto-spellcheck. -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o

Re: Re: backported libreoffice minus its autospellcheck

2012-05-09 Thread Clive Standbridge
> Yes I do have myspell installed ;- ... locate myspell > /usr/lib/enchant/libenchant_myspell.so > /usr/share/myspell > /usr/share/myspell/dicts > /usr/share/myspell/infos > /usr/share/myspell/dicts/DicOOo.sxw > /usr/share/myspell/dicts/en-US.aff > /usr/share/myspell/dicts/en-US.dic > /usr/shar

Re: backported libreoffice minus its autospellcheck

2012-05-07 Thread Clive Standbridge
On Mon 7 May 2012 11:08:53 +0100(+0100), Clive Standbridge wrote: [...] > > First suggestion - do you have a myspell dictionary installed? Search > for package names beginning "myspell-" and install one or more of them. Oh and you'll need to restart LibreOffice af

Re: backported libreoffice minus its autospellcheck

2012-05-07 Thread Clive Standbridge
> Yesterday I installed the backported version of libreoffice which is > working reasonably well, except for writer not having the > autospellcheck enabled. Does anyone know of a workround for this that > will enable spellchecking to be done as i type please? > > Thanks > Sharon. Hi Sharon, I ha

Splitting digest into separate mails (was OT: Broken digest)

2012-05-06 Thread Clive Standbridge
> > The admin will not "repeair the digest", this as been going on > > for like a decade -- please subscribe the normal way if you care > > about > > not breaking threading, this problem will not be going away. > > It's broken since some days. I guess you're referring to another issue, > that ca

Re: ls sorting order change

2012-05-02 Thread Clive Standbridge
> > On a fresh Squeeze installation, ls seems to ignore leading "." > characters (it no longer lists all "hidden" files adjacent to each > other) and to ignore capitalization differences. Hi Daniel, To list the hidden files, use the -a or -A option (the latter omits . and ..). Maybe you had one

Re: How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread Clive Standbridge
Hi Tuxoholic, [...] > With this smb.conf tweaking it works fine, but why could smbd/nmbd run past > /etc/hosts.allow and /etc/hosts.deny without those lines in smb.conf? Already answered by Juan Sierra Pons. > To my limited CIDR understandig a /32 mask should restrict access to > 192.168.2.0.

Re: set nameserver on boot in /etc/network/interfaces

2012-03-29 Thread Clive Standbridge
> hi, > > i could not find documentation about which package to enable setting > nameserver ip (dns client) upon boot from /etc/network/interfaces > > can anyone point me to the right direction? The package is resolvconf and the parameters in /etc/network/interfaces are dns-nameservers, dns-doma

Re: Bash argument expanded inside alias

2012-03-13 Thread Clive Standbridge
On Tue 13 Mar 2012 15:49:52 +(+), Clive Standbridge wrote: > > Dear Debian users, > > > > Anyone knows why this command: > > > > :~$ alias muda='find . -name "*" -mtime -$1' > > > > and all this variations I tried: > [...

Re: Bash argument expanded inside alias

2012-03-13 Thread Clive Standbridge
> Dear Debian users, > > Anyone knows why this command: > > :~$ alias muda='find . -name "*" -mtime -$1' > > and all this variations I tried: [...] > does not work to do what your intuition imagine what I want it to do? Hi Beco, It doesn't work because aliases don't take arguments. You can use

Re: Re: Setting the compose key without KDE

2012-02-20 Thread Clive Standbridge
> Indeed it does, and I asked for the Left-Logo key. In > the file /etc/default/keyboard I notice that the environment > > string XKBOPTIONS is set to > "lv3:ralt_switch,compose:lwin,terminate:ctrl_alt_bksp" so obviously > the configuration has done something. But what programs read that > file? I

Re: Re: rm -rf is too slow on large files and directory structure(Around 30000)

2012-02-15 Thread Clive Standbridge
> But may provide some benefit when removing a large number (3) of > files (at least empty ones). > > cbell@circe:~/test$ time find rm -type f -exec rm {} \; > > real 0m48.127s > user 1m32.926s > sys 0m38.750s First thought - how much of that 48 second

Re: usbmount and user permissions

2012-01-26 Thread Clive Standbridge
> Hi all > > > I've recently installed usbmount on Squeeze in order to mount a usb > floppy disk drive to read old floppies. However, usbmount has now > taken over everytime I mount something using usb and only allows me - > as user - to copy from the usb device, not write to it or delete it, > a

Re: how to kill 120 jobs at once.

2012-01-21 Thread Clive Standbridge
> Hi, > > I think the jobs were hanged up there, [...] > before I could use the ps au | grep nvt | awk '{print $2} | sed > 's/^.*$/ kill -9 &/g' > kill.sh and run kill.sh. > > now ps au does not show me this info any more. [...] > > what's the alternative choice, Hi Lina, You can install the

Re: Re: Detach Icedove from xterm itself called from terminal.

2011-11-30 Thread Clive Standbridge
Paul Isambert wrote: > Thanks Clive for your help. Unfortunately Icedove stays attached to the > uppermost terminal (which I want to close too, perhaps that wasn't > clear). Even with the simplest form: > > bash --rcfile <(echo icedove \&) > > when I close the terminal, it closes Icedove. > >

Re: Detach Icedove from xterm itself called from terminal.

2011-11-30 Thread Clive Standbridge
Paul Isambert wrote: > Hello there, > > > When started from gnome-terminal, Icedove stays attached to it. I can > detach it by executing "icedove &". The problem is, I can't seem to do > that recursively, i.e. from the terminal call another terminal which > calls "icedove &". The following works:

Re: comment diff files

2011-11-25 Thread Clive Standbridge
Jerome BENOIT wrote: > Hello List: > > Is there any way to comment a diff file ? Interesting question. I don't know, but perhaps this paragraph from the patch(1) may help: patch tries to skip any leading garbage, apply the diff, and then skip any trailing garbage. Thus you could feed an articl

Re: Re: How to get an IP address

2011-11-14 Thread Clive Standbridge
Bob Proulx wrote: > > The 'getent' utility is part of GNU glibc and is present on any GNU > glibc based system but not present on others. It won't work on HP-UX > for example. Certainly if you only care about GNU/Linux machines then > you should be safe using it. A good suggestion. That's good

Re: How to get an IP address

2011-11-14 Thread Clive Standbridge
> Hi, > > I know how to get an IP address *info* using dig, but has anyone looked > into how to get *only* the IP address? so that I can use, eg. > > the_ip=`get_ip host` Hi Tong, Kind people have already suggested dig and host, but may I make another suggestion: getent hosts $hostname |

Re: Re: job in crontab not running

2011-11-09 Thread Clive Standbridge
> You can append "2>&1 >> /var/log/nightly-git.log" to get the output > logged to a file. Those redirections are the wrong way round. Only standard output is redirected to the file. To redirect both standard output and standard error you need to append ">> /var/log/nightly-git.log 2>&1" -- Chee

Re: How to get version information in common notation

2011-10-12 Thread Clive Standbridge
> How can I quickly get version information for packages I have > installed. I mean the common kind of notion used throughout linux. > > Not the unusual non standard notation one gets with `apt-get > versions', > which is not suitable for copy/paste: > > , > |aptitude versions xorg > |

Re: Re: [OT] British vs. American English

2011-10-03 Thread Clive Standbridge
> Now I wounder, if "pissed" in British English already means not to know > where you are ... in what condition is somebody who isn't "pissed", but > "totally pissed"? He or she would be "pissed as a newt". I hope that's clearer now. -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-

Re: Wireshark detritus

2011-09-30 Thread Clive Standbridge
> Hi! > > I am wanting to install the Wireshark tarball, preparatory to which I > ran > aptitude purge to clear the deb out, together with its config files. > I then > ran locate to find any files left so that I could remove them > manually. I > got this: > > Tux:/home/lisi# locate wireshar

Re: Maximum file size?

2011-07-25 Thread Clive Standbridge
> What is the maximum file size supported by Debian 32 bit and 54 bit > kernel? Alo, what is the maximum capacity of harddisk supported by > ext3 FS? More than you think with the 54 bit kernel; you get 10 bonus bits absolutely free. -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-req

Re: Re: debian-user-digest Digest V2011 #1154

2011-06-16 Thread Clive Standbridge
> On Wed, Jun 15, 2011 at 07:05:16PM +0100, Brian wrote: > > On Wed 15 Jun 2011 at 19:58:05 +0200, Hans-J. Ullrich wrote: > > > > > Am Mittwoch, 15. Juni 2011 schrieb John Mollman: > > > > How would I add myself to the plugdev group? > > > > > > > > John > > > Try groupadd in the commandline. In

Re: Re: Bug#611380: openssh-client: sftp's put -r fails with "Unable to canonicalise path"

2011-05-19 Thread Clive Standbridge
> > > > I am attempting to upload files onto my webserver using sftp. As > > far as I can > > tell from reading the man pages and searching online, the correct > > syntax once > > connected via sftp is: > > > > put -r * > > I'm no expert myself, but shouldn't that be > >mput *

Re: Command history

2011-04-28 Thread Clive Standbridge
> Is there a way to have a command that does not show up in history? > Or a way to pipe a string where the string doesn't show up in > history? > > Ie, I set some passwords with: > echo "some string and stuff" | sha512sum > (Probably with cut and awk and other such things) Apart from beginning th

Re: Re: Re: OpenOffice.org - how to install additional languages?

2011-04-01 Thread Clive Standbridge
> > It looks like you need to install myspell-it and myspell-sl packages. > > Is myspell used by openoffice? Yes according to the package descriptions: Description: Italian dictionary for myspell This is the Italian dictionary for use with the myspell spellchecker which is currently used with

Re: Re: OpenOffice.org - how to install additional languages?

2011-04-01 Thread Clive Standbridge
> So, the languages seem to be set up correctly, but their spell > checkers seem to be missing. US English must be the only > spell-checker that's installed. Installing openoffice.org-l10n-sl > and openoffice.org-l10n-it achieved nothing. It looks like you need to install myspell-it and myspell-sl

Re: adzapper help needed

2011-03-28 Thread Clive Standbridge
> My recollection is that in addition to configuring adzapper, > one must also configure ones browser to use it. You don't configure your browser to use adzapper. adzapper is a filter for squid (or other proxy). You configure squid to use adzapper, and your browser to use the proxy. In squid.con

Re: Re: need help with sed problem

2011-03-19 Thread Clive Standbridge
> i agree with that - the underscore that was used is also valid. you > might look at proper quoting of variables to avoid this. something > like cat text.txt | sed -e 's/bbb.*/:"$PWD"/' > new.txt The output from that, given Joao's original text.txt, is :"$PWD" The reason is t

Re: How long has your Lenny -> Squeeze upgrade taken?

2011-02-18 Thread Clive Standbridge
> Realizing this is dependent on computer specs, just curious what > some of the people on this list have experienced for how much time > it took to do the Lenny to Squeeze upgrade, (assuming a fully > up-to-date Lenny system). Based on upgrades of earlier releases (haven't upgraded anything to sq

Re: xterm question

2011-02-15 Thread Clive Standbridge
> Every time I launch X I open a couple of xterm windows but have to > Ctrl Middle click in the window to set the VT font to large before > it's usable to my old eyes. I'd like to automate that but have never > figured out how. > I've tried set-vt-font in .Xdefaults but that didn't help and don't >

Re: Re: Squeeze how to use networked printer?

2011-02-10 Thread Clive Standbridge
> However MS users running Outlook have only the subject for message > threading. This is a long standing bug in Outlook. Recent version(s) appear to have been fixed, thankfully. -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscri

Re: Re: xset command setting not sticking

2010-09-09 Thread Clive Standbridge
You should be able to make this work for any session selected in gdm (or other display manager), and for sessions started with startx. > OK after doing some more research I found the answer. > > 1. nano .xsession > > 2. Add contents: > #~/bin/bash Unnecessary. > xset s off -dpms & Move that

Re: Shell Expansion in Bourne Shell Script Question

2010-07-28 Thread Clive Standbridge
> for MAGFILE in `ls *.[Zz][Ii][Pp] $MAGDIR/`; do > #lots of other stuff > done As others noted, the ls command is superfluous and possibly harmful here. One more thing you can do is case-insensitive pathname expansion: shopt -s nocaseglob for MAGFILE in $MAGDIR/*.zip do #lots of other

Re: Re: Debian virus/spy-ware detection and detection technique.

2010-07-21 Thread Clive Standbridge
> 1. I do not know how to get image from a cd/dvd - I believe by simple > dd-ing it will not work w/ checksum, but some more options should be > used. You might want to read http://www.troubleshooters.com/linux/coasterless.htm - especially the section "Accurately Reading a CD Device". -- Cheers,

Re: Re: mashup "apt-cache search "

2010-06-29 Thread Clive Standbridge
> 3a) I'd like to get an output list including all the packages from > step 1 above, > 3b) Showing the package name, & its installed status (ii, un, etc) > like from step 2. > > Note: One way might be to: > 1) Do the apt-cache search Note that that searches the package descriptions. To search

Re: How to run an X program as a different user?

2010-05-18 Thread Clive Standbridge
> Essentially I want user A to run a specific X app as user B. So I > think I need to write a tiny shell script like this: > > #!/bin/sh > xhost +B > sudo -u B /path/to/app arg1 arg2 arg3 > xhost -B Alternatively, sux B /path/to/app arg1 arg2 arg3 Needs user B's password. Requires package sux.

Re: Re: Authentication unsuccessful relaying from Postfix to Microsoft ESMTP MAIL Service

2010-05-13 Thread Clive Standbridge
(I'm sending this from a different account after several previous attempts to reply vanished). > > The TLS part seems to be sorted now (see my reply to Sven). But > the > > authentication still fails. > > Then, put the "full" Postfix log again so we can check where (and > why) > it stops now :-)

Re: Re: Authentication unsuccessful relaying from Postfix to Microsoft ESMTP MAIL Service

2010-05-09 Thread Clive Standbridge
> I don't have a solution, just one possibly helpful bit of advice: swaks > is the tool for troubleshooting this sort of thing. You have gotten > lots of useful information from Postfix and telnet, but I'd try using > swaks to communicate with the server with and without TLS, and you'll > see, for

Re: Re: Authentication unsuccessful relaying from Postfix to MicrosoftESMTP MAIL Service

2010-05-09 Thread Clive Standbridge
Hi Camaleón, > O.k. Then you need to setup Postfix SSL/TLS acting as client, not > server. Oh that's what I thought I did. I only changed smtp_* settings, not smtpd_* settings. > > So my questions are: > > * How can I fix this in Postfix? > > Let's see the logs... I already posted excerpts

Re: Re: Authentication unsuccessful relaying from Postfix to Microsoft ESMTP MAIL Service

2010-05-09 Thread Clive Standbridge
> The problem with postfix is that it runs chrooted and the CA > certificates are not copied into the chroot. See #287795¹. > > Sven > > ¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287795 Hi Sven, Thanks for that suggestion. I had seen that bug and discounted it because the patch is onl

Authentication unsuccessful relaying from Postfix to Microsoft ESMTP MAIL Service

2010-05-09 Thread Clive Standbridge
Hi, I'm trying in vain to relay external mail from postfix on a Debian lenny machine to a Microsoft SMTP server on the Internet. I've been reading and searching for days. I've tried numerous combinations of settings although I'm note certain what they all do and am experiencing information overlo

Re: Re: Updating JRE in Lenny

2010-04-14 Thread Clive Standbridge
> > > > After reloading Iceweasel, about:plugins still showed the previous JRE I > > was using, /usr/lib/jvm/java-6-openjdk/jre/bin/java. > > > > Assuming that I can use a later version of JRE downloaded from Sun on > > Iceweasel 3.5, am I on the right track but did not get the newer version > > se

Re: Re: handling removable media without gnome-volume-manager

2010-03-29 Thread Clive Standbridge
> > - Load kernel modules: > > sudo modprobe usb-storage > > sudo modprobe sd_mod > >(and add them to /etc/modules) > > Do you still need to add them to /etc/modules if you are using udev? I'm not certain, but I believe usbmount has always needed udev, and at some point it seems to have be

Re: handling removable media without gnome-volume-manager

2010-03-27 Thread Clive Standbridge
> Hi all, > > ivman ? > automount ? > > I'd like something where I can encode the behavior for particular > devices, i.e. as I'm using the same devices over and over I'd like a > way to make sure that the same device gets mapped to the same thing. > > Not needing X to be up and running is nice t

Re: Re: Transferring files over SSH in the console

2010-03-22 Thread Clive Standbridge
> I can have as many open connections as I want, it's on the LAN. But I > would _prefer_ just one terminal window for both commands (SSH) and > file transfers. You might like to try this. 1) Add to ~/.ssh/config ControlMaster auto ControlPath /tmp/%h%p%r (man ssh_config for explanation). 2) Fir

Re: ehci_hcd has to be manually reloaded for USB 2.0 printer

2010-02-18 Thread Clive Standbridge
> Well I finally made the upgrade to Lenny, and my USB printers only > work when the ehci_hcd module is loaded after the printer is on. If I > set it to load a boot and the printer's off, I have to "rmmod > ehci_hcd; modprobe ehci_hcd" once the printer is on again before it > will work. > > Before

Re: Re: General method for copying a partition

2010-02-17 Thread Clive Standbridge
> rsync -a /media/ /mnt/ This is good. Note that the trailing / on /media/ is significant. > OR > find /media -exec cp -a {} /mnt \; No, that is both wrong and very inefficient:- Wrong - Try this: mkdir /tmp/media /tmp/mnt mkdir -p /tmp/media/a/b/c touch /tmp/media/a/aa /tmp/media/a/b/bb

Re: Where is Bash Prompt Set??

2010-02-09 Thread Clive Standbridge
> Hi, I'm new to debian, but not to linux. (experimenting with lenny...) > > This is the question I asked myself while seeing various prompts after > I thought I had customised them. Near as I can tell, there are three > different scripts which fiddle with the default bash prompt: > > /etc/pro

Re: Re: debian-user-digest Digest V2010 #199

2010-02-03 Thread Clive Standbridge
> > Stick to stable in future, that's what. > > I don't think that's very helpful. I would have stuck with stable > but had hardware issues which forced me to use unstable. They were > kernel related, so maybe I could install stable, upgrade a newer > kernel, etc... It should be feasible to i

Re: Re: Sorting elements *and* knowing where each one has been put

2010-01-30 Thread Clive Standbridge
> > However, I do not know how I can do this with the `sort' > > function. Is > > it even possible? (I considered 1<=i<=n through the whole message.) > > nl values | sort -k2 | nl | grep value_i If you want to sort by numeric order instead of alphabetic order, you should replace sort -k2 with

Re: Re: string occurrences

2010-01-26 Thread Clive Standbridge
Eric Gerlach wrote: > On Sat, Jan 23, 2010 at 04:11:03PM -0600, Brian Ryans wrote: > > Quoting roberto on 2010-01-23 15:33:53: > > > is there any linux built-in utilities to count how many times a > > string > > > occur in a text file ? > > > > I don't know of any actual utilities to do so, but th

Re: Re: Decode unixtime

2010-01-19 Thread Clive Standbridge
> Using Lenny? -- the '-I' will be gone soon. It is not even in Squeeze's > man page now. Yes lenny, it's disappeared from the man page already, and in fact it's not in etch's man page either. I wasn't aware of this bug but it has been reported 4 years ago! http://bugs.debian.org/cgi-bin/bugrepo

Re: Re: Decode unixtime

2010-01-16 Thread Clive Standbridge
> > I suggest that you change the way you get the numbers so that they > > are > > both human readable and parsable by simple code. I like date > > +%Y%m%d_%H%M%S > > +%F_%T is what I use when spaces aren't desirable in dates. See my > quoting line for a slightly modified example of it. From my >

Re: Re: dependency hell + I want to keep deb installation files local ...

2010-01-12 Thread Clive Standbridge
> I prefer "dselect update" > over "apt-get update" or "aptitude update" because it downloads > package > descriptions for all available packages, not just installed packages. > I can then use, for example, > > dpkg-query -p xxx|less > > where xxx is the name of any package, installed or not, and

Re: Re: How to use Sun Java instead of gcj

2010-01-07 Thread Clive Standbridge
> Lenny has a package of openjdk, which is practically Sun's Java (1.6) - > openjdk-6-jdk If you use the plugin through a web proxy you'll need to use sun-java6-plugin because icedtea-gcjwebplugin doesn't respect browser proxy settings. Otherwise openjdk seems to work well. Cheers, Clive -- T

Re: Re: How to use Sun Java instead of gcj

2010-01-07 Thread Clive Standbridge
> How about trying to use update-alternatives to set java? You might want to look at update-java-alternatives which controls quite a long list of Java-related alternatives besides "java". See for example update-java-alternatives -v -l Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-req

Re: How to fix ipaddress

2010-01-07 Thread Clive Standbridge
> I set /etc/network/interfaces as follows : > auto lo > iface lo inet loopback > allow-hotplug eth0 > iface eth0 inet static >address 192.168.0.7 >netmask 255.255.255.0 >network 192.168.0.0 >broadcaset 192.168.0.255 >g

Re: 'sux -c program username' does not work.

2010-01-04 Thread Clive Standbridge
Hi Stu, > $ sux -c kate edit > Unknown id: eval $TERM; exec env TERM='xterm' DISPLAY=':0' > "kate" "edit"; > > $ sux -m -c kate edit > getent: invalid option -- c > Try `getent --help' or `getent --usage' for more information. > WARNING: --preserve-environment has been set, but no good valu

Re: 'sux -c program username' does not work.

2010-01-04 Thread Clive Standbridge
On Mon 4 Jan 2010 11:55:02 +(+), Clive Standbridge wrote: > Hi Stu, Sorry I misspelled Sthu. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: Iceweasel and `new tab'

2009-12-18 Thread Clive Standbridge
> The major problem is that I want all > these URLs to be opened simultaneously, and not Iceweasel to be closed > to be able to launch a new tab according to my command! > > Any idea? The following will open a new tab in a running iceweasel or open a new instance as necessary: if firefox -remote

Re: Re: Iceweasel annoyance

2009-11-23 Thread Clive Standbridge
Michelle Konzack wrote: > > I am using a script to run mutt: > > [ '~/bin/mutt_firefox' ] > #!/bin/sh > > xterm -geometry 80x45+400+100 -u8 -e mutt -e "set editor=mcedit" $1 >

Re: how to set up iceweasel 3.5 to use mutt as mailer for "link sendto"

2009-09-04 Thread Clive Standbridge
> I've tried settings -> apps -> mailto -> shellscript > > Shellscript: > > #!/bin/sh > exec xterm -e mutt "$@" > > The xterm only pops up for 1 second. That's very close to the script that is working for me (using Iceweasel 3.0.6 on Lenny): #!/bin/sh prefixWords= if

Re: Re: FireFox and UK spell checker

2009-09-02 Thread Clive Standbridge
> Clive may have meant the value for your locale. My mistake for over-trimming in my previous reply. In fact I was referring to the spellchecker.dictionary setting in about:config; mine is en_GB But it's moot. As reported in another sub-thread, kj's solution was to install the English language

  1   2   >