I want to see the functioning of # and @ in unix terminal but my terminal isnt able to use them and it just treats them as normal characters. Is there any online compiler where i can see their working. I have already tried some online compilers: http://www.freelinuxconsole.info/terminal/, https://www.tutorialspoint.com/powershell_terminal_online.php but nothing works here too. Please help.
Asked
Active
Viewed 753 times
-1
-
Your question is bad elaborared, and I can't understand what's your problem. And please, add an example. – Willian Paixao Oct 24 '16 at 12:35
-
I want to see the working of # character which functions as backspace and @ which functions as line clear in my terminal but my terminal doesnt detect them as special character. I want to know if there is any way to verify their working. – Ayush N Oct 24 '16 at 12:59
-
1Possible duplicate of Hash symbol on a teletype – Thomas Dickey Oct 24 '16 at 22:34
1 Answers
5
Have you been reading some old book on Unix? These characters were used back in the old days of paper terminals, say some 35+ years ago. If you want to use them, you'll have to reconfigure the erase and kill characters with the stty
command:
stty erase \#
stty kill @

Johan Myréen
- 13,168
-
Yes i am reading UPE by kernighan and pike and Thanks(as my upvote cant be seen ) – Ayush N Oct 24 '16 at 13:16
-
@AyushN if this answer works for you please remember to accept it with the tickmark on its left-hand side. – Chris Davies Oct 24 '16 at 13:24
-