etc: remove leftover leading empty comments, blank linesRemove leftover empty leading comments/blank lines that had beenspacers between $FreeBSD$ and the following content in config filesin src/e
etc: remove leftover leading empty comments, blank linesRemove leftover empty leading comments/blank lines that had beenspacers between $FreeBSD$ and the following content in config filesin src/etc.Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D41548
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/.Approved by: re (gjb), will (mentor)Differential Revision: https://reviews.freebsd.org/D16770
Revert parts of r337849 and r337857This fixes the build and I will redo these changes as part of a future reviewthat organizes them differently. The way I tried to do it here could be donebetter
Revert parts of r337849 and r337857This fixes the build and I will redo these changes as part of a future reviewthat organizes them differently. The way I tried to do it here could be donebetter. Sorry for the noise.Approved by: will (mentor)Differential Revision: https://reviews.freebsd.org/D16737
Move all sh and csh files into bin/sh/ or bin/csh/This simplifies pkgbase by migrating these to CONFS so they are properlytagged as config files.Approved by: will (mentor)Differential Revision:
Move all sh and csh files into bin/sh/ or bin/csh/This simplifies pkgbase by migrating these to CONFS so they are properlytagged as config files.Approved by: will (mentor)Differential Revision: https://reviews.freebsd.org/D16708
Switch the default pager for most commands to lessFinally, a pager for the nineties.MFC after: NeverRelnotes: YesDifferential Revision: https://reviews.freebsd.org/D13465Poll: https://reviews
Switch the default pager for most commands to lessFinally, a pager for the nineties.MFC after: NeverRelnotes: YesDifferential Revision: https://reviews.freebsd.org/D13465Poll: https://reviews.freebsd.org/V7
Fix typo introduced in r320672 - check for existence of the right file.Reported by: rpokala@MFC after: 2 weeks
Cosmetic tweaks to the default shell rc files, mostly comments.MFC after: 2 weeks
Run "resizewin -z" from the default shell profile files. This makesthe terminal work properly out of the box when logging over a serialline, which is quite important for the user experience on boar
Run "resizewin -z" from the default shell profile files. This makesthe terminal work properly out of the box when logging over a serialline, which is quite important for the user experience on boards likeRaspberry Pi. It doesn't affect cases where the terminal size isalready 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'tget updated even after logging out and back in.Reviewed by: impObtained from: CheriBSDSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D10642
Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;update paths; and include everything in the "base" distribution.The "games" distribution being optional made sense when th
Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;update paths; and include everything in the "base" distribution.The "games" distribution being optional made sense when there were moregames and we had small disks; but the "games-like" games were moved intothe ports tree a dozen years ago and the remaining "utility-like" gamesoccupy less than 0.001% of my laptop's small hard drive. Meanwhile everynew user is confronted by the question "do you want games installed" whenthey they try to install FreeBSD.The next steps will be:2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), andcaesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor,morse, number, primes, and random, since there is evidence that those arestill being used.3. Merging src/games into src/usr.bin.This change will not be MFCed.Reviewed by: jmgDiscussed at: EuroBSDConApproved by: gjb (release-affecting changes)
Remove hack to emulate effective uid and just use the EUID's name in thefirst place. I was unaware of this option when originally committingthis change.Submitted by: gcooperApproved by: cperciv
Remove hack to emulate effective uid and just use the EUID's name in thefirst place. I was unaware of this option when originally committingthis change.Submitted by: gcooperApproved by: cpercivaMFC after: 3 days
last commit was a mistakePointyhat to: me (for real)Approved by: cperciva (implicit)
dot.login is supposed to be for bourne shell, not cshPointyhat to: meApproved by: cperciva (implicit)
Change default prompt to show ~ again for the home directorySubmitted by: floApproved by: eadler
Revert the change that makes less default.Since I've committed this I've receieved roughly an equalamount of email thanking me for making this changeand asking me to revert it.I've resisted mak
Revert the change that makes less default.Since I've committed this I've receieved roughly an equalamount of email thanking me for making this changeand asking me to revert it.I've resisted making this change becausenew users tend to prefer less over moreand these users are the least likely to knowhow to change the PAGER on their own.Requested by: manyObjected to: just as manyDecision made by: coreApproved by: cpercivaMFC after: 3 days
The test fails with "exit 1" if /usr/games/fortune doesn't actuallyexist. Fix that.PR: conf/71994Submitted by: Mikael Eklund <[email protected]>Reviewed by: creesReviewed by: jillesApproved by
The test fails with "exit 1" if /usr/games/fortune doesn't actuallyexist. Fix that.PR: conf/71994Submitted by: Mikael Eklund <[email protected]>Reviewed by: creesReviewed by: jillesApproved by: cperciva (implicit)MFC after: 3 days
- remove the length shortening on the path- 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 bu
- remove the length shortening on the path- 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 itSubmitted by: gavin, joelApproved by: cperciva
- Make the default values for tcsh more user friendly- Add an examples file with many of the not accepted suggestions from the discussionPR: conf/160689Reviewed by: manyDiscussed on: currentAp
- Make the default values for tcsh more user friendly- Add an examples file with many of the not accepted suggestions from the discussionPR: conf/160689Reviewed by: manyDiscussed on: currentApproved by: cperciva
Switch the default terminal emulation style to xterm for most platforms.Right now syscons(4) uses a cons25-style terminal emulator. Thedisadvantages of that are:- Little compatibility with embed
Switch the default terminal emulation style to xterm for most platforms.Right now syscons(4) uses a cons25-style terminal emulator. Thedisadvantages 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 supportingxterm-style terminal emulation for months, so flip the switch and makeeveryone use an xterm-style console driver.I still have to enable this on i386. Right now pc98 and i386 share thesame /etc/ttys file. I'm not going to switch pc98, because it uses itsown 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@
Remove more vestiges of /usr/X11R6, but leave mtree for portmgr.
Remove X11R6 from the default PATH to join the new world order.While I'm here, make the default PATH match that in the csh profile,and login.conf.
- Use absolute path for hostname(1)Approved by: green
Make the defaults for Kerberos 5 a little more up-to-date.
Add these key bindings for tcsh users in interactive mode: bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forwardReviewed by: -c
Add these key bindings for tcsh users in interactive mode: bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forwardReviewed by: -current
o Display only a short fortune at the root login prompt, as large ones scroll of our pretty /etc/motd that helps the user know what to do.o Change reflects similar setting in /share/skel
123