Re: [Refdb-devel] refdbc -C addref & stdin
Status: Beta
Brought to you by:
mhoenicka
From: Michael S. <sm...@xm...> - 2003-12-15 22:07:13
|
Hi Markus, You wrote: > Michael Smith writes: > > Tonight was the first time I actually tried adding data to the db, and > > environment I was trying it on is a Cygwin install. Haven't tried it on > > my Linux install yet. > > > > Anyway, got it working on Cygwin by hacking the refdbc source. So the > > both the command line and Emacs interaction are working as expected for > > me now. > > > > The -f stdin switch should do the trick without source hacks. OK -- I have this working as expected now after applying the patch you send and building from sandbox source. Thanks > > > If I try to do it from the menu though (this with an risx file), I get > > > this: > > > > > > Could not set terminal attributes > > > > That's a warning coming from refdbc. I'm not sure what it indicates, but > > I don't think it causes any problems. > > > > It indicates that refdbc is asking for a password which is bound to > fail. Please set the password in .refdbcrc. Thanks -- that works also for me now that I've set that password in the config file. > > > data read error. Stop. > > > > damn. Well. that one is also coming from refdbc too, and I think it's a > > fatal error. If you're able to succesfully add data via the command line > > but not from within Emacs, then either I'm not using the Emacs > > shell-command-on-region function correctly, or there's something wrong > > with the way your Emacs is interacting with the shell. > > > > It works fine over here, but I haven't tested this on Cygwin yet. Do > you use Cygwin's Emacs or NT Emacs? I'm actually testing both on Cygwin both with Cygwin Emacs 21.2 and X-Windows and with NT Emacs 21.3. Using my sandbox binaries and with the password set in my refdbcrc file, I'm not seeing any unexpected behavior now (as long as I make sure to select the leading newline when sending data to refdbc). --Mike |