terminal.app

Discovering remote Terminal for Terminal Escape Codes? (DECDHL in this case)

送分小仙女□ 提交于 2020-01-06 16:22:28
问题 I am trying to determine WHAT console I am running in. (Exceptionally hard based on the research I have done so far.) The latest feature that I discovered that would be useful is Double High, Double Wide for a couple of scenarios. The setup is a Kubuntu 15.04 machine with native (lower) and remote access via Terminal.app on OS X 10.10.4. Based on vt100.net Apple is doing the right thing. #!/bin/bash # Cool effect with OS X Terminal.app # Not as much on others (Like Konsole) function embiggen(

Discovering remote Terminal for Terminal Escape Codes? (DECDHL in this case)

本小妞迷上赌 提交于 2020-01-06 16:20:58
问题 I am trying to determine WHAT console I am running in. (Exceptionally hard based on the research I have done so far.) The latest feature that I discovered that would be useful is Double High, Double Wide for a couple of scenarios. The setup is a Kubuntu 15.04 machine with native (lower) and remote access via Terminal.app on OS X 10.10.4. Based on vt100.net Apple is doing the right thing. #!/bin/bash # Cool effect with OS X Terminal.app # Not as much on others (Like Konsole) function embiggen(

OSX: How can an application running in Terminal.app change the font size of its window?

喜夏-厌秋 提交于 2019-12-24 11:27:57
问题 How can an application running in a Terminal.app window change its window's font size? No solution (such as a system call to applescript, etc) too odd! 回答1: It's relatively simple to do this; the only real caveat is that you might need to adjust the window size if you want it to remain consistent with it's proportions, since the font size seems to affect it. Applescript called from Bash : #!/bin/bash osascript <<EOF tell application "System Events" tell process "Terminal" set frontmost to