Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remove the scrollbar but not the buffer from Terminal Apps
Coming from a Linux background, I miss having a terminal window that had a buffer but did not display a scrollbar. Terminal previously would not allow you to have one without the other.

While setting up a special terminal window, I noticed that the .term files have a separate entry for the scrollbar and the buffer. While the GUI combines these, you can go into the .term file itself and turn off the scroll bar and keep the buffer!

[robg adds: To make this work, first you'll need to create a saved Terminal using File -> Save. Hopefully it saves in the default location (your user's Library -> Application Support -> Terminal folder). This allows the saved Terminal to be used from the File -> Library menu. Regardless of where it's saved, once you have a saved Terminal, open it in your favorite editor and search for:

<key>Scrollbar</key>
<string>YES</string>
Change the YES to NO, save the file, and then open it in Terminal. You should now have a window with scrollback but without the scrollbar.]
    •    
  • Currently 2.67 / 5
  You rated: 2 / 5 (6 votes cast)
 
[21,004 views]  

Remove the scrollbar but not the buffer from Terminal | 11 comments | Create New Account
Click here to return to the 'Remove the scrollbar but not the buffer from Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remove the scrollbar but not the buffer from Terminal
Authored by: cubixe on Nov 26, '03 02:28:51PM

I did not have a "Scrollbar" key, but I added one immediately after "Scrollback" and it worked fine.



[ Reply to This | # ]
Doesn't work for new terminal windows
Authored by: cstuder on Nov 26, '03 06:40:45PM

Hmm, looks like a nice little hack but it doesn't work completely for me.

I modified the .term and used it as the default .term to be launched at the start of the Terminal.app. Unfortunately if I open further terminal windows, the file is being ignored... Any workaround for that?

Bye,
christian



[ Reply to This | # ]
Doesn't work for new terminal windows
Authored by: unixjanitor on Nov 26, '03 07:34:38PM

Go to File->Open, select the .term file, then go to Show Info (Command-i), then click the "Use Setting as Default" bottom at the bottom of the window, now all terminal windows will open without a scroll bar, even after quiting and restarting Terminal.

Jeff

---
--
let idealism guide your journey
let pragmatism guide your footsteps



[ Reply to This | # ]
Doesn't work for new terminal windows
Authored by: jayd on Nov 27, '03 07:57:22PM

it also seems to work to launch the patched Terminal, then say File -> Use Settings as Defaults. Very cool.



[ Reply to This | # ]
Remove the scrollbar but not the buffer from Terminal
Authored by: cilly on Nov 27, '03 10:18:50AM

Well, not only the scrollbar has gone but also the title bar displays only the window-size.
It seems if the scrollbar-key value is set to NO, the window title bits are ignored.

---
cilly @ http://www.cilly.dyndns.org/

[ Reply to This | # ]

Another way
Authored by: gnix on Nov 27, '03 10:56:13AM

You can also set this in the terminal defaults, only snag is that Terminal can't be running when you do so, or it resets the default to yes.

First quit Terminal.app

Then edit ~/Library/Preferences/com.apple.Terminal.plist file in TextEdit or another gui editor as described for the .term file

Or, if you have X11 installed, open an xterm and type the following command:

    $ defaults write com.apple.terminal Scrollbar NO

Then launch terminal and see the change



[ Reply to This | # ]
Remove the scrollbar but not the buffer from Terminal
Authored by: EatingPie on Nov 28, '03 02:30:45PM

Okay, dumb question...

How do you you look at the scrollback buffer without a scrollbar?

---
-Pie
<http://www.storybytes.com>



[ Reply to This | # ]
Remove the scrollbar but not the buffer from Terminal
Authored by: sjmills on Nov 30, '03 12:03:42AM
I'm guessing by using page up/down. I think the better question is; why would you not want the scrollbar? If you use command-f, sometimes it's nice to know which item has been found by simply looking at the position of the thumb in the scrollbar.

[ Reply to This | # ]
Remove the scrollbar but not the buffer from Terminal
Authored by: milkfilk on Jan 27, '04 10:35:45PM
It is page up / page down. To answer the previous reply: "Why would you want to remove the scrollbar?"

1. Xterm does it, Gnome terminal does it, Solaris dtterm does it. People get used to it? *shrug*

2. Some call it "The One True Way". Maybe you stare at your computer all day. Should it not look nice? You clean your house right?

3. Because it's there? :)

[ Reply to This | # ]
Remove the scrollbar but not the buffer from Terminal
Authored by: hj45lp on Nov 12, '07 12:37:11AM

Hi,

this does not work anymore in Leopard. Any idea what to do?

Thanks!

Thomas



[ Reply to This | # ]
Remove the scrollbar but not the buffer from Terminal
Authored by: waltimo on Nov 27, '07 04:37:45AM

Same here. Not working anymore with Leopard :(

Any suggestions?

:.:.:



[ Reply to This | # ]