开发者

Numeric keys not working in Bash Terminal (MacBook Pro)

I'm trying to push a rails app to my remote Heroku repository from a MacBook Pro using the Bash Terminal.

The remote repository address contains numeric characters which are stripped out as soon as I copy/paste "git@heroku.com:app-name-[numbers].git". If I try to type the n开发者_高级运维umbers in manually, the comp just beeps.

Really stuck on this one!


You've got a terminal setup problem. First thing to try is simply to close down the terminal and restart; that'll be a fresh session.

If that doesn't work, carefully type the following

stty sane^J

or

^Jreset^J

to set it to something normal.

It sounds as if you're getting characters echoed at least, so that may be easy. The ^J characters are LINEFEED, which is the actual ASCII character used for newline in UNIX-based systems.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜