Reverse Colours for Terminal and Edit on NeXTSTEP 3.3

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: pTeK on April 19, 2022, 05:02:04 AM
Hi,

 How do I reverse the colours on Terminal or Edit so I can have white text on black background, on NetBSD I would use "xterm -rv &" on "twm".

 Thanks in advance.
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: nuss on April 19, 2022, 12:23:38 PM
No option in Terminal known, but please have a look into Stuart.app (no idea why the wrong link is added to the word!). It has settings for "italic", "underline" and also mentions "invert" in the preferences. Could not find how to apply "invert" to fonts, though.
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: pTeK on April 22, 2022, 06:26:33 PM
Thanks Nuss for your reply.

 I was looking in the File archive of nextcomputers.org and could not find stuart.app in the /NeXTfiles/Software/NEXTSTEP/Apps/Text/

 I also used on google.com "site: nextcomputers.org stuart" and could not find the app you are reffering too.
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: nuss on April 23, 2022, 06:04:19 AM
Sorry @pTeK, thought Stuart.app is simply available at nextcomputer.org, as it was quite popular replacement for Terminal.app back in the 90s.

You can find its latest version here:

https://ftp.nice.ch/pub/next/tools/workspace/Stuart.2.6.3.NIHS.b.tar.gz
https://ftp.nice.ch/pub/next/tools/workspace/_Stuart.2.6.1.README.html

Or on the Peanuts Update CD as NEXTSTEP/tools/workspace/Stuart.2.6.3.NIHS.b.tar.gz
http://www.nextcomputers.org/NeXTfiles/Software/Peanuts/ISO/Peanuts-U.iso

Remark: I am not so sure about the license situation, as Stuart is (feature unrestricted) Shareware and for sure not supported any more.

Cheers, Nuss
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: pTeK on April 27, 2022, 04:46:22 AM
Quote from: nuss on April 23, 2022, 06:04:19 AMSorry @pTeK, thought Stuart.app is simply available at nextcomputer.org, as it was quite popular replacement for Terminal.app back in the 90s.

You can find its latest version here:

https://ftp.nice.ch/pub/next/tools/workspace/Stuart.2.6.3.NIHS.b.tar.gz
https://ftp.nice.ch/pub/next/tools/workspace/_Stuart.2.6.1.README.html

Or on the Peanuts Update CD as NEXTSTEP/tools/workspace/Stuart.2.6.3.NIHS.b.tar.gz
http://www.nextcomputers.org/NeXTfiles/Software/Peanuts/ISO/Peanuts-U.iso

Remark: I am not so sure about the license situation, as Stuart is (feature unrestricted) Shareware and for sure not supported any more.

Cheers, Nuss
Thanks for that site link, there seems to be plenty of interesting utilites on that site.
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: crimsonRE on April 30, 2022, 07:32:06 AM
Well, one can set the colors for both the text and the background from Info -> Preferences -> Colors within Terminal. And can set those as either the default or for that particular Terminal window...

Oh, and dig around for info on the 'defaults database' of variables for applications (or globally), and see dwrite(1) and dread(1). I don't remember how to find out the names of all possible variables available (maybe from the NIB for an app?). dwrite(1) notes that you're able to pass values to the program from the command line, the example being 'Edit -NXFont Courier'
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: crimsonRE on April 30, 2022, 08:23:38 AM
And, yes, https://ftp.nice.ch is quite a nice site - which is why it is included in the list within the 'Directory of NS/OS Software Archives' sticky post at the top of this forum!
Happy hacking with NextStep!
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: pTeK on May 07, 2022, 05:05:12 AM
Quote from: crimsonRE on April 30, 2022, 07:32:06 AMWell, one can set the colors for both the text and the background from Info -> Preferences -> Colors within Terminal. And can set those as either the default or for that particular Terminal window...
As a Noob finally figured out how to do that today and wondering why I wasn't having much luck before. You select the colour black and drag it to the terminal window, then select the colour white/green and drag it to the terminal font.

I didn't know that, now to save that as default.
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: pTeK on June 09, 2023, 08:02:54 PM
Quote from: crimsonRE on April 30, 2022, 07:32:06 AMWell, one can set the colors for both the text and the background from Info -> Preferences -> Colors within Terminal. And can set those as either the default or for that particular Terminal window...

Oh, and dig around for info on the 'defaults database' of variables for applications (or globally), and see dwrite(1) and dread(1). I don't remember how to find out the names of all possible variables available (maybe from the NIB for an app?). dwrite(1) notes that you're able to pass values to the program from the command line, the example being 'Edit -NXFont Courier'

 I've managed to save a config, so that whenever I run the terminal.app the first copy runs with a black bg and white fg, but any subsequent copies are run as the default white bg, black fg unless I keep reloading the preferences file to open a new shell, which slows down the flow.

 I'll investigate this dwrite(1) and dread(1), How is your terminal.app setup?
Title: Re: Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: crimsonRE on June 11, 2023, 08:31:30 PM
To set the colors within the 'Colors' panel of the Terminal Preferences, click on the frame around each selection (e.g., to the left of 'Background', for instance). This will bring up the general NextStep Colors window - just set the color using your preferred color model within that. Now hit the 'Set Default' button, and it should be saved. Now every Terminal window you start should have the color set you've chosen...

This is a tip on pg. 11 of the 'Power Tips' booklet, part of the actual paper set of NextStep manuals. Oddly, I do not see this in 'Working With Color', Chapter 10 of the NS User's Guide...
Title: (SOLVED) Reverse Colours for Terminal and Edit on NeXTSTEP 3.3
Post by: pTeK on June 12, 2023, 02:36:03 PM
Thanks @crimsonRE This problem has now been solved. As for the part
Quote from: crimsonRE on June 11, 2023, 08:31:30 PMThis is a tip on pg. 11 of the 'Power Tips' booklet, part of the actual paper set of NextStep manuals. Oddly, I do not see this in 'Working With Color', Chapter 10 of the NS User's Guide...
The NextStep manuals did not come with my copies of NS/OS  ::) but I do have most of the documentation in .pdf format which I've had to go through every now and then. I should read them a few more times. I think the last time I read the manual was trying to find where /NextAdmin/Installer.app/Installer saved its bom file for removing the package when no longer needed (/NextLibrary/..) Definitely do want a hard copy though, when I get some more $$$, postage will be very expensive.

Admin: How do I change my thread title to add (SOLVED) ??

Go to top  Forum index