-
Notifications
You must be signed in to change notification settings - Fork 2
/
.octaverc
20 lines (14 loc) · 994 Bytes
/
.octaverc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
setenv("GNUTERM","qt");
history_control("ignoredups");
#set(0, "DefaultAxesFontName", "Times New Roman"); # Set the default axes font to Times New Roman.
#set(0, "DefaultAxesFontSize", 12); # Set the default axes font size to 12.
# '.functions'
function cls
mlock ();
clc, system("printf '\033[2J\033[3J\033[1;1H';");
endfunction;
# cls MS-DOS, OS/2 & Microsoft Windows CLS: Clear the terminal screen, and move the cursor to the upper left corner, then write the VT100 escape code for resetting the terminal to the standard output under the control of the format.
# '.prompt'
PS1 ('\[\033[7m\]\u@\h:\[\033[00m\]\[\033[4m\]\w\[\033[00m\]\n\[\033[7m\]\d at \t\[\033[00m\] \[\033[7m\]\s:\#>\[\033[00m\] ') #PS1 ('\[\033[7m\]\u@\h\[\033[00m\] \[\033[7m\]\d at \t\[\033[00m\] \[\033[7m\]\s:\#>\[\033[00m\] ') #PS1 ('\[\033[7m\]strftime("%Y.%m.%d@%H:%M:%S", localtime(time()))\[\033[00m\] \[\033[7m\]\u@\h\[\033[00m\] \[\033[7m\]\s:\#>\[\033[00m\] ')
PS2 (' ')
# Karl Bertin's Octave Prompt