Hello!
Maybe some of you have encountered a problem of the DEL key in csh.
Without magic string
"bindkey "^[[3~" delete-char"
in ~/.cshrc DEL button produce "~" on the screen
even in FAQ https://docs.freebsd.org/en/books/faq/ was mentioned about this problem.
I just want to ask simple...
Hello,
I just met some behaviour I do not understand with
/bin/csh
:
Create a python venv: python3 -m venv --system-site-packages myvenv
Activate it: source myvenv/bin/activate.csh
Check PATH, /usr/home/myuser/myvenv/bin is before /usr/local/bin
Install a python module that comes with...
As this question is regarding a package in the base system, this seemed like the best place to ask. If not, just recomend a new place to ask and I'll move it there.
I'm attempting to migrate from ZSH to CSH and the configuration is proving to be a bit difficult. In ZSH, I have these lines...
I've introduced some modifications on [T]csh.
Functions (only for scripts)
Read files into a variable
Comments on interactive sessions
Tell whether stdin is empty
I'd appreciate for any feedback, suggestion or contribution. Contributions of any kind are very welcome.
A key [T]csh developer...
We have an iocage administered jail that was recently updated to 13.2 from 13.1. However, we see this:
[root@vhost02 ~ (master)]# iocage list
+-----+--------+-------+--------------+--------------------------------+
| JID | NAME | STATE | RELEASE | IP4 |...
I'm trying to get tshark to load before login on my FreeBSD 13.1 server.
Preferably I would want ttyv0 to act as the server system notifications,
ttyv1 should run on boot: tshark -i re0 -t ud -P -V -u hms -b interval:86400 -w /tmp/tshark_re0_PV.pcap
and ttyv2 should run on boot: tshark -i re0 -P...
If I execute the command:
setenv PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/root/.cargo/bin"
after going into the jail by "jexec 1", it would work. However, I'd like to make it sticky. I tried many ways but nothing works.
Further, preferably, I'd like to do...
Hi, I need to run history 25 during user logging.
Of course, output depends on the specific user logging.
Generally, I've set command alone as I typed but no output at startup.
How can I do that? The following command does not work as I need.
sudo -u my_login csh -c 'history 25'
I tried looking in how to load a separate configuration file, so I could use one for a dark background, and another for a white background for the same user.
I want a dark prompt for xterm, which has a white background, and a yellow prompt for the dark tinted transparent rxvt-unicode...
I would like to share HOWTO in Ghost in the Shell series about efficient working in the UNIX shell environment.
Ghost in the Shell - Part 2
https://vermaden.wordpress.com/2018/07/08/ghost-in-the-shell-part-2/
Hi, I am working on writing a c shell script. It's this the 3rd script I would be writing. I am fairly new to c shell but not new to programming.
I need help to figure out how to use regular expressions in c shell. I am used to doing it in C++ and PHP. /.+[a-z]/ etc I need to know how it...
Hello, my problem is related with scrollbuffer size in my csh.
I have figured out that i must use sc instead of vt, and already done it. Also I can increase my scrollback size using vidcontrol -h <number> command. The current problem is that I can't save this result after rebooting.
Another...
I want to enable some common key bindings for t/csh on my dedicated server (freebsd 11 rel) but noticed some really weird behavior!
Let me explain the situation. My .cshrc follows
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
setenv EDITOR vi...
Hi guys/gals ,
I've upgraded my install after latest sec. advisories ( 10.3) and now I'm getting
df : Command not found
mv : Command not found
PATH seems to be fine.
Also calling it with /bin/df gives me the same output.
Anyone with the same problem?
I decieded to start this thread after reading the thread 'Which shell do you use?'.
I'll start, mine is below.
# .cshrc - csh resource script, read at beginning of execution by each shell
#
#
# -- Set up command aliases
alias searchports 'find /usr/ports -type f -name pkg-descr | xargs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.