aboutsummaryrefslogtreecommitdiff
path: root/etc/root
Commit message (Collapse)AuthorAgeFilesLines
* etc: remove leftover leading empty comments, blank linesMike Karels2023-08-221-1/+0
| | | | | | | | | Remove leftover empty leading comments/blank lines that had been spacers between $FreeBSD$ and the following content in config files in src/etc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41548
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/.Brad Davis2018-08-292-59/+0
| | | | | | | | Approved by: re (gjb), will (mentor) Differential Revision: https://reviews.freebsd.org/D16770 Notes: svn path=/head/; revision=338374
* Revert parts of r337849 and r337857Brad Davis2018-08-152-0/+59
| | | | | | | | | | | | This fixes the build and I will redo these changes as part of a future review that organizes them differently. The way I tried to do it here could be done better. Sorry for the noise. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16737 Notes: svn path=/head/; revision=337882
* Move all sh and csh files into bin/sh/ or bin/csh/Brad Davis2018-08-153-71/+0
| | | | | | | | | | | This simplifies pkgbase by migrating these to CONFS so they are properly tagged as config files. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16708 Notes: svn path=/head/; revision=337849
* Switch the default pager for most commands to lessAlan Somers2018-08-082-2/+2
| | | | | | | | | | | | 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
* Fix typo introduced in r320672 - check for existence of the right file.Edward Tomasz Napierala2017-07-051-1/+1
| | | | | | | | Reported by: rpokala@ MFC after: 2 weeks Notes: svn path=/head/; revision=320678
* Cosmetic tweaks to the default shell rc files, mostly comments.Edward Tomasz Napierala2017-07-052-2/+6
| | | | | | | 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/+5
| | | | | | | | | | | | | | | | | | | 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
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-02-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* last commit was a mistakeEitan Adler2012-11-161-1/+1
| | | | | | | | Pointyhat to: me (for real) Approved by: cperciva (implicit) Notes: svn path=/head/; revision=243153
* dot.login is supposed to be for bourne shell, not cshEitan Adler2012-11-161-1/+1
| | | | | | | | Pointyhat to: me Approved by: cperciva (implicit) Notes: svn path=/head/; revision=243130
* 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
* The test fails with "exit 1" if /usr/games/fortune doesn't actuallyEitan Adler2012-11-011-1/+1
| | | | | | | | | | | | | | exist. Fix that. PR: conf/71994 Submitted by: Mikael Eklund <rma@ludd.ltu.se> Reviewed by: crees Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 days Notes: svn path=/head/; revision=242452
* - remove the length shortening on the pathEitan Adler2012-04-111-6/+5
| | | | | | | | | | | | | - make the default prompt a bit more like scp - make the user show as root even when using 'su' instead of 'su -' - the key bindings didn't hurt anything but likely hide a bug - merge history instead of overwriting it Submitted by: gavin, joel Approved by: cperciva Notes: svn path=/head/; revision=234133
* - Make the default values for tcsh more user friendlyEitan Adler2012-03-241-6/+18
| | | | | | | | | | | | - Add an examples file with many of the not accepted suggestions from the discussion PR: conf/160689 Reviewed by: many Discussed on: current Approved by: cperciva Notes: svn path=/head/; revision=233429
* Switch the default terminal emulation style to xterm for most platforms.Ed Schouten2009-11-131-1/+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
* Remove more vestiges of /usr/X11R6, but leave mtree for portmgr.Doug Barton2007-05-291-1/+1
| | | | Notes: svn path=/head/; revision=170088
* Remove X11R6 from the default PATH to join the new world order.Doug Barton2007-05-291-1/+1
| | | | | | | | While I'm here, make the default PATH match that in the csh profile, and login.conf. Notes: svn path=/head/; revision=170087
* - Use absolute path for hostname(1)Kirill Ponomarev2004-04-011-1/+1
| | | | | | | Approved by: green Notes: svn path=/head/; revision=127728
* Make the defaults for Kerberos 5 a little more up-to-date.Mark Murray2003-04-302-4/+4
| | | | Notes: svn path=/head/; revision=114328
* Add these key bindings for tcsh users in interactive mode:Archie Cobbs2001-01-101-0/+5
| | | | | | | | | | | bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward Reviewed by: -current Notes: svn path=/head/; revision=70859
* o Display only a short fortune at the root login prompt, as large onesRobert Watson2000-07-151-1/+1
| | | | | | | | scroll of our pretty /etc/motd that helps the user know what to do. o Change reflects similar setting in /share/skel Notes: svn path=/head/; revision=63200
* Fix typo. rightous -> righteous.Jeroen Ruigrok van der Werven2000-05-281-1/+1
| | | | Notes: svn path=/head/; revision=61029
* o Migrate path, umask from dot.login to dot.cshrcRobert Watson2000-03-252-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | o Comment out display of fortune by default. o Synch root's .cshrc/.login and non-root's .cshrc/.login in terms of gratuitous variables set (EDITOR). o Remove some commented out variables set inconsistently or gratuitously, such as Interviews settings, 8-bit German locale for root only. o Synchronize comments in header, as well as references to appropriate man pages. o Remove MANPATH setting as apparently /etc/manpath.config does all that already. Similar changes probably need to be made in other dot.* files for root and skel, as all of these files seem to set different aliases, environmental variables, prompts, and have different semantics. As a result of this patch, leaving aside the setting of a special prompt for root, users of csh and tcsh should find similar environments when logging in or su'ing to any account using that shell. Reviewed by: asmodai, nbm, will Notes: svn path=/head/; revision=58570
* There is nothing more annoying than su'ing to root and discovering thatRobert Watson2000-03-072-3/+3
| | | | | | | | | | | | | | | | even simple things like md5 and ping aren't in your path. This patch moves the custom root-path setting from .login to .cshrc, so that users who su to root get a decent (and consistent) path. An appeal to change /etc/login.conf to provide a decent path for all users seems to have been vetoed for the time being. As a result, users will still, by default, not find ping or md5 in their path. However, at least root gets a decent default now. Reviewed by: asmodai Approved by: jkh Notes: svn path=/head/; revision=57802
* $Id$ -> $FreeBSD$Peter Wemm1999-08-274-4/+4
| | | | Notes: svn path=/head/; revision=50472
* By popular request, add /usr/local/sbin to this list.Jordan K. Hubbard1999-04-282-4/+4
| | | | Notes: svn path=/head/; revision=46139
* 1. Remove the hateful EDITOR=ee from root's environment; it's oneJordan K. Hubbard1999-04-272-4/+3
| | | | | | | | | | | thing to use it at startup, when you don't know if the user can handle vi or not, but yet another thing to leave it as a permanent land mine for root. 2. Put /usr/X11R6/bin in path; it makes getting the desktop up a lot easier. Notes: svn path=/head/; revision=46114
* Add Id keywordBrian Somers1998-09-132-0/+4
| | | | Notes: svn path=/head/; revision=39145
* Nuked setting of crt here too.Bruce Evans1998-09-021-3/+0
| | | | | | | Obtained from: src/etc/root/dot.profile rev.1.17. Notes: svn path=/head/; revision=38747
* Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc.Joseph Koshy1998-08-311-6/+1
| | | | Notes: svn path=/head/; revision=38678
* PR: 7613Peter Hawkins1998-08-141-2/+4
| | | | | | | | | Submitted by: axl@iafrica.com change default setting of the crt env var from 24 to blank (mail(1) then uses stty(1) setting Notes: svn path=/head/; revision=38319
* Make roots prompt "`hostname -s`# "Poul-Henning Kamp1997-11-071-0/+1
| | | | Notes: svn path=/head/; revision=31029
* Set `crt' by default to make mail(1) happy.Joerg Wunsch1997-09-263-4/+12
| | | | | | | Also, comment out the not so very commonly used interviews settings. Notes: svn path=/head/; revision=29870
* Make the default VERASE key the <-- key and remove root'sBrian Somers1997-04-032-5/+1
| | | | | | | | | | `stty's. 'nuff said. Inventor: joerg@FreeBSD.org Reviewer: sos@FreeBSD.org Notes: svn path=/head/; revision=24598
* Don't clobber the TERM variable if it's already set (e.g. from /etc/ttys,Joerg Wunsch1997-03-061-2/+2
| | | | | | | | | | or from a telnet session). So basically, this setting will only get in effect in the single-user shell. Closes PR # 2395. Notes: svn path=/head/; revision=23454
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-232-2/+2
| | | | Notes: svn path=/head/; revision=23037
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Remove root dotfiles which did more harm than good.Jordan K. Hubbard1996-08-143-545/+0
| | | | Notes: svn path=/head/; revision=17594
* This is no longer in /standJordan K. Hubbard1996-06-151-1/+1
| | | | Notes: svn path=/head/; revision=16394
* Make the invocation of fortune conditionalJordan K. Hubbard1996-04-301-1/+1
| | | | Notes: svn path=/head/; revision=15461
* Put the stty back here.Jordan K. Hubbard1996-03-061-0/+2
| | | | Notes: svn path=/head/; revision=14398
* Add back the stty commands I nuked - bad idea, sorry.Jordan K. Hubbard1996-03-061-0/+4
| | | | Notes: svn path=/head/; revision=14397
* Another round of spelling fixes.Mike Pritchard1996-01-313-6/+6
| | | | Notes: svn path=/head/; revision=13798
* Rip these things down to the absolutely minimums - no tsets, noJordan K. Hubbard1995-12-014-26/+1
| | | | | | | | sttys, no fancy prompts, nothing. Everything else seems to be too contraversal, so we'll go vanilla. Notes: svn path=/head/; revision=12559
* Remove ENABLE_STARTUP_LOCALE, use proper name for LANGAndrey A. Chernov1995-11-302-5/+3
| | | | Notes: svn path=/head/; revision=12542
* Revamp root's dotfiles.Jordan K. Hubbard1995-11-305-35/+597
| | | | | | | Submitted by: Patrick Hausen + mods by me Notes: svn path=/head/; revision=12539