Re: strange session management stuff



James Henstridge wrote:
> 
> Saving the scrollback buffer of gnome-terminal is easy.  Getting
> gnome-terminal to save the current working directory of a shell is more
> difficult, but could be done portably using libgtop (I think -- does it
> support finding the CWD?).  It would take a lot more work to get SM
> support in all console applications though.
> 
> It would be nice to support the first two though.


huh, doesn't getenv would be fine ? 

getenv("PWD");

-- 
             			  -- Yoann
	It is well known that M$ products don't call free() after a malloc().
	The Unix community wish them good luck for their future developments.



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