Solved

Unixware 7.1.1 keymap

Posted on 2001-08-22
8
325 Views
Last Modified: 2013-12-16
My terminal charcters doesnt work correctly.

I get '[A$<200>' key when I try to use the 'arrow up' key (when I try to get the 'history').

I dont know what is the best shell for the Unixware (is it cshell or kshell?).

I get a strange prompt every line, (instead of getting the username only).

Thanks!

0
Comment
Question by:frida_harush
  • 3
  • 2
8 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6448646
> I get a strange prompt every line, (instead of getting the username only).

this sounds like you have set the PROMPT variable to something that your shell doesn't support.

Which shell do you use (echo $SHELL) ?
Which one do you prefer: csh, tcsh, ksh?
0
 

Author Comment

by:frida_harush
ID: 6448673
currently I work on cshell.
I read that it is prefered to work with ksh in SCO Unixware 7.1.1 is it correct?.
I used my Digital Unix .cshrc file and it didnt helped...
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6449885
csh is ok :-)
What's prefered on Unixware doesn't matter: this is UNIX, and so the user's choice .
Any .cshrc should work (some errors just may occour if it is a .cshrc designed for tcsh).
I assume that you have a variable setting for prompt in your .cshrc which causes the strange behaviour, please check.

In csh you cannot use up, down, etc. keys, except you manage to define an alias (woulod be hard).
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:frida_harush
ID: 6449912
I have UNIX (not UNIXWare) systems where all the keys work correctly (including the up and down keys).
I looked at "stty" command in Unix, but I didn't find any part about "up" and 'doun" keys.
is there a key mapping by "stty"?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6450018
traditional (AT&T, Sun) csh does not support these keys. Dot. Probably you have a UNIX systems which uses tcsh as csh (symbolic link) like Linux.
You might map the keys using loadkeymap, would be hard :-(
0
 
LVL 3

Expert Comment

by:mrn060900
ID: 6698667
try setting

ksh
TERM=vt100;export TERM

then try the cursor keys...

or you could try using

h j k l .... the real mans cursor keys ;-)

Regards Mike
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question