fifo
a text file circular buffer in python
I need a python script implementing a circular buffer for rows in a text file li开发者_运维知识库mited to N rows like this:[详细]
2023-03-11 08:25 分类:问答Python code hangs while trying to open a named pipe for reading [duplicate]
This question already has an answer here: Why does a read-only open of a named pipe block? (1 answer) Closed 2 years ago.[详细]
2023-03-10 17:35 分类:问答Cyclic buffer with readers
I need a开发者_如何学C cyclic buffer implementation that supports seekable readers. My use case:[详细]
2023-03-08 17:08 分类:问答Prevent FIFO from closing / reuse closed FIFO
Consider the following scenario: a FIFO named test is created. In one terminal window (A) I run cat <test and in another (B) cat >test. It is now possible to write in window B and get the outpu[详细]
2023-03-05 03:43 分类:问答Struggling to figure out how to use a FIFO with this init.d startup script
Summary:Looking for some help using a named pipe in my init.d startup script.The pipe doesn\'t work when it starts, and I can\'t figure out how to kill it.[详细]
2023-03-03 15:32 分类:问答Why does a read-only open of a named pipe block?
I\'ve noticed a couple of oddities when dealing with named pipes (FIFOs) under various flavors of UNIX (Linux, FreeBSD and MacOS X) using Python.The first, and perhaps most annoying is that attempts t[详细]
2023-03-01 02:56 分类:问答SWI Prolog: difference lists - fifo
I am learning Prolog and difference lists are super new to me and looks like from hell, especially that I am definitely poor simple-minded C++ guy :)[详细]
2023-02-23 04:25 分类:问答Redirecting input of application (java) but still allowing stdin in BASH
I\'m a little confused, I had this working yesterday, but it just stopped accepting the redirected stdin, almost m开发者_如何学编程agically.[详细]
2023-02-20 02:45 分类:问答C# Advice about queueing
I am seeking advice on a project I have been assigned and I\'m looking to see how it\'s done \"professionally,\" or any suggestions that can lead me to the right direction.[详细]
2023-02-18 20:48 分类:问答Check whether stdin/std::cin support seeking
EDIT: I had a stupid bug in the code and fixed this, so things are explicable now. I updated my post accordingly.[详细]
2023-02-17 04:17 分类:问答