GNU screen

Hello,

One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a solution short of going to the source code of screen and tweaking it.

Thanks,
Neked

I believe you can configure this in the .screenrc file.

defscrollback n

Where n is the amount of lines.

How can I change the prompt that GNU screen displays in .screenrc.

I've tried setenv PS1='\w: ' and
export PS1='\w: '
but it does not show up when the screen open.

man screen does give some options of set prompt and PROMPT_COMMAND but these give errors from the screenrc file. (I use bash)