On Fri, 31 Dec 2010 13:15:45 -0800, Gary Kline kl...@thought.org 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
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 kl...@thought.org wrote:
Anybody know if there is a utility that transforms the /root/.cshrc
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 is
On Sat, 1 Jan 2011 10:56:24 -0500, Chris Brennan xa...@xaerolimit.net 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
On Sat, Jan 01, 2011 at 11:01:31AM +0100, Polytropon wrote:
On Fri, 31 Dec 2010 13:15:45 -0800, Gary Kline kl...@thought.org 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
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...@thought.org
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 Mon, 14 Jun 2010 18:23:52 +0800, Aiza aiz...@comclark.com 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
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 fails as well - I can no longer log in via
On Tue, 8 Jun 2010 16:41:54 -0700 (PDT), Goh Sanda x4500f...@yahoo.com 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 command that should be executed after you log
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, so it all needs to be quoted. Something
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 st...@ibctech.ca wrote:
Hi all, happy holidays!
I want to add an alias to my .cshrc file:
alias srm find . -name *~ | xargs rm
Try
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
srm: Command
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 regards,
Olivier
Hi Steve
On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand st...@ibctech.ca 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 \*~\ | xargs rm
Regards,
--
Glen
Glen Barber wrote:
Hi Steve
On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand st...@ibctech.ca 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 \*~\ | xargs
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 '*~' -delete
...so that I have an easy way to remove
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...
Yeah. The history mechanism
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://aloha50
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
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 - Honolulu, Hawaii - Phone
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 maybe
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 argument
-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 $1
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 because $1 is being interpreted
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 blah)
However, when
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)
However, when I
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
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 for sh
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
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 shell. It
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 execution by each shell
On Sun, Mar 27, 2005 at 01:19:17AM +0100, Gert Cuykens wrote:
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
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
-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:*:1001:0::0:0:gert:/usr/home/gert
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 csh
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 resource script, read
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/root/dot.cshrc,v 1.29 2004/04/01 19:28:00 krion Exp $
#
# .cshrc - csh
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 .cshrc
[snip]
That was not decription of anything
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 ?
Why should anything happen? What did you expect to happen
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]
) 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)
iD8DBQFCRLM/k/lo7zvzJioRAk
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 mail to
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 every command or file :)
Is bash the only one that does
, a
.shrc for sh, the original Bourne shell. (You do know that
bash is an acronym for Bourne Again SHell, right? A
play on the English translation of Jesus' words to Nicodemus
in John III:iii: Except a man be born again ... which was
probably particularly funny in America in the late 1970s...)
.cshrc
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%~%# '
set
-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
-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,
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 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 into single-user mode
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 .bashrc
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
+ download
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 there a
+ 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.
+
+
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 .cshrc
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 like too
round-about a way to achieve what I want, please
57 matches
Mail list logo