[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    [Konsole-devel] Bug#28510: marked as done (Quirky escape sequence behavior) by Stephan Binner <Steph
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2001-12-24 15:18:01
[Download RAW message or body]

Your message with subj: Quirky escape sequence behavior

- You can define own keytables, \
                read$KDEDIR/share/apps/konsole/README.KeyTab
- Look at 
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdebase/konsole/other/default.Keytab?rev=1.25&content-type=text/x-cvsweb-markup
  to fix the end/home keys problems for XFree 4.x.
- history-search-backward and history-search-forward work AFAIK fine this.
- The content of TERM variable can be defined via command line paramater or
  within session types description in KDE 3 Beta 1.

has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 9 Jul 2001 03:03:18 +0000
Received: (qmail 13373 invoked by uid 33); 9 Jul 2001 03:03:18 -0000
Date: 9 Jul 2001 03:03:18 -0000
Message-ID: <20010709030318.13372.qmail@master.kde.org>
To: submit@bugs.kde.org
Subject: Quirky escape sequence behavior
From: bpmedley@4321.tv

Package:           konsole
Version:           1.0.1 (using KDE 2.1.1 )
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: I didn't compile konsole.  I installed the default RH \
7.1 packages.

Hi,

I'm experiencing some quirky behavior when trying to use konsole.  I'm
trying to use the end/home keys and modify the setup for up/down in bash.
In addition, I would like for the less program to *not* clear the screen
when exiting.

Below are the versions for software that I think are affecting the
scenario.  After that is a description of the situation / problem.  I tried
to be specific enough to portray useful information.  Please let me know if
there is something else I can do to better document the situation.

============
= Versions =
============

$ uname -a
Linux orfgum 2.4.5-win4lin #3 Fri Jun 29 15:19:48 EDT 2001 i686 unknown
$ cat /etc/redhat-release
Red Hat Linux release 7.1 (Seawolf)

$ konsole -v
Qt: 2.3.0
KDE: 2.1.2
Konsole: 1.0.1

$ bash --version
GNU bash, version 2.04.21(1)-release (i386-redhat-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.

=======================
= Situation / Problem = 
=======================

Desired behavior:
less clears screen: NO
able to map up & down for .inputrc: YES
end & home work at prompt: YES

xterm (XFree 4.x.x) keyboard
----------------------------

character escape sequences:
^V<up-arrow>    = ^[OA
^V<down-arrow   = ^[OB
^V<left-arrow>  = ^[OD
^V<right-arrow> = ^[OC
^V<end>         = ^[[4~
^V<home>        = ^[[1~

less clears screen: YES

empty .inputrc:
end & home work at prompt: NO
    home works.  
    end puts a '~' on the screen.

lines in .inputrc:
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[OA": history-search-backward
"\e[OB": history-search-forward

Both home and end now work at the prompt.

The history-search-backward and history-search-forward seem to be
non-functional.  I would like to figure out a way to make this functional.

linux console keyboard
----------------------

character escape sequences:
^V<up-arrow>    = ^[[A
^V<down-arrow>  = ^[[B
^V<left-arrow>  = ^[[D
^V<right-arrow> = ^[[C
^V<end>         = ^[[F
^V<home>        = ^[[H

less clears screen: YES

empty .inputrc:
end & home work at prompt: NO
    neither appear to respond

lines in .inputrc:
"\e[H": beginning-of-line
"\e[F": end-of-line
"\e[A": history-search-backward
"\e[B": history-search-forward

Both home and end now work at the prompt.

The history-search-backward and history-search-forward work like I expect.

However, now the left and right arrow keys don't work.  So I add these two
lines to the .inputrc:
    "\e[D": backward-char
    "\e[C": forward-char

After doing this the arrows keys work again.

The TERM env. variable was set to "xterm" (by konsole) for both of the \
above tests.  However, if I change it to "linux" for "linux console", then \
less will no longer clear the screen when exiting. I would like for less to \
not clear the screen and I would like to not have to manually set the TERM \
env. var. (yeah, I'm lazy :). 

This all seems very strange to me.  It makes me think that I have something
setup incorrectly.  Please advise.


(Submitted via bugs.kde.org)

_______________________________________________
konsole-devel mailing list
konsole-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/konsole-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic