|
| View previous topic :: View next topic |
| Author |
Message |
Timothy W. Hilton
Joined: 09 Nov 2010 Posts: 1
|
Posted: Tue Nov 09, 2010 1:00 pm Post subject: pbdbg -text -- command line navigation |
|
|
Hello,
I'm a pgdbg newbie. I'm using the text option because my code runs on a remote machine that I log into with ssh.
I can't seem to find any information about navigating the command line as in a shell (up arrow or c-p for previous command, m-f and m-b to jump one word, c-a and c-e for beginning and end of line, etc.).
Does anything like this exist within pgdbg -text?
Thanks,
Tim |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Tue Nov 09, 2010 2:56 pm Post subject: |
|
|
Hi Tim,
| Quote: | | Does anything like this exist within pgdbg -text? |
No, at least not these shell commands. Though, it does support history and the history substitution (!, ^) which may help.
- Mat
| Code: | pgdbg> help
PROCESS INIT
args attach catch debug detach ignore
load setargs
PROCESS CONTROL
cont halt next nexti run step
stepi stepout sync synci wait
PROCESS/THREAD SELECT
proc procs thread threads
PROCESS/THREAD SETS
p/t-set focus defset undefset viewset whichsets
EVENTS
break breaki breaks delete disable do doi
enable hwatch hwatchread hwatchboth status track tracki
unbreak unbreaki watch watchi
PROGRAM LOCATIONS
arrive cd disasm edit lines list pwd
stacktrace stackdump where / ?
PRINTING
ascii bin dec display hex print printf
oct string undisplay
SYMBOLS AND EXPRESSIONS
assign call decl entry lval rval set
sizeof type whatis
SCOPE
class classes decls down enter file files
global names scope up whereis
REGISTER ACCESS
fp pc regs retaddr sp
MEMORY ACCESS
cread dread dump fread lread iread sread
mqdump
CONVERSIONS
addr function line
MISCELLANEOUS
alias pgienv directory help history language log
nop repeat script setenv shell sleep unalias
! ^ quit
TARGET
connect disconnect native
pgdbg> help history
[hi]story History command
history - List the most previously executed commands
history <num> - Resize the history list to hold <num> commands
pgdbg> help !
[!] History command substitution
!!<modifier> - Execute the previous command
!<num><modifier> - Execute command number <num>
!-<num><modifier> - Execute command <-num> from most current command
!<str><modifier> - Execute most recent command starting with <str>
!?<str>?<modifier> - Execute most recent command containing <str>
Modifiers:
:s/<l>/<r>/ - Substitute modifier: Substitute <r> for <l>
:p - Print modifier: Print (but do not execute) the command
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|