-1

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.

closed as unclear what you're asking by Thomas Dickey, HalosGhost, Jeff Schaller, techraf, GAD3R Oct 24 '16 at 23:11

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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
  • 1
    Possible duplicate of Hash symbol on a teletype – Thomas Dickey Oct 24 '16 at 22:34
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 @
  • 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. – roaima Oct 24 '16 at 13:24
  • Great answer. I didn't couldn't figure out what the question was about! – maulinglawns Oct 24 '16 at 15:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.