Discussion:
mode oddity
(too old to reply)
Steve Wendt
2007-08-15 05:30:48 UTC
Permalink
Here's a weird one: in a VIO window, run "mode 0,50"
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
Baden Kudrenecky
2007-08-15 14:33:02 UTC
Permalink
Post by Steve Wendt
Here's a weird one: in a VIO window, run "mode 0,50"
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
I got:

SYS1633: The MODE parameter 0 is incorrect.

-----------------------------------------------------------
Let Ignorance and Intolerance Rule!

Baden Kudrenecky
***@baden.nu
http://baden.nu/
-----------------------------------------------------------
Paul Ratcliffe
2007-08-15 15:55:40 UTC
Permalink
Post by Steve Wendt
Here's a weird one: in a VIO window, run "mode 0,50"
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
Bright green text on a black bakground which overrides even my ANSI prompt
string.
Is this a teletype VDU mode thing for old timers? All we need now is a WAV
of an ASR33 for an even more full experience of yesteryear.
Ilya Zakharevich
2007-08-15 16:27:42 UTC
Permalink
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Paul Ratcliffe
Post by Paul Ratcliffe
Post by Steve Wendt
Here's a weird one: in a VIO window, run "mode 0,50"
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
Bright green text on a black bakground which overrides even my ANSI prompt
string.
... You did not notice, or is it not present on your system: the text
typed at the prompt is black on white background? But the output of
executed commands is the same as the prompt...

Puzzled,
Ilya
Ilya Zakharevich
2007-08-15 16:33:20 UTC
Permalink
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Ilya Zakharevich
Post by Ilya Zakharevich
Post by Paul Ratcliffe
Post by Steve Wendt
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
Bright green text on a black bakground which overrides even my ANSI prompt
string.
... You did not notice, or is it not present on your system: the text
typed at the prompt is black on white background? But the output of
executed commands is the same as the prompt...
Aha, can't reproduce this on cmd.exe; but it happens with 4os2.
Running a program which (usually) shows ANSI-colored output before
doing `mode' disables the tint; but if run after `mode', the
ANSI-colors are not shown, and the tint disappears too...

Ilya
Steven Levine
2007-08-15 17:46:07 UTC
Permalink
.... You did not notice, or is it not present on your system: the text
typed at the prompt is black on white background? But the output of
executed commands is the same as the prompt...
Very cute. The output seems to vary depending on the current VIO window
setup and perhaps versions of cmd.exe or 4os2.exe.

I don't get the sys1633 here and I get colored text for anything I type.

Also, if I issue cls black on white in 4os2 before the mode command, this
seems to suppress the color change.

Once the color change occurs, nothing I do seems to reset the effect other
than an valid mode co80,25 or similar. The 4OS2 cls command can no longer
control the colors.

Steven
--
--------------------------------------------------------------------------------------------
Steven Levine <***@earthlink.bogus.net> MR2/ICE 3.00 beta 08pre #10183
eCS/Warp/DIY/14.103a_W4 www.scoug.com irc.ca.webbnet.info #scoug (Wed 7pm PST)
--------------------------------------------------------------------------------------------
Jan van Wijk
2007-08-16 08:20:09 UTC
Permalink
Post by Steven Levine
.... You did not notice, or is it not present on your system: the text
typed at the prompt is black on white background? But the output of
executed commands is the same as the prompt...
Indeed that is what I see (using CMD.EXE)

Using DFSee is that mode is, eh ... interesting :-)

I also noted that if you do a regular "mode 88,34" or so AFTER the mode 0,
it keeps the weird color settings. A "mode co80" does reset it.

After a "Mode 3" any other mode command seems to reset it.
(I get cyan on black that way BTW, may depend on the prompt string)
Post by Steven Levine
Very cute. The output seems to vary depending on the current VIO window
setup and perhaps versions of cmd.exe or 4os2.exe.
I don't get the sys1633 here and I get colored text for anything I type.
I don't see those either ...

Regards, JvW
--
Jan van Wijk; Author of DFSee: http://www.dfsee.com
Paul Ratcliffe
2007-08-15 17:16:53 UTC
Permalink
On Wed, 15 Aug 2007 16:27:42 +0000 (UTC), Ilya Zakharevich
Post by Ilya Zakharevich
Post by Paul Ratcliffe
Post by Steve Wendt
Here's a weird one: in a VIO window, run "mode 0,50"
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
Bright green text on a black bakground which overrides even my ANSI prompt
string.
... You did not notice, or is it not present on your system: the text
typed at the prompt is black on white background? But the output of
executed commands is the same as the prompt...
No, the prompt, the commands and the output are all the same colour.
The same applies if I remove my ANSI prompt string first.
Mode 3 does something odd as well - turns off the background colour.
Perhaps the choice of colours are ANSI related as cyan and green are involved
in my prompt string, as is bright, but not bright green.
Peter Wadsack
2007-08-15 21:26:51 UTC
Permalink
On Wed, 15 Aug 2007 17:16:53 GMT, Paul Ratcliffe wrote:

:> On Wed, 15 Aug 2007 16:27:42 +0000 (UTC), Ilya Zakharevich
:> <nospam-***@ilyaz.org> wrote:
:>
:> >> > Here's a weird one: in a VIO window, run "mode 0,50"
:> >> > I meant to type "mode 80,50" and expected to get a SYS1633 for my
typo,
:> >> > but the result was a surprise. :)
:> >>
:> >> Bright green text on a black bakground which overrides even my ANSI
prompt
:> >> string.
:> >
:> > ... You did not notice, or is it not present on your system: the text
:> > typed at the prompt is black on white background? But the output of
:> > executed commands is the same as the prompt...
:>
:> No, the prompt, the commands and the output are all the same colour.
:> The same applies if I remove my ANSI prompt string first.
:> Mode 3 does something odd as well - turns off the background colour.
:> Perhaps the choice of colours are ANSI related as cyan and green are
involved
:> in my prompt string, as is bright, but not bright green.

here,

mode 0 gets the original IBM monitor bright green on black;
mode 3 gets white on black;

in both cases, it also does mode 80,25, ie, resizes the window.

Peter

*/------------------------------------------------------
Peter Wadsack <***@attglobal.net>
------------------------------------------------------*/
Rich Walsh
2007-08-15 23:11:58 UTC
Permalink
Post by Paul Ratcliffe
On Wed, 15 Aug 2007 16:27:42 +0000 (UTC), Ilya Zakharevich
Post by Ilya Zakharevich
Post by Paul Ratcliffe
Post by Steve Wendt
Here's a weird one: in a VIO window, run "mode 0,50"
I meant to type "mode 80,50" and expected to get a SYS1633 for my typo,
but the result was a surprise. :)
Bright green text on a black bakground which overrides even my ANSI prompt
string.
... You did not notice, or is it not present on your system: the text
typed at the prompt is black on white background? But the output of
executed commands is the same as the prompt...
No, the prompt, the commands and the output are all the same colour.
The same applies if I remove my ANSI prompt string first.
Mode 3 does something odd as well - turns off the background colour.
Perhaps the choice of colours are ANSI related as cyan and green are involved
in my prompt string, as is bright, but not bright green.
After using 'mode 0' or 'mode 3', try running 'lvm' from the prompt...
--
== == almost usable email address: rws AT e-vertise.com == ==
___________________________________________________________________
|
| Remote Workplace Server v0.80
Rich Walsh | interact with the WPS from any program
Ft Myers, FL | http://e-vertise.com/rws/rws080.zip
___________________________________________________________________
Loading...