Problem with typing @ in Unix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davidson1
    New Member
    • Feb 2008
    • 144

    Problem with typing @ in Unix

    Hi,

    If I type @ symbol in the unix , the cursor is moving to the place where I started typing, what I can do to resolve this problem.Thanks in Advance.
  • prn
    Recognized Expert Contributor
    • Apr 2007
    • 254

    #2
    Are you typing @ at the shell command prompt, in some application, where? What flavor of unix? What kind of terminal or emulator? (what do you get when you type the command "echo $TERM"?)

    Paul

    Comment

    • davidson1
      New Member
      • Feb 2008
      • 144

      #3
      It is shell script and if I type echo $TERM

      Comment

      • prn
        Recognized Expert Contributor
        • Apr 2007
        • 254

        #4
        davidson1 said:
        [blockquote]It is shell script and if I type echo $TERM[/blockquote]

        It looks like you don't plan to complete that sentence without prompting, so I'll ask. Do you mean that you are trying to create/edit a shell script? If so, what editor are you using? Or do you mean that you are trying to respond to a prompt from a shell script? If so, what are the relevant lines from the script? What method of reading input does it use? Which shell does it use? That is, what is the first line of the shell script?

        What happens if you type "echo $TERM" at the shell prompt? And what are you actually using as your terminal? Are you using a terminal emulator in a graphical user environment? Or are you using an actual terminal connected to the machine through a serial port? And what variety of unix are you using? What is the output of "uname -a"?

        Paul

        Comment

        • RedSon
          Recognized Expert Expert
          • Jan 2007
          • 4980

          #5
          I don't see an @ symbol in any of that shell script or echo $TERM. So like Paul I'm confused, where does the @ come into play?

          Dollars to doughnuts they are using SSH or something of that nature and their character encoding is all messed up.

          Comment

          • davidson1
            New Member
            • Feb 2008
            • 144

            #6
            HI,
            If I type "echo $TERM" then I get ansi.If I type "uname -a" then I get HP.I want to get mail when the shell script is invoked.

            Comment

            • prn
              Recognized Expert Contributor
              • Apr 2007
              • 254

              #7
              davidson1, you still have not answered the single most important question: Where are you typing the '@' symbol? You mentioned mail, but are you trying to type @ as part of the command line parameters of the shell script? Or is it in response to a prompt from the shell script?

              Paul

              Comment

              Working...