- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to type @
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 12:32 PM
06-03-2002 12:32 PM
When i triy to type @ ,it will clears the entire line,if any one knows which environment setting it will greatly app.
HP 11i rp 2450,patches to latest.
If i type # it will clear one character.
Thanks
-VB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 12:36 PM
06-03-2002 12:36 PM
Re: Unable to type @
to type @ type cntrl v + @ this will not take you to the start of the line .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 12:39 PM
06-03-2002 12:39 PM
Re: Unable to type @
if [ -t 0 ]
then
stty kill '^X'
fi
Man stty for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 12:41 PM
06-03-2002 12:41 PM
Re: Unable to type @
type in:
stty -a
and report back what kill and erase are set to.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 12:41 PM
06-03-2002 12:41 PM
Re: Unable to type @
Try typing:
stty sane
and see if that helps.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 01:06 PM
06-03-2002 01:06 PM
Re: Unable to type @
eval `ttytype -s`
NOTE the grave or back quote, not forward single quote!
This requests the terminal type and attempts to set up the correct comms settings for that tye of terminal.
Then do:
tset
Now see if it is ok. If not, you will have to check your stty settings, and in your login profile nmaje the appropriate changes to ensure they get set coorectly when logging in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2002 02:56 PM
06-03-2002 02:56 PM
Re: Unable to type @
1)to type @ type cntrl v + @ this will not take you to the start of the line
I can't type like that ctl v+shift 2(for @)
I am using bash
stty -a gives
intr = DEL; quit = ^\; erase = ^H; kill = @
2)stty sane
does n't work(@ still clear line)
3)eval `ttytype -s`
tset also does not work ,but it set kill to ^j
same as above
One thing i am not able to type ctrl X
Thanks
-VB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 12:57 AM
06-04-2002 12:57 AM
Re: Unable to type @
stty kill '^X'
I.e.: single (forward) quote ('), carrot (^), X and a closing single(forward) quote (').
As far as I know, most HP setups (see for example the sample /usr/newconfig/.profile file) use Ctrl-U, i.e.:
stty kill '^U'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 03:27 AM
06-04-2002 03:27 AM
Re: Unable to type @

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 03:46 AM
06-04-2002 03:46 AM
Re: Unable to type @
You need to change intr and kill:
stty intr ^C
stty kill ^U
To get the
^C
hold the control key down (ctrl-v) and press
v
then (while still holding the control key down - ctrl-c) press
c
Then do the same for
^U
stty kill (CTRL)v(CTRL)u
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 03:55 AM
06-04-2002 03:55 AM
Re: Unable to type @
> If c is preceded by an (escaped from the
> shell) circumflex (^), the value used is the
> corresponding control character (for example
> ^d represents Ctrl-d); ^? is interpreted as
> DEL and ^- is interpreted as undefined.
And the specific example:
> EXAMPLES
> The command:
>
> stty kill '^X' intr '^C'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 04:16 AM
06-04-2002 04:16 AM
SolutionSo if you are using a graphics environment, this is likely the case--you are inheriting the standard hard-copy (as in teletype) settings and these need to be overridden. The standard HP-UX .profile will handle this as you login (using the POSIX shell). You can test this by simply running this .profile in source mode:
$ . ./.profile
Note the isolated dot prior to .profile as this is the secret to making settings stick in the current shell. For other shells, add these lines to the default startup file:
/sbin/stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff
/sbin/stty susp \^Z dsusp \^Y
These will set the 'standard' control keys. Be sure to put these lines into your shell's standard startup profile *and* configure the shell to run this script. In CDE, .profile is *NOT* run by default, read the last lines in $HOME/.dtprofile and follow the advice. Be sure to test that your profile is actually getting read. Also make sure that your $TERM is getting set correctly in your profile:
eval $(/sbin/ttytype -s)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2002 08:54 AM
06-04-2002 08:54 AM
Re: Unable to type @
-VB