On Sat, Jan 01, 2011 at 11:01:31AM +0100, Polytropon wrote:
> On Fri, 31 Dec 2010 13:15:45 -0800, Gary Kline wrote:
> > Anybody know if there is a utility that transforms the /root/.cshrc
> > into a bash RC file?After decades, I'm giving up on the csh stuff.
> >
On Sat, 1 Jan 2011 10:56:24 -0500, Chris Brennan wrote:
> >
> > > Note that csh does automatically use % or # according to the
> > > first setting. I'm not sure how bash handles this.
> >
>
> man bash and search for PROMPTING, everything you can pass PS1 is there
>
> # is \# the command numb
>
> > Note that csh does automatically use % or # according to the
> > first setting. I'm not sure how bash handles this.
>
man bash and search for PROMPTING, everything you can pass PS1 is there
# is \# the command number of this command
I don't see how a '%' is handled tho, what does it do
e this *is* tomorrow,
then in around some N hours.
S'all, folks!
-g
On Sat, Jan 01, 2011 at 11:01:31AM +0100, Polytropon wrote:
> On Fri, 31 Dec 2010 13:15:45 -0800, Gary Kline wrote:
> > Anybody know if there is a utility that transforms the /root/.cshrc
>
On Fri, 31 Dec 2010 13:15:45 -0800, Gary Kline wrote:
> Anybody know if there is a utility that transforms the /root/.cshrc
> into a bash RC file?After decades, I'm giving up on the csh stuff.
> Need something simpler.
As far as I know, there is no automatic con
Anybody know if there is a utility that transforms the /root/.cshrc
into a bash RC file?After decades, I'm giving up on the csh stuff.
Need something simpler.
tia, guys, and hope 2011 is better for all of us!
gary
--
Gary Kline kl...@though
On Mon, 14 Jun 2010 18:23:52 +0800, Aiza wrote:
> I want to change the console prompt for all users that get accounts
> created. I added it to /etc/csh.cshrc which says it a system-wide .cshrc
> file. But after adding a new user with pw command with -m and logging in
> as the u
I want to change the console prompt for all users that get accounts
created. I added it to /etc/csh.cshrc which says it a system-wide .cshrc
file. But after adding a new user with pw command with -m and logging in
as the user name the prompt is still the old way. Do I have to add it to
/usr
On Tue, 8 Jun 2010 16:41:54 -0700 (PDT), Goh Sanda wrote:
>
>
> I added a few lines to the bottom of my standard FreeBSD .cshrc file:
>
> echo ""
> w
> echo ""
>
> Just to show me what is going on each time I log in.
Use ~/.login for comman
I added a few lines to the bottom of my standard FreeBSD .cshrc file:
echo ""
w
echo ""
Just to show me what is going on each time I log in.
The problem is, when I try to scp a file to the system, I get 'w' output echo'd
to me, and no actual scp.
sftp fai
On Tue, Dec 29, 2009 at 08:07:35PM -0500, Steve Bertrand wrote:
> Glen Barber wrote:
> > Hi Steve
> >
> > On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand wrote:
> >> Hi all, happy holidays!
> >>
> >> I want to add an alias to my .cshrc file:
&g
On Tue, Dec 29, 2009 at 07:50:21PM -0500, Steve Bertrand wrote:
> Hi all, happy holidays!
>
> I want to add an alias to my .cshrc file:
>
> alias srm find . -name "*~" | xargs rm
>
Your problem is quoting the command. It has multiple parts
with white space,
On Tue, Dec 29, 2009 at 07:50:21PM -0500, Steve Bertrand wrote:
> I want to add an alias to my .cshrc file:
>
> alias srm find . -name "*~" | xargs rm
No need for xargs:
alias srm "find . -name '*~' -exec rm {} +"
or
alias srm "find . -name
Glen Barber wrote:
> Hi Steve
>
> On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand wrote:
>> Hi all, happy holidays!
>>
>> I want to add an alias to my .cshrc file:
>>
>> alias srm find . -name "*~" | xargs rm
>>
>
> Try enc
Hi Steve
On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand wrote:
> Hi all, happy holidays!
>
> I want to add an alias to my .cshrc file:
>
> alias srm find . -name "*~" | xargs rm
>
Try enclosing it in quotes, such as:
alias srm "find . -name \"*~\&qu
Hi,
> Is this a problem with the pipe in the alias directive? The command
> works on the CLI, as I literally copy/pasted it into the .cshrc file.
I would think so.
What about:
alias srm /usr/bin/find . -name "*~" -delete
Best r
Hi all, happy holidays!
I want to add an alias to my .cshrc file:
alias srm find . -name "*~" | xargs rm
...so that I have an easy way to remove the temp files left by svn.
After adding the alias, logging out and then back in, I get an error
stating:
acct-dev: ISP-RADIUS % srm
sr
ht it was funny that this
was happening.
I have earlier CURRENT 8 running on a couple of machines and they never
acted this way.
This is root that is doing this on my test box.
set history = 100
set savehistory = 100
are in the .cshrc file.
I'll look in /etc/csh.cshrc
Thanks...
Yea
was funny that this
was happening.
I have earlier CURRENT 8 running on a couple of machines and they never
acted this way.
This is root that is doing this on my test box.
set history = 100
set savehistory = 100
are in the .cshrc file.
I'll look in /etc/csh.cshrc
Thanks...
~Al Plant -
Allthough I'm not familiar with the particular problem you
described, I observed that the history sometimes (!) does
not survive a reboot. It may have to do with a situation
where more than one shell is running. Idea: The last shell
closed (even forced) saves its history, so the history of
the othe
and I have been using FreeBSD for a
very long time.. since FreeBSD 2.* . Anyone have any ideas what I should
check for either with hardware or in .cshrc or elsewhere?
Thanks...
~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740
+ http://hawaiidakine.com + http://freebsdinfo.org +
+ http://al
At 2008-06-26T05:04:52-07:00, Juri Mianovich wrote:
> I am trying to use this alias in my root .cshrc file:
>
> grep $1 /some/file
>
> but .cshrc _refuses_ to expand $1 as a proper variable (in this
> case, the first argument to the alias...)
>
> I _think_ it's becau
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Juri Mianovich wrote:
| I am trying to use this alias in my root .cshrc file:
|
| grep $1 /some/file
|
| but .cshrc _refuses_ to expand $1 as a proper variable (in this case,
the first argument to the alias...)
|
| I _think_ it's because
At 07:04 AM 6/26/2008, Juri Mianovich wrote:
I am trying to use this alias in my root .cshrc file:
grep $1 /some/file
but .cshrc _refuses_ to expand $1 as a proper variable (in this case, the
first argument to the alias...)
I _think_ it's because $1 is being interpreted as a argume
I am trying to use this alias in my root .cshrc file:
grep $1 /some/file
but .cshrc _refuses_ to expand $1 as a proper variable (in this case, the first
argument to the alias...)
I _think_ it's because $1 is being interpreted as a argument to csh _itself_
when it runs .cshrc ... but
Joe Schmoe wrote:
I often run this command:
lynx -useragent "blah blah (compatible; MSIE blah
blah)"
Note that the custom referrer string that I set
includes parentheses.
So, to save time, I added this line to my .cshrc:
alias lynx lynx -useragent "blah blah (compatible;
MSIE blah
Hello,
I often run this command:
lynx -useragent "blah blah (compatible; MSIE blah
blah)"
Note that the custom referrer string that I set
includes parentheses.
So, to save time, I added this line to my .cshrc:
alias lynx lynx -useragent "blah blah (compatible;
MSIE blah blah)&
.29 2004/04/01 19:28:00 krion Exp $
> > #
> > # .cshrc - csh resource script, read at beginning of execution by each shell
> > #
> > # see also csh(1), environ(7).
> > #
> >
> > alias h history 25
> > alias j jobs -l
> > alias lal
On Sat, 26 Mar 2005 13:59:18 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> I dont have colors :(
> How do you turn off the tab beep ?
>
> # $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
> #
> # .cshrc - csh resource script, read at beginning of
On 2005-03-26 16:20, [EMAIL PROTECTED] wrote:
>On Sat, Mar 26, 2005 at 10:12:26AM -0500, Jerry McAllister wrote:
>> The csh shell of more likely not, tcsh, is more friendly for
>> interacticve use than the sh shell. Those who like the sh type
>> syntax nowdays use the derivative bash as their shel
On Sat, Mar 26, 2005 at 10:12:26AM -0500, Jerry McAllister wrote:
> The csh shell of more likely not, tcsh, is more friendly for
> interacticve use than the sh shell.Those who like the sh type
> syntax nowdays use the derivative bash as their shell. It is also
> more interactive friendly than
>
> Is .profile read by every shell ?
No. .profile is read up by the sh shell and its derivatives.
When the csh shell and its derivatives such as tcsh starts,
its reads up .cshrc.The effect is somewhat the same, but it uses
the syntax is for csh. The syntax for .profile is
I dont have colors :(
How do you turn off the tab beep ?
# $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias h history 25
alias j jobs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2005-03-26, Kevin Kinsey scribbled these
curious markings:
> --- and I suppose that's why there's no .tcshrc AFAIK
> on FBSD.
There's no .tcshrc file, but if you read the manual for csh you'll see
that there are semantics for processing both files,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2005-03-26, Gert Cuykens scribbled these
curious markings:
> I would like one with allot of colors and a double tab completion that
> shows every command or file :)
Uhm, colours where? And why follow Bash's silly example of requiring two
tabs when
I would like one with allot of colors and a double tab completion that
shows every command or file :)
Is bash the only one that does that or can csh do that too ?
Hey Gert,
I use tcsh and have these variables in my .cshrc:
setenv CLICOLOR_FORCE 1
set prompt = '[EMAIL PROTECTED]:%b%~%#
was
probably particularly funny in America in the late 1970s...)
.cshrc is read by csh/tcsh, which, incidentally enough,
are the same thing on FreeBSD unless for some reason
diff(1) is idiotic in this regard:
[604] Fri 25.Mar.2005 19:48:40
[EMAIL PROTECTED]/home/shared]
# diff /bin/csh /bin/tcsh
--- an
d,
> IMO) wouldn't be able to log in. This was alluded to in my post wherein
> I mentioned that sh probably wouldn't be able to read the .cshrc file
> (depending upon what you've placed in it).
>
I would like one with allot of colors and a double tab completion that
shows eve
On Sat, 26 Mar 2005 01:47:13 +0100, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> Is .profile read by every shell ?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mai
IMO) wouldn't be able to log in. This was alluded to in my post wherein
I mentioned that sh probably wouldn't be able to read the .cshrc file
(depending upon what you've placed in it).
Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFC
Is .profile read by every shell ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is .profile read by every shell ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
On Sat, 26 Mar 2005 01:23:11 +0100, Erik Trulsson
<[EMAIL PROTECTED]> wrote:
> On Sat, Mar 26, 2005 at 12:55:17AM +0100, Gert Cuykens wrote:
> > > > I created a new user and put a .cshrc in his home directory but
> > > > nothing happens ?
> > >
>
On Sat, Mar 26, 2005 at 12:55:17AM +0100, Gert Cuykens wrote:
> > > I created a new user and put a .cshrc in his home directory but
> > > nothing happens ?
> >
> > Why should anything happen? What did you expect to happen?
>
> This :)
>
> FX-53# cat
Gert Cuykens wrote:
>>>I created a new user and put a .cshrc in his home directory but
>>>nothing happens ?
>>
>>Why should anything happen? What did you expect to happen?
>
>
> This :)
>
> FX-53# cat .cshrc
> # $FreeBSD: src/etc/roo
> > I created a new user and put a .cshrc in his home directory but
> > nothing happens ?
>
> Why should anything happen? What did you expect to happen?
This :)
FX-53# cat .cshrc
# $FreeBSD: src/etc/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
#
# .cshrc - csh resour
On Sat, Mar 26, 2005 at 12:32:59AM +0100, Gert Cuykens wrote:
> This is the shell config file right ?
.cshrc is *a* shell config file. To be more precise it is the file
that csh/tcsh (usually) reads in when started. (For details on exactly
what files is read at startup by this shell read the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2005-03-25, Gert Cuykens scribbled these
curious markings:
> This is the shell config file right ?
> I created a new user and put a .cshrc in his home directory but
> nothing happens ?
>
> FX-53# pw user show gert
> gert:*:100
This is the shell config file right ?
I created a new user and put a .cshrc in his home directory but
nothing happens ?
FX-53# pw user show gert
gert:*:1001:0::0:0:gert:/usr/home/gert:/bin/sh
FX-53# pwd
/usr/home/gert
FX-53# ls -all
total 609272
drwxr-xr-x 3 gert wheel512 Mar 26 00:18
On Fri, Feb 13, 2004 at 12:56:01AM +0800, h0444lp6 wrote:
> Dear list
>
> What are the /.cshrc and /.profile files for?
>
> Since /etc holds the system wide conf files and ~ the user specific ones
> I do not understand why there are the ones in /.
When the machine boots int
Dear list
What are the /.cshrc and /.profile files for?
Since /etc holds the system wide conf files and ~ the user specific ones
I do not understand why there are the ones in /.
TIA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman
+> On Friday 30 January 2004 23:32, Robert Barten wrote:
+> > On Sat, Jan 31, 2004 at 12:11:54AM +0100, Colin J. Raven wrote:
+> > > Just google "sample .bashrc" that should yield something
+> you can begin
+> > > with. The two aren't *that* different y'know, so don't
+> get stressed
+> > > ab
On Friday 30 January 2004 23:32, Robert Barten wrote:
> On Sat, Jan 31, 2004 at 12:11:54AM +0100, Colin J. Raven wrote:
> > Just google "sample .bashrc" that should yield something you can begin
> > with. The two aren't *that* different y'know, so don't get stressed
> > about it.
> >
> > +> 2) Is t
On Sat, Jan 31, 2004 at 12:11:54AM +0100, Colin J. Raven wrote:
> Just google "sample .bashrc" that should yield something you can begin
> with. The two aren't *that* different y'know, so don't get stressed
> about it.
>
> +> 2) Is there a skeleton (dot.bashrc) file somewhere I can
> +> downloa
+> I'm almost new to freebsd about a few month now.
Congratulations! It must have been an interesting month!!
+> It took me
+> some while to learn how to customize my .cshrc file. I would
+> like to switch to bash2 now.
Nice! Good decision I think.
+> 1) I was wonderin
Hi,
I'm almost new to freebsd about a few month now. It took me some while to learn how to
customize my .cshrc file. I would like to switch to bash2 now.
1) I was wondering if there is a tool (from the ports collection) that can
automatically convert my customized .cshrc to a .b
> in to the system for the first time after a fresh install.
>
> If I knew where in the install CD1, the actual creation of root's .cshrc
> takes place, I thought I could add some custom script to that and take care
> of my post-install configuration process. If that sounds
, the actual creation of root's .cshrc
| takes place, I thought I could add some custom script to that and take care
| of my post-install configuration process. If that sounds like too
| round-about a way to achieve what I want, please suggest alternatives.
I'm guessing root's .cshrc i
Hi All,
I am looking to customize the post-install process of a custom FreeBSD 4.6
server. I would like to install some custom packages when a root user logs
in to the system for the first time after a fresh install.
If I knew where in the install CD1, the actual creation of root's .
59 matches
Mail list logo