Unix Technical Forum

RE: dbaccess - return key does not work?

This is a discussion on RE: dbaccess - return key does not work? within the Informix forums, part of the Database Server Software category; --> Somehow I got the, now obviously incorrect, impression that you were using the mouse. Apologies. If in fact the ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 05:31 PM
Jack Parker
 
Posts: n/a
Default RE: dbaccess - return key does not work?

Somehow I got the, now obviously incorrect, impression that you were using
the mouse. Apologies.

If in fact the arrow keys do not work, then TERM/TERMCAP is the likeliest
issue. Sounds like you have TERMCAP set correctly, check TERM. That should
match your terminal type. If you are telnetting in from a PC, then "ansi"
is the proper choice. If going in through an X-Window, try "vt100" or
"wyse-50". Termcap did not have a decent entry for x-term last time I
checked.

( for example: export TERM=ansi )

The ctrl-xxx sequences should also work if your TERM setting is appropriate,
CTRL-M is return, and then of course H, J, K, L for left, down, up and
right.

j.

-----Original Message-----
From: informix-list-bounces@iiug.org
[mailto:informix-list-bounces@iiug.org]On Behalf Of Andrew2006
Sent: Thursday, December 27, 2007 9:34 AM
To: informix-list@iiug.org
Subject: Re: dbaccess - return key does not work?


On Dec 27, 2:13 pm, "Jack Parker" <jack.park...@verizon.net> wrote:
> Let's try that again. dbaccess is not a mouse driven application. You

can
> highlight the words on the screen all day long, but that action does not
> communicate with the application. Use the arrow keys to highlight

databases
> and the return key to select them. Or type in the database you want to
> select on the line where it allows you to.
>
> Use the mouse ONLY to navigate to a different window, to select text for
> cutting and pasting.
>
> j.
>
> -----Original Message-----
> From: informix-list-boun...@iiug.org
>
> [mailto:informix-list-boun...@iiug.org]On Behalf Of Andrew2006
> Sent: Thursday, December 27, 2007 8:46 AM
> To: informix-l...@iiug.org
> Subject: Re: dbaccess - return key does not work?
>
> On Dec 27, 1:21 pm, Andrew2006 <mymate...@googlemail.com> wrote:
> > On Dec 27, 11:52 am, "Art S. Kagel" <art.ka...@gmail.com> wrote:

>
> > > On Dec 27, 6:24 am, Andrew2006 <mymate...@googlemail.com> wrote:

>
> > > > Hi there,

>
> > > > Can anyone recommend a tutorial for using dbaccess in menu mode?

>
> > > How about the Dbaccess Manual which is part of the IDS documentation
> > > set online.

>
> > > Art S. Kagel
> > > Oninit

>
> > > > When prompted to hit return, e.g. "Select a server with the Arrow
> > > > Keys, or enter a name, then press Return." I can move the cursor to
> > > > highlight the database but hitting return causes the cursor to move
> > > > forward to the next db. Manually entering the name and hitting

return
> > > > will work though.

>
> > > > I am running it from a console in Ubuntu Linux.

>
> > > > Apologies if this has been asked before, but I couldn't find it by
> > > > searching the group.

>
> > > > Kind Regards

>
> > > > Andrew

>
> > Hi Art,

>
> > Have had a look at the manual, but it just reiterates what the
> > dbaccess program tells you to do. ie. press RETURN.

>
> > Everything works for me except pressing RETURN (or Enter)

>
> > Thanks

>
> > Andrew

>
> The page I'm referring to is

here:http://publib.boulder.ibm.com/infoce...ndex.jsp?topic..
..
> bm.sqlt.doc/sqlt65.htm
> _______________________________________________
> Informix-list mailing list
> Informix-l...@iiug.orghttp://www.iiug.org/mailman/listinfo/informix-list


Hi Jack,

I'm not using the mouse to highlight words. I'm only using the
keyboard here.

BTW - one reader emailed me re: TERMCAP. TERMCAP is set correctly to /
opt/informix/etc/termcap. The termcap file is 1553 lines long, and I
assume it's correct.

Thanks

Andrew
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 05:31 PM
Andrew2006
 
Posts: n/a
Default Re: dbaccess - return key does not work?

On Dec 27, 3:09 pm, "Jack Parker" <jack.park...@verizon.net> wrote:
> Somehow I got the, now obviously incorrect, impression that you were using
> the mouse. Apologies.
>
> If in fact the arrow keys do not work, then TERM/TERMCAP is the likeliest
> issue. Sounds like you have TERMCAP set correctly, check TERM. That should
> match your terminal type. If you are telnetting in from a PC, then "ansi"
> is the proper choice. If going in through an X-Window, try "vt100" or
> "wyse-50". Termcap did not have a decent entry for x-term last time I
> checked.
>
> ( for example: export TERM=ansi )
>
> The ctrl-xxx sequences should also work if your TERM setting is appropriate,
> CTRL-M is return, and then of course H, J, K, L for left, down, up and
> right.
>
> j.
>
> -----Original Message-----
> From: informix-list-boun...@iiug.org
>
> [mailto:informix-list-boun...@iiug.org]On Behalf Of Andrew2006
> Sent: Thursday, December 27, 2007 9:34 AM
> To: informix-l...@iiug.org
> Subject: Re: dbaccess - return key does not work?
>
> On Dec 27, 2:13 pm, "Jack Parker" <jack.park...@verizon.net> wrote:
> > Let's try that again. dbaccess is not a mouse driven application. You

> can
> > highlight the words on the screen all day long, but that action does not
> > communicate with the application. Use the arrow keys to highlight

> databases
> > and the return key to select them. Or type in the database you want to
> > select on the line where it allows you to.

>
> > Use the mouse ONLY to navigate to a different window, to select text for
> > cutting and pasting.

>
> > j.

>
> > -----Original Message-----
> > From: informix-list-boun...@iiug.org

>
> > [mailto:informix-list-boun...@iiug.org]On Behalf Of Andrew2006
> > Sent: Thursday, December 27, 2007 8:46 AM
> > To: informix-l...@iiug.org
> > Subject: Re: dbaccess - return key does not work?

>
> > On Dec 27, 1:21 pm, Andrew2006 <mymate...@googlemail.com> wrote:
> > > On Dec 27, 11:52 am, "Art S. Kagel" <art.ka...@gmail.com> wrote:

>
> > > > On Dec 27, 6:24 am, Andrew2006 <mymate...@googlemail.com> wrote:

>
> > > > > Hi there,

>
> > > > > Can anyone recommend a tutorial for using dbaccess in menu mode?

>
> > > > How about the Dbaccess Manual which is part of the IDS documentation
> > > > set online.

>
> > > > Art S. Kagel
> > > > Oninit

>
> > > > > When prompted to hit return, e.g. "Select a server with the Arrow
> > > > > Keys, or enter a name, then press Return." I can move the cursor to
> > > > > highlight the database but hitting return causes the cursor to move
> > > > > forward to the next db. Manually entering the name and hitting

> return
> > > > > will work though.

>
> > > > > I am running it from a console in Ubuntu Linux.

>
> > > > > Apologies if this has been asked before, but I couldn't find it by
> > > > > searching the group.

>
> > > > > Kind Regards

>
> > > > > Andrew

>
> > > Hi Art,

>
> > > Have had a look at the manual, but it just reiterates what the
> > > dbaccess program tells you to do. ie. press RETURN.

>
> > > Everything works for me except pressing RETURN (or Enter)

>
> > > Thanks

>
> > > Andrew

>
> > The page I'm referring to is

> here:http://publib.boulder.ibm.com/infoce...ndex.jsp?topic..
> .
> > bm.sqlt.doc/sqlt65.htm
> > _______________________________________________
> > Informix-list mailing list
> > Informix-l...@iiug.orghttp://www.iiug.org/mailman/listinfo/informix-list

>
> Hi Jack,
>
> I'm not using the mouse to highlight words. I'm only using the
> keyboard here.
>
> BTW - one reader emailed me re: TERMCAP. TERMCAP is set correctly to /
> opt/informix/etc/termcap. The termcap file is 1553 lines long, and I
> assume it's correct.
>
> Thanks
>
> Andrew
> _______________________________________________
> Informix-list mailing list
> Informix-l...@iiug.orghttp://www.iiug.org/mailman/listinfo/informix-list


The arrow keys do work. The Enter keys do not work. They have the same
effect as "down arrow".

My TERM is currently set to xterm. I run dbaccess by opening a console
in Gnome and sshing into another Linux box where dbaccess is
installed. The relevant environment variables on the dbaccess box are:
INFORMIXTERM="termcap"
TERM="xterm"
TERMCAP="/opt/informix/etc/termcap"

As Ctrl-M also appears to be mapped incorrectly (it performs "down
arrow"), it looks like the termcap file may be foobared.

Nevermind. In the meantime I can work around it, but it would be nice
if worked as intended ...

Many thanks

Andrew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com