Re: vim & kde questions SOLVED

2007-08-16 Thread Steve Lamb

Mark Neidorff wrote:
Thanks.  That solved 2 annoyances.  Its too bad about the vim install.  
Another of those things about Etch that doesn't make sense to me.


I think it is because of the minimal install.  I may be wrong but I think 
at some point in the past they replace nvi with vim-tiny.  The purpose was to 
provide a small vi-like editor with the intent of the user installing the full 
version of whatever they choose after the minimal install is complete.


--
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: vim & kde questions SOLVED

2007-08-15 Thread Mark Neidorff
On Tuesday 14 August 2007 04:18 pm, Michael Shuler wrote:
> On 08/14/2007 03:06 PM, Magnus Pedersen wrote:
> > Mark Neidorff wrote:
> >> First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and
> >> I want to navagate up/down/left or right.  If I press an arrow key, a
> >> new line is opened and a character ("B" or "D" or ...) is put in the
> >> first position of that line.  If I switch to navagation mode, then the
> >> arrow keys work properly.  Am I dealing with a vim problem, a terminal
> >> problem or a keyboard mapping/character set problem?  Whichever it is,
> >> how do I solve it?
> >
> > Dunno, I don't see that kind of behavior from my Vim...
>
> When calling the default install of vim-tiny as 'vim ', I believe
> arrow-key navigation works, however, when calling as 'vi ', vim
> behaves as the old-school vi (h,j,k,l) and the use of arrow-keys will
> output control characters.
>
> dpkg -l vim* |grep ^ii
>
> Will likely only show vim-tiny installed.
>
> aptitude install vim
>
> Will get you the full-featured vim software and 'vi ' should work
> by default with arrow navigation.
>
> Kind Regards,
> Michael

Thanks.  That solved 2 annoyances.  Its too bad about the vim install.  
Another of those things about Etch that doesn't make sense to me.

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vim & kde questions

2007-08-14 Thread John K Masters
On 21:19 Tue 14 Aug , John K Masters wrote:
> On 14:44 Tue 14 Aug , Mark Neidorff wrote:
> > Hi all,
> > 
> > After using another distribution for over 12 years, I've decided to give 
> > Debian Etch a good try.  I've now got the luxury of having a second 
> > computer 
> > to try things on, so I've installed Debian on that and hope to move 
> > everything else over shortly.  Right now, I've got two annoyances that I'd 
> > like to solve.
> > 
> > First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and I 
> > want 
> > to navagate up/down/left or right.  If I press an arrow key, a new line is 
> > opened and a character ("B" or "D" or ...) is put in the first position of 
> > that line.  If I switch to navagation mode, then the arrow keys work 
> > properly.  Am I dealing with a vim problem, a terminal problem or a 
> > keyboard 
> > mapping/character set problem?  Whichever it is, how do I solve it?
> > 
> 
> AFAIK this is not default behaviour for vim on KDE but I use Gnome on my
> desktop. Default install of vim is vim-tiny but I usually install
> vim-full and edit .vimrc to taste. Get it wrong occasionally but that's
> half the fun.
> 
> I would suggest you look at your key mappings.
> 

Or on second thoughts, set nocompatible in .vimrc

Regards, John
-- 
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vim & kde questions

2007-08-14 Thread John K Masters
On 14:44 Tue 14 Aug , Mark Neidorff wrote:
> Hi all,
> 
> After using another distribution for over 12 years, I've decided to give 
> Debian Etch a good try.  I've now got the luxury of having a second computer 
> to try things on, so I've installed Debian on that and hope to move 
> everything else over shortly.  Right now, I've got two annoyances that I'd 
> like to solve.
> 
> First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and I want 
> to navagate up/down/left or right.  If I press an arrow key, a new line is 
> opened and a character ("B" or "D" or ...) is put in the first position of 
> that line.  If I switch to navagation mode, then the arrow keys work 
> properly.  Am I dealing with a vim problem, a terminal problem or a keyboard 
> mapping/character set problem?  Whichever it is, how do I solve it?
> 

AFAIK this is not default behaviour for vim on KDE but I use Gnome on my
desktop. Default install of vim is vim-tiny but I usually install
vim-full and edit .vimrc to taste. Get it wrong occasionally but that's
half the fun.

I would suggest you look at your key mappings.

Regards, John
-- 
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vim & kde questions

2007-08-14 Thread Michael Shuler
On 08/14/2007 03:06 PM, Magnus Pedersen wrote:
> Mark Neidorff wrote:
>> First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and
>> I want to navagate up/down/left or right.  If I press an arrow key, a
>> new line is opened and a character ("B" or "D" or ...) is put in the
>> first position of that line.  If I switch to navagation mode, then the
>> arrow keys work properly.  Am I dealing with a vim problem, a terminal
>> problem or a keyboard mapping/character set problem?  Whichever it is,
>> how do I solve it?
> 
> Dunno, I don't see that kind of behavior from my Vim...

When calling the default install of vim-tiny as 'vim ', I believe
arrow-key navigation works, however, when calling as 'vi ', vim
behaves as the old-school vi (h,j,k,l) and the use of arrow-keys will
output control characters.

dpkg -l vim* |grep ^ii

Will likely only show vim-tiny installed.

aptitude install vim

Will get you the full-featured vim software and 'vi ' should work
by default with arrow navigation.

Kind Regards,
Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vim & kde questions

2007-08-14 Thread Magnus Pedersen

Mark Neidorff wrote:

Hi all,

After using another distribution for over 12 years, I've decided to give 
Debian Etch a good try.  I've now got the luxury of having a second computer 
to try things on, so I've installed Debian on that and hope to move 
everything else over shortly.  Right now, I've got two annoyances that I'd 
like to solve.


First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and I want 
to navagate up/down/left or right.  If I press an arrow key, a new line is 
opened and a character ("B" or "D" or ...) is put in the first position of 
that line.  If I switch to navagation mode, then the arrow keys work 
properly.  Am I dealing with a vim problem, a terminal problem or a keyboard 
mapping/character set problem?  Whichever it is, how do I solve it?


Dunno, I don't see that kind of behavior from my Vim...



Second...kde.  I like KDE.  When I saw the first versions, I thought it was 
great.  Moved me away from pure terminals in a hurry.  Now that I'm using the 
newest version, its got an annoyance that I'd like to shut off.  Whenever I 
put a CD or DVD in the CD/DVD drive, I get a pop up menu on the screen asking 
me what I'd like to do now.  To me, that's an annoyance and a waste of CPU 
cycles that I'd like to get rid of, but I couldn't find an option in the KDE 
configuration to turn that off.  How do I turn off the looking for a CD/DVD 
in the drive?


Control Center -> Peripherals -> Storage Media 

/Magnus


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




vim & kde questions

2007-08-14 Thread Mark Neidorff
Hi all,

After using another distribution for over 12 years, I've decided to give 
Debian Etch a good try.  I've now got the luxury of having a second computer 
to try things on, so I've installed Debian on that and hope to move 
everything else over shortly.  Right now, I've got two annoyances that I'd 
like to solve.

First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and I want 
to navagate up/down/left or right.  If I press an arrow key, a new line is 
opened and a character ("B" or "D" or ...) is put in the first position of 
that line.  If I switch to navagation mode, then the arrow keys work 
properly.  Am I dealing with a vim problem, a terminal problem or a keyboard 
mapping/character set problem?  Whichever it is, how do I solve it?

Second...kde.  I like KDE.  When I saw the first versions, I thought it was 
great.  Moved me away from pure terminals in a hurry.  Now that I'm using the 
newest version, its got an annoyance that I'd like to shut off.  Whenever I 
put a CD or DVD in the CD/DVD drive, I get a pop up menu on the screen asking 
me what I'd like to do now.  To me, that's an annoyance and a waste of CPU 
cycles that I'd like to get rid of, but I couldn't find an option in the KDE 
configuration to turn that off.  How do I turn off the looking for a CD/DVD 
in the drive?

Thanks,

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]