* Re: VT420 quirks
2000-02-08 5:00 VT420 quirks Derek Konigsberg
@ 2000-02-09 5:00 ` gboulton
2000-02-09 5:00 ` Derek Konigsberg
2000-02-09 5:00 ` Alex van Denzel
2000-02-12 5:00 ` Jonas Bevren
2 siblings, 1 reply; 12+ messages in thread
From: gboulton @ 2000-02-09 5:00 UTC (permalink / raw)
In comp.sys.dec Derek Konigsberg <konigd@rpi.edu> wrote:
> I recently got ahold of some VT420 terminals and have them hooked
> up to a machine running Linux. I'm having an annoying problem,
> however, and I think it has to do with flow control. When using no
> flow control (or hardware flow control, which seems as good as none),
> I get garbage characters when viewing large quantities of scrolling
> text. (like over-sized "?" and such) With "XOFF at 64" toggled on,
> however, the problem mostly goes away (you don't see it very often,
> except once in a while in some programs). However, as a side-effect,
> ^Q's pop up in programs like Emacs (and other stuff), and it gets
> annoying. Does anyone know what combination of terminal settings /
> linux settings I should use to make this think function optimally
> without quirkiness?
I had this problem, too, when I attached a VT420 to my FreeBSD system.
The only way I found to avoid the large upside-down question marks was to
drop the speed of the serial communication from 38400 to 19200.
Since doing that I have absolutely no problems at all, and the screen
doesn't drop any characters due to the lower speed, either.
HTH.
--
Gravissima calamitas umquam supra | Gareth Boulton
Occidentem accidens erat religio Christiana |
[Gore Vidal, 1987 CE] | gboulton@bigfoot.com.nospam
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: VT420 quirks
2000-02-09 5:00 ` gboulton
@ 2000-02-09 5:00 ` Derek Konigsberg
0 siblings, 0 replies; 12+ messages in thread
From: Derek Konigsberg @ 2000-02-09 5:00 UTC (permalink / raw)
I am running the terminal at 19200. When I tried 38400, the backwards-?
count was so high the thing was unreadable. Anyone know why companies make
terminals that can't handle the speeds they support?
-Derek
gboulton@bigfoot.com.invalid wrote:
> I had this problem, too, when I attached a VT420 to my FreeBSD system.
> The only way I found to avoid the large upside-down question marks was to
> drop the speed of the serial communication from 38400 to 19200.
>
> Since doing that I have absolutely no problems at all, and the screen
> doesn't drop any characters due to the lower speed, either.
>
> HTH.
> --
> Gravissima calamitas umquam supra | Gareth Boulton
> Occidentem accidens erat religio Christiana |
> [Gore Vidal, 1987 CE] | gboulton@bigfoot.com.nospam
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-08 5:00 VT420 quirks Derek Konigsberg
2000-02-09 5:00 ` gboulton
@ 2000-02-09 5:00 ` Alex van Denzel
2000-02-10 5:00 ` simon
2000-02-12 5:00 ` Jonas Bevren
2 siblings, 1 reply; 12+ messages in thread
From: Alex van Denzel @ 2000-02-09 5:00 UTC (permalink / raw)
Derek Konigsberg wrote:
> ... I think it has to do with flow control. When using no
> flow control (or hardware flow control, which seems as good as none),
> I get garbage characters when viewing large quantities of scrolling
> text. (like over-sized "?" and such)
The over-sized "?" are IIRC signed of framing errors, or buffer
overflows.
I don't know if the linux tty ports are actually using hardware flow
control.
> With "XOFF at 64" toggled on,
> however, the problem mostly goes away (you don't see it very often,
> except once in a while in some programs). However, as a side-effect,
> ^Q's pop up in programs like Emacs (and other stuff)
Those ^Q's must mean, that the flow control characters ^S and ^Q aren't
working at the linux level. The terminal sends a ^S to signal the server
to stop sending, and also stops displaying! If the server doesn't handle
^S you don't see it. I guess in this case, the server doesn't handle
^Q's, but echos them, so you see them.
If software flow control is implemented normally, ^S/^Q shouldn't be
noticed by applications, not even in RAW mode (If I Recall Correctly, so
please correct me if I'm wrong)
--
Alex
Replace bitbucket with anything else.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-09 5:00 ` Alex van Denzel
@ 2000-02-10 5:00 ` simon
0 siblings, 0 replies; 12+ messages in thread
From: simon @ 2000-02-10 5:00 UTC (permalink / raw)
In comp.terminals Alex van Denzel <bitbucket@adenzel.demon.nl> wrote:
> Derek Konigsberg wrote:
>
>> ... I think it has to do with flow control. When using no
>> flow control (or hardware flow control, which seems as good as none),
>> I get garbage characters when viewing large quantities of scrolling
>> text. (like over-sized "?" and such)
> The over-sized "?" are IIRC signed of framing errors, or buffer
> overflows.
>
> I don't know if the linux tty ports are actually using hardware flow
> control.
Probably depending on your choice of distribution, Linux is pretty happy
dealing with dumb terminals straight out of the box - certainly with my
Slackware installation, I only had to make one or two small adjustments
before I was up and running.
>> With "XOFF at 64" toggled on,
>> however, the problem mostly goes away (you don't see it very often,
>> except once in a while in some programs). However, as a side-effect,
>> ^Q's pop up in programs like Emacs (and other stuff)
>
> Those ^Q's must mean, that the flow control characters ^S and ^Q aren't
> working at the linux level. The terminal sends a ^S to signal the server
> to stop sending, and also stops displaying! If the server doesn't handle
> ^S you don't see it. I guess in this case, the server doesn't handle
> ^Q's, but echos them, so you see them.
> If software flow control is implemented normally, ^S/^Q shouldn't be
> noticed by applications, not even in RAW mode (If I Recall Correctly, so
> please correct me if I'm wrong)
The problem lies with Emacs, in that it directly interprets the flow control
characters as being command characters - so rather than stopping output and
waiting for a ^Q when it receives a ^S, it just thinks that the user has
pressed ctrl-Q and blithely continues on it's merry way. The fact that the
terminal then starts to panic and churns out a couple more ^Q's doesn't
really help matters, either!
There is a fairly simple workaround which is described in the Emacs FAQ -
refer to sections 110 and 111. I never use Emacs, so I haven't tried it.
If you want to run a VT-2/3/420 terminal without flow control, you need to
set it at 9600 baud with jump-scrolling. Anything else will just be too fast
and cause the buffer overruns you've been experiencing.
Good luck!
Simon Coombs.
--
Spammers - remove email address before replying.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-08 5:00 VT420 quirks Derek Konigsberg
2000-02-09 5:00 ` gboulton
2000-02-09 5:00 ` Alex van Denzel
@ 2000-02-12 5:00 ` Jonas Bevren
2000-02-12 5:00 ` Derek Konigsberg
2 siblings, 1 reply; 12+ messages in thread
From: Jonas Bevren @ 2000-02-12 5:00 UTC (permalink / raw)
On Tue, 8 Feb 2000, Derek Konigsberg wrote:
> Date: Tue, 08 Feb 2000 20:21:07 +0000
> From: Derek Konigsberg <konigd@rpi.edu>
> Newsgroups: comp.sys.dec, comp.terminals
> Subject: VT420 quirks
>
> Hello,
> I recently got ahold of some VT420 terminals and have them hooked
> up to a machine running Linux. I'm having an annoying problem,
> however, and I think it has to do with flow control. When using no
> flow control (or hardware flow control, which seems as good as none),
> I get garbage characters when viewing large quantities of scrolling
> text. (like over-sized "?" and such) With "XOFF at 64" toggled on,
> however, the problem mostly goes away (you don't see it very often,
> except once in a while in some programs). However, as a side-effect,
> ^Q's pop up in programs like Emacs (and other stuff), and it gets
> annoying. Does anyone know what combination of terminal settings /
> linux settings I should use to make this think function optimally
> without quirkiness?
In my slackware 7.0 system, under /usr/doc/Linux-HOWTOs/, there's a
Text-Terminal-HOWTO. In this howto is information regarding the VT's
hardware flow control. I'll sum up informatin here for you.
The VTs use DTR/DSR flow control. Linux uses RTS/CTS flow control. Since
these are on physically different wires, these two wont work.. without
re-wiring. The HOWTO specifically lists which wires to interconnect. In
essence, you simply hook DTR to cts and DSR to rts (or something like that..
I dont have it out right now). Anyway, this should fix your flow control
woes and let you use your 420 at a full 38.4k =)
-Jonas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-12 5:00 ` Jonas Bevren
@ 2000-02-12 5:00 ` Derek Konigsberg
2000-02-14 5:00 ` Jonas Bevren
0 siblings, 1 reply; 12+ messages in thread
From: Derek Konigsberg @ 2000-02-12 5:00 UTC (permalink / raw)
Jonas,
Thanks! I'll check the HOWTO for information and dig up some connectors
and a soldering iron :)
Those howto files are standard on all Linux distros, however the machine is
actually running Slack 7.
-Derek
Jonas Bevren wrote:
>
> In my slackware 7.0 system, under /usr/doc/Linux-HOWTOs/, there's a
> Text-Terminal-HOWTO. In this howto is information regarding the VT's
> hardware flow control. I'll sum up informatin here for you.
>
> The VTs use DTR/DSR flow control. Linux uses RTS/CTS flow control. Since
> these are on physically different wires, these two wont work.. without
> re-wiring. The HOWTO specifically lists which wires to interconnect. In
> essence, you simply hook DTR to cts and DSR to rts (or something like that..
> I dont have it out right now). Anyway, this should fix your flow control
> woes and let you use your 420 at a full 38.4k =)
>
> -Jonas
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: VT420 quirks
2000-02-12 5:00 ` Derek Konigsberg
@ 2000-02-14 5:00 ` Jonas Bevren
2000-02-14 5:00 ` Paul Williams
2000-02-14 5:00 ` Johnny Billquist
0 siblings, 2 replies; 12+ messages in thread
From: Jonas Bevren @ 2000-02-14 5:00 UTC (permalink / raw)
On Sat, 12 Feb 2000, Derek Konigsberg wrote:
> Date: Sat, 12 Feb 2000 15:16:57 +0000
> From: Derek Konigsberg <konigd@rpi.edu>
> Newsgroups: comp.sys.dec, comp.terminals
> Subject: Re: VT420 quirks
>
> Jonas,
> Thanks! I'll check the HOWTO for information and dig up some connectors
> and a soldering iron :)
> Those howto files are standard on all Linux distros, however the machine is
> actually running Slack 7.
> -Derek
>
I thought about asking this via email, but figured the newsgroup deserves to
hear the question and any answer. =)
I've just purchased a pair of 420's (I'd used 320's in the past), and
learned that they can do REGIS graphics. I've tried a few demoes in an
archive, and they dont show anything on screen :/
Is there anything I have to do to enable the regis gfx? Any idea what I'm
doing wrong?
Thanks =)
-Jonas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-14 5:00 ` Jonas Bevren
@ 2000-02-14 5:00 ` Paul Williams
2000-02-14 5:00 ` Jonas Bevren
2000-02-14 5:00 ` Johnny Billquist
1 sibling, 1 reply; 12+ messages in thread
From: Paul Williams @ 2000-02-14 5:00 UTC (permalink / raw)
Jonas Bevren wrote:
>
> I've just purchased a pair of 420's (I'd used 320's in the
> past), and learned that they can do REGIS graphics.
They can't.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-14 5:00 ` Paul Williams
@ 2000-02-14 5:00 ` Jonas Bevren
2000-02-14 5:00 ` celigne
0 siblings, 1 reply; 12+ messages in thread
From: Jonas Bevren @ 2000-02-14 5:00 UTC (permalink / raw)
On Mon, 14 Feb 2000, Paul Williams wrote:
> Date: Mon, 14 Feb 2000 07:54:28 +0000
> From: Paul Williams <flo@rdel.co.uk>
> Newsgroups: comp.sys.dec, comp.terminals
> Subject: Re: VT420 quirks
>
> Jonas Bevren wrote:
> >
> > I've just purchased a pair of 420's (I'd used 320's in the
> > past), and learned that they can do REGIS graphics.
>
> They can't.
Ah. thanks for straightening me out. =) Is there a master list of features
on any given DEC terminal floating around? I'd sure appreciate that list so
I can avoid hanging my rear out on the net like that <rofl>.. =)
Otherwise, these are lovely terminals. Their configurability and capability
is unmatched in any terminal I've seen (I've owned only three types, but
worked with many). I'm working on putting an Apple ImageWriter II to one
for 'local' printing.. it's gonna be fun once I get a script for dumping
through the serial ports, not to mention Lynx is set up for it, as well as
pine. =)
thanks again.
-Jonas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: VT420 quirks
2000-02-14 5:00 ` Jonas Bevren
2000-02-14 5:00 ` Paul Williams
@ 2000-02-14 5:00 ` Johnny Billquist
1 sibling, 0 replies; 12+ messages in thread
From: Johnny Billquist @ 2000-02-14 5:00 UTC (permalink / raw)
Jonas Bevren wrote:
>
> I've just purchased a pair of 420's (I'd used 320's in the past), and
> learned that they can do REGIS graphics. I've tried a few demoes in an
> archive, and they dont show anything on screen :/
>
> Is there anything I have to do to enable the regis gfx? Any idea what I'm
> doing wrong?
Well, for starters, you have VT420s. Whoever told you they do ReGIS were
plain
wrong. They don't.
They do have user defined characters. But the VT320 have that too.
These characters are defined in sixel graphics, which possibly makes
some
people confused about graphic capabilities.
As far as I know, the VT520 don't do graphics either.
Johnny
--
Johnny Billquist | johnny.billquist@netinsight.net
Net Insight AB | phone: +46 8 685 04 88
V�stberga All� 9 | fax: +46 8 685 04 20
Box 42093 |
SE-126 30 STOCKHOLM, Sweden | http://www.netinsight.net
^ permalink raw reply [flat|nested] 12+ messages in thread