[techtalk] Syntax colors in VIM

2000-04-01 Thread Tina Johnsson

Hi, list!

I love using VIM for html authoring (no war plz). I would like to change the colors of 
the html tags though...but I can't figure out how :-)
Does anyone know where I can find a howto or similar on this topic ?

TIA,

/diff
-- 
Tina Johnsson
[http://diffuze.myip.org]


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Syntax colors in VIM

2000-04-01 Thread Rik Hemsley

#if Tina Johnsson
> Hi, list!
> 
> I love using VIM for html authoring (no war plz). I would like to change the colors 
>of the html tags though...but I can't figure out how :-)
> Does anyone know where I can find a howto or similar on this topic ?

Here's my ~/.vim/mysyntax.vim

You just adjust the colours as you wish.

:help coloring will give you the right place to look for more info.

hi Normal guifg=Black   guibg=grey96gui=NONE
hi Cursor guifg=White   guibg=Black gui=NONE
hi Search guifg=Black   guibg=NONE  gui=BOLD
hi Commentguifg=DarkBlueguibg=NONE  gui=NONE
hi Constant   guifg=DarkMagenta guibg=NONE  gui=NONE
hi Specialguifg=DarkBlueguibg=NONE  gui=NONE
hi Identifier guifg=DarkMagenta guibg=NONE  gui=NONE
hi Statement  guifg=Brown   guibg=NONE  gui=NONE
hi PreProcguifg=DarkSlateGrey   guibg=NONE  gui=NONE
hi Type   guifg=DarkGreen   guibg=NONE  gui=NONE
hi Ignore guifg=Black   guibg=NONE  gui=NONE
hi Error  guifg=White   guibg=Red   gui=NONE
hi Todo   guifg=Black   guibg=NONE  gui=BOLD

hi Normal ctermfg=Black ctermbg=NONEcterm=NONE
hi Cursor ctermfg=White ctermbg=Black   cterm=NONE
hi Search ctermfg=Black ctermbg=Yellow  cterm=NONE
hi Commentctermfg=Blue  ctermbg=NONEcterm=NONE
hi Constant   ctermfg=Red   ctermbg=NONEcterm=NONE
hi Specialctermfg=Magenta   ctermbg=NONEcterm=NONE
hi Identifier ctermfg=DarkRed   ctermbg=NONEcterm=NONE
hi Statement  ctermfg=DarkBlue  ctermbg=NONEcterm=NONE
hi PreProcctermfg=DarkMagenta   ctermbg=NONEcterm=NONE
hi Type   ctermfg=DarkRed   ctermbg=NONEcterm=NONE
hi Ignore ctermfg=Black ctermbg=NONEcterm=NONE
hi Error  ctermfg=Black ctermbg=NONEcterm=NONE
hi Todo   ctermfg=Black ctermbg=Yellow  cterm=NONE

Note that this file is loaded from my ~/.vimrc with:
let mysyntaxfile = "~/.vim/mysyntax.vim"

Rik


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] argh! (gnumeric troubles)

2000-04-01 Thread Nils Philippsen

On Fri, 31 Mar 2000, Lighthouse Keeper in the Desert Sun wrote:

> On Mar 30, Nils Philippsen conjectured:
> 
> > hmm, this too is antiquated... gnumeric-0.51 is the current version
> 
> Huh.  0.38 was the most recent rpm gnome.org had.  SO I'll get the source
> and deal with it, maybe.  Unless someone knows where I can find an rom for
> gnumeric-0.58...
> 
> > (does anyone know where I can find goose and guppi?))
> 
> Well, ftp.gnome.org/pub/guppi might be a good place to check... And before
> I decide to download it, what does it do?

Hmm, I meant their website, but as of now they don't build bonobo
components anymore. So gnumeric finally has a diagram button and all it
does is try to invoke some component which doesn't exist on this
planet. Sheesh. Or does someone out there know what implements the
GNOME/Graph/Layout interface. I really like that CORBA stuff, in future
questions won't be "where can I find this-and-that" anymore but "where can
I find something which implements the interface so-and-so". Indirection
galore.

> Laurel said I would need to do something special because I am upgrading
> from source, rather than from rpm.  Any idea what that might be?

Hmmm, you need the spec file and all source files mentioned in it. Put all
the source files in /usr/src/redhat/SOURCES, the spec file in
/usr/src/redhat/SPECS (adjust paths if you compile somewhere else), then
'rpm -ba --clean /usr/src/redhat/SPECS/gnumeric.spec' which will hopefully
give you the binary RPMS in /usr/src/redhat/RPMS/i386. I can't think of
anything else. I think Laurel meant that you have to do something special
if you install _directly_ from source, circumventing package management
(in short: you need to tell RPM that e.g. libgtk is there although not in
package management).

> Since my modem is in dire need of a firmware update that can only be run
> under windows (and we use a 28K dialup, anyway), I'll wait till I cna get
> to Ben's T1 line at school/work.  Having a laptop makes that so easy...

I'll put up my RPMS (not just GNOME stuff) on
http://rhlx01.fht-esslingen.de/~nils/redhat, but I won't make any promises
on their quality.

Nils
-- 
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
[EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.  -- Edsger W. Dijkstra




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Syntax colors in VIM

2000-04-01 Thread Tina Johnsson

Thanx :-) This was _just_ what I was looking for ;-)

/diff
-- 
Tina Johnsson
[http://diffuze.myip.org]



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] cak-handed mouse in X ?

2000-04-01 Thread Chris J/#6


Okay...still no joy with this after some searching through manpages and 
howto's...does anyone have an idea how to change a right handed mouse to a 
left handed mouse? (ie, reverse the left and right mosue buttons)...recently 
been able to reorganise my desk and move the mouse to my left hand (which is 
where I prefer it ... it causes less discomfort).

Windows has this nice little "reverse mouse buttons" check box...damned if I 
can find owt in the XF86Config man page, the XF86Setup program, or doing a 
zgrep through the howto's I have.

If there is no way, I may just grab the source and hack a mod in (not what I 
really want to do, but if it comes to it, I'll probably do so).

Thanks :)

Chris...



-- 
@}-,'--  Chris Johnson --'-{@
/ "(it is) crucial that we learn the difference / [EMAIL PROTECTED]  \
   / between Sex and Gender. Therein lies the key  /   \ 
  / to our freedom" -- LB / www.nccnet.co.uk/~sixie \ 




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread Jeff

On Sat, Apr 01, 2000 at 08:21:51PM +0100, Chris J/#6 wrote:
> If there is no way, I may just grab the source and hack a mod in (not what I 
> really want to do, but if it comes to it, I'll probably do so).

You are looking for the xmodmap utility.  Check out the manpage
sometime, but for now:

xmodmap -e "pointer = 3 2 1" 

will solve your problems (I believe you'll need to do a little more to
make this permanent, but I don't remember how off the top of my head).

-- 
Jeff
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/M/>P d-(pu) s+:- a17>? C++() L+++ UL@>$ P+ E--- W++@ N+ o? K++ w--- O? M 
V- PS+ PE(--)@ Y+@ PGP++ t+ 5 X++@ R++@ !tv@ b++ DI D- G e- h! r% y?
--END GEEK CODE BLOCK--

My Public Key -- http://24.5.73.229/pubkey.txt 

 PGP signature


[techtalk] cak-handed mice: resolved!

2000-04-01 Thread Chris J/#6


It's a case of RTFM... :) Found the answer in the FAQ...it says to plonk:

xmodmap -e "pointer = 3 2 1"

in .xsession/.xinitrc (or type at a prompt)...and yep, it works :)

woohoo :)

Chris...


-- 
@}-,'--  Chris Johnson --'-{@
/ "(it is) crucial that we learn the difference / [EMAIL PROTECTED]  \
   / between Sex and Gender. Therein lies the key  /   \ 
  / to our freedom" -- LB / www.nccnet.co.uk/~sixie \ 




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread Rik Hemsley

#if Jeff
> On Sat, Apr 01, 2000 at 08:21:51PM +0100, Chris J/#6 wrote:
> > If there is no way, I may just grab the source and hack a mod in (not what I 
> > really want to do, but if it comes to it, I'll probably do so).
> 
> You are looking for the xmodmap utility.  Check out the manpage
> sometime, but for now:
> 
> xmodmap -e "pointer = 3 2 1" 
> 
> will solve your problems (I believe you'll need to do a little more to
> make this permanent, but I don't remember how off the top of my head).

Probably just add it to your ~/.xinitrc or ~/.xsession

Rik


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] Good AGP Video Card?

2000-04-01 Thread Stephan Zaniolo

I'm looking for a decent AGP video card that will work very well with 
XFree86 3.3.6.  I currently have a Voodoo Banshee that is not fully 
supported even though the compatibility site says it's supposed to 
be.  I've been fiddling with it for the past year now and I'm tired of 
it.  I'm going to run to the store tomorrow, and I would like to buy one 
that will just work (after I run XF86Setup of course).

Thanks,
Stephan



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Good AGP Video Card?

2000-04-01 Thread Rik Hemsley

#if Stephan Zaniolo
>   I'm looking for a decent AGP video card that will work very well with 
> XFree86 3.3.6.  I currently have a Voodoo Banshee that is not fully 
> supported even though the compatibility site says it's supposed to 
> be.  I've been fiddling with it for the past year now and I'm tired of 
> it.  I'm going to run to the store tomorrow, and I would like to buy one 
> that will just work (after I run XF86Setup of course).

Try a Matrox G400.
Matrox cards are _very_ well supported under XFree.
You can also do accelerated 3D with it, if you can figure out how ;)
It's supposed to be easy to get going with XFree 4.0

Rik


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread sara korhonen



> You are looking for the xmodmap utility.  Check out the manpage
> sometime, but for now:
> 
> xmodmap -e "pointer = 3 2 1" 
> 
> will solve your problems (I believe you'll need to do a little more to
> make this permanent, but I don't remember how off the top of my head).

remember to add it in your .xinitrc (or what ever you use).

exec (not necessarely needed) xmodmap ~/.Xmodmap


sara

[of the many things i've lost, the only thing i really miss is my mind]



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread sara korhonen



> Probably just add it to your ~/.xinitrc or ~/.xsession

sigh, looks like i was totally late, like everyone else had pointed that
out already. sorry, next time i'll read all the messages before answering. 


sara

[of the many things i've lost, the only thing i really miss is my mind]



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread Rik Hemsley

#if sara korhonen
> 
> 
> > You are looking for the xmodmap utility.  Check out the manpage
> > sometime, but for now:
> > 
> > xmodmap -e "pointer = 3 2 1" 
> > 
> > will solve your problems (I believe you'll need to do a little more to
> > make this permanent, but I don't remember how off the top of my head).
> 
> remember to add it in your .xinitrc (or what ever you use).
> 
> exec (not necessarely needed) xmodmap ~/.Xmodmap
  ^

No, probably not needed, as
exec xmodmap ~/.Xmodmap

would run xmodmap and then exit.
Most people like to run a window manager or session manager in X ;)

Rik


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mice: resolved!

2000-04-01 Thread Lyta Alexander

if you want to change the mouse button sequence in console also you can
give gpm the -B option :)
from man gpm :
   -B sequence
  Set  the  button  sequence.  `123'  is  the  normal
  sequence, `321' can be used by left-handed  people,
  and `132' can be useful with two-button mice (espe-
  cially within Emacs). All the  button  permutations
  are allowable.

On Sat, 1 Apr 2000, Chris J/#6 wrote:
> 
> 
> It's a case of RTFM... :) Found the answer in the FAQ...it says to plonk:
> 
>   xmodmap -e "pointer = 3 2 1"
> 
> in .xsession/.xinitrc (or type at a prompt)...and yep, it works :)
> 
> woohoo :)
> 
> Chris...
> 
> 
> -- 
> @}-,'--  Chris Johnson --'-{@
> / "(it is) crucial that we learn the difference / [EMAIL PROTECTED]  \
>/ between Sex and Gender. Therein lies the key  /   \ 
>   / to our freedom" -- LB / www.nccnet.co.uk/~sixie \ 
> 



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] mutt- help! (was: Checking e-mail on server)

2000-04-01 Thread Lori

Thanks Rik and everyone else who helped!  I'm now mutting from my campus and
now seeking out new Linux adventures, boldly going as it were...

Lori


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread Jenn V.



sara korhonen wrote:
> 
> > You are looking for the xmodmap utility.  Check out the manpage
> > sometime, but for now:
> >
> > xmodmap -e "pointer = 3 2 1"
> >
> > will solve your problems (I believe you'll need to do a little more to
> > make this permanent, but I don't remember how off the top of my head).
> 
> remember to add it in your .xinitrc (or what ever you use).

Heh. This looks like a good candidate for a patch for the setup
program.
(a 'reverse mouse buttons' button which puts this in the .xinitrc.)

Not a project I'm up for at the moment - but I thought I'd mention
it in case any of our coders are.


Jenn V.
-- 
  "We're repairing the coolant loop of a nuclear fusion reactor. 
   This is women's work!"
Helix, Freefall. http://www.purrsia.com/freefall/

Jenn Vesperman[EMAIL PROTECTED] http://www.simegen.com/~jenn


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread Jeff

On Sat, Apr 01, 2000 at 09:07:33PM +0100, Rik Hemsley wrote:
> #if Jeff
> > will solve your problems (I believe you'll need to do a little more to
> > make this permanent, but I don't remember how off the top of my head).
> 
> Probably just add it to your ~/.xinitrc or ~/.xsession

Thanks Rik.  I had just gotten up when I replied... so I was a little
out of it.  :)

-- 
Jeff
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/M/>P d-(pu) s+:- a17>? C++() L+++ UL@>$ P+ E--- W++@ N+ o? K++ w--- O? M 
V- PS+ PE(--)@ Y+@ PGP++ t+ 5 X++@ R++@ !tv@ b++ DI D- G e- h! r% y?
--END GEEK CODE BLOCK--

My Public Key -- http://24.5.73.229/pubkey.txt 

 PGP signature


Re: [techtalk] cak-handed mouse in X ?

2000-04-01 Thread Sarah Hollings

Corel's version (at least) of the KDE desktop has this facility.

"Jenn V." wrote:
> 
> >
> > remember to add it in your .xinitrc (or what ever you use).
> 
> Heh. This looks like a good candidate for a patch for the setup
> program.
> (a 'reverse mouse buttons' button which puts this in the .xinitrc.)
> 
> Not a project I'm up for at the moment - but I thought I'd mention
> it in case any of our coders are.
> 
> Jenn V.
> --
>   "We're repairing the coolant loop of a nuclear fusion reactor.
>This is women's work!"
> Helix, Freefall. http://www.purrsia.com/freefall/
> 
> Jenn Vesperman[EMAIL PROTECTED] http://www.simegen.com/~jenn
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk

-- 
We are no other than a moving row
of Magic-Shadow shapes, that come, and go
Around the Sun-illum'nd lantern held in Midnight,
by the Master of the Show


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] newbie mouse weirdness

2000-04-01 Thread Sarah Hollings

Hiya,

Can anyone offer any clues to some bizarre mouse behaviour?  Any help
appreciated!

My system is a clunky old Pentium 133, with a serial mouse (on ttyS0 I
think), and serial modem (on ttyS1).  I have recently installed Corel
Linux (Debian with a slightly modified KDE desktop) and it's mostly
working...
I have no Win or MS os on the machine at all, and although it has a PCI
network card, it's standalone right now.

The weirdness is:  Every so often I boot up and have a mouse cursor, but
no mouse operation.  Right from when the x-server starts up (before KDE
displays its login dialog) the X cursor is no go.

I checked /dev and it seems there is no "mouse" file/device in there
when this happens.  The plot thickens - no-one leave the room!

I am wading thru the how-to's but nothing seems to address this, or if
it does I am just not seeing it.

Sarah

-- 
We are no other than a moving row
of Magic-Shadow shapes, that come, and go
Around the Sun-illum'nd lantern held in Midnight,
by the Master of the Show


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] newbie mouse weirdness

2000-04-01 Thread Nicole Zimmerman

Make sure you have gpm installed. :o) Same thing happened to me before I
installed it.

If you already do, that could be another problem (obviously!) ;o)

Also if you don't have the correct device in X (like the correct mouse
type), X won't be happy.  On my work machine this was reflected by the
mouse only going about 50 pixels from the edges... and the mouse would
click itself for me (how considerate, eh?). Once I told it to point to
/dev/mouse (regardless of what kind of mouse it thought it was), it fixed
the problem (twice, I had to tell vmware to do the same after seeing the
same erratic behaviour).

-nicole

> My system is a clunky old Pentium 133, with a serial mouse (on ttyS0 I
> think), and serial modem (on ttyS1).  I have recently installed Corel
> Linux (Debian with a slightly modified KDE desktop) and it's mostly
> working...
> I have no Win or MS os on the machine at all, and although it has a PCI
> network card, it's standalone right now.
> 
> The weirdness is:  Every so often I boot up and have a mouse cursor, but
> no mouse operation.  Right from when the x-server starts up (before KDE
> displays its login dialog) the X cursor is no go.
> 
> I checked /dev and it seems there is no "mouse" file/device in there
> when this happens.  The plot thickens - no-one leave the room!



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] newbie mouse weirdness

2000-04-01 Thread Luke Woods

On Sat, 1 Apr 2000, Sarah Hollings wrote:

> Hiya,
> 
> Can anyone offer any clues to some bizarre mouse behaviour?  Any help
> appreciated!
> 
> My system is a clunky old Pentium 133, with a serial mouse (on ttyS0 I
> think), and serial modem (on ttyS1).  I have recently installed Corel
> Linux (Debian with a slightly modified KDE desktop) and it's mostly
> working...
> I have no Win or MS os on the machine at all, and although it has a PCI
> network card, it's standalone right now.
> 
> The weirdness is:  Every so often I boot up and have a mouse cursor, but
> no mouse operation.  Right from when the x-server starts up (before KDE
> displays its login dialog) the X cursor is no go.
> 
> I checked /dev and it seems there is no "mouse" file/device in there
> when this happens.  The plot thickens - no-one leave the room!
> 

Hmm.  If you do/did have /dev/mouse symlinked to /dev/ttyS(?),
then it shouldnt be sporatically disapearing.  Although im yet to check
out Corel Linux (And dont exactly intend to..), and idea would be to maybe
check out your RC scripts, and see if there is anything there that is
creating / deleting the /dev/mouse symlink (Which is f**cking silly, but
it would explain intermittent cases of your /dev/mouse disapearing.

Also find out if your XConfig is actually using /dev/mouse or
explicitly /dev/ttyS{YMMV}. 

Regards,
Luke Woods

--
$a="KEAIIIKvefGbjmbsut";@r=("\\","|","_","@","/",",",".","("," ",")");
$v="vbDyzeppxIIACJIECCAIHCEKDIAIGFIEIDIKEBAIIEBA";$r=$a . $v;while($r)
{$q=chop($r);if($q=~/[a-z]/){$q=~y/b-x/a-y/;print $q;}else{if($q=~/K/){
print "\n";}else{$q=~y/A-J/0-9/;print @r[$q];}}}
--




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk