SHMIDCAT(1) Shared Memory Trampoline SHMIDCAT(1)NAME
shmidcat - Copies stdin/file to a shared memory block for gtkwave(1)SYNTAX
shmidcat [VCDFILE]
DESCRIPTION
Copies either the file specified at the command line or stdin (if no file specified) line by line to a shared memory block. stdout will
contain a shared memory ID which should be passed on to gtkwave(1).
EXAMPLES
To run this program the standard way type:
cat whatever.vcd | shmidcat
The shared memory ID is emitted to stdout.
shmidcat whatever.vcd | gtkwave -v -I whatever.sav
GTKWave directly grabs the ID from stdin.
LIMITATIONS
This program is mainly for illustrative and testing purposes only. Its primary use is for people who wish to write interactive VCD dumpers
for gtkwave(1) as its source code may be examined, particularly the emit_string() function. It can also be used to test if an existing VCD
file will load properly in interactive mode. Note that it can also be used to redirect VCD files which are written into a pipe to gtk-
wave(1) in a non-blocking fashion.
AUTHORS
Anthony Bybell <bybell@rocketmail.com>
SEE ALSO gtkwave(1)Anthony Bybell 3.0.8 SHMIDCAT(1)
Check Out this Related Man Page
TWINWAVE(1) Simulation Wave Viewer Multiplexer TWINWAVE(1)NAME
twinwave - Wraps multiple GTKWave sessions in one window
SYNTAX
twinwave <arglist1> + <arglist2>
DESCRIPTION
Wraps multiple GTKWave sessions in one window with synchronized markers, horizontal scrolling, and zooming.
EXAMPLES
To run this program the standard way type:
twinwave filename1.vcd filename1.sav + filename2.vcd filename2.sav
Two viewers are then opened in one window.
LIMITATIONS
twinwave uses the GtkSocket/GtkPlug mechanism to embed two gtkwave(1) sessions into one window. The amount of coupling is currently lim-
ited to communication of temporal information. Other than that, the two gtkwave processes are isolated from each other as if the viewers
were spawned separately. Keep in mind that using the same save file for each session may cause unintended behavior problems if the save
file is written back to disk: only the session written last will be saved. (i.e., the save file isn't cloned and made unique to each ses-
sion.) Note that twinwave compiled against Quartz (not X11) on OSX does not place both sessions in a single window.
AUTHORS
Anthony Bybell <bybell@rocketmail.com>
SEE ALSO gtkwave(1)Anthony Bybell 3.3.28 TWINWAVE(1)
My supervisor keep getting "stdin not tty" or something like that when he pipe or redirect input into a program. Others
don't seem to get this message. Is there some way I can help him to fix or turn this off?
Thx in advance (1 Reply)
hi,
how does a program know whether some data are available from stdin?
I would like to make a program which could read its data from stdin
and _if_there_is_nothing_at_stdin_ from a file which name is given
as an argument. If there is nothing in stdin and no filename is given as
argument,... (2 Replies)
I am writing a more command for my class, and have it most of the way done, but with my current implimentation when I pipe stdin to my code it doesnt use my non-canonical/non echo settings I set for the terminal window. Do I need to specify a different terminal in order for this to work ? It works... (1 Reply)
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (1 Reply)
hay guys
I want to use shared memory for communication between multiple processes, each one can write and read. I am unable to build the logic, should I go for each process has shared memory with other or should I create one block of memory and shared between all of them.
Second is better but I... (0 Replies)
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (3 Replies)
Hi all
I've run into a snag in a program of mine where part of what I entered in at the start of run-time, instead of the current value within printf() is being printed out.
After failing with fflush() and setbuf(), I tried the following approach
void BufferFlusher()
{
int in=0;... (9 Replies)
Hi ,
I am working on AIX 5.3 server.I have small program which stores the from database to a particaular shared memory.But while retreiving the valus from the same shared memory, i am getting wrong values.
Please help..... (1 Reply)
Hi,
i know how to
a) redirect stdout and stderr to one file,
b) and write to two files concurrently with same output using tee command
Now, i want to do both the above together.
I have a script and it should write both stdout and stderr in one file and also write the same content to... (8 Replies)
Hi,
I am working on a project where I have to generate and execute nasm code on-the-fly. I generate the code in a file program.asm and then execute it.This output is to stdout which i redirect to an output file which i read back to compare results:
system("nasm -f elf program.asm >... (5 Replies)
Looking for the proper way to bring a string into the stdin. I have a string that I would like to grep and awk. Each have to be run separately, not piped together. So far, the only way I could figure out how is to echo the string and pipe it:
echo 'This is my string' | grep my (3 Replies)
i have to shared a variable between two different c programs with shared memory and i do these:
int main() {
int a=5,b=7;
int buffer;
int *point;
int shmid;
shmid=shmget(IPC_PRIVATE , sizeof(buffer),0666);
point=(int *)shmat(shmid,NULL,0);
point=a;
... (21 Replies)
Hi,
This is a vcd file.A vcd file may have 'n' modules.
1) I need to capture the data in bold,i.e. the module names (shown in bold)
2) Also i need to capture the data inside each individual module,say for tst_bench_top ,i need to capture data from line 4 to line 20 ...
I just want one... (2 Replies)
Oracle Linux 5.6 64-bit (derivative of RHEL)
Dear Ann Landers,
This is about as bizarre as anything I've ever seen.
I have a little test script I've been working with. When I redirect stdout to a file, no file. Make a copy of the script to another name. Execute it and redirect stdout, and... (4 Replies)