.TH sessname 1 .SH NAME sessname \- provide a more descriptive name for the current pty session .SH SYNOPSIS .B sessname [ .I name ] .SH DESCRIPTION .I sessname adds .I name to the information listed by .I sesslist. Don't confuse this extra name with the base name of the session, which is the last two characters of the pseudo-terminal filename. .PP Without an argument, .I sessname prints the name of the current session. .PP .I xsessname is just like .I sessname but applies to sessions started with .B\-xS. .SH DIAGNOSTICS .TP .I cannot find session .TP .I you don't own session The standard input to .I sessname is not a session that you own. .TP .I not child of session slave The parent to .I sessname is not the head process in the session. .TP .I renaming failed .I sessname is unable to set the long name of the session. This shouldn't happen. .SH RESTRICTIONS .I name is limited to 100 characters. .PP At the moment, there's no way to unname a session. .SH "SEE ALSO" pty(1), sess(1), sesslist(1)