On Sun, Aug 13, 2000, Yaron Zabary wrote about "Re: [OT] HP-UX and vi":
> On Sun, 13 Aug 2000, Alexander Indenbaum wrote:
>
> > Hello!
> >
> > I have strange problem with vi under HP-UX.
> > For example '#' sign could not be typed nor pasted.
> >
> > What do you think?
>
> Check with stty. Some old SysV use # as del. Just add the appropriate
> stty erase command to your .cshrc/.profile .
That ("#" as the erase character) was true around 1980, especially before
CRT terminals were common (they were already common by 1980) :) I've never
seen it anywere in the last decade... But who knows...
Quoting Kernighan & Pike's "The Unix Programming Environment" (published in
1984, mind you, before System V was released if I remember correctly), says:
"The sharp character # erases the last character typed; each # erases
one more character, back to the beginning of the line (but not
beyond).... The particular erase and line kill characters are very
system dependent. On many systems (including the one we use), the
erase character has been changed to backspace, which works nicely on
video terminals."
Anyway, Alexander, if Yaron's guess turns out incorrect, maybe it would be
easier to answer your question if you can explain what "could not be typed nor
pasted" means. What happens when you type "#"? Does it print anything? Does
it act like a backspace? Does anything else seems to happen? Try running "xev"
and see if the "#" (shift-3? Or do you have a seperate key?) key does anything
at all?
--
Nadav Har'El | Sunday, Aug 13 2000, 12 Av 5760
[EMAIL PROTECTED] |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Just remember that if the world didn't
http://nadav.harel.org.il |suck, we would all fall off.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]