tps@chem.ucsd.edu (Tom Stockfisch) (08/31/89)
The "edge" debugger on our 4D20 presents windows with black letters on a
white background -- i.e., reverse video. Is there any way to get a
shell window that looks like this?
Also, when you run the editor from inside edge you get a window that is
not only reverse video, but also a larger font than is possible with
any of the font/size options on a normal shell window. Is there any way
to get *that* in a shell window?
Yours truly,
I. Strained
--
|| Tom Stockfisch, UCSD Chemistry tps@chem.ucsd.edu
goss@SNOW-WHITE.MERIT-TECH.COM (Mike Goss) (08/31/89)
Regarding the message: > Date: 31 Aug 89 01:43:36 GMT > From: Tom Stockfisch <chem.ucsd.edu!tps@ucsd.edu> > Organization: Chemistry Dept, UC San Diego > Subject: reverse video on 4D > Message-Id: <537@chem.ucsd.EDU> > > The "edge" debugger on our 4D20 presents windows with black letters on a > white background -- i.e., reverse video. Is there any way to get a > shell window that looks like this? > > Also, when you run the editor from inside edge you get a window that is > not only reverse video, but also a larger font than is possible with > any of the font/size options on a normal shell window. Is there any way > to get *that* in a shell window? You can change colors in a shell window with the command "textcolors"; the four parameters are the foreground, background, highlight, and cursor colors (not necessarily in that order; see the manual page). Wsh also allows you to specify a font and colors when you start up a shell window. You can find the fonts available in directory /usr/NeWS/fonts; leave off the file extension. You can also specify window position on the screen, and window size (there are terminfo entries for 24 line, 40 line, and 66 line windows). See the wsh(1) manual page for more details. ------------------------------ Mike Goss Merit Technology Inc. (214)733-7018 goss@snow-white.merit-tech.com
moss@BRL.MIL ("Gary S. Moss", VLD/VMB) (08/31/89)
Tom, The manual page for 'wsh' explains how to set up colors and fonts. -moss
fsfacca@LERC08.LERC.NASA.GOV (Tony Facca) (08/31/89)
Tom Stockfisch <chem.ucsd.edu!tps@ucsd.edu> writes: > The "edge" debugger on our 4D20 presents windows with black letters on a > white background -- i.e., reverse video. Is there any way to get a > shell window that looks like this? > > Also, when you run the editor from inside edge you get a window that is > not only reverse video, but also a larger font than is possible with > any of the font/size options on a normal shell window. Is there any way > to get *that* in a shell window? try: wsh -C 0,7,0,0 -fCourier.16 Or, build it into your user.ps file: . . /RestartActions [ . . { (wsh -n c_shell -C 0,7,0,0 -fCourier.16) forkunix } . . ] def . . (c_shell) 165 150 preforigin . . -- ----------------------------------------------------------------------------- Tony Facca | phone: 216-433-8318 NASA Lewis Research Center | Cleveland, Ohio 44135 | email: fsfacca@lerc08.lerc.nasa.gov -----------------------------------------------------------------------------
ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) (09/01/89)
In article <537@chem.ucsd.EDU>, tps@chem.ucsd.edu (Tom Stockfisch) writes: > The "edge" debugger on our 4D20 presents windows with black letters on a > white background -- i.e., reverse video. Is there any way to get a > shell window that looks like this? > Yes, you can use the wsh command with the -C option. Try "man wsh" to for information on the options. The -C command lets you pick colors from the system color map to use for the text color, page color, highlight color and cursor color. You might try using showmap to display the default color map and using cedit to "point" at the colors you like to get their color index number which is required for specifying the color on the -C command line. To use cedit to point a colors in the color map, you must first move the cursor into the cedit window, to activate the input focus (banner highlight comes on in the window border). Then hold down any key to maintain input focus for cedit. You can move the cursor around with the mouse and point at any color you are interested in. cedit won't register RGB colors on the screen, only color index colors. You can read the color index off the cedit window. > > Also, when you run the editor from inside edge you get a window that is > not only reverse video, but also a larger font than is possible with > any of the font/size options on a normal shell window. Is there any way > to get *that* in a shell window? > When the cursor is over the wsh (shell window), the right mouse button should give a "font->" selection. If you pull right over that selection, you will see, at the bottom of the list of fonts, another selection "points->" which contains a wide variety of point sizes. By picking a font and point size combination, you should be able to acheive a large font to your taste. wsh also, has a -f option for specifying a font and point size. As an added bonus, we'll throw in this ginsu knife, er ... uh ... toolchest. I have my own default set of windows I like to deal with. For this, I created a Shells chest that I use for picking shell windows. It is an exercise for the reader to modify it to their liking. ----- shellschest ------------------------------------------------------------- #! /usr/sbin/psh /forkwsh { % args => - (wsh -r1000 -m66x132 -fCourier.11 -C0,7,1,2 ) exch append forkunix } def /Shells [ (60x80) (40x80) (24x80) (60x132) (40x132) ] [ { currentkey (-s) exch append forkwsh } ] (Shells) /new ToolChest send def ----- shellschest ------------------------------------------------------------- Cut out the above file and save it in shellschest. chmod +x shellschest. When you execute shellschest, it will put up a toolchest similar to the "Windows" chest and "Tools" chest. See the windowchest manual page for how to add this to your user.ps RestartActions. -- ------------------------------------------------------------------------------- Cosmo Ciemo, Silicon Valley Dude I was traipsing through the fields of my mind when I stepped in something that smelled rather ripe. -------------------------------------------------------------------------------