; FILE K95CUSTOM.INI -- C-Kermit User Customisations script

; Remove the following line to get rid of the welcome message:
copy /toscreen /interpret welcome.txt

; While you're here, you might like to uncomment some of the following or
; add some customisations of your own.

; Set the default terminal type to Linux. For most modern linux hosts you
; should use the utf8 character set.
;set terminal type linux
;set terminal remote utf8

; Update the terminal screen every 20ms - this is somewhat smoother than the
; default setting of 100ms. You may even prefer 10ms or maybe your computer
; handles the default setting better. If the number is too low you may find
; blinking text and the blinking cursor start to blink very slowly - if this
; occurs, pick a larger number or turn off blinking things (see below)
set terminal screen-update fast 20

; Use a non-blinking full block cursor like PuTTY instead of a blinking _
;set terminal cursor full noblink

; Don't blink blinking text - show it in bold with reverse background instead.
;set terminal attribute blink off

; Make the terminal (PTY) dimensions change when you resize the window, rather
; that change the font size
if gui {
    set gui window resize-mode change-dimensions
}

; Change single-clicking the right mouse button (on a two button mouse) or the
; middle mouse button (three button mouse) to paste
;set mouse button 2 none click \Kpaste

; Change single-clicking the right mouse button on a three button mouse to paste
;set mouse button 3 none click \Kpaste

; Disable Alt+Q (quits C-Kermit without prompting)
;set key \2161 \Kignore

; Change your default userid to something other than your Windows username
;set login userid root

; Send an IGNORE message to the SSH server every 60 seconds to prevent the
; connection from becoming idle and timing out
if available ssh {
    set ssh heartbeat-interval 60
}

; Set the default download directory to the normal location on Windows 10/11
;set file download-directory \v(home)downloads

; When receiving a file, instead of asking where to save it (the default
; setting), just save it in the current directory (or the download-directory if
; one is set) without asking. If you'd prefer a file-save dialog when receiving
; a file, comment this out the following line or change it from "on" to "ask".
set terminal autodownload on

; By default CKW tries to find your browser by looking at the registry key
; HKEY_CLASSES_ROOT\http\shell\open\command which was the most reliable way to
; do this back when browsers like Netscape 2.0 couldn't be relied on to properly
; register a ShellExecute hook. These days you can safely just leave the setting
; blank and let CKW pass the URL off to Windows which will then give it to your
; default browser:
set browser
; If, however, you're running an antique browser on an antique version of Windows
; you might like to comment out the above to let CKW try and find your browser via
; the registry, or you can specify the full path to your browser along with any
; command line arguments if CKW can't find the right browser automatically (or
; you'd prefer CKW to open URLs in a browser other than the default)

; Define macros for different terminal color schemes
;define black set term color term lgray black    ; Gray on black
;define gray set term color term black lgray     ; Black on gray
;define blue set term color term white blue      ; White on blue
;define white set term color term black white    ; Black on white

; Start out into your home directory rather than where-ever CKW lives
cd \v(home)

;
; This message is to guide new users accidentally running the real old
; console-mode version of C-Kermit towards the GUI version. The console version
; has some issues on modern windows (as well as on Windows 9x) and really
; shouldn't be peoples first choice.
;
; You can remove the startup message by commenting out or removing the lines below
;
if not gui {
	echo ""
	echo " +---------------------------------| Note |--------------------------------+"
	echo " |                                                                         |"
	echo " | You're using the old console-mode version of C-Kermit for Windows!      |"
	echo " |                                                                         |"
	echo " | Since June 2002, C-Kermit has also been available in a GUI version that |"
	echo " | isn't constrained by Windows' console environment. It has all the same  |"
	echo " | features while behaving much better.                                    |"
	echo " |                                                                         |"
	echo " | To use the GUI version of C-Kermit, run k95g.exe instead of k95.exe     |"
	echo " |                                                                         |"
	echo " +----------------------------------------------| from: k95custom.ini |----+"
	echo ""
}
