aboutsummaryrefslogtreecommitdiff
path: root/share/skel
Commit message (Collapse)AuthorAgeFilesLines
* dot.profile: handle symlinked $HOMEEdward Tomasz Napierala2024-02-131-0/+3
| | | | | | | | | | | | | | | | | Reapply 4cea05a273c875b5d5d4c41bfa6f2f0a60fa4a66: Make sh(1) recognize the default $HOME. By default /home is a symlink; without this change, when you log in, sh(1) won't realize the current directory (eg '/usr/home/test') is the same as $HOME ('/home/test'). /home is no longer a symlink by default, but new users may be added on systems that started out with an earlier version of FreeBSD (and still have /home as a symlink) or admins may do so. This test is not particularly expensive, so just restore it. Suggested by: danfe, brooks
* .profile: Don't bother checking for /home symlinkCollin Funk2024-02-121-3/+0
| | | | | | | | | | Since FreeBSD 14.0, user directories are created directly under /home. This check should no longer be needed. This reverts commit 4cea05a273c875b5d5d4c41bfa6f2f0a60fa4a66. Signed-off-by: Collin Funk <collin.funk1@gmail.com> Pull-request: https://github.com/freebsd/freebsd-src/pull/1102
* share: Remove ancient SCCS tags.Warner Losh2023-11-271-1/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-169-9/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sh(1): fix home/del key on mobaxterm envBaptiste Daroussin2021-10-201-0/+4
| | | | | | | | | | For $reason mobaxterm default on sending unusual sequence from home/del key, which makes libedit unabel to catch them and bind them correctly. mobaxterm seems popular on the windows environment, so add proper keybinding to default shrc configuration so it works out of box. Reported by: lme
* skel: update .shrc as wellBaptiste Daroussin2021-10-201-0/+8
| | | | | | | | | | Somehow we end up having 2 definition of the same .shrc in the source tree, both of them should have been updated. A batter fix would be to only keep one copy of the same file. but that would be for another commit Reported by: lme
* Make sh(1) support \u in PS1. This removes one fork/exec on interactiveEdward Tomasz Napierala2019-01-241-1/+1
| | | | | | | | | | | | shell startup. Reviewed by: 0mp (man page), jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18790 Notes: svn path=/head/; revision=343399
* Don't mess with BLOCKSIZE in shell startup files - it's set by login.conf(5);Edward Tomasz Napierala2019-01-202-2/+0
| | | | | | | | | | | | | there's no need to even mention it in shell rc files. Not that it's wrong; just pointless and somewhat misleading. Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18809 Notes: svn path=/head/; revision=343231
* Make sh(1) recognize the default $HOME. By default /homeEdward Tomasz Napierala2019-01-091-0/+3
| | | | | | | | | | | | | | is a symlink; without this change, when you log in, sh(1) won't realize the current directory (eg '/usr/home/test') is the same as $HOME ('/home/test'). Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18775 Notes: svn path=/head/; revision=342881
* Give sh(1) a proper default prompt instead of just "$".Edward Tomasz Napierala2019-01-061-2/+2
| | | | | | | | | | | Reviewed by: jilles MFC after: 2 weeks Relnotes: totally Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18697 Notes: svn path=/head/; revision=342812
* Add current working directory to the default (although commented out) sh(1)Edward Tomasz Napierala2018-12-311-2/+2
| | | | | | | | | | | | prompt, so it looks just like the tcsh(1) one when you uncomment it. Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18673 Notes: svn path=/head/; revision=342645
* Simplify the way we set the default sh(1) PS1. No functional changes.Edward Tomasz Napierala2018-12-281-5/+1
| | | | | | | | | | Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18662 Notes: svn path=/head/; revision=342576
* Switch the default pager for most commands to lessAlan Somers2018-08-083-3/+3
| | | | | | | | | | | | Finally, a pager for the nineties. MFC after: Never Relnotes: Yes Differential Revision: https://reviews.freebsd.org/D13465 Poll: https://reviews.freebsd.org/V7 Notes: svn path=/head/; revision=337497
* Simplify this Makefile.Brad Davis2018-06-081-8/+5
| | | | | | | Approved by: bapt (mentor) Notes: svn path=/head/; revision=334841
* [skel] Remove dot.rhosts from share/skelEitan Adler2018-05-052-10/+1
| | | | | | | The rcmds were removed in r324351. Chase that removal. Notes: svn path=/head/; revision=333270
* skel: Quote PAGER in dot.shrcEitan Adler2017-12-311-1/+1
| | | | | | | | | PR: 181853 Submitted by: pl@catslair.org MFC After: 1 week Notes: svn path=/head/; revision=327420
* Cosmetic tweaks to the default shell rc files, mostly comments.Edward Tomasz Napierala2017-07-052-1/+5
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=320672
* Run "resizewin -z" from the default shell profile files. This makesEdward Tomasz Napierala2017-07-052-0/+4
| | | | | | | | | | | | | | | | | | | the terminal work properly out of the box when logging over a serial line, which is quite important for the user experience on boards like Raspberry Pi. It doesn't affect cases where the terminal size is already non-zero, such as SSH or vt(4) sessions. Note that this doesn't handle a scenario pointed out by rgrimes@: when the terminal is resized after login, the terminal size won't get updated even after logging out and back in. Reviewed by: imp Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10642 Notes: svn path=/head/; revision=320670
* skel: Remove reference to deleted part in previous commit to this file.Jilles Tjoelker2017-01-241-2/+2
| | | | | | | | Reported by: Rodney W. Grimes MFC after: 1 week Notes: svn path=/head/; revision=312721
* skel: Do not set -o emacs in .shrc.Jilles Tjoelker2017-01-151-4/+0
| | | | | | | | | | | | | sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set this again in .shrc, since that only serves to prevent invocations like 'sh -o vi' and 'sh +o emacs' to have the intended effect. PR: 215958 Submitted by: Andras Farkas MFC after: 1 week Notes: svn path=/head/; revision=312230
* Use more appropriate ${SHAREDIR} rather than /usr/share.Bryan Drewery2015-10-271-2/+2
| | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=290083
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-273-4/+4
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * \ Merge headSimon J. Gerraty2014-04-282-7/+9
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | We do want objdirSimon J. Gerraty2013-10-131-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256421
| * | | Updated dependenciesSimon J. Gerraty2013-10-131-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256419
| * | | Sync with HEAD.David E. O'Brien2013-02-081-4/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * \ \ \ Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Remove NO_OBJSimon J. Gerraty2015-06-111-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp Notes: svn path=/head/; revision=284255
* | | | | Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-02-123-4/+4
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes) Notes: svn path=/head/; revision=278616
* | | | Prefer /etc/login.conf for some of these environment values.Bryan Drewery2014-04-142-7/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | PR: conf/186085 Reported by: Glen Neff <glen.neff@emc.com> MFC after: 2 weeks Sponsored by: EMC Notes: svn path=/head/; revision=264465
* | | Remove hack to emulate effective uid and just use the EUID's name in theEitan Adler2012-12-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first place. I was unaware of this option when originally committing this change. Submitted by: gcooper Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=243893
* | | Change default prompt to show ~ again for the home directoryBaptiste Daroussin2012-11-041-1/+1
| |/ |/| | | | | | | | | | | | | Submitted by: flo Approved by: eadler Notes: svn path=/head/; revision=242541
* | Revert the change that makes less default.Eitan Adler2012-11-031-1/+1
|/ | | | | | | | | | | | | | | | | | | | Since I've committed this I've receieved roughly an equal amount of email thanking me for making this change and asking me to revert it. I've resisted making this change because new users tend to prefer less over more and these users are the least likely to know how to change the PAGER on their own. Requested by: many Objected to: just as many Decision made by: core Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=242514
* Copy recent changes from etc/root/dot.cshrc that make the defaults moreEitan Adler2012-04-291-5/+17
| | | | | | | | | | user friendly Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=234823
* skel/.shrc: Improve commented CDPATH example for POSIX requirements.Jilles Tjoelker2011-06-101-1/+1
| | | | | | | | | | | | | | POSIX says an empty entry in CDPATH shall not result in the new directory being printed, while any non-empty entry shall result in the new directory being printed, including ".". Therefore, the value of CDPATH should almost always start with a colon, not dot and colon. Our sh does not print the name for empty entries as well as "." entries. MFC after: 1 week Notes: svn path=/head/; revision=222932
* Switch the default terminal emulation style to xterm for most platforms.Ed Schouten2009-11-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now syscons(4) uses a cons25-style terminal emulator. The disadvantages of that are: - Little compatibility with embedded devices with serial interfaces. - Bad bandwidth efficiency, mainly because of the lack of scrolling regions. - A very hard transition path to support for modern character sets like UTF-8. Our terminal emulation library, libteken, has been supporting xterm-style terminal emulation for months, so flip the switch and make everyone use an xterm-style console driver. I still have to enable this on i386. Right now pc98 and i386 share the same /etc/ttys file. I'm not going to switch pc98, because it uses its own Kanji-capable cons25 emulator. IMPORTANT: What to do if things go wrong (i.e. graphical artifacts): - Run the application inside script(1), try to reduce the problem and send me the log file. - In the mean time, you can run `vidcontrol -T cons25' and `export TERM=cons25' so you can run applications the same way you did before. You can also build your kernel with `options TEKEN_CONS25' to make all virtual terminals use the cons25 emulator by default. Discussed on: current@ Notes: svn path=/head/; revision=199243
* Add explicit test so that non-existence of /usr/games/fortuneRuslan Ermilov2009-03-272-2/+2
| | | | | | | doesn't affect command exit status. Notes: svn path=/head/; revision=190477
* Remove /usr/X11R6 from the path here too.Doug Barton2007-05-292-3/+3
| | | | | | | Reminded by: Niclas Zeising <niclas.zeising@gmail.com> Notes: svn path=/head/; revision=170119
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Use the standard <bsd.files.mk> API to install files.Ruslan Ermilov2004-01-191-14/+9
| | | | Notes: svn path=/head/; revision=124716
* Prefer FreeBSD.org to freebsd.org in mail alias examples.Robert Watson2003-09-281-2/+2
| | | | Notes: svn path=/head/; revision=120555
* Drop support for COPY, -c has been the default mode of install(1)Ruslan Ermilov2002-07-291-2/+2
| | | | | | | | | for a long time now. Approved by: bde Notes: svn path=/head/; revision=100872
* Turn on emacs line editing mode by default, as this is what most shells doJuli Mallett2002-07-231-3/+7
| | | | | | | | | | | | | these days, and the average user expects ^A and arrow keys to work, however if they know nothing of editing modes, they will think sh(1) just sucks. It is likely that because of defaults on most systems and with most shells that anyone who actually wants vi(1) editing mode will have 'set -o vi'. This won't affect existing accounts, this way, of course. Only accounts with .shrc from new etc/skel will be affected. This is much better than making the change in sh(1). Notes: svn path=/head/; revision=100569
* s/${INSTALL} -c/${INSTALL} ${COPY}/Ruslan Ermilov2002-07-181-2/+3
| | | | Notes: svn path=/head/; revision=100313
* Synchronize path with dot.cshrc by adding /usr/local/sbin.Mark Peek2002-07-071-1/+1
| | | | | | | | | PR: 26720 Submitted by: Rob Simmons <rsimmons@wumpus.wlcg.com> MFC after: 1 week Notes: svn path=/head/; revision=99510
* Automatically exec bash at startup if it exists^U Turn on the display ofNik Clayton2001-06-252-2/+3
| | | | | | | tips from the freebsd-tips database at login time. Notes: svn path=/head/; revision=78771