On 2020-07-02 04:06, Tony Nicholson wrote:

On Thu, Jul 2, 2020 at 11:24 AM James W. Laferriere <bab...@baby-dragons.com <mailto:bab...@baby-dragons.com>> wrote:

             Hello Bob ,

    On Wed, 1 Jul 2020, Bob Eager wrote:
     > xterm works extremely well if set up right.

             Following up on your note above ,  Would You or someone
    please post a
    URL for the proper setup of xterm to emulate say a vt240/vt340/...
    (ie: a color
    enabled terminal) ?
             Or even the equivalent DecTerm color output ...

xterm by default understands colors using the ANSI sequences that were eventually defined for this. Even when you are pretending to be a VT100.

                     Tia ,  JimL


Jim,

For xterm, these are the .Xdefaults entries I have on my Mac Mini -

[...]

And it's worth pointing out that these are X resources. Just placing them in a file does not by itself make them apply. You might have some components run when you start that would load these resources, but then again they might not. You can always load such resources by hand, by giving "xrdb -load <file>"

My resources looks like this:

*.vt100.decTerminalID: 220
*.vt100.c132: true
*.vt100.saveLines: 1000
*.ptyInitialErase: true
*.backarrowKeyIsErase: true
*.backarrowKey: false
*.sunKeyboard: true
*.rightScrollBar: true

xterm.vt100.activeIcon: false
xterm.vt100.multiScroll: true

local.utmpInhibit: false
local.title: Terminal
local.vt100.loginShell: false
local.vt100.scrollBar: true

remote.utmpInhibit: false
remote.title: Terminal
remote.vt100.loginShell: true
remote.vt100.scrollBar: true

xunix.utmpInhibit: true
xunix.title: Xunix terminal
xunix.vt100.loginShell: false
xunix.vt100.scrollBar: true

rsx.utmpInhibit: true
rsx.title: RSX terminal
rsx.vt100.loginShell: false
rsx.vt100.scrollBar: true
rsx.sunKeyboard: true

vms.utmpInhibit: true
vms.title: VMS terminal
vms.vt100.loginShell: false
vms.vt100.scrollBar: true

And this is what I use on my MAC. And then I start xterm with:

xterm +sf +sp -aw -ut -132 -ti vt220 -sb -sl 500 -name rsx &

Which then uses the resources named rsx.*
And wildcard matching means that things that start with *... are of course applicable, but later entries override the earlier ones, if applicable. (And yes, I have some duplication of information and it could be cleaned up some. The file have evolved over 30 years...)

  Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: b...@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to