From citrin at citrin.ru Tue Dec 16 17:23:07 2008 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Tue, 16 Dec 2008 18:23:07 +0300 Subject: [feature request] - !# for empty command should be empty string Message-ID: <4947C7DB.6040406@citrin.ru> tcsh has a useful history substitution - !# it replaced with current command. If some command entered all OK. But if empty command entered (just hit enter) !# replaced by \n and space instead of wanted empty string. It seems to be a bug, but if it is feature, it very strange one. I want to use this alias to set title in xterm: alias postcmd 'echo -n "\033]0;\!#:q\007"' It works for non-empty commands, but breaks prompt when I hit enter without command entered. -- Anton Yuzhaninov From yulin724 at gmail.com Sun Dec 28 12:19:33 2008 From: yulin724 at gmail.com (Lin.Yu@WindRiver) Date: Sun, 28 Dec 2008 18:19:33 +0800 Subject: tcsh cross compile Message-ID: <8eeed7950812280219o148f3f09ue74c13ca8741318@mail.gmail.com> Hi, guys, I am to compile tcsh on x86 for arm target. I found the gethost would be used to called to generate some c source file. But gethost is compiled by cross compiler. So it cannot be executed. Of course I can make only gethost.c compiled by gcc. My question is whether the generated by gcc compiler and cross gcc compiler files are same. -- Best Regards, -- Lin.Yu From christos at zoulas.com Sun Dec 28 16:46:41 2008 From: christos at zoulas.com (Christos Zoulas) Date: Sun, 28 Dec 2008 09:46:41 -0500 Subject: tcsh cross compile In-Reply-To: <8eeed7950812280219o148f3f09ue74c13ca8741318@mail.gmail.com> from "Lin.Yu@WindRiver" (Dec 28, 6:19pm) Message-ID: <20081228144641.8EE6C5654E@rebar.astron.com> On Dec 28, 6:19pm, yulin724 at gmail.com ("Lin.Yu at WindRiver") wrote: -- Subject: tcsh cross compile | Hi, guys, | I am to compile tcsh on x86 for arm target. | | I found the gethost would be used to called to generate some c source file. | But gethost is compiled by cross compiler. So it cannot be executed. | | Of course I can make only gethost.c compiled by gcc. | My question is whether the generated by gcc compiler and cross gcc compiler | files are same. They are the same. It creates the same c file, which is then compiled by the cross-compiler and produces the correct results. christos