Leopard Terminal.app no longer supports A…
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I print my email using pine's "attached-to-ansi" option, which used to work great in Tiger with Terminal.app. It no longer works in Leopard. It also breaks things like the "ansiprt" Unix command.
This is a start/stop escape sequence that diverts text between the start/stop sequences to the printer. See
http://www.termsys.demon.co.uk/vtansi.htm as a reference.
Is there some Terminal.app setting I need to use to enable this? Some specific terminal type perhaps?
Suggesting that I use enscript or other techniques don't work, as I use the Terminal to ssh into my mail server, then run pine on the mail server.
Anyway, any idea how to get this very desirable feature back?
Thanks,
-John
11 replies
Sign in or join Beachball Help to reply.
- 0
Bill Scott ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
There were some subtle changes to the unix underpinnings in 10.5. I don't really follow what you are asking about. I do read email with pine, and maybe could try to reproduce the problem. Could you give explicit directions?
Does it work with xterm, iterm, or other terminal.app alternatives? I suspect it might be a bash shell level problem. Can you use zsh?
- 0
etresoft ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
John Kelso wrote:
Is there some Terminal.app setting I need to use to enable this? Some specific terminal type perhaps?Terminal >Preferences > Settings > Advanced > Escape non-ASCII output
There are several other Terminal settings that could affect this behavior as well.
Suggesting that I use enscript or other techniques don't work, as I use the Terminal to ssh into my mail server, then run pine on the mail server.
Actually enscript seems like a clever solution. Could you explain more about that and how it doesn't work?
- 0
John Kelso ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
HI,
I tried to set "Escape non-ASCII input" without any change. I didn't see an option to change "Escape non-ASCII output". I tried a few other things without success either using a different terminal type and so forth. I looked in the .term file and didn't see anything text related to ANSI or ASCII or escape.
If I change a Terminal preference do I need to quit and restart Terminal to test the change, or does the change take place as soon as I change it in the menu? I tried quitting and restarting after checking "Escape non-ASCII input" and when I restart the box was unchecked. I couldn't find a "save preferences option either.
In Tiger, my terminal type was xterm-color- same in Leopard. I had checked off "Escape non-ASCII characters" under Tiger.
Here's exactly what I do, *which used to work in Leopard*.
I run Terminal.app on my MacBook, and ssh to a mail server. On the mail server, I run the pine command to read my mail. Pine has an option to print email using ASCII escape sequences. Terminal.app sees these escape sequences and diverts the text to the default printer on my MacBook.
Under Leopard, the Terminal doesn't catch the ANSI escape code, and just spews the text to the terminal window. Nothing has changed on the mail server side. I;m using the sane ssh command.
Enscript won't work, as the printer connected to the mail server is often as not in a different state than my MacBook.
Not all terminal emulators support the ANSI print escape sequences. Terminal didn't before Tiger, if I remember correctly. I used to use a very nice terminal emulator called Data Comet which did it.
ANSI printing used to be a fairly common way to print to a local printer connected to via a parallel cable. Besides pine, the Unix command ansiprt
http://kb.iu.edu/data/abye.html could be used to print remote files on the local printer. Some terminal emulator programs used the idea to hook the ANSI escape sequence to the printing system, extending the functionality to use any printer accessible by the local system.Thanks again for all your help. I hope I've clarified what I'm trying to do.
-John
- 0
etresoft ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
It sounds like you've found a bug in Leopard. I filed a bug with the Apple Bug Reporter and referenced this thread. I even tried using a simple program to print locally without using ssh and many other terminal settings. Still no luck.
- 0
John Kelso ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks!
Is there a way to track this bug, so see if they fix it or have a workaround? I assume they know how to contact me if they need more information.
-John
- 0
Bill Scott ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Wow, I never knew you could do that. I just tried it with iTerm and it worked great without me having to touch any setting. So I guess at the very worst you could try that.
Edit:
Interesting. Failed silently with Terminal.app.
So my suggested solution is to use iTerm, which is free and IMO better.
Message was edited by: Bill Scott
- 0
John Kelso ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi,
I did try iTerm, and had to let it go, in spite of liking some of its features.
The two problems I had were:
1) When using emacs, the screen kept getting badly trashed. It was basically unusable.
2) I couldn't figure out how to use the mouse to send cursor positioning commands. The iTerm list suggested there was a way to do it, but I never got specific directions on how to do it. As item 1 was a deal-breaker, this wasn't all that important.
That said, maybe they've fixed some of these issues, so I'll try it again.
Thanks,
-John
- 0
- 0
etresoft ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Actually, the bug is under my account and they would contact me if they needed further information. I did include a link to this thread in my bug report, so they could track you down if there were so inclined, but they probably won't.
I thought about this before I filed the bug. Should I just file the bug since I looked at it and was able to isolate ssh out of the issue? Or should I just post a link to the Apple Bug Reporter? Usually in these cases I just file the bug myself. I'm a software developer myself so I'm used to doing that. You need a developer account in order to access the bug reporter system. An account is free, but might be considered a hassle to create. So I apologize if you would have rather filed the bug yourself. I took a guess that you wouldn't want the hassle.
Most of the bugs I have filed have been duplicates. I usually never hear anything back other than a note that says someone else found the bug first. A few days after 10.5 came out, I got an e-mail saying several of my bugs were considered fixed and asking me to verify that - which I did. I have gotten a couple of personal responses back asking for more information, so someone at Apple really does read bug reports.
- 0
Bill Scott ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
The NFS bug you suggested I file got turned into 3 separate ones, if you are keeping score. I can't speak for Lyle's brother, but in my case I would have been very grateful for your insight. FWIW it appears to be specific to Terminal.app, since it works right in iTerm.
- 0
etresoft ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Unfortunately, NFS is a lot harder to test out than this was. First of all, you need another machine 🙂
But this is why I hang around here. I had no idea you could do something like this. While I'll probably never need it on my Mac, I may very well need it in other venues and I'm glad to have learned about it.