public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Strange keymappings in nano
@ 2003-05-20 15:24 Peter Ruskin
  2003-05-20 15:30 ` Peter Ruskin
  2003-05-20 16:41 ` Luke-Jr
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Ruskin @ 2003-05-20 15:24 UTC (permalink / raw
  To: gentoo-dev

If I'm editing a file that has long lines, using `nano -w`, the Home and 
End keys don't work as expected.

^a and ^e work OK as  Home and End respectively, but:
End inserts "F" at the line start and Home inserts "H" at the line 
start.

I've remerged nano and baselayout (for /etc/initrc) to no avail.  vim 
works perfectly.

# emerge -s nano
Searching...
[ Results for search key : nano ]
[ Applications found : 1 ]

*  app-editors/nano
      Latest version available: 1.2.1
      Latest version installed: 1.2.1
      Size of downloaded files: 889 kB
      Homepage:    http://www.nano-editor.org/
      Description: GNU GPL'd Pico clone with more functionality
# emerge -s baselayout
Searching...
[ Results for search key : baselayout ]
[ Applications found : 1 ]

*  sys-apps/baselayout
      Latest version available: 1.8.5.9
      Latest version installed: 1.8.5.9
      Size of downloaded files: 89 kB
      Homepage:    http://www.gentoo.org/
      Description: Base layout for Gentoo Linux filesystem (incl. 
initscripts and sysvinit)

Peter


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Strange keymappings in nano
  2003-05-20 15:24 [gentoo-dev] Strange keymappings in nano Peter Ruskin
@ 2003-05-20 15:30 ` Peter Ruskin
  2003-05-20 17:53   ` foser
  2003-05-20 16:41 ` Luke-Jr
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Ruskin @ 2003-05-20 15:30 UTC (permalink / raw
  To: gentoo-dev

On Tuesday 20 May 2003 16:24, Peter Ruskin wrote:
> If I'm editing a file that has long lines, using `nano -w`, the Home
> and End keys don't work as expected.
>
> ^a and ^e work OK as  Home and End respectively, but:
> End inserts "F" at the line start and Home inserts "H" at the line
> start.
>
Forgot to mention, this only happens from KDE's konsole or from xterm.  
aterm is OK as is a non-gui console.

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Strange keymappings in nano
  2003-05-20 15:24 [gentoo-dev] Strange keymappings in nano Peter Ruskin
  2003-05-20 15:30 ` Peter Ruskin
@ 2003-05-20 16:41 ` Luke-Jr
  2003-05-20 20:34   ` Kumba
  1 sibling, 1 reply; 6+ messages in thread
From: Luke-Jr @ 2003-05-20 16:41 UTC (permalink / raw
  To: Peter Ruskin, gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think this may be yet another problem caused by Gentoo's termcap stuff... 
Not sure if anyone is investigating the problem, but apparently it occurs 
when using SSH from a non-Gentoo system or from a GUI console. A workaround, 
at least for Konsole, is to 'export TERM=linux' for now.


On Tuesday 20 May 2003 03:24 pm, Peter Ruskin wrote:
> If I'm editing a file that has long lines, using `nano -w`, the Home and
> End keys don't work as expected.
>
> ^a and ^e work OK as  Home and End respectively, but:
> End inserts "F" at the line start and Home inserts "H" at the line
> start.
>
> I've remerged nano and baselayout (for /etc/initrc) to no avail.  vim
> works perfectly.
>
> # emerge -s nano
> Searching...
> [ Results for search key : nano ]
> [ Applications found : 1 ]
>
> *  app-editors/nano
>       Latest version available: 1.2.1
>       Latest version installed: 1.2.1
>       Size of downloaded files: 889 kB
>       Homepage:    http://www.nano-editor.org/
>       Description: GNU GPL'd Pico clone with more functionality
> # emerge -s baselayout
> Searching...
> [ Results for search key : baselayout ]
> [ Applications found : 1 ]
>
> *  sys-apps/baselayout
>       Latest version available: 1.8.5.9
>       Latest version installed: 1.8.5.9
>       Size of downloaded files: 89 kB
>       Homepage:    http://www.gentoo.org/
>       Description: Base layout for Gentoo Linux filesystem (incl.
> initscripts and sysvinit)
>
> Peter
>
>
> --
> gentoo-dev@gentoo.org mailing list

- -- 
Luke-Jr
Developer, Gentoo Linux
http://www.gentoo.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+ylq6Zl/BHdU+lYMRAhKRAJ0V1rYsttfpCQdGS6sJgNY6CNKhigCeK0Pl
jeTAZar+1rqzV3cHw2Rvcug=
=9Qv3
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Strange keymappings in nano
  2003-05-20 15:30 ` Peter Ruskin
@ 2003-05-20 17:53   ` foser
  0 siblings, 0 replies; 6+ messages in thread
From: foser @ 2003-05-20 17:53 UTC (permalink / raw
  To: gentoo-dev

On Tue, 2003-05-20 at 17:30, Peter Ruskin wrote:
> On Tuesday 20 May 2003 16:24, Peter Ruskin wrote:
> > If I'm editing a file that has long lines, using `nano -w`, the Home
> > and End keys don't work as expected.
> >
> > ^a and ^e work OK as  Home and End respectively, but:
> > End inserts "F" at the line start and Home inserts "H" at the line
> > start.
> >
> Forgot to mention, this only happens from KDE's konsole or from xterm.  
> aterm is OK as is a non-gui console.
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

We are working on it, there is a bug on this.

Besides that, this is not the right list for your problems, bugzilla
would be a good start here. This list is for development related
discussion.

- foser


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Strange keymappings in nano
  2003-05-20 16:41 ` Luke-Jr
@ 2003-05-20 20:34   ` Kumba
  2003-05-20 21:48     ` Peter Ruskin
  0 siblings, 1 reply; 6+ messages in thread
From: Kumba @ 2003-05-20 20:34 UTC (permalink / raw
  Cc: gentoo-dev


Actually, it's not related to Gentoo's weird termcap settings, it's a 
nano thing.  A Bug I think, however nano does have a command line switch 
for it.  use `nano -wK' to fix the keypad issues.  Or do what I do and 
alias "nano" and "pico" to "nano -wK".  Should solve your problems.

--Kumba



Luke-Jr wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I think this may be yet another problem caused by Gentoo's termcap stuff... 
> Not sure if anyone is investigating the problem, but apparently it occurs 
> when using SSH from a non-Gentoo system or from a GUI console. A workaround, 
> at least for Konsole, is to 'export TERM=linux' for now.
> 
> 
> On Tuesday 20 May 2003 03:24 pm, Peter Ruskin wrote:
> 
>>If I'm editing a file that has long lines, using `nano -w`, the Home and
>>End keys don't work as expected.
>>
>>^a and ^e work OK as  Home and End respectively, but:
>>End inserts "F" at the line start and Home inserts "H" at the line
>>start.
>>
>>I've remerged nano and baselayout (for /etc/initrc) to no avail.  vim
>>works perfectly.
>>
>># emerge -s nano
>>Searching...
>>[ Results for search key : nano ]
>>[ Applications found : 1 ]
>>
>>*  app-editors/nano
>>      Latest version available: 1.2.1
>>      Latest version installed: 1.2.1
>>      Size of downloaded files: 889 kB
>>      Homepage:    http://www.nano-editor.org/
>>      Description: GNU GPL'd Pico clone with more functionality
>># emerge -s baselayout
>>Searching...
>>[ Results for search key : baselayout ]
>>[ Applications found : 1 ]
>>
>>*  sys-apps/baselayout
>>      Latest version available: 1.8.5.9
>>      Latest version installed: 1.8.5.9
>>      Size of downloaded files: 89 kB
>>      Homepage:    http://www.gentoo.org/
>>      Description: Base layout for Gentoo Linux filesystem (incl.
>>initscripts and sysvinit)
>>
>>Peter
>>
>>
>>--
>>gentoo-dev@gentoo.org mailing list
> 
> 
> - -- 
> Luke-Jr
> Developer, Gentoo Linux
> http://www.gentoo.org/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE+ylq6Zl/BHdU+lYMRAhKRAJ0V1rYsttfpCQdGS6sJgNY6CNKhigCeK0Pl
> jeTAZar+1rqzV3cHw2Rvcug=
> =9Qv3
> -----END PGP SIGNATURE-----
> 
> 
> --
> gentoo-dev@gentoo.org mailing list
> 
> 



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] Strange keymappings in nano
  2003-05-20 20:34   ` Kumba
@ 2003-05-20 21:48     ` Peter Ruskin
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Ruskin @ 2003-05-20 21:48 UTC (permalink / raw
  To: gentoo-dev

On Tuesday 20 May 2003 21:34, Kumba wrote:
> Actually, it's not related to Gentoo's weird termcap settings, it's a
> nano thing.  A Bug I think, however nano does have a command line
> switch for it.  use `nano -wK' to fix the keypad issues.  Or do what
> I do and alias "nano" and "pico" to "nano -wK".  Should solve your
> problems.
>
It does.  Many thanks.  I could find no reference to this problem on 
bugzilla, so raised a bug http://bugs.gentoo.org/show_bug.cgi?id=21356

Peter

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-20 21:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-20 15:24 [gentoo-dev] Strange keymappings in nano Peter Ruskin
2003-05-20 15:30 ` Peter Ruskin
2003-05-20 17:53   ` foser
2003-05-20 16:41 ` Luke-Jr
2003-05-20 20:34   ` Kumba
2003-05-20 21:48     ` Peter Ruskin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox