Number: 549
Title: dotty can't start dot
Submitter: Mark Fanty
Date: Fri Oct 15 14:08:04 2004
Subsys: Dotty
Version: 1.16
System: Other-Linux-
Severity: major
Problem:
dot works from the command line; I can make a .ps file, but if I select "do layout" from inside dotty, or try to load a file into dotty, I get this: Looks like it can't open the pipe to dot for some reason

Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
stty: standard input: Invalid argument
stty: standard input: Invalid argument
graph parser: syntax error near line 1
context:  >>> Linux <<<
Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
stty: standard input: Invalid argument
stty: standard input: Invalid argument
dotty.lefty: giving up on dot
dotty.lefty: graph that causes dot
dotty.lefty: to fail has been saved in file dottybug.dot

Input:
just click to make two nodes and then do_layout
Fix:
When the shell is invoked to start dot, it is producing output which befuddles the graph parser. The shell is being invoked with -c, not as a login or interactive shell, so no output should be produced.

[markfanty] There was a line in my .cshrc which printed "linux". That did it. Thanks.
Owner: erg
Status: Fixed