Re: vim + putty = "" instead of "/" using keypad

2004-11-17 Thread Tristan Mills
Joao Clemente wrote:
> Hi.
> I wonder is someone faced this problem and actually knows a 
workaround for it... I googled but the answers I got didn't solved my 
problem:
>
> When using putty to connect do a woody box, the '/' key abive the 
numeric keypad works perfectly... except inside vim. If used inside vim, 
I get a "" displayed every time I press that key...
>
> Any workaround known? I have no ideia if this is a putty 
misconfiguration or vimrc missing something... It is stange that only 
happens inside vim (and if I use vim directly on that box keyboard it 
works fine)

I get the same on Sarge, and it doesn't work at all in screen.
After a little playing, in the configuration window, under keyboard, set 
the sequence sent by Function Keys and keypad to VT100+

I'm preseuming VIM expects this, and the terminal can accept other 
formats. This change also makes it work under screen.

There may be a configuration change in vim/screen as well, but this is 
probably easier.

(remember to save the settings for the session so you don't have to do 
this every time)

HTH
Tristan
--- Begin Message ---
Joao Clemente wrote:
Hi.
I wonder is someone faced this problem and actually knows a workaround 
for it... I googled but the answers I got didn't solved my problem:

When using putty to connect do a woody box, the '/' key abive the 
numeric keypad works perfectly... except inside vim. If used inside vim, 
I get a "" displayed every time I press that key...

Any workaround known? I have no ideia if this is a putty 
misconfiguration or vimrc missing something... It is stange that only 
happens inside vim (and if I use vim directly on that box keyboard it 
works fine)
I get the same on Sarge, and it doesn't work at all in screen.
After a little playing, in the configuration window, under keyboard, set 
the sequence sent by Function Keys and keypad to VT100+

I'm preseuming VIM expects this, and the terminal can accept other 
formats. This change also makes it work under screen.

There may be a configuration change in vim/screen as well, but this is 
probably easier.

(remember to save the settings for the session so you don't have to do 
this every time)

HTH
Tristan
--- End Message ---


Re: How hard would this be?(Learning LaTex)

2004-06-27 Thread Tristan Mills
On Sat, Jun 26, 2004 at 11:21:41PM -0500, cecil wrote:
> Someone told me today at lunch that what with my  "wierd obsession", as 
> he called it, to perhaps go without a gui(X), I should try "that latex 
> thingie". My buddy is a real wordmaster. LOL. I did some reading up on 
> it; it's interesting. I never knew that you could do all that with no 
> window system. Does anyone here use it on a regular basis, and if so, 
> how hard is it to use, setup, print, etc? I'm having thoughts of perhaps 
> writing papers this semester in emacs and if this thing... Well, let's 
> just say I'm trying to have an open mind about things. I'm trying not to 
> summarily dismiss thing just because I don't know what they are, or, are 
> not familiar with them.

LaTeX is great.
I wouldn't have tried TeX, that seems too daunting, but I used LaTeX for
my final year dissertation, and it was easy and quick to learn the
basics.

Just use your favourite text editor to edit, and 'tetex' is the Debian
package IIRC.

You can produce postcript and PDFs (and others) with the various
post-processing packages.

Another use I've found is to convert Project Gutenburg texts into
something prettier to print. It doesn't take long to do a reasonable
length book, and its much nicer to read. (I could automate it I suppose,
but I don't do it often enough.

A great reference is:
http://www.giss.nasa.gov/latex/

HTH

Tristan


signature.asc
Description: Digital signature


Re: ftp.uk.debian.org not allowing connections?

2004-06-16 Thread Tristan Mills
On Wed, 2004-06-16 at 09:23, [EMAIL PROTECTED] wrote:
> Lee Braiden <[EMAIL PROTECTED]> wrote:
> > I've no idea what the cause is, but it seems to flake out regularly... I'm 
> > using mirror.ac.uk now.
> 
> You do know that mirror.ac.uk is likely to be disappearing, to be replaced
> by a completely different system...?
> 
> See http://www.mirror.ac.uk/help/funding_announcement.html for details.

This is a great shame. mirror.ac.uk has been a great service to academic
and non-academic users.
I suspect this is to do with the restructuring of JANET. Last year
charging to institutions changed to all traffic entering and leaving
instead of transatlantic traffic. mirror.ac.uk was always recommended as
it was free then, but now, it makes no difference to academic
institutions in the UK so the powers that be see no need for the
service.

I hope a replacement service emerges, the UK will be short of a
fantastic resource otherwise.

Tristan


signature.asc
Description: This is a digitally signed message part


Re: Re: Problems upgrading to Gnome2.6

2004-06-13 Thread Tristan Mills
On Sun, 2004-06-13 at 02:10, Thomas Beresford wrote:
> Well, although its name, the package libgtk2.0 is the package with GTK 2.4 
> libraries. 

Of course, that's not your problem...
g_type_class_add_private() is a GLib function so your problem probably
lies with the version ofGLib.

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: Problems upgrading to Gnome2.6

2004-06-12 Thread Tristan Mills
On Sun, 2004-06-13 at 00:12, Thomas Beresford wrote:
> Hello there,
> 
> I've tried to upgrade to gnome 2.6 but I'm getting this error message when I try to 
> run gnome-session:
> 
> gnome-session: relocation error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: 
> g_type_class_add_private
> 
> I'm running a woody system with some testing and unstable packages. To upgrade to 
> gnome 2.6 I used apt-get -t unstable gnome-core libgtk2.0-0... It downloaded and 
> installed everything ok, but I'm getting that error message. Could anybody help me 
> please?

The version of GTK+ in unstable is 2.4, I suspect that 2.4 contains
quite a bit not in 2.0 which Gnome 2.6 needs.

I don't know if GTK 2.4 is backwards compatible, if it isn't then it
will cause problems, otherwise you need to get the libgtk2.4 from
unstable.

Really, to use new software on woody, its probably best to use the
backports.

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: Compile kernel on sid -> dependency problem on woody

2004-06-12 Thread Tristan Mills
On Sat, 2004-06-12 at 06:48, Pablo Santiago Blum de Aguiar wrote:

> I compiled a new kernel (2.4.18) for a woody box (a 233MHz pc) on my sid
> box (an Athlon 800MHz pc). On sid, I did an 'apt-get install
> kernel-source-2.4.26', configured the kernel for my needs, ran
> 'make-kpkg clean' and used the following command do compile it:
> 
> [/usr/src/linux] - 0
> [EMAIL PROTECTED] # MAKEFLAGS="CC=gcc-2.95" make-kpkg \
> > --append_to_version  -586mmx --revision=rev.01 \
> > --initrd kernel_image modules_image
> 
> what gives me a 2.9M file kernel-image-2.4.18-586mmx_rev.02_i386.deb. It
> makes me to think that I have a sucessful compiled kernel.
> 
> Ok, but when trying to install the image on the woody box this is what I
> get:
> 
> [~/kernel] - 0
> [EMAIL PROTECTED] # dpkg --configure kernel-image-2.4.18-586mmx
> dpkg: dependency problems prevent configuration of
> kernel-image-2.4.18-586mmx:
>  kernel-image-2.4.18-586mmx depends on initrd-tools (>= 0.1.48);
> however:
>   Version of initrd-tools on system is 0.1.32woody.3.
> dpkg: error processing kernel-image-2.4.18-586mmx (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  kernel-image-2.4.18-586mmx

If you want to use initrd then the best thing is probably to use a
chroot of woody on your sid box.
It shouldn't need much diskspace and ensures you use the same tools as
if you were doing it on a woody box (I do this for my woody box so I
don't have to have compilers on a server).

dchroot is the package you want. I can't remember how I set up the
chroot, but it is documented.

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: [OT Why GB English is different] Re: Mozilla firefox en-gb

2004-06-04 Thread Tristan Mills
On Fri, 2004-06-04 at 15:21, Daniel B. wrote:
> William Ballard wrote:
> 
> > On Wed, May 26, 2004 at 06:36:48PM +0100, Oliver Elphick wrote:
> > 
> ...
> >>
> >>"Fourscore and seven years ago our fathers brought forth on this
> > 
> > 
> > That's poetical language.  
> 
> I don't think so.
> 
> Numbers were said differently in the past.  (Remember "four and twenty
> blackbirds..."?)
> 
> Also, the French version of 80 is basicly "four-twenties" (just like
> four score).

It is poetic though in 'four and twenty blackbirds'. It could also be
said as 'a score and four'.
The reason GB English and US English are different are that American
English uses a lot of words which fell out of use in Britain (Fall for
Autumn and Hog are two I can think of easily) and the Americans
attempted to rationalise spelling (hence check instead of cheque and
color instead of colour and a whole host of others)
Then of course American English developed its own idioms and useage
patterns independently from those developed in the UK (eg pissed: in the
UK it means drunk, in the US it means angry).
Then of course there is the wonderful world of dialects which means that
I as a londener would have a hard time understanding anything in say the
Norfolk dialect. Another example if in London a fag is a cigarette, in
Liverpool they'd say 'ciggie' and in other places fag means a
homosexual. This is slang though and not an 'official' part of the
language.

Tristan


signature.asc
Description: This is a digitally signed message part


Re: Broken Evolution in unstable

2004-06-04 Thread Tristan Mills
On Fri, 2004-06-04 at 00:09, Doug Neville-Dove wrote:
> Hi
> 
> I'm running unstable and regularly do a dist-upgrade.
> 
> About a week ago dist-upgrade removed evolution and I've been unable to 
> install it ever since.
> 
> I get this:
> 
>   evolution: Depends: gtkhtml3.0 (>= 3.0.10) but it is not going to be 
> installed
>  Depends: libgal2.0-6 (>= 1.99.11) but it is not going to be 
> installed
>  Depends: libgnomeprint2.2-0 (>= 2.4.2) but it is not going 
> to be installed
>  Depends: libgnomeprintui2.2-0 (>= 2.4.2) but it is not 
> going to be installed
>  Depends: libgtkhtml3.0-4 (>= 3.0.10) but it is not going to 
> be installed
>  Depends: libgal2.0-common (>= 1.99.11) but it is not going 
> to be installed
> 
> I've worked back through it all trying removing any conflicts but when I 
> go to remove the libgnomeprint stuff it wants to remove the most part of 
> KDE.
> 
> Does anyone else get this, or have any suggestions.

There's two problems: a kdelibs4/cupsys2-gnutls10 conflict and one of
the libraries evolution depends on has been replaced with an
incompatable version.

The prior problem has been discussed to death on this mailing list,
several solutions have been proposed.
The second problem has two solutions as far as I can see:
1) Use evolution1.5 from experimental (but that is a development
version...)
2) Install the libsoup2.0 package from 'testing'. It seems to live
happily alongside the newer libsoup packages and works for me.

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: what happened to KDE?

2004-06-03 Thread Tristan Mills
On Thu, 2004-06-03 at 22:32, Tom Kuiper wrote:
> I few hours ago I upgraded the "unstable" version (2.4.20 kernel) with
> 'dselect' and found that a KDE log-in session was no longer an option.
> I've tried to force it back in but all that did was mess up Gnome a little.
> For example, the upper task bar is gone and the lower is empty.  I can
> probably fix that, but I really want KDE back.  Does anyone have any
> suggestions?

This has already been discussed on the list (look for threads about
cupsys and KDE). Its a known dependency problem due to libcupsys2 and
gnutls being upgraded.
kdelibs4 depends on an old version of libcupsys which is no longer
available.
Solution is to nab the libcupsys2 from 'testing' and install that (but I
think you'll have no Gnome unless you use the 'testing' packages) or
recompile kdelibs4 against the latest libcupsys2-dev package.

The problem's been around for about a week now and the maintainers are
well aware of it. Someone mentioned in a previous thread that the
specific maintatiner for kdelibs has been ill which explains why its
taking so long.

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: Whom to ask about package system errors?

2004-06-03 Thread Tristan Mills
On Thu, 2004-06-03 at 15:15, Kevin Boergens wrote:
> Hi!
> 
> In the last days I had a huge problem with the package system, and I'm not sure 
> whether the packages are messed up or whether it is my fault.
> 
> All kde packages refuse to install. They need the libcupsys2 package, but 
> according to apt-get, this has no installation candidate and is replaced by 
> libcupsys2-gnutls10 and libcupsimage2. I'm using instable from the main Dutch 
> ftp Mirror.
> 
> I think that this propably isn't a problem for the user list, but where to get help?

There's been a thread about this recently (broken cups in sid).
Summary:
The KDE guys know about this but I believe the maintainer has been ill,
but is back now.
Solutions are to use the libcupsys2 from testing or if you feel up to
it, compile kdelibs4 against the lastest libcupsys-dev package.

Otherwise just wait for the new packages to be uploaded and make do
without either KDE or cups printing (and the latest Gnome)

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: broken cups in sid

2004-06-01 Thread Tristan Mills
On Tue, 2004-06-01 at 22:47, richard lyons wrote:
> On Tuesday 01 June 2004 14:39, Tristan Mills wrote:
> > On Tue, 2004-06-01 at 19:10, richard lyons wrote:
> [...]>
> > cupsys shouldn't be depending on libcupsys2. Its kdelibs4 (and
> > probably 3) which do. If you can live without KDE then getting rid
> > of it should sort this out, otherwise wait for updates or compile
> > kdelibs yourself.
> 
> Are you suggesting I remove all of kde, get the source for whatever is 
> packaged in kdelibs4, compile it (making sure somehow not to depend 
> on libcupsys2) then reinstall kde (somehow making sure it doesn't 
> replace my kdelibs?  Is that do-able by someone who has never 
> successfully compiled anything?  It's a handful of work for the three 
> or four apps I use from kde.

Its probably not the easiest thing unfortunately... (I do forget that
others havn't had the same experience with computers as I have sorry
about that).

> > If you have an old cupsys installed then that will be depending on
> > libcupsys, so uninstalling that before installing the new version
> > should sort that out. Otherwise I have no idea what's going on...
> 
> That seemed like a good idea.  I removed cupsys and friends (via 
> aptitude).  Then tried to install them.  Nothing happened.  Aptitude 
> claimed 0 packages to be installed.  I tried apt-get install cupsys.  
> Apt-get wanted libcupsimage2, libcupsys2-gnutls10, and gs-esp in 
> order to install cupsys.  Then it listed 229 packages to remove - 
> comprising all of kde, so I stopped.  This is similar to what I saw 
> in aptitude: a cascade of dependencies on libcupsys2 which starts 
> with kdelibs4.  AFAICS that implies that kde is currently 
> incompatible with cups printing in sid.

Yup. That's the case...
KDE (specifically kdelibs) depend on a version of libcupsys compiled
against an old version of libgnutls. Unfortunately the new and old
versions won't coexist (or at least their packages won't) so with the
packages as they are you can't have both...
It sucks.

Just looked at the debian-qt-kde list and the solution suggested is to
install the testing version of libcupsys (and presumably the testing
versions of anything for which the unstable versions won't then work).
If you're not using Gnome this should be fine.
(I actually had to do a similar thing to get evolution working, although
the old lib would happily install alongside the new one in that case)

Hope you can get it working,
Tristan



signature.asc
Description: This is a digitally signed message part


Re: broken cups in sid

2004-06-01 Thread Tristan Mills
On Tue, 2004-06-01 at 19:10, richard lyons wrote:
> On Saturday 29 May 2004 20:29, Micha Feigin wrote:
> [...]
> > Here is a list of the cups related packages I have installed if it
> > helps (I am not sure all are needed but I didn't feel like trying
> > to figure which to throw out):
> >
> > i   cupsomatic-ppd  - linuxprinting.org printer
> > i A cupsys  - Common UNIX Printing Syste   
> >   
> -
> > i A cupsys-bsd  - Common UNIX Printing Syste
> > i A cupsys-client   - Common UNIX Printing Syste 
> > i   cupsys-driver-gimpprint-data- Gimp-Print printer drivers 
> > i   cupsys-pt   - Tool for viewing/managing 
> > i A foomatic-db - linuxprinting.org printer 
> > i A foomatic-db-engine  - linuxprinting.org printer 
> > i   foomatic-db-gimp-print  - linuxprinting.org printer 
> > i   foomatic-db-hpijs   - linuxprinting.org printer 
> > i   foomatic-filters- linuxprinting.org printer 
> > i   foomatic-filters-ppds   - linuxprinting.org printer
> > i   gnome-cups-manager  - CUPS printer admin tool fo
> > i A libcupsimage2   - Common UNIX Printing Syste
> > i A libcupsys2-gnutls10 - Common UNIX Printing Syste
> > i   libgnomecups1.0-1   - GNOME library for CUPS int 
> > i   libgnomecupsui1.0-1 - UI extensions to libgnomec
> 
> Unfortunately, I cannot duplicate this on my system.  I have the 
> circular dependency problem 
>cupsys depends on libcupsys2 >=1.1.13-1
>libcupsys2 conflicts with libcupsys2-gnutls10
>cupsys depends on libcupsys2-gnutls10
> with a few complications with kdelibs4 and kdelibs3

cupsys shouldn't be depending on libcupsys2. Its kdelibs4 (and probably 3) which do.
If you can live without KDE then getting rid of it should sort this out,
otherwise wait for updates or compile kdelibs yourself.

If you have an old cupsys installed then that will be depending on libcupsys, so
uninstalling that before installing the new version should sort that out. Otherwise
I have no idea what's going on...

HTH
Tristan


signature.asc
Description: This is a digitally signed message part


Re: broken cups in sid

2004-05-29 Thread Tristan Mills
On Sat, May 29, 2004 at 03:01:42PM -0400, richard lyons wrote:
> Anyone else had problems with this?  
> 
> I dist-upgraded from sarge to sid abt. three days ago, and lost 
> (amongst others) cups.  As far as I could understand, there was a 
> conflict between two versions of libcupsys2.  At first, I worried 
> that I had either to remove gnumeric or most of kde apps.  So I 
> waited a couple of days.  Then I decided to sacrifice gnumeric, and 
> try at least to get cups up and running again.  So I removed gnumeric 
> and juggled a few versions in the foomatic-gimp-print / libcupsys2 / 
> etc until aptitude said nothing was broken, and installed.  Magic! - 
> cupsys was up and running, I could log onto localhost:631 and it all 
> looked good.  But I cannot print or add a printer or do any admin 
> function.  I get "client-error-bad-request" or "client-error-gone" 
> for every action.
> 
> Does anyone else have problems with recent cupsys?  Do these errors 
> indicate anything particular I should check?  Is cups really broken 
> now or did I drop the crockery myself? I have googled until I was fed 
> up with french and russian discussions (the one I understand with 
> difficulty, the other not at all) of client-error-bads, but found 
> nothing useful yet.

I just reinstalled unstable and got similar problems.
kdelibs4 depends of libcupsys2 and gnome/cupsys/a whole load more depend
on libcupsys2-gnutls10 (or something similar) which conflict.
This also has the effect that kdelibs-dev cannot be installed as it
ends up depending on both conflicting libraries...
The bug was reported a few days ago so should get fixed soon, in the
meantime I compiled kdelibs myself using the latest libcupsys-dev.
(on another note, gnome is broken for installation at the moment, but I
think that's due to it being upgraded to 2.6 and not all the packages
being uploaded yet)

Its a bit of a pain, but hey, its in unstable and I'm not paying for it
so I can't really complain can I :-)

Tristan

-- 
np: Charlie Parker - Yardbird Sweet


signature.asc
Description: Digital signature