Hi,
we installed db2 v8.1 on red hat linux 9.
Unfortunately, the backspace and the delete button doesn't work in the
right way. Instead of deleting chars, control characters are inputed.
That makes it very hard to input sql commands at the db2 command line
prompt.
For example: DB2> connect to aDatabase^?^?^?^?^[[3~^[[3~^[[3~
Is there the possibility to set an option / parameter anywhere?
Thanks, Toralf 9 5905
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> wrote in message
news:bv**********@news.uni-leipzig.de... Hi, we installed db2 v8.1 on red hat linux 9. Unfortunately, the backspace and the delete button doesn't work in the right way. Instead of deleting chars, control characters are inputed. That makes it very hard to input sql commands at the db2 command line prompt. For example: DB2> connect to aDatabase^?^?^?^?^[[3~^[[3~^[[3~ Is there the possibility to set an option / parameter anywhere? Thanks, Toralf
Are you talking about the GUI Command Center? If so, you are mistaken or you
have serious problems with your java installation (which may not be
surprising since IBM does not support RH9 because of Java issues). Even
though IBM does not support RH9, if you want to use it, I would install IBM
java 1.41 and set the java path with a dbm configuration command. But IBM
support will not help you on that platform if you ever need to contact them.
If you are talking about the command line interface from a terminal window,
that has nothing to do with DB2.
Thanks Mark,
I'm talking about the command line interface not the command center, you
are right.
We installed the java sdk 1.4.1 and set the path to JAVA_HOME.
Unfortunately, the command center doesn't work by calling db2cc - but
that's another topic.
Most of the time I use the command line. But as I said before, when I
can not use the backspace or delete button it is very hard to set up sql
statements.
We use the bash as basic shell, and here the backspace and delete the
button works fine.
Any hints?
Thanks, Toralf
Mark A wrote: "Toralf Kirsten" <tk******@izbi.uni-leipzig.de> wrote in message news:bv**********@news.uni-leipzig.de...
Hi, we installed db2 v8.1 on red hat linux 9. Unfortunately, the backspace and the delete button doesn't work in the right way. Instead of deleting chars, control characters are inputed. That makes it very hard to input sql commands at the db2 command line prompt. For example: DB2> connect to aDatabase^?^?^?^?^[[3~^[[3~^[[3~ Is there the possibility to set an option / parameter anywhere? Thanks, Toralf
Are you talking about the GUI Command Center? If so, you are mistaken or you have serious problems with your java installation (which may not be surprising since IBM does not support RH9 because of Java issues). Even though IBM does not support RH9, if you want to use it, I would install IBM java 1.41 and set the java path with a dbm configuration command. But IBM support will not help you on that platform if you ever need to contact them.
If you are talking about the command line interface from a terminal window, that has nothing to do with DB2.
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> wrote in message
news:bv**********@news.uni-leipzig.de... Thanks Mark, I'm talking about the command line interface not the command center, you are right. We installed the java sdk 1.4.1 and set the path to JAVA_HOME. Unfortunately, the command center doesn't work by calling db2cc - but that's another topic. Most of the time I use the command line. But as I said before, when I can not use the backspace or delete button it is very hard to set up sql statements. We use the bash as basic shell, and here the backspace and delete the button works fine. Any hints? Thanks, Toralf
To fix your GUI stuff, if you have installed 1.4.1 issue the following
command and restart DB2:
db2 update dbm cfg using JDK_PATH /opt/IBMJava2-14
If you use the basic bash shell you can just prefix each command with db2
and it should work the same.
"Mark A" <ma@switchboard.net> wrote in message
news:YY**************@news.uswest.net... "Toralf Kirsten" <tk******@izbi.uni-leipzig.de> wrote in message news:bv**********@news.uni-leipzig.de... Thanks Mark, I'm talking about the command line interface not the command center, you are right. We installed the java sdk 1.4.1 and set the path to JAVA_HOME. Unfortunately, the command center doesn't work by calling db2cc - but that's another topic. Most of the time I use the command line. But as I said before, when I can not use the backspace or delete button it is very hard to set up sql statements. We use the bash as basic shell, and here the backspace and delete the button works fine. Any hints? Thanks, Toralf To fix your GUI stuff, if you have installed 1.4.1 issue the following command and restart DB2: db2 update dbm cfg using JDK_PATH /opt/IBMJava2-14
If you use the basic bash shell you can just prefix each command with db2 and it should work the same.
I just tried using the Command Line Processor on RH9 accessing DB2 on the
same machine. Backspace works fine, but delete and repeat (up arrow) do not
work properly (produce garbage).
This may have something to so with fact that DB2 for Linux does not support
the bash shell, something that I have complained about previously. ARE YOU
LISTENING IBM??? They want you to use pdksh, but I tried that and it
doesn't work either, especially if you want to use the standard RH9 KDE gui
interface.
I normally just use the Linux command prompt and prefix everything with
"db2".
Mark,
the GUI works now fine. Thanks for your advice.
Unfortunately, there is no pdksh installed on our machine. I have never
used it before and I really don't know that it exists up to now. I'm
just google'ing ;-)
Is there any option / parameter to use the environment from the
underlying shell, because I'd like to use the bash. That's my favorite
shell, too.
Toralf
Mark A wrote: "Mark A" <ma@switchboard.net> wrote in message To fix your GUI stuff, if you have installed 1.4.1 issue the following command and restart DB2: db2 update dbm cfg using JDK_PATH /opt/IBMJava2-14
If you use the basic bash shell you can just prefix each command with db2 and it should work the same.
I just tried using the Command Line Processor on RH9 accessing DB2 on the same machine. Backspace works fine, but delete and repeat (up arrow) do not work properly (produce garbage).
This may have something to so with fact that DB2 for Linux does not support the bash shell, something that I have complained about previously. ARE YOU LISTENING IBM??? They want you to use pdksh, but I tried that and it doesn't work either, especially if you want to use the standard RH9 KDE gui interface.
I normally just use the Linux command prompt and prefix everything with "db2".
I'm not a nix/nux expert but i think you need to do something like
set TERM=...
or export or ...
/usr/share/terminfo
man TERM or info TERM should provide some info.
PM
"Toralf Kirsten" <tk******@izbi.uni-leipzig.de> wrote in message
news:bv**********@news.uni-leipzig.de... Mark, the GUI works now fine. Thanks for your advice. Unfortunately, there is no pdksh installed on our machine. I have never used it before and I really don't know that it exists up to now. I'm just google'ing ;-) Is there any option / parameter to use the environment from the underlying shell, because I'd like to use the bash. That's my favorite shell, too. Toralf
pdksh is public domain ksh and you can find it by searching the web. I tried
it and it did not work correctly and completely messes up the KDE gui on
Linux. So I don't have any solution other than don't use the DB2 Command
Line Processor, just use a Linux command prompt and prefix DB2 commands with
"db2".
Personally, I don't understand how IBM can claim to support Linux and not
support the bash shell. There are other scripts they provide that have
problems with the bash shell also.
Mark A wrote: "Toralf Kirsten" <tk******@izbi.uni-leipzig.de> wrote in message news:bv**********@news.uni-leipzig.de...
Mark, the GUI works now fine. Thanks for your advice. Unfortunately, there is no pdksh installed on our machine. I have never used it before and I really don't know that it exists up to now. I'm just google'ing ;-) Is there any option / parameter to use the environment from the underlying shell, because I'd like to use the bash. That's my favorite shell, too. Toralf
pdksh is public domain ksh and you can find it by searching the web. I tried it and it did not work correctly and completely messes up the KDE gui on Linux. So I don't have any solution other than don't use the DB2 Command Line Processor, just use a Linux command prompt and prefix DB2 commands with "db2".
Personally, I don't understand how IBM can claim to support Linux and not support the bash shell. There are other scripts they provide that have problems with the bash shell also.
Bash will work just fine as a login shell when using DB2.
IBM requires ksh because many of the scripts supplied with DB2 are ksh
scripts. There is nothing that requires your login shell to be ksh, but
it does need to exist on the system to support these other scripts.
Keep in mind that because bash and ksh both will read $HOME/.profile, and
shell-specific modifications to it may cause issues with the db2_all or rah
scripts (if you're using a partitioned environment). You can generally
workaround this by setting the various RAH* environment variables to
appropriate values.
Good luck,
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
> "Ian" <ia*****@mobileaudio.com> wrote in message Bash will work just fine as a login shell when using DB2.
I never suggested otherwise.
IBM requires ksh because many of the scripts supplied with DB2 are ksh scripts. There is nothing that requires your login shell to be ksh, but it does need to exist on the system to support these other scripts.
That is the problem that I am complaining about. I personally think this is
unaceptable.
Keep in mind that because bash and ksh both will read $HOME/.profile, and shell-specific modifications to it may cause issues with the db2_all or
rah scripts (if you're using a partitioned environment). You can generally workaround this by setting the various RAH* environment variables to appropriate values.
Why should one have to create their own workaround when bash is the default
(and often only) shell for Linux. The Linux GUI will not work without bash.
In any case, any workarounds should be documented by IBM for each and every
script. If pdksh is required it should be in the DB2 distribution with
instructions on how to install and configure it.
Good luck,
One should not have be "lucky" to get DB2 for Linux to work. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Stephen |
last post by:
I have got an event below to remove items from an arraylist and then to
rebind the arraylist to the datagrid subsequently deleting the appropriate
row. My problem is that my code makes sense and I...
|
by: Melissa |
last post by:
What is the code to delete a command button from a form? Can the code be run
from the click event of the button to be deleted?
Thanks!
Melissa
|
by: NateDawg |
last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if
anyone has some input it would sure help me out.
Ok, I’ve noticed a few gridview problems floating around the forum....
|
by: pigge79 |
last post by:
Hi there,
I've developing an application that translates keystrokes sent from my
TV card remote control to Windows XP Media Center, since the two are
not compatible. I've successfully been able...
|
by: Wannabe |
last post by:
I am using ASP.Net 2.0 and have a gridview on my page. I have everything
working except the delete command. The page reloads except the row I am
trying to delete is still there. I believe it is...
|
by: ITAutobot25 |
last post by:
My delete button is not working in my GUI and my due date is today before midnight. Can anyone show me how to correct this error? My assignment statement is below as well as 5 classes. InventoryGUI...
|
by: kj |
last post by:
If I'm in the python interactive interpreter, I get a beep when I
hit the backspace key.
I must confess, though, that my terminal is "complicated", to put
it mildly: I work on a Mac running...
|
by: ahilar12 |
last post by:
Hi all,
I am new to php,my question is that in this following code i am retrieving many rows from the database which is working good.i want to delete a particular row(s) which is checked(checkbox)...
|
by: shivasusan |
last post by:
Hi!
I can add rows with inputs to my HTML table dynamically using DOM, but I cannot remove selected rows. In fact, every row contains a Delete button. So, user selects the rows to remove, clicks...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |