Re: minicom questions, need expert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 15 May 2008, Mikkel L. Ellertson wrote:
Gene Heskett wrote:
Its beginning to look as if I'm going to have to write a filter to break
it up into say 60 line pages & send them to lpr one 'file' at a time. There apparently is not a way to send a valid EOF from the other end
unless someone can decode a '^Z' into a value I can try just for grins.

A ^Z is 26 decimal or 1A hex. But I think you want to send a ^D (4)
to indicate a UNIX EOF. (You can change this with stty.)

I got to thinking about this and there may be an easy fix for this. Take a look at the data being sent and see if they are sending a ^Z at the end of each "page". If so, you can probably use stty to change the EOF to ^Z instead of ^D. You will probably have to change the suspend character first from ^Z to something else. (I have only tested it on the local tty and only with changing eof...)

stty -F <device> susp ^Y ; stty -F <device> eof ^Z
 or
stty -F <device> susp ^Y eof ^Z

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux