help-ncurses
[Top][All Lists]
Advanced

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

formatting '\n' of execve'ed programs


From: Thomas Cort
Subject: formatting '\n' of execve'ed programs
Date: Fri, 23 Jan 2004 22:42:17 -0500
User-agent: Mutt/1.5.4i

Hi All,

I'm writing a command shell for an assignment and I decided to use 
ncurses because of the colors, the ease of setting up raw keyboard 
mode (used for tab completion of filenames), and because I wanted to try 
something new ;)

One problem I've run into is that when I fork and use execve to run a 
command the output from that command is not formatted correctly. The next 
line starts directly below the last. 

example:
foo
   bar

should be:
foo
bar

Is there any way around this? Can someone point me to a man page, 
give me the name of a function or a website with a way to solve my 
problem?

Thanks!
Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]