Re: The dtterm problem....

From: Jeff Mulliken (mullikenNOSPAM@attbi.com)
Date: 04/07/03


From: "Jeff Mulliken" <mullikenNOSPAM@attbi.com>
Date: Mon, 7 Apr 2003 11:00:52 -0700

Gents,

    For posterity, I just want to put the final solution here into the
'googlebase'.

I had to do the following;

1. I had to edit a .kshrc file in each users home directory with the
following lines:
    set -o emacs
    alias __A= # uparrow = ctrl-P = previous command
    alias __B= # downarrow = ctrl-N = next command
    alias __C= # rightarrow = ctrl-F = forward char
    alias __D= # leftarrow = ctrl-B = back char
    alias __P= # Set delete key as ctrl-d

2. I had to edit the .dtprofile file in each users home directory to
uncomment the following line:

    DTSOURCEPROFILE=true

3. I had to edit the .profile file in each users home dircectory, and add
the followin line;

    ENV=$HOME/.kshrc; export ENV

...And then it worked. I get the command history browsing from the arrow
keys, and command completion via the escape key.

Thanks to all for the help.

    Cheers...

            Jeff

"Jeff Mulliken" <mullikenNOSPAM@attbi.com> wrote in message
news:oI2cnTQnxJJ-chWjXTWcpQ@giganews.com...
> It's back to the well for me.... once again seeking the collective wisdom.
>
> My machine is running AIX 5L. And I am new to AIX. But I have spent
> considerable time search Google to get an answer
> but there doesn't seem to be a clear cut answer to this issue.
>
> By default, AIX 5L uses CDE. When I start a 'dtterm', I get a Korn shell,
> but it doesn't do the command completion stuff, or
> the up/down arrow key history stuff.
>
> Well, my 'googling' enabled me to create entries in either a .kshrc or
> .profile file that turns on the 'set -o emacs' option, and
> aliases all of the arrow keys to thier appropriate functions. But neither
> /etc/profile, or ~/.profile or ~/.kshrc seem to get sourced
> when a dtterm starts up. I always have to do that manually.
>
> I need to run Legato from this machine, so I'm not certain if I have to
stay
> with CDE, but I suspect that Legato won't support a
> Gnome desktop. So, I'm just looking for guidance. What is the best
> solution here? And please bear in mind that I am new to AIX, (not new to
> UNIX, just this flavor) and so I may not know something that you would
> expect me to.
>
> Thanks in advance for any and all advice.
>
> Cheers....
>
> Jeff
>
>



Relevant Pages

  • Question for Mr. Nickolov or Mr. Tandetnik (or anyone else who can help) - WTL Combobox subclass
    ... I was able to successfully subclass the edit boxes and process the key presses. ... My first approach was to use the regular CComboBox class and get the handle to its edit box by calling GetWindow. ... As expected on the down arrow key press, a message was forwarded to the parent dialog. ... Here, when the Enter button was pressed, I sent a F5 key to the combobox so it can display its listbox. ...
    (microsoft.public.vc.atl)
  • Re: From stack to Equation Writer
    ... Just hit the silver down arrow key. ... stack (RPN mode) and I want to edit that expression using the Equation ...
    (comp.sys.hp48)
  • Re: Unable to draw a line in Excel
    ... Does it say Ready or Edit? ... You cannot get to drawing ... Tap an arrow key to move to new ... > In excel 2002 the drawing icons are greyed out and i ...
    (microsoft.public.excel.misc)