Mercurial > hg > octave-lyh
diff src/user-prefs.cc @ 1044:1aa6f2edd975
[project @ 1995-01-18 16:35:01 by jwe]
author | jwe |
---|---|
date | Wed, 18 Jan 1995 16:35:01 +0000 |
parents | d383ec996ee1 |
children | cb4eaa324faf |
line wrap: on
line diff
--- a/src/user-prefs.cc +++ b/src/user-prefs.cc @@ -77,6 +77,7 @@ user_pref.pager_binary = 0; user_pref.ps1 = 0; user_pref.ps2 = 0; + user_pref.ps4 = 0; user_pref.pwd = 0; } @@ -732,6 +733,26 @@ } int +sv_ps4 (void) +{ + int status = 0; + + char *s = builtin_string_variable ("PS4"); + if (s) + { + delete [] user_pref.ps4; + user_pref.ps4 = s; + } + else + { + warning ("invalid value specified for PS4"); + status = -1; + } + + return status; +} + +int sv_pwd (void) { int status = 0;