This commit is contained in:
Stian Lund 2024-07-06 20:46:28 +02:00
parent 1fddb99635
commit 12bec6290d
12 changed files with 1350 additions and 770 deletions

View File

@ -35,8 +35,8 @@ alias bb="ssh -t tty.sdf.org bboard"
alias cd..="cd .."
alias cls="printf '\ec'" # Clear screen+scrollback
alias cp="cp -i"
alias cyg-get="/cygdrive/e/Install/Cygwin/setup-x86_64.exe -qn -P"
alias cyg-update="/cygdrive/e/Install/Cygwin/setup-x86_64.exe -qng"
alias cyg-get="/e/Install/Cygwin/setup-x86_64.exe -qn -P"
alias cyg-update="/e/Install/Cygwin/setup-x86_64.exe -qng"
alias del="rm -i"
alias dir="ls -la"
alias ga="git add -A"
@ -50,12 +50,12 @@ alias la="ls -la"
alias ll="ls -l"
alias ls="ls --color=auto --group-directories-first"
alias mv="mv -i"
alias npp="cygstart /cygdrive/d/bin/Notepad++/notepad++.exe"
alias npp="cygstart /d/bin/Notepad++/notepad++.exe"
alias pastebin="pb" # https://tildegit.org/tomasino/pb
alias rm="rm -i"
alias shn="pb -u"
alias start="cygstart"
alias sublime="cygstart /cygdrive/d/bin/Sublime/sublime_text.exe"
alias sublime="cygstart /d/bin/Sublime/sublime_text.exe"
alias sudo="elevate -k" "$@" # https://code.kliu.org/misc/elevate/
# Git Prompt

View File

@ -34,4 +34,4 @@ list_format=user
[Dirs]
current_is_left=true
other_dir=/cygdrive/c/Users/Stian
other_dir=/c/Users/Stian

31
.config/mintty/config Executable file
View File

@ -0,0 +1,31 @@
Font=Consolas
FontHeight=11
FontIsBold=no
Transparency=low
OpaqueWhenFocused=yes
CursorType=block
Locale=nb_NO
Charset=UTF-8
Scrollbar=none
Rows=45
BellFlash=yes
CopyAsRTF=no
BackspaceSendsBS=yes
ForegroundColour=131,148,150
BackgroundColour=0,43,54
CursorColour=220,50,47
Black=7,54,66
Red=220,50,47
BoldColour=255,255,255
Green=133,153,0
Yellow=181,137,0
Blue=38,139,210
Magenta=211,54,130
BoldAsFont=no
BoldAsColour=no
ThemeFile=base16-monokai-mod.minttyrc
FontWeight=400
RightClickAction=paste
ScrollMod=shift
Term=xterm-256color
AltFnShortcuts=yes

View File

View File

@ -1,127 +0,0 @@
## ELinks 0.11.6 configuration file
## This is ELinks configuration file. You can edit it manually,
## if you wish so; this file is edited by ELinks when you save
## options through UI, however only option values will be altered
## and missing options will be added at the end of file; if option
## is not written in this file, but in some file included from it,
## it is NOT counted as missing. Note that all your formatting,
## own comments and so on will be kept as-is.
##
## Obviously, if you don't like what ELinks is going to do with
## this file, you can change it by altering the config.saving_style
## option. Come on, aren't we friendly guys after all?
##############################
# Automatically saved options
#
## config
# Configuration handling options.
## config.saving_style_w [0|1]
# This is internal option used when displaying a warning about
# obsolete config.saving_style. You shouldn't touch it.
set config.saving_style_w = 1
## terminal
# Terminal options.
## terminal.rxvt
# Options specific to this terminal type (according to $TERM value).
## terminal.rxvt.colors <num>
set terminal.rxvt.colors = 1
## terminal.rxvt.m11_hack [0|1]
set terminal.rxvt.m11_hack = 0
## terminal.rxvt.type <num>
set terminal.rxvt.type = 1
## ui
# User interface options.
## ui.language <language>
# Language of user interface. 'System' means that the language will
# be extracted from the environment dynamically.
set ui.language = "System"
##############################
# Automatically saved options
#
## terminal
# Terminal options.
## terminal.rxvt
# Options specific to this terminal type (according to $TERM value).
## terminal.rxvt.charset <codepage>
set terminal.rxvt.charset = "ISO-8859-1"
## terminal.rxvt.utf_8_io [0|1]
set terminal.rxvt.utf_8_io = 1
##############################
# Automatically saved options
#
## connection
# Connection options.
## connection.ssl
# SSL options.
## connection.ssl.cert_verify [0|1]
# Verify the peer's SSL certificate. Note that this
# needs extensive configuration of OpenSSL by the user.
set connection.ssl.cert_verify = 0
## cookies
# Cookies options.
## cookies.accept_policy <num>
# Cookies accepting policy:
# 0 is accept no cookies
# 1 is ask for confirmation before accepting cookie
# 2 is accept all cookies
set cookies.accept_policy = 2
## ui
# User interface options.
## ui.clock
# Digital clock in the status bar.
## ui.clock.enable [0|1]
# Whether to display a digital clock in the status bar.
set ui.clock.enable = 1
## ui.leds
# LEDs (visual indicators) options.
## ui.leds.enable [0|1]
# Enable LEDs.
# These visual indicators will inform you about various states.
set ui.leds.enable = 1
## ui.date_format <str>
# Date format to use in dialogs. See strftime(3).
set ui.date_format = "%b %e %H:%M"

View File

@ -80,6 +80,14 @@ servers = (
chatnet = "Undernet";
port = "6667";
},
{
address = "irc.sdf.org";
chatnet = "SDF";
port = "6667";
use_tls = "no";
tls_verify = "yes";
starttls = "yes";
},
{
address = "irc.sdf.org";
chatnet = "SDF";

File diff suppressed because it is too large Load Diff

115
.lynx/lynx.lss Executable file
View File

@ -0,0 +1,115 @@
# Setting the normal and default types lets us keep (almost) the same colors
# whether the terminal's default colors are white-on-black or black-on-white.
# It is not exact since the default "white" is not necessarily the same color
# as the ANSI lightgray, but is as close as we can get in a standard way.
#
# If you really want the terminal's default colors, and if lynx is built using
# ncurses' default-color support, remove these two lines:
normal: normal: lightgray:black
default: normal: white:black
# Normal type styles correspond to HTML tags.
#
# The next line (beginning with "em") means: use bold if mono, otherwise
# brightblue on <defaultbackground>
em: bold: brightblue
strong: bold: brightred
b: bold: red
i: bold: brightblue
a: bold: white
img: dim: brown
fig: normal: gray
caption: reverse: brown
hr: normal: yellow
blockquote: normal: brightblue
ul: normal: brown
address: normal: magenta
title: normal: magenta
tt: dim: brightmagenta:black
h1: bold: yellow:blue
label: normal: magenta
q: normal: yellow:magenta
small: dim: default
big: bold: yellow
sup: bold: yellow
sub: dim: gray
li: normal: magenta
code: normal: cyan
cite: normal: cyan
table: normal: brightcyan
tr: bold: brown
td: normal: default
br: normal: default
# Special styles - not corresponding directly to HTML tags
# alert - status bar, when message begins "Alert".
# alink - active link
# normal - default attributes
# status - status bar
# whereis - whereis search target
#
#normal:normal:default:blue
alink: reverse: yellow: black
status: reverse: yellow: blue
alert: bold: yellow: red
whereis: reverse+underline: magenta: cyan
# currently not used
#value:normal:green
menu.bg: normal: black: lightgray
menu.frame: normal: black: lightgray
menu.entry: normal: lightgray: black
menu.n: normal: red: gray
menu.active: normal: yellow: black
menu.sb: normal: brightred: lightgray
forwbackw.arrow:reverse
hot.paste: normal: brightred: gray
# Styles with classes - <ul class=red> etc.
ul.red: underline: brightred
ul.blue: bold: brightblue
li.red: reverse: red: yellow
li.blue: bold: blue
strong.a: bold: black: red
em.a: reverse: black: blue
strong.b: bold: white: red
em.b: reverse: white: blue
strong.debug: reverse: green
font.letter: normal: white: blue
input.submit: normal: cyan
tr.baone: bold: yellow
tr.batwo: bold: green
tr.bathree: bold: red
#
# Special handling for link.
link: normal: white
link.green: bold: brightgreen
link.red: bold: black: red
link.blue: bold: white: blue
link.toc: bold: black: white
# Special cases for link - the rel or title is appended after the class.
# <link rel=next class=red href="1">
link.red.next: bold: red
link.red.prev: bold: yellow: red
link.blue.prev: bold: yellow: blue
link.blue.next: bold: blue
link.green.toc: bold: white: green
#
# Define styles that will be used when syntax highlighting is requested
# (commandline option -prettysrc).
span.htmlsrc_comment:normal: white
span.htmlsrc_tag:normal: white
#If you don't like that the tag name and attribute name are displayed
#in different colors, comment the following line.
span.htmlsrc_attrib:normal: cyan
span.htmlsrc_attrval:normal: magenta
span.htmlsrc_abracket:normal: white
span.htmlsrc_entity:normal: white
##span.htmlsrc_href:
##span.htmlsrc_entire:
span.htmlsrc_badseq:normal: red
span.htmlsrc_badtag:normal: red
span.htmlsrc_badattr:normal: red
span.htmlsrc_sgmlspecial:normal: yellow

View File

@ -18,3 +18,15 @@ Note: if you edit this file manually
<p>
<ol>
<LI><a href="https://stian.sdf.org/">stian.sdf.org | Personal web site for Stian Lund</a>
<LI><a href="https://pathduck.github.io/test/">Testing Pages</a>
<LI><a href="https://pathduck.github.io/vivaldi/">Vivaldi Settings</a>
<LI><a href="gopher://sdf.org/">SDF Gopher Menu</a>
<LI><a href="gopher://gopher.floodgap.com/">Floodgap Gopher Menu</a>
<LI><a href="https://news.ycombinator.com/">Hacker News</a>
<LI><a href="https://text.npr.org/">NPR : National Public Radio</a>
<LI><a href="https://lite.cnn.com/">Breaking News, Latest News and Videos | CNN</a>
<LI><a href="http://68k.news/">68k.news: Headlines From the Future</a>
<LI><a href="https://lobste.rs/">Lobsters</a>
<LI><a href="http://textfiles.com/directory.html">T E X T F I L E S</a>
<LI><a href="https://lite.duckduckgo.com/lite/">DuckDuckGo Search</a>
<LI><a href="https://searx.envs.net/">envs.net - SearXNG</a>

65
.lynxrc
View File

@ -1,19 +1,37 @@
# Lynx User Defaults File
#
# This file contains options saved from the Lynx Options Screen (normally
# with the '>' key). There is normally no need to edit this file manually,
# since the defaults here can be controlled from the Options Screen, and the
# next time options are saved from the Options Screen this file will be
# completely rewritten. You have been warned...
# with the 'o' key). To save options with that screen, you must select the
# checkbox:
# Save options to disk
#
# You must then save the settings using the link on the line above the
# checkbox:
# Accept Changes
#
# You may also use the command-line option "-forms_options", which displays
# the simpler Options Menu instead. Save options with that using the '>' key.
#
# There is normally no need to edit this file manually, since the defaults
# here can be controlled from the Options Screen, and the next time options
# are saved from the Options Screen this file will be completely rewritten.
# You have been warned...
#
# If you are looking for the general configuration file - it is normally
# called lynx.cfg, and it has different content and a different format.
# called "lynx.cfg". It has different content and a different format.
# It is not this file.
# accept_all_cookies allows the user to tell Lynx to automatically
# accept all cookies if desired. The default is "FALSE" which will
# prompt for each cookie. Set accept_all_cookies to "TRUE" to accept
# all cookies.
accept_all_cookies=true
accept_all_cookies=on
# anonftp_password allows the user to tell Lynx to use the personal
# email address as the password for anonymous ftp. If no value is given,
# Lynx will use the personal email address. Set anonftp_password
# to a different value if you choose.
anonftp_password=anonymous
# bookmark_file specifies the name and location of the default bookmark
# file into which the user can paste links for easy access at a later
@ -52,6 +70,7 @@ case_sensitive_searching=off
# Eastern European (windows-1250)
# Latin 3 (ISO-8859-3)
# Latin 4 (ISO-8859-4)
# Baltic Rim (ISO-8859-13)
# Baltic Rim (cp775)
# Baltic Rim (windows-1257)
# Cyrillic (ISO-8859-5)
@ -61,6 +80,7 @@ case_sensitive_searching=off
# Arabic (ISO-8859-6)
# Arabic (cp864)
# Arabic (windows-1256)
# Celtic (ISO-8859-14)
# Greek (ISO-8859-7)
# Greek (cp737)
# Greek2 (cp869)
@ -69,7 +89,8 @@ case_sensitive_searching=off
# Hebrew (cp862)
# Hebrew (windows-1255)
# Turkish (ISO-8859-9)
# ISO-8859-10
# Turkish (cp857)
# North European (ISO-8859-10)
# UNICODE (UTF-8)
# RFC 1345 w/o Intro
# RFC 1345 Mnemonic
@ -134,6 +155,11 @@ file_editor=nano
# BY_DATE -- sorts on the date of the file
file_sorting_method=BY_FILENAME
# ROT13'd keyboard layout
# JCUKEN Cyrillic, for AT 101-key kbd
# YAWERTY Cyrillic, for DEC LK201 kbd
kblayout=ROT13'd keyboard layout
# If keypad_mode is set to "NUMBERS_AS_ARROWS", then the numbers on
# your keypad when the numlock is on will act as arrow keys:
# 8 = Up Arrow
@ -153,18 +179,18 @@ file_sorting_method=BY_FILENAME
# NOTE: Some fixed format documents may look disfigured when
# "LINKS_ARE_NUMBERED" or "LINKS_AND_FORM_FIELDS_ARE_NUMBERED" are
# enabled.
keypad_mode=LINKS_ARE_NOT_NUMBERED
keypad_mode=LINKS_AND_FIELDS_ARE_NUMBERED
# lineedit_mode specifies the key binding used for inputting strings in
# prompts and forms. If lineedit_mode is set to "Default Binding" then
# the following control characters are used for moving and deleting:
#
# Prev Next Enter = Accept input
# Move char: <- -> ^G = Cancel input
# Move word: ^P ^N ^U = Erase line
# Delete char: ^H ^R ^A = Beginning of line
# Delete word: ^B ^F ^E = End of line
#
# Current lineedit modes are:
# Default Binding
# Alternate Bindings
@ -208,7 +234,17 @@ multi_bookmarkZ=
# to TRUE in lynx.cfg, or use the -nofrom command line switch. You also
# could leave this field blank, but then you won't have it included in
# your mailed comments.
personal_mail_address=
personal_mail_address=test@example.com
# personal_mail_name specifies your personal name, for mail. The
# name is sent for mailed comments. Lynx will prompt for this,
# showing the configured value as a default when sending mail.
# This is not necessarily the same as a name provided as part of the
# personal_mail_address.
# Lynx does not save your changes to that default value as a side-effect
# of sending email. To update the default value, you must use the options
# menu, or modify this file directly.
personal_mail_name=Anonymous
# preferred_charset specifies the character set in MIME notation (e.g.,
# ISO-8859-2, ISO-8859-5) which Lynx will indicate you prefer in requests
@ -284,7 +320,7 @@ show_dotfiles=off
# statusline prompt instead of the menu seen in novice and intermediate
# user modes. When this option is set to "standard", the menu will be
# presented regardless of user mode.
sub_bookmarks=OFF
sub_bookmarks=STANDARD
# user_mode specifies the users level of knowledge with Lynx. The
# default is "NOVICE" which displays two extra lines of help at the
@ -297,7 +333,7 @@ user_mode=INTERMEDIATE
# If verbose_images is "on", lynx will print the name of the image
# source file in place of [INLINE], [LINK] or [IMAGE]
# See also VERBOSE_IMAGES in lynx.cfg
verbose_images=on
verbose_images=off
# If vi_keys is set to "on", then the normal VI movement keys:
# j = down k = up
@ -310,3 +346,4 @@ vi_keys=off
# The visited_links setting controls how Lynx organizes the information
# in the Visited Links Page.
visited_links=LAST_REVERSED