Need to ignore zmodem exit garbage characters...

Need to ignore zmodem exit garbage characters...

Post by Ken Gresh » Sun, 23 Jun 1996 04:00:00

Characters generated by a zmodem download are interfering with hot-key
capability in a menu-based script. I'm grabbing a character from the
terminal with this function:

stty raw
reply=`dd if=/dev/tty bs=1 count=1 2>/dev/null`
stty -raw
echo ""


I was using this method to throw away the extra characters, but on the
new Sun server running SunOS 5.5, it hangs the terminal:

sz $HomeDir/$NewFile > dljunk 2>&1

I've seen lately how to bypass a read after a time delay, but how can I
continue after a time delay following the collection of the zmodem
termination characters?


Ken Gresham


1. Garbage characters after X exit

When I exit X, I get a screen full of garbage.  After installing X (it
doesn't matter--Redhat 2 or 3.0.3, Slackware 3.1 or Slackware95) after
running xf86config or Xconfigurator and running startx, I can exit from
X to a clean screen. All subsequent exits after running X give me a
screen full of garbage. I can swap virtual terminals and it doesn't
matter--all text has turned to garbage.  I can re-run the X configure
programs, and ALWAYS that first exit will leave me with a clean screen,
but any subsequent runs/exits will turn the screen to garbage.  I am
running X right now, and as soon as I exit, I will have to reboot to get
a readable screen.  I have matched the clock settings exaclty in my
config files, doesn't matter.  I have a Pentium 60 w/ Hercules
Stingray-1024K/Award bios. This is driving me crazy, HELP!

2. Installing new fonts in Windows and LaTeX

3. Help:Garbage screen after exit from X

4. vold messed up

5. Screnfulls of garbage when exit XWindows

6. Verias VM4.0 / solaris 8 rootdisk encapsulation

7. Garbage on terminal after exiting from X-windows

8. Linux can't read 3Com 3C508 NIC

9. Garbage on screen after exiting fwm95-2

10. X3.1.1 garbage on screen after exit

11. ASCII Garbage on X Exit?

12. Garbage when exiting X

13. kernel: RPC: garbage, exit EIO